/*
Theme Name: Fotofinlandia2014
Author: mk@mattikauppinen.net
*/

@font-face {
	font-family: 'ff';
	src:url('fonts/ff.eot');
	src:url('fonts/ff.eot?#iefix') format('embedded-opentype'),
		url('fonts/ff.ttf') format('truetype'),
		url('fonts/ff.woff') format('woff'),
		url('fonts/ff.svg#ff') format('svg');
	font-weight: normal;
	font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
	font-family: 'ff';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-facebook:before {
	content: "\e600";
}
.icon-facebook2:before {
	content: "\e601";
}
.icon-twitter:before {
	content: "\e602";
}
.icon-facebook3:before {
	content: "\e603";
}
.icon-twitter2:before {
	content: "\e604";
}
.icon-googleplus:before {
	content: "\e605";
}
.icon-googleplus2:before {
	content: "\e606";
}
.icon-phone:before {
	content: "\e607";
}
.icon-mail:before {
	content: "\e608";
}
.icon-house:before {
	content: "\e609";
}
.icon-trophy:before {
	content: "\e60a";
}
.icon-star:before {
	content: "\e60b";
}
.icon-star2:before {
	content: "\e60c";
}
.icon-heart:before {
	content: "\e60d";
}
.icon-heart2:before {
	content: "\e60e";
}
.icon-thumbs-up:before {
	content: "\e60f";
}
.icon-info:before {
	content: "\e610";
}
.icon-info2:before {
	content: "\e611";
}
.icon-arrow-up:before {
	content: "\e612";
}
.icon-arrow-down:before {
	content: "\e613";
}
.icon-arrow-down2:before {
	content: "\e614";
}
.icon-arrow-up2:before {
	content: "\e615";
}
.icon-list:before {
	content: "\e616";
}



/* green: #0faf5f tai 00AF5E 0faf5f*/
/* blue: #048cce tai 008BCD 048cce */

/** * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) * http://cssreset.com */html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,time, mark, audio, video {	margin: 0;	padding: 0;	border: 0;	font-size: 100%;	font: inherit;	vertical-align: baseline;}/* HTML5 display-role reset for older browsers */article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {	display: block;}body {	line-height: 1;}ol, ul {	list-style: none;}blockquote, q {	quotes: none;}blockquote:before, blockquote:after,q:before, q:after {	content: '';	content: none;}table {	border-collapse: collapse;	border-spacing: 0;}

html{ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -moz-font-smoothing: grayscale; }
body{ font-family: "Vollkorn", serif; font-weight: 400; font-size: 18px; line-height: 1.4; background: #fff; color: #666; -webkit-text-size-adjust: none; margin: 0; padding: 0; }
a{ color: #048cce; text-decoration: none; transition: all 0.15s ease-out; -webkit-transition: all 0.15s ease-out; -moz-transition: all 0.15s ease-out; -ms-transition: all 0.15s ease-out; }
a img{ transition: all 0.15s ease-out; -webkit-transition: all 0.15s ease-out; -moz-transition: all 0.15s ease-out; -ms-transition: all 0.15s ease-out; }
a:hover{ color: #0faf5f; }
img{ max-width: 100%; height: auto; }
p{ margin: 0 0 1.5em 0; }
i, em{ font-style: italic; }
b, strong{ font-weight: 700;  }
blockquote{ font-size: 1.33em; font-style: italic; margin: 0 0 1em 0; padding: 0 2% 0 5%; color: #696969; line-height: 1.25; }
.hide{ display: none; }
:focus{ outline: none; }

input[type=text], input[type=email], input[type=submit], button, textarea{ -webkit-appearance: none; transition: all 0.15s ease-out; -webkit-transition: all 0.15s ease-out; -moz-transition: all 0.15s ease-out; -ms-transition: all 0.15s ease-out; }
input, textarea, button{ font-family: "Open Sans", sans-serif; font-size: 1em; -webkit-font-smoothing: antialiased; }
textarea{ resize: vertical; }

.contentarea{ width: 85%; max-width: 1400px; margin: 0 auto; }
.full{ margin: 0 2%; width: 96%; }
.main{ float: left; width: 62.666%; margin: 0 2%; }
.side{ float: right; width: 29.333%; margin: 0 2%; font-size: 0.9em; }
.col{ float: left; width: 29.333%; margin: 0 2%; }

header{ background: #fff; position: relative; width: 100%; float: left; clear: left; z-index: 100; }
header .contentarea{ padding: 0; }
header h1{ width: 118px; height: 83px; float: left; position: relative; margin: 1em 0 0 0; }
header h1 a{ position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: url(img/fotofinlandia.png) 0 0 no-repeat; overflow: hidden; text-indent: -9999px; }
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 120dpi), only screen and (min-resolution: 1.5dppx){
	header h1 a{ background: url(img/fotofinlandia-large.png) 0 0 no-repeat; background-size: contain; }
}
header h1 a:hover{ opacity: 0.75; }
header nav{ float: right; margin: 0 0 0 0; background: #fff; }
header nav li{ float: left; margin: 0 0 0 0.2em; position: relative; }
header nav li a{ font-family: "Open Sans", sans-serif; display: inline-block; font-size: 0.8em; padding: 50px 1.5em; text-transform: uppercase; font-weight: 400; }
header nav li a:hover{ background: #f5f5f5; }
header nav li ul{ display: block; position: absolute; top: 100%; background: #fff; width: 12em; z-index: 500; border: 1px solid #ccc; border-top: 0.25em solid #ccc; height: 0; overflow: hidden; transition: all 0.15s ease-out; -webkit-transition: all 0.15s ease-out; -moz-transition: all 0.15s ease-out; -ms-transition: all 0.15s ease-out; opacity: 0; }
header nav li ul li{ float: none; margin: 0; padding: 0; }
header nav li ul li a{ display: block; padding: 1em 1.5em; }
header nav li.menu-item-has-children > a:after{ content: "\e614"; font-family: "ff"; color: #999; }
header nav li.current-menu-item > a, header nav li a.opening, header nav li.current_page_ancestor > a{ background: #f5f5f5; color: #0faf5f; }
header nav li.current-menu-item > a:before, header nav li.current_page_ancestor > a:before{ content: ""; position: absolute; left: 0; top: 0; right: 0; height: 0.25em; background: #0faf5f; display: block; }
header nav li.current_page_ancestor ul.sub-menu li.current-menu-item > a:before{ content: ""; height: 0; background: #0faf5f; display: none; }
header nav li.current-menu-item.menu-item-has-children > a:after, header nav li a.opening:after, header nav li.current_page_ancestor > a:after{ color: #0faf5f; }
header nav #togglemenu{ display: none; }

@media (min-width: 700px){
	header nav li.menu-item-has-children:hover > ul{ display: block; opacity: 1; height: auto; }
}


/*
header{ background: #fff; position: relative; width: 100%; float: left; clear: left; }
header .contentarea{ padding: 0; }
header h1{ width: 118px; height: 83px; float: left; position: relative; margin: 1.5em 0; }
header h1 a{ position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: url(img/fotofinlandia.png) 0 0 no-repeat; overflow: hidden; text-indent: -9999px; }
header h1 a:hover{ opacity: 0.75; }
header nav{ float: right; margin: 2.8em 0 0 0; }
header nav li{ float: left; margin: 0 0 0 0.2em; position: relative; }
header nav li a{ font-family: "Open Sans", sans-serif; display: inline-block; font-size: 0.8em; padding: 0.75em 0.5em; text-transform: uppercase; font-weight: 400; }
header nav li ul{ display: none; position: absolute; left: -1px; top: 100%; background: #fff; width: 10em; margin-top: -1px; z-index: 99; }
header nav li ul li{ float: none; margin: 0; padding: 0; }
header nav li ul li a{ display: block; }
header nav li.menu-item-has-children:hover > ul{ display: block; border: 1px solid #ddd; }
header nav li.menu-item-has-children > a:after{ content: "\e614"; font-family: "ff"; color: #999; }
header nav li.current-menu-item > a, header nav li a.opening, header nav li.current_page_ancestor > a{ background: #0faf5f; color: #fff; }
header nav li.current-menu-item.menu-item-has-children > a:after, header nav li a.opening:after, header nav li.current_page_ancestor > a:after{ color: #fff; }
header nav #togglemenu{ display: none; }
*/

/*header nav li#menu-item-268 a{ position: relative; width: 1.5em; overflow: hidden; visibility: hidden; }
header nav li#menu-item-268 a:before{ font-family: "ff"; content: "\e609"; font-size: 1.1em; visibility: visible; padding: 0.5em 0.33em; }
header nav li#menu-item-268.current-menu-item a:before{ color: #0faf5f; } */

#content{ width: 100%; float: left; clear: left; box-shadow: inset 0 0 0 0.25em rgba(0,0,0,0.05); padding: 2.5em 0; background: #eee url(img/noise.png); }
#content .contentarea{ padding: 0; }
#content .main h1, #content .main h2, #content .main h3, #content .main h4, #content .main h5{ font-family: "Open Sans", "helvetica", sans-serif; line-height: 1.05; color: #333; }
#content .main h1{ font-weight: 300; font-size: 2.5em; letter-spacing: -0.02em; text-transform: uppercase; margin: 0 0 0.5em 0; }
#content .main h1.small-bottom-margin{ margin: 0 0 0.1em 0; }
#content .main h2{ font-weight: 300; font-size: 1.8em; letter-spacing: -0.02em; margin: 0 0 0.75em 0; }
#content .main h3{ font-weight: 300; font-size: 1.5em; letter-spacing: -0.02em; margin: 0 0 0.85em 0; }
#content .main h4{ font-weight: 400; font-size: 1.2em; letter-spacing: -0.02em; margin: 0 0 1em 0; }
#content .main h5{ font-weight: 400; font-size: 1.0em; letter-spacing: -0.02em; margin: 0 0 1em 0; }
#content .full h1, #content .full h2, #content .full h3{ font-family: "Open Sans", sans-serif; line-height: 1.05; color: #333; }
#content .full h1{ font-weight: 300; font-size: 2.5em; letter-spacing: -0.02em; text-transform: uppercase; margin: 0 0 0.5em 0; }
#content .full h2{ font-weight: 300; font-size: 1.8em; letter-spacing: -0.02em; margin: 0 0 0.75em 0; }
#content .full h3{ font-weight: 300; font-size: 1.5em; letter-spacing: -0.02em; margin: 0 0 0.85em 0; }
#content .side h2, #content .side h3, #content .side h4, #content .side h5{ line-height: 1.1; color: #333; }
#content .side h2{ font-weight: 400; font-size: 1.2em; letter-spacing: -0.02em; text-transform: uppercase; font-family: "Open Sans", sans-serif; margin: 0 0 0.8em 0; display: block; }
#content .side h2 .toggle{ display: none; }
#content .side h3{ font-weight: 400; font-size: 1.0em; letter-spacing: -0.02em; margin: 0 0 1em 0; line-height: 1.3; }
#content .side h4{ font-weight: 400; font-size: 1.0em; letter-spacing: -0.02em; }
#content .side h5{ font-weight: 400; font-size: 1.0em; letter-spacing: -0.02em; }

.wp-caption{ width: auto !important; font-size: 0.8em; background: #ddd; background: rgba(0,0,0,0.05); border: 1px solid #bbb; border: 1px solid rgba(0,0,0,0.1); }
.wp-caption.alignleft, .wp-caption.alignright{ width: 45% !important; }
.wp-caption.alignnone{ margin: 0 0 1.5em 0; }
.wp-caption img{ display: block; width: 100%; height: auto; margin: 0 0 0.5em 0; }
.wp-caption p{ margin: 0.5em; }

.alignright{ display: block; float: right; clear: right; margin: 0 0 0.5em 1em; }
.alignleft{ display: block; float: left; clear: left; margin: 0 2em 0.5em 0; }
.aligncenter{ display: block; float: none; clear: both; margin: 0 auto 0.5em auto; }


.border{ margin: 0 0 1em 0; border-bottom: 0.24em solid #ccc; }

.ehdokkaat{ margin: 0 0 1.5em 0; }
.ehdokkaat li{ margin: 0 0 0.5em 0; }
.ehdokkaat li a{ display: block; }
.ehdokkaat li a small{ display: block; font-size: 0.8em; color: #666; }

.news{ list-style: none; margin: 0 0 1.5em 0; padding: 0; }
.news .date{ overflow: hidden; font-family: "Open Sans"; font-weight: 700; font-size: 0.8em; margin: 0 0 0.33em 0; }
.news .date .day{ height: 1.5em; width: 1.5em; line-height: 1.5em; color: #fff; background: #0faf5f; text-align: center; float: left; }
.news .date .month, .news .date .year{ float: left; font-size: 0.75em; margin: 0.4em 0 0 0.5em; }
#content .full .news li h3{ margin: 0 0 0.25em; }
#content .full .news li p{ margin: 0 0 0.25em; }
#content .full .news li{ margin: 0 0 1.5em; }

.newsfeed{ }
.newsfeed li{ margin: 0 0 1em 0; }
.newsfeed .date{ overflow: hidden; font-family: "Open Sans"; font-weight: 700; font-size: 0.8em; margin: 0 0 0.33em 0; }
.newsfeed .date .day{ height: 1.5em; width: 1.5em; line-height: 1.5em; color: #fff; background: #0faf5f; text-align: center; float: left; }
.newsfeed .date .month, .newsfeed .date .year{ float: left; font-size: 0.75em; margin: 0.4em 0 0 0.5em; }
#content .side .newsfeed h3{ margin: 0 0 0.2em 0; }
#content .side .newsfeed p{ margin: 0 0 0.2em 0; }
#content ul.voittajat{ list-style: disc; margin: 0 0 1.5em 0; }
#content ul.voittajat li{ margin: 0.25em 0 0.25em 1.5em; }

article .date{ overflow: hidden; font-family: "Open Sans"; font-weight: 700; font-size: 1.2em; margin: 0 0 1em 0; }
article .date .day{ height: 2em; width: 2em; line-height: 2em; color: #fff; background: #0faf5f; text-align: center; float: left; }
article .date .month, article .date .year{ float: left; font-size: 0.75em; margin: 0.7em 0 0 0.5em; color: #999; }

article ul{ margin: 0 0 1.5em 0; list-style: disc; padding: 0 0 0 1.25em; }
article ul li{ margin: 0.25em 0;  }

article small{ font-size: 0.75em; color: #666; }

.kuvaajaesittely{ float: right; width: 45%; margin: 0 0 1em 1em; font-size: 0.75em; padding: 1.2em; background: #ddd; position: relative; }
.kuvaajaesittely h4{ font-size: 1em; text-transform: uppercase; }
.kuvaajaesittely p:last-child{ margin: 0; }

.archive{ text-align: right; margin: 0.5em 0; }

footer{ background: #fff; color: #777; font-size: 0.9em; width: 100%; float: left; clear: left; overflow: hidden; }
footer h3{ font-family: "Open Sans", sans-serif; font-size: 1.2em; margin: 0 0 0.5em 0; text-transform: uppercase; }
footer .contentarea{ padding: 2em 0; }
footer ul{ margin: 0 0 1.5em 0; }

ul.ukk{ list-style: none; padding: 0; }
ul.ukk li{ margin: 0 0 1.5em 0; }
ul.ukk li .kysymys{ margin: 0 0 0.5em 0; font-style: italic; }

#content .main .set{ margin: 0 0 1em 0; padding: 1em 0 0 0; border-top: 0.25em solid #ddd; }
#content .main .set .head{ overflow: hidden; margin: 0 0 0 0; }
#content .main .set .head h3{ margin: 0 0 0.5em 0; }
#content .main .set .head h3 small{ display: inline-block; font-size: 0.75em; color: #666; }
#content .main .set .head .info{ float: right; font-size: 1.5em; vertical-align: top; }
#content .main .set .head .info.active{ color: #0faf5f; }
#content .main .set .head .content{ overflow: hidden; }
#content .main .set .head .vote{ float: right; margin: 0 0 0 0.75em; vertical-align: bottom; line-height: 1.4em; font-size: 0.8em; display: inline-block; font-family: "Open Sans"; text-transform: uppercase; }
#content .main .set .head .vote span{ font-size: 2em; vertical-align: middle; line-height: 1em; }

#content .main .set .share{ min-height: 27px; margin: 0 0 1em 0; }
#content .main .set .share.loading{ background-image: url(img/ajax-loader.gif); background-position: center center; background-repeat: no-repeat; }
#content .main .set .fb-like{ margin: 0 1em 0 0; }
#content .main .set .plus{ display: inline-block; }
#content .main .set .plus div, #content .main .set .plus div iframe{ width: 80px !important; }
#content .share{ }

.share{ padding: 1em 0 0.5em 1em; background: #ddd; clear: both; }

#vote{ padding: 3em 1em 1em 1em; background: #bbb;  }

.gallery{ overflow: hidden; list-style: none; margin: 0 0 1em 0; padding: 0; clear: both; }
.gallery li{ float: left; width: 16.6666%; position: relative; padding-top: 16.6666%; }
/* .gallery li:before{ content: ""; display: block; padding-top: 100%; } */
.gallery li a{ display: block; background: #d5d5d5; position: absolute; left: 0; top: 0; right: 1px; bottom: 1px; text-align: center; vertical-align: middle; /* box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05); */ }
.gallery li a img{ display: block; max-width: 95%; width: auto; max-height: 95%; height: auto; margin: auto; position: absolute; left: 0; top: 0; right: 0; bottom: 0; }
.gallery li a:hover{ background: #bbb; }
.gallery li a:hover img{ /* opacity: 0.8; */ /* -webkit-transform: scale(1.1); */ }

.category{ overflow: hidden; margin: 0 0 2em 0; }
.category__photo{ float: left; width: 33.333%; position: relative; padding-top: 33.333%; }
.category__photo a{ display: block; background: #d5d5d5; position: absolute; left: 0; top: 0; right: 1px; bottom: 1px; text-align: center; vertical-align: middle; /* box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05); */ }
.category__photo a img{ display: block; max-width: 95%; width: auto; max-height: 95%; height: auto; margin: auto; position: absolute; left: 0; top: 0; right: 0; bottom: 0; }
.category__photo a:hover{ background: #bbb; }

.category--portfolio{ overflow: hidden; margin: 0 0 2em 0; }
.category--portfolio .category__photo{ float: left; width: 20%; position: relative; padding-top: 20%; }
.category--portfolio .category__photo a{ display: block; background: #d5d5d5; position: absolute; left: 0; top: 0; right: 1px; bottom: 1px; text-align: center; vertical-align: middle; /* box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05); */ }
.category--portfolio .category__photo a img{ display: block; max-width: 95%; width: auto; max-height: 95%; height: auto; margin: auto; position: absolute; left: 0; top: 0; right: 0; bottom: 0; }
.category--portfolio .category__photo a:hover{ background: #bbb; }

#kilpailu{ text-align: center; padding: 0.75em 0; background: #048cce; color: #fff; font-weight: 400; font-family: "Open Sans", sans-serif; display: block; text-transform: uppercase; line-height: 1.2; font-size: 1.1em; margin: 0 0 1.5em 0; }
#kilpailu strong{ font-weight: 700; }
#kilpailu:hover{ background: #0faf5f; }
#kilpailu time{ display: block; text-align: right; font-size: 9px; color: #fff; margin: 0.5em 1.5em 0 0em; }

#kysy{ margin: 0 0 1em 0; overflow: hidden; }
#kysy textarea, #kysy input[type=email]{ background: #fff; border: 0; padding: 0.5em 2%; display: block; }
#kysy textarea{ height: 6em; width: 96%; margin: 0 0 1% 0; }
#kysy input[type=email]{ float: left; width: 65%; margin: 0 1% 0 0; }
#kysy input[type=submit]{ float: left; width: 30%; margin: 0; padding: 0.5em 0; background: #048cce; color: #fff; border: 0; text-align: center; cursor: pointer; }
#kysy input[type=submit]:hover{ background: #0faf5f; }
#kysy .msg{ margin: 0.25em 0; clear: both; padding: 0.5em; -webkit-transition: all 0.15s ease-out; -moz-transition: all 0.15s ease-out; -ms-transition: all 0.15s ease-out; display: none; float: left; width: 100%; text-align: center; }
#kysy .msg.error{ color: #900; }
#kysy .msg.show{ display: block; }

#vote{ overflow: hidden; color: #222; }
#vote .row{ overflow: hidden; clear: both; margin: 0 0 0.5em 0; }
#vote .row.candidate{ margin: 0 0 2em 0; }
#vote .left{ float: left; clear: left; width: 34%; margin: 0; text-align: right; }
#vote .left label{ display: inline-block; margin: 0.66em 0.66em 0 0; }
#vote .right{ float: right; clear: right; width: 66%; margin: 0; }
#vote small{ font-size: 0.75em; color: #666; }
#vote input[type=text], #vote .list{ background: #fff; border-radius: 0; -webkit-transition: all 0.15s ease-out; -moz-transition: all 0.15s ease-out; -ms-transition: all 0.15s ease-out; -o-transition: all 0.15s ease-out; transition: all 0.15s ease-out; box-sizing: border-box; }
#vote input[type=text]{ padding: 0.25em 2%; width: 96%; border: 0; font-family: "Open Sans", sans-serif; font-size: 20px; line-height: 1.2; }
#vote .list{ width: 96%; height: padding: 0.5em 2%; overflow: hidden; position: relative; cursor: pointer; }
#vote .list select{
	font-family: "Open Sans", sans-serif; font-size: 20px;
	background: transparent;
	width: 110%;
	padding: 0.25em 2%;
	line-height: 1.2;
	border: 0;
	border-radius: 0;
	-webkit-appearance: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	cursor: pointer;
}
#vote .list .arrow{
	position: relative;
	background: #88b7d5;
}
#vote .list .arrow:after {
	top: 1em;
	right: 0.75em;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(255,255,255,0);
	border-top-color: #048cce;
	border-width: 5px;
	margin-left: -5px;
}
#vote input[type=text].input-error, #vote .list.select-error{ color: #300; background: #fcc; }

a.box, input.box{ display: inline-block; margin: 0 0 1em 0; padding: 0.33em 0.75em; border: 0; background: #048cce; color: #fff; cursor: pointer; font-family: "Open Sans", sans-serif; font-weight: 400; text-transform: uppercase; }
a.box:hover, input.box:hover{ background: #0faf5f; }
a.box.wide, input.wide{ display: block; text-align: center; }
p > .box{ margin: 0; }

.nobr{ white-space: nowrap; }

#content .error{ background: rgba(190,0,0,0.5); color: #600; padding: 1em 1em 0 1em; margin: 0 0 1em 0; overflow: hidden; }
#content .error h3{ color: #300; }
#content .error p{ margin: 0 0 1em 0; }

/* ooh */
.mfp-zoom-out-cur header, .mfp-zoom-out-cur #content, .mfp-zoom-out-cur footer{
	filter: blur(5px) grayscale(1); -webkit-filter: blur(5px) grayscale(1); -ms-filter: blur(5px) grayscale(1); -o-filter: blur(5px) grayscale(1); -moz-filter: blur(5px) grayscale(1);
}

.share .fb-like, .share .plus{ vertical-align: top; }
.share .fb-like > span{ vertical-align: top !important; }


@media (max-width: 1300px){
	.contentarea{ width: 90%; }
}

@media (max-width: 1200px){
	.contentarea{ width: 92%; }
	.gallery li{ width: 20%; padding-top: 20%; }
	.category__photo{ width: 33.333%; padding-top: 33.333%; }
	.category--portfolio .gategory__photo{ width: 25%; padding-top: 25%; }
}
@media (max-width: 1100px){
	body{ font-size: 17px; }
	.contentarea{ width: 93%; }
}
@media (max-width: 1000px){
	body{ font-size: 16px; }
	.contentarea{ width: 94%; }
}
@media (max-width: 900px){
	body{ font-size: 15px; }
	header nav li a{ padding: 50px 0.75em; }
	.contentarea{ width: 96%; }
	#content .main h1{ font-size: 2.2em; }
}

@media (max-width: 700px){
	body{ font-size: 14px; }
	.contentarea{ width: 98%; }

	header h1{ margin: 1.5em 0 1.5em 1%; width: 59px; height: 42px; }
	header h1 a{ background-image: url(img/fotofinlandia-small.png); }
	header nav{ margin: 1.9em 0.5% 0 0; }
	header nav #togglemenu{ display: block; font-size: 0.8em; text-transform: uppercase; color: #999; font-family: "Open Sans", sans-serif; vertical-align: middle; }
	header nav #togglemenu span{ display: inline-block; font-size: 2em; width: 1.5em; height: 1.5em; line-height: 1.5em; margin: 0 0 0 0.25em; background: #048cce; color: #fff; text-align: center; vertical-align: middle; }
	header nav > ul{ display: none; float: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 4px 1px rgba(0,0,0,0.15); border-top: 1px solid #eee; }
	header nav ul li{ float: none; display: block; margin: 0; }
	header nav ul li a{ float: none; display: block; font-size: 0.9em; padding: 0.75em 3%; }
	header nav li ul{ display: block; position: relative; left: 0; top: 0; width: auto; margin-top: 0; border: none; }
	header nav li ul li a{ display: block; padding-left: 2em; }
	header nav li.menu-item-has-children > ul{ border: 0; display: none; height: auto; opacity: 1; }
	header nav li.menu-item-has-children.active > ul{ display: block; opacity: 1; height: auto; }

	header nav li.current-menu-item > a:before, header nav li.current_page_ancestor > a:before{ display: none; }
	header nav li.menu-item-has-children{ position: relative; }
	header nav li.menu-item-has-children > a:after{ content: "\e614"; font-family: "ff"; color: #fff; background: #048cce; position: absolute; right: 4%; top: 0.5em; height: 1.25em; font-size: 1.25em; width: 1.25em; text-align: center; border-radius: 50%; transition: all 0.15s ease-out; -webkit-transition: all 0.15s ease-out; -moz-transition: all 0.15s ease-out; -ms-transition: all 0.15s ease-out; }
	header nav li.menu-item-has-children.open > a:after{ -webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); -o-transform: rotate(180deg); -ms-transform: rotate(180deg); transform: rotate(180deg); }


	.main, .side, .col{ clear: none; float: none; width: 96%; }

	#content .main h1{ font-size: 1.6em; }
	#content .main h2{ font-size: 1.4em; }
	#content .main h3{ font-size: 1.2em; }
	#content .main h4{ font-size: 1.1em; }
	#content .main h5{ font-size: 1em; }

	#content .full h1{ font-size: 1.6em; }
	#content .full h2{ font-size: 1.4em; }
	#content .full h3{ font-size: 1.2em; }
	
	#content .side{ margin-top: 1.5em; }
	#content .side h2{ line-height: 2em; font-size: 1.1em; }
	#content .side h2 .toggle{ display: block; float: right; width: 2em; height: 2em; text-align: center; line-height: 2em; background: #048cce; color: #fff; transition: all 0.15s ease-out; -webkit-transition: all 0.15s ease-out; -moz-transition: all 0.15s ease-out; -ms-transition: all 0.15s ease-out; }
	#content .side h2 .toggle:after{ content: "\e613"; font-family: "ff"; display: block; transition: all 0.15s ease-out; -webkit-transition: all 0.15s ease-out; -moz-transition: all 0.15s ease-out; -ms-transition: all 0.15s ease-out; }
	#content .side h2.open .toggle{ background: #0faf5f; }
	#content .side h2.open .toggle:after{ -webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); -ms-transform: rotate(180deg); -o-transform: rotate(180deg); transform: rotate(180deg); }
	#content .side h2 .toggle:hover{ background: #0faf5f; }
	#content .side .block .content{ display: none; }

	#content .main .set .head h3 small{ display: block; }

	#vote .row{ margin: 0 0 0.5em 0; }
	#vote .left{ float: left; clear: left; width: 100%; margin: 0; text-align: left; }
	#vote .left label{ margin: 1em 0 0.25em 0; }
	#vote .right{ float: left; clear: left; width: 100%; margin: 0; }
	#vote input[type=text], #vote .list{ width: 100%; box-sizing: border-box; }

	.side{ font-size: 1em; }
	footer{ font-size: 1em; }


	/* fb width */
	.share div, .share div iframe{ max-width: 100% !important; }
	.fb-like, .fb-like span[style], .fb-like span, .fb-like span iframe[style], .fb-like span iframe{
		max-width: 100% !important;
		max-width: 100% !important;
	}
	
	.fb-comments{width: 100% !important;}
	.fb-comments iframe[style]{width: 100% !important;}
	.fb-like-box{ min-width:280px;width: 100% !important;}
	.fb-like-box iframe[style]{min-width:280px;width: 100% !important;}
	.fb-comments span{width: 100% !important;}
	.fb-comments iframe span[style]{width: 100% !important;}
	.fb-like-box span{min-width:280px;width: 100% !important;}
	.fb-like-box iframe span[style]{min-width:280px;width: 100% !important;} 
	.-cx-PRIVATE-pluginBoxContainer__border{ border:none}
}

@media only screen and(max-width: 700px), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 120dpi), only screen and (min-resolution: 1.5dppx){
	header h1 a{ background: url(img/fotofinlandia.png) 0 0 no-repeat; background-size: contain; }
}


@media (max-width: 500px){
	.kuvaajaesittely{ float: none; width: auto; margin: 0 0 1em 0; }
	.wp-caption{ width: auto !important; font-size: 0.8em; background: #ddd; background: rgba(0,0,0,0.05); border: 1px solid #bbb; border: 1px solid rgba(0,0,0,0.1); }
	.wp-caption.alignleft, .wp-caption.alignright{ width: auto !important; }
	.wp-caption.alignnone{ margin: 0 0 1.5em 0; }
	.alignright, .alignleft{ float: none; clear: both; margin: 0 auto 1.5em auto; max-width: 100%; }
}


/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 502;
  overflow: hidden;
  position: fixed;
  background: #0d0d0d;
  opacity: 0.9;
  filter: alpha(opacity=90); }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 503;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  height: 100%;
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 505; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #cccccc;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 504; }

.mfp-preloader a {
  color: #cccccc; }

.mfp-preloader a:hover {
  color: white; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  padding: 0;
  z-index: 506; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: white;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover, .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: white;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #cccccc;
  font-size: 12px;
  line-height: 18px; }

.mfp-arrow {
  position: absolute;
  top: 0;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

.mfp-arrow:active {
  margin-top: -54px; }

.mfp-arrow:hover,
.mfp-arrow:focus {
  opacity: 1; }

.mfp-arrow:before, .mfp-arrow:after,
.mfp-arrow .mfp-b,
.mfp-arrow .mfp-a {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: solid transparent; }
.mfp-arrow:after,
.mfp-arrow .mfp-a {
  opacity: 0.8;
  border-top-width: 12px;
  border-bottom-width: 12px;
  top: 8px; }
.mfp-arrow:before,
.mfp-arrow .mfp-b {
  border-top-width: 20px;
  border-bottom-width: 20px; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after,
  .mfp-arrow-left .mfp-a {
    border-right: 12px solid black;
    left: 5px; }
  .mfp-arrow-left:before,
  .mfp-arrow-left .mfp-b {
    border-right: 20px solid white; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after,
  .mfp-arrow-right .mfp-a {
    border-left: 12px solid black;
    left: 3px; }
  .mfp-arrow-right:before,
  .mfp-arrow-right .mfp-b {
    border-left: 20px solid white; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }

.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }

.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: black; }

.mfp-iframe-holder .mfp-close {
  top: -40px; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure:after {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); }

.mfp-figure {
  line-height: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #f3f3f3;
  word-break: break-word;
  padding-right: 36px; }

.mfp-figure small {
  color: #bdbdbd;
  display: block;
  font-size: 12px;
  line-height: 14px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
   * Remove all paddings around the image on small screen
   */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }

  .mfp-img-mobile img.mfp-img {
    padding: 0; }

  /* The shadow behind the image */
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }

  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }

  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0; }

  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }

  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; }

  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; } }
@media all and (max-width: 800px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }

  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }

  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }

  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }
.mfp-ie7 .mfp-img {
  padding: 0; }
.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px; }
.mfp-ie7 .mfp-container {
  padding: 0; }
.mfp-ie7 .mfp-content {
  padding-top: 44px; }
.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0; }



/* 
Justified Gallery
Version: 2.1
Author: Miro Mannino
Author URI: http://miromannino.it

Copyright 2012 Miro Mannino (miro.mannino@gmail.com)

This file is part of Justified Gallery.

This work is licensed under the Creative Commons Attribution 3.0 Unported License. 

To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/ 
or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.
*/

/*

html { overflow-y: scroll; }

.justifiedGallery { width: 100%; margin-bottom: 10px; }
.justifiedGallery .jg-image {
    position: absolute;
    display: inline-block;
    vertical-align: top;
    margin-left: 0px;
}
.justifiedGallery .jg-image img {
    border: none;
    margin: 0;
    padding: 0;
    display: none;
}
.justifiedGallery .jg-image a { text-decoration: none; }
.justifiedGallery .jg-image-label {
    white-space: normal;
    font: normal 12px arial;
    background: #000;
    color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    padding: 5px 5px 10px 8px;
    text-align: left;
    opacity: 0;
    filter:alpha(opacity=0);
}
.justifiedGallery .jg-loading-img{
    margin: auto;
    width: 50px;
    height: 50px;
    background:url(../img/loading.gif) no-repeat center center;
}
.justifiedGallery .jg-loading{
    margin: auto;
    width: 50px;
    height: 50px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.justifiedGallery .jg-row {
    position: relative;
    white-space: nowrap;    
    overflow:hidden;
    margin-bottom: 4px;
}

.justifiedGallery .jg-error {
    font-size: 12px; 
    border: 1px solid red; 
    background-color: #faa; 
    margin: 10px 0px 10px 0px; 
    padding: 5px 0px 5px 5px;
}

*/

.mfp-title .box {
    position: absolute;
    right: 0;
    top: 0;
}
.mfp-title .vote {
    position: absolute;
    right: 1.75em;
    top: 0.25em;
}