/*
Theme Name: Nici Variation
Theme URI: http://nicilonnberg.fi
Author: Eccola
Author URI: http://eccola.fi
Description: Description
Version: 1.0
License: GNU General Public License
License URI: license.txt
Tags:
*/

@font-face {
    font-family: 'latolight';
    src: url('webfonts/lato-light-webfont.woff2') format('woff2'),
         url('webfonts/lato-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'bitterregular';
    src: url('webfonts/bitter-regular-webfont.eot');
    src: url('webfonts/bitter-regular-webfont.eot%3F') format('embedded-opentype'),
         url('webfonts/bitter-regular-webfont.woff2') format('woff2'),
         url('webfonts/bitter-regular-webfont.woff') format('woff'),
         url('webfonts/bitter-regular-webfont.ttf') format('truetype'),
         url('webfonts/bitter-regular-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'noto_sansbold';
    src: url('webfonts/notosans-bold-webfont.eot');
    src: url('webfonts/notosans-bold-webfont.eot%3F') format('embedded-opentype'),
         url('webfonts/notosans-bold-webfont.woff') format('woff'),
         url('webfonts/notosans-bold-webfont.ttf') format('truetype'),
         url('webfonts/notosans-bold-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'noto_sansregular';
    src: url('webfonts/notosans-regular-webfont.eot');
    src: url('webfonts/notosans-regular-webfont.eot%3F') format('embedded-opentype'),
         url('webfonts/notosans-regular-webfont.woff') format('woff'),
         url('webfonts/notosans-regular-webfont.ttf') format('truetype'),
         url('webfonts/notosans-regular-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'sanchezregular';
    src: url('webfonts/Sanchez-Regular-webfont.eot');
    src: url('webfonts/Sanchez-Regular-webfont.eot%3F') format('embedded-opentype'),
         url('webfonts/Sanchez-Regular-webfont.woff') format('woff'),
         url('webfonts/Sanchez-Regular-webfont.ttf') format('truetype'),
         url('webfonts/Sanchez-Regular-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}

* {font-family: 'latolight';}

/* Base Type Styles Using Modular Scale ---------------------- */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, th, td { margin: 0; padding: 0; font-size: 14px; direction: ltr; }

p { font-family: inherit; font-weight: normal; font-size: 16px; line-height: 1.6; margin:0 0 17px 0; padding:0;}
p.lead { font-size: 17.5px; line-height: 1.6; margin-bottom: 17px; }

aside p { font-size: 13px; line-height: 1.35; font-style: italic; }

h1, h2, h3, h4, h5, h6 { font-family: 'latolight';font-weight: normal; font-style: normal; color: #222222; text-rendering: optimizeLegibility; line-height: 1.1;  }
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { font-size: 60%; color: #6f6f6f; line-height: 0; }

h1 { font-size: 38px; margin-bottom: 14px; margin-top: 0;}
h1.entry-title {margin:0;padding:0 0 34px 0;}

h2 { font-size: 37px; }

h3 { font-size: 27px; }

h4 { font-size: 23px; }

h5 { font-size: 17px; }

h6 { font-size: 14px; }

hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 22px 0 21px; height: 0; }

.subheader { line-height: 1.3; color: #6f6f6f; font-weight: 300; margin-bottom: 17px; }

em, i { font-style: italic; line-height: inherit; }

strong, b { font-weight: bold; line-height: inherit; }

small { font-size: 60%; line-height: inherit; }

code { font-weight: bold; background: #ffff99; }

/* Lists ---------------------- */
ul, ol, dl { font-size: 14px; line-height: 1.6; margin-bottom: 17px; list-style-position: outside; }

ul li ul, ul li ol { margin-left: 20px; margin-bottom: 0; }
ul.square, ul.circle, ul.disc { margin-left: 17px; }
ul.square { list-style-type: square; }
ul.square li ul { list-style: inherit; }
ul.circle { list-style-type: circle; }
ul.circle li ul { list-style: inherit; }
ul.disc { list-style-type: disc; }
ul.disc li ul { list-style: inherit; }
ul.no-bullet { list-style: none; }
ul.large li { line-height: 21px; }

ol { margin-left: 20px; }
ol li ul, ol li ol { margin-left: 20px; margin-bottom: 0; }

/* Blockquotes ---------------------- */
blockquote, blockquote p { line-height: 1.5; color: #6f6f6f; }

blockquote { margin: 0 0 17px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; }
blockquote cite { display: block; font-size: 13px; color: #555555; }
blockquote cite:before { content: "\2014 \0020"; }
blockquote cite a, blockquote cite a:visited { color: #555555; }

abbr, acronym { text-transform: uppercase; font-size: 90%; color: #222222; border-bottom: 1px solid #ddd; cursor: help; }

abbr { text-transform: none; }

/* Links */
a {
	margin:0;padding:0;color:#039aaa; text-decoration:none;
}
a:visited {
	color: #039aaa;
}
a:hover,
a:focus,
a:active {
	color: #7c7c7c;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}
.alignnone {padding:0 0 10px 0;}

/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/* Clearing */
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: '';
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}
/* =Layout & styles
----------------------------------------------- */
body {
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;}
h1.site-title {margin:40px 0 40px 0;}
h1.site-title a {color:#ffffff;}
img.branding-logo {}
.navi-btn {margin-top:10px;width:30px;height:28px;background:#000000;}
a.mnav {display:block;width:30px;height:28px;outline:none;}
.navicon {padding:4px 0 0 5px;}
.white {background:#ffffff;padding:40px;margin:0 0 50px 0;}
.block-grid.three-up > li {margin-bottom:-6px;}
.block-grid.three-up > li img {margin:0;padding:0;}
a.list-works {display:block;width:100%;height:auto;}
div.timer {visibility:hidden;}
.post-nav {padding:10px 0 0 0;}
.post-nav a {text-decoration:none;font-size:12px;color:#969696;}
.nav-previous {float:left;}
.nav-next {float:right;}
.list-works img {opacity: 1;transition: opacity .25s ease-in-out;-moz-transition: opacity .25s ease-in-out;-webkit-transition: opacity .25s ease-in-out;}
.list-works img:hover {opacity: 0.5;}


/* =App
----------------------------------------------- */

/* -----------------------------------------
   media only screen and (max-width: 959px)
----------------------------------------- */

@media only screen and (max-width: 959px) {


}

/* -----------------------------------------
   media only screen and (max-width: 767px)
----------------------------------------- */
@media only screen and (max-width: 767px) {
h1.site-title {margin:10px 0 10px 0 !important;}
h1 {font-size:28px !important;}
h2 {font-size:24px !important;}
.entry-content h3 {font-size:20px !important;}
h4 {font-size:16px !important;}
.site-footer {position:static !important;height:auto;padding:0 20px 20px 20px;}
.white {background:#ffffff;padding:20px !important;margin:0 0 50px 0;}
}


/* -----------------------------------------
   media only screen and (max-width: 320px)
----------------------------------------- */
@media only screen and (max-width: 320px) {
.white {background:#ffffff;padding:20px 15px 10px 15px !important;margin:0 0 50px 0;}
}


/* -----------------------------------------
   media only screen and (max-width: 239px)
----------------------------------------- */
@media only screen and (max-width: 239px) {


}


/* =Menu
----------------------------------------------- */

.main-navigation {
	clear: both;
	display: block;
	float: right;
	width: 300px;
padding:35px 0 0 0;
}
.main-navigation ul {
position:relative;right:-37px;
	list-style: none;

}
.main-navigation li {
	float: left;
	position: relative;


}
.main-navigation a {
	display: block;
	text-decoration: none;
font-family: 'latolight';
font-size:26px;
color:#323232;
padding:5px 0 5px 35px;
text-align:right;
}
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	display: none;
	float: left;
	left: 0;
	position: absolute;
	top: 1.5em;
	z-index: 99999;
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}
.main-navigation ul ul a {
	width: 200px;
}
.main-navigation ul ul li {
}
.main-navigation li:hover > a {
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul ul a:hover {
}
.main-navigation ul li:hover > ul {
	display: block;
}
.main-navigation .current_page_item a,
.main-navigation .current-menu-item a {
}

/* Small menu */
.menu-toggle {
	cursor: pointer;
	display: none;
}

@media screen and (max-width: 600px) {
	.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
	}

	.main-navigation ul {
		display: none;
	}
}


/* =Content
----------------------------------------------- */

.sticky {
}
.hentry {
	margin: 0 0 1.5em;
}
.byline,
.updated {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.page-content,
.entry-content,
.entry-summary, article {
	margin:0;padding:0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}


/* =Asides
----------------------------------------------- */

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}


/* =Media
----------------------------------------------- */

.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.site-main .gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-main .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.site-main .gallery dd {
	margin: 0;
}
.site-main .gallery-columns-4 .gallery-item {
}
.site-main .gallery-columns-4 .gallery-item img {
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}


/* =Navigation
----------------------------------------------- */

.site-main [class*="navigation"] {
	margin: 0 0 1.5em;
	overflow: hidden;
}
[class*="navigation"] .nav-previous {
	float: left;
	width: 50%;
}
[class*="navigation"] .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}


/* =Comments
----------------------------------------------- */

.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}


/* =Widgets
----------------------------------------------- */

.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}


/* =Infinite Scroll
----------------------------------------------- */

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}
