/** * 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;}o, ul{ padding: 0; }

@font-face {
	font-family: 'ml';
	src:url('../fonts/ml3.eot');
	src:url('../fonts/ml3.eot?#iefix') format('embedded-opentype'),
		url('../fonts/ml3.ttf') format('truetype'),
		url('../fonts/ml3.woff') format('woff'),
		url('../fonts/ml3.svg#ml3') format('svg');
	font-weight: normal;
	font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
	font-family: 'ml';
	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-angle-down:before {
	content: "\e600";
}
.icon-angle-left:before {
	content: "\e601";
}
.icon-angle-right:before {
	content: "\e602";
}
.icon-angle-up:before {
	content: "\e603";
}
.icon-double-angle-right:before {
	content: "\e604";
}
.icon-chevron-sign-left:before {
	content: "\e605";
}
.icon-chevron-sign-right:before {
	content: "\e606";
}
.icon-star:before {
	content: "\e607";
}
.icon-quill2:before {
	content: "\e633";
}
.icon-eu:before {
	content: "\e608";
}
.icon-file:before {
	content: "\e634";
}
.icon-quill:before {
	content: "\e609";
}
.icon-mobile:before {
	content: "\e60a";
}
.icon-location:before {
	content: "\e60b";
}
.icon-folder-open:before {
	content: "\e60c";
}
.icon-home:before {
	content: "\e60d";
}
.icon-newspaper:before {
	content: "\e60e";
}
.icon-pencil:before {
	content: "\e60f";
}
.icon-phone:before {
	content: "\e610";
}
.icon-envelope:before {
	content: "\e611";
}
.icon-clock:before {
	content: "\e612";
}
.icon-undo:before {
	content: "\e613";
}
.icon-bubbles:before {
	content: "\e614";
}
.icon-bubble:before {
	content: "\e615";
}
.icon-bubbles2:before {
	content: "\e616";
}
.icon-user:before {
	content: "\e617";
}
.icon-search:before {
	content: "\e618";
}
.icon-zoom-in:before {
	content: "\e619";
}
.icon-briefcase:before {
	content: "\e61a";
}
.icon-hammer:before {
	content: "\e61b";
}
.icon-menu:before {
	content: "\e61c";
}
.icon-earth:before {
	content: "\e61d";
}
.icon-arrow-left:before {
	content: "\e61e";
}
.icon-twitter:before {
	content: "\e61f";
}
.icon-facebook:before {
	content: "\e620";
}
.icon-google-plus:before {
	content: "\e621";
}
.icon-feed:before {
	content: "\e622";
}
.icon-cabinet:before {
	content: "\e623";
}
.icon-tag:before {
	content: "\e624";
}
.icon-books:before {
	content: "\e625";
}
.icon-profile:before {
	content: "\e626";
}
.icon-calendar:before {
	content: "\e627";
}




html, input{ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
input[type=submit], button, input[type=text], input[type=email]{ -webkit-appearance: none; }
body{ font-family: "Noto Serif", sans-serif; font-weight: 400; font-size: 13px; line-height: 1.4; background-color: #fff; background-position: center center; background-repeat: no-repeat; background-size: cover; background-attachment: fixed; color: #333; -webkit-text-size-adjust: none;
/* background-image: -webkit-gradient(
	linear,
	left top,
	right bottom,
	color-stop(0, #F2F8FC),
	color-stop(0.61, #D2E5F7),
	color-stop(1, #F7FBFF)
);
background-image: -o-linear-gradient(right bottom, #F2F8FC 0%, #D2E5F7 61%, #F7FBFF 100%);
background-image: -moz-linear-gradient(right bottom, #F2F8FC 0%, #D2E5F7 61%, #F7FBFF 100%);
background-image: -webkit-linear-gradient(right bottom, #F2F8FC 0%, #D2E5F7 61%, #F7FBFF 100%);
background-image: -ms-linear-gradient(right bottom, #F2F8FC 0%, #D2E5F7 61%, #F7FBFF 100%);
background-image: linear-gradient(to right bottom, #F2F8FC 0%, #D2E5F7 61%, #F7FBFF 100%);	 */
}
a{ color: #2f4e7e; 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:hover{ color: #0f2e5e; }
a *{ 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; }
article a{ text-decoration: underline; }
input, textarea{ 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; font-family: "Open Sans", sans-serif; font-weight: 400; font-size: 1em; line-height: 1.4; }
textarea{ resize: vertical; }
:focus{ outline: none; }
p{ margin: 0 0 1.5em 0; }
img{ max-width: 100%; height: auto; }
i, em{ font-style: italic; }
b, strong{ font-weight: 700; }

#contentarea, .contentarea{ width: 91%; max-width: 1400px; min-width: 760px; margin: 0 auto; overflow: hidden; }
#contentarea{ margin-bottom: 3em; }

header{ margin: 0 0 2em 0; overflow: hidden; }
header #title{ float: left; position: relative; }
header #title img{ position: relative; display: block; margin: 0; width: 100%; height: auto; }
header #title a{ color: #333; }
header #title a:hover{ color: #2f4e7e; }
header h1{ font-size: 52px; font-weight: 100; margin: 0 0 0 -3px; line-height: 1.1; letter-spacing: -0.01em; }
header h2{ font-size: 16px; font-weight: 700; margin: 0 0 0 0; line-height: 1.1; }
header #perus{ float: right; position: relative; }
header #perus img{ height: 64px; width: auto; display: block; }

.col{ margin: 0 0.5%; width: 32.3333%; float: left; }
.col .box{ margin: 0 0 3% 0; background: #eee; box-shadow: inset -1px -1px 0 rgba(0,0,0,0.1); }
.col .box .content{ padding: 1em; }
.col .box .content h3{ font-weight: 700; font-size: 1.15em; margin: 0; line-height: 1.2; letter-spacing: -0.02em; }
.col .box .content h4{ font-weight: 700; font-size: 1em; margin: 0; line-height: 1.2; letter-spacing: -0.02em; }
.col2{ margin: 0 0.5%; width: 65.6666%; float: left; }
.col2 .box{ margin: 0 0 3% 0; background: #eee; box-shadow: inset -1px -1px 0 rgba(0,0,0,0.1); }
.col2 .box .content{ padding: 1em; }
.col2 h1{ font-size: 3em; font-weight: 700; line-height: 1.1; margin: 0 0 0.5em 0; }
.col2 article h2{ font-size: 2.2em; font-weight: 700; line-height: 1.2; margin: 1em 0 0.75em 0; }
.col2 article h3{ font-size: 1.6em; font-weight: 700; line-height: 1.2; margin: 1em 0 0.75em 0; }
.col2 .newsfeed h4{ font-size: 1.2em; font-weight: 700; line-height: 1.2; margin: 1em 0 0.5em 0; }
.col3 .box h1{ font-size: 3em; font-weight: 700; line-height: 1.1; margin: 0 0 0.5em 0; }
.col3 .box{ margin: 0 0 3% 0; background: #fff; background: rgba(255,255,255,0.82); }
.col3 .box .content{ padding: 1em; }

.col2 article .titlearea{ overflow: hidden; }
.col2 article .date{ float: right; font-weight: 700; margin: 0 0 0 1em; }
.col2 article .date .day{ width: 50px; height: 40px; font-size: 32px; line-height: 40px; text-align: center; color: #fff; background: #333; display: block; margin: 0 0 5px 0; }
.col2 article .date .month{ font-size: 9px; text-align: center; width: 50px; display: block; font-weight: 400; }
.col3{ margin: 0 0.5%; width: 99%; float: left; }

.box a.headlink{ display: block; }
.box h2.head{ font-family: "Roboto Condensed"; font-weight: 700; font-size: 1.3em; padding: 0.7em 0.4em; text-transform: uppercase; vertical-align: middle; line-height: 1.1; background: #368DE3; color: #fff; box-shadow: inset 1px 1px 0 rgba(255,255,255,0.5), inset -1px -1px 0 rgba(0,0,0,0.1); 
background-image: -webkit-gradient(
	linear,
	left top,
	right bottom,
	color-stop(0, #95C5F0),
	color-stop(0.61, #368DE3),
	color-stop(1, #51AAFF)
);
background-image: -o-linear-gradient(right bottom, #95C5F0 0%, #368DE3 61%, #51AAFF 100%);
background-image: -moz-linear-gradient(right bottom, #95C5F0 0%, #368DE3 61%, #51AAFF 100%);
background-image: -webkit-linear-gradient(right bottom, #95C5F0 0%, #368DE3 61%, #51AAFF 100%);
background-image: -ms-linear-gradient(right bottom, #95C5F0 0%, #368DE3 61%, #51AAFF 100%);
background-image: linear-gradient(to right bottom, #95C5F0 0%, #368DE3 61%, #51AAFF 100%);
}
.box h2.head .icon{ font-size: 1.5em; line-height: 1; display: inline-block; float: left; vertical-align: middle; margin: -0.15em 0.25em 0 0; }
.box h2.head .arrow{ float: right; display: inline-block; vertical-align: middle; }
.box a.headlink:hover h2.head{ background: #368DE3; }
.box a.headlink:hover h2.head .icon{ -webkit-transform: scale(1.2); }

.newsfeed, .ajankohtaista{ }
.newsfeed li, .ajankohtaista li{ margin: 0 0 1.2em 0; position: relative; -webkit-backface-visibility: hidden; }
.newsfeed li:last-child, .ajankohtaista li:last-child{ margin: 0; }
.col2 .newsfeed li{ margin: 0 0 1.5em 0; }
.col2 .newsfeed li .comments{ float: right; color: #999; }
.col2 .newsfeed li p{ margin: 0 0 0.5em 0; }

.ajankohtaista li{ padding-left: 55px; min-height: 60px; }
.ajankohtaista .date2{ float: left; font-weight: 700; margin: 0; position: absolute; left: 0; top: 0; }
.ajankohtaista .date2 .day{ width: 45px; height: 35px; font-size: 28px; line-height: 35px; text-align: center; color: #fff; background: #333; display: block; margin: 0 0 5px 0; }
.ajankohtaista .date2 .month{ font-size: 9px; text-align: center; width: 45px; display: block; font-weight: 400; }

.newsfeed.dates li{ padding-left: 65px; min-height: 60px; }
.newsfeed.dates2 li{ padding-left: 65px; min-height: 60px; }
.newsfeed .date2{ float: left; font-weight: 700; margin: 0; position: absolute; left: 0; top: 0; }
.newsfeed .date2 .day{ width: 55px; height: 45px; font-size: 33px; line-height: 45px; text-align: center; color: #fff; background: #333; display: block; margin: 0 0 5px 0; }
.newsfeed .date2 .month{ font-size: 9px; text-align: center; width: 55px; display: block; font-weight: 400; }

.date{ font-size: 0.8em; color: #666; }
.currentcategory{ }
.currentcategory a{ font-size: 1.2em; color: #999; }
.currentcategory a:hover{ color: #0f2e5e; }


.gallery{ overflow: hidden; list-style: none; }
.gallery li{ float: left; margin: 0; padding: 0; width: 20%; }
.gallery li a{ display: block; padding: 5%; }
.gallery li a img{ display: block; width: 100%; height: auto; margin: 0; }
.gallery li a:hover{ background: #2f4e7e; }

.small_gallery{ overflow: hidden; list-style: none; }
.small_gallery li{ float: left; margin: 0; padding: 0; width: 33.333%; }
.small_gallery li a{ display: block; padding: 0; background: #2f4e7e; }
.small_gallery li a img{ display: block; width: 100%; height: auto; margin: 0; }
.small_gallery li a:hover img{ opacity: 0.66; }

.pagination{ overflow: hidden; margin: 1em 0 0 0; border-top: 1px solid #ddd; padding: 1em 0 0 0;  }
.pagination .prev{ float: right; }
.pagination .next{ float: left; }

.kuva{ display: block; width: 100%; height: auto; margin: 0; }

.loading{ min-height: 100px; background: url(../img/loader.gif) center center no-repeat; opacity: 0.5; }

.alignleft{ margin: 0 1em 1em 0; display: block; clear: left; float: left; }
.alignright{ margin: 0 0 1em 1em; display: block; clear: right; float: right; }
.aligncenter{ margin: 0 auto 1em auto; display: block; clear: both; float: none; }
.wp-caption-text{ font-style: italic; color: #777; }

.fb-like-box{ margin: -6px 0 4px -10px; height: 70px; }
.fbpost{ margin: 0 0 1.2em 0; border-top: 1px solid #ccc; padding-top: 1em; overflow: hidden; }
.fbpost .link{ display: block; background: rgba(0,0,0,0.05); border: 1px solid #f0f0f0; padding: 0.5em; overflow: hidden; font-size: 0.8em; }
.fbpost .link a .img{ display: block; width: 25%; height: auto; margin: 0 0.5em 0 0; float: left; }
.fbpost .imglink{ display: block; float: left; background: rgba(0,0,0,0.05); border: 1px solid #f0f0f0; padding: 0.5em; overflow: hidden; width: 25%; margin: 0 0.4em 0.25em 0; }
.fbpost .imglink a .img{ display: block; width: 100%; height: auto; margin: 0; float: left; }
.fbpost .openfb{ display: block; margin-top: 0.25em; }
.fbpost a:hover img{ opacity: 0.8; }

.archive{}
.archive li{ margin: 0.25em 0; }
.archive li a .toggle{   }
.archive li a .toggle:before{ content: "+"; display: inline-block; width: 1em; height: 1em; text-align: center; line-height: 1em; background: #2f4e7e; color: #fff; margin: 0 0.25em 0 0; font-family: 'courier new'; }
.archive li a.open .toggle:before{ content: "-"; }
.archive .archive-months{ display: none; margin: 0 0 0 1.25em; }
.archive .archive-posts{ display: none; margin: 0 0 0 1.25em; }
.archive .archive-posts .post{ margin: 0.75em 0; line-height: 1.2; }

#comments{ padding: 1em; margin: 1em 0 0 0; border: 1px solid #ddd; }
#comments h2{ font-size: 1.5em; margin: 0 0 1em 0; }
#comments .comment{ border-bottom: 1px solid #eee; margin: 1em 0 0 0; }
#comments .children .comment{ border-bottom: none; }
#comments .avatar{ border-radius: 50%; vertical-align: middle; margin-right: 1em; }
#comments .comment-author{ vertical-align: middle; margin: 0 0 0.5em 0; }
#comments .comment-author .fn{ font-weight: bold; }
#comments ol.children{ margin-left: 3em; }
#comments .comment-body{ margin: 0 0 1em 0; }
#comments .comment-meta{ margin: 0 0 1em 0; font-size: 0.8em; }
#comments .reply a{ display: inline-block; border: 1px solid #ddd; border-radius: 0.5em; padding: 0.3em 0.5em; }
#comments .reply a:hover{ background: #edd967; }
#comments #respond{ margin: 1em 0 0 0; overflow: hidden; }
#comments #respond h3{ font-size: 1.25em; margin: 0 0 1em 0; }
#comments #respond label{ width: 25%; margin: 0.25em 1% 0 0; float: left; clear: left; text-align: right; }
#comments #respond input[type=text], #comments #respond input[type=email], #comments #respond textarea{ width: 70%; margin: 0 0 1em 0; padding: 0.33em 2%; float: left; border: 0; background: #fff; border-radius: 0; }
#comments #respond textarea{ height: 12em; }
#comments #respond input[type=text]:focus, #comments #respond input[type=email]:focus, #comments #respond textarea:focus{ background: #ddd; color: 0; box-shadow: inset 0 0 0 2px rgba(0,0,0,0.2); }
#comments #respond input[type=submit]{ float: right; display: inline-block; padding: 0.33em 0.5em; color: #fff; text-transform: uppercase; background: #2f4e7e; cursor: pointer; -webkit-transition: all 0.15s ease-out; -moz-transition: all 0.15s ease-out; -ms-transition: all 0.15s ease-out; border: 0; }
#comments #respond input[type=submit]:hover{ background: #0f2e5e; }
#cancel-comment-reply-link{ color: #900; }

.wpcf7{ padding: 1em; margin: 1em 0 0 0; border: 1px solid #ddd; overflow: hidden; }
.wpcf7 h3{ margin: 0 0 1em 0 !important; font-size: 1.4em; }
.wpcf7 label{ width: 25%; margin: 0.25em 1% 0 0; float: left; clear: left; text-align: right; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 textarea{ width: 70%; margin: 0 0 1em 0; padding: 0.33em 2%; float: left; border: 0; background: #fff; border-radius: 0; }
.wpcf7 textarea{ height: 12em; }
.wpcf7 input[type=text]:focus, .wpcf7 input[type=email]:focus, .wpcf7 textarea:focus{ background: #ddd; color: 0; box-shadow: inset 0 0 0 2px rgba(0,0,0,0.2); }
.wpcf7 input[type=submit]{ float: right; display: inline-block; padding: 0.33em 0.5em; color: #fff; text-transform: uppercase; background: #2f4e7e; cursor: pointer; -webkit-transition: all 0.15s ease-out; -moz-transition: all 0.15s ease-out; -ms-transition: all 0.15s ease-out; border: 0; }
.wpcf7 input[type=submit]:hover{ background: #0f2e5e; }


footer{ position: fixed; left: 0; bottom: 0; right: 0; background: #fff; background: rgba(255,255,255,0.82); }
footer .contentarea{ padding: 0.5em 0; }
footer a{ color: #333; }
footer ul li{ float: left; margin: 0 1em 0 0; }
footer ul li:after{ content: '·'; display: inline-block; margin: 0 0 0 1em; }
footer ul li:last-child:after{ content: ''; display: none; margin: 0; }

@media (max-width: 900px){
	body{ font-size: 12px; }
	#contentarea, .contentarea{ width: 96%; }
	#contentarea{ width: 98%; }
}

@media (min-width: 1200px){
	body{ font-size: 14px; }
	#contentarea, .contentarea{ width: 86%; }
}




/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 502;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
  filter: alpha(opacity=80); }

.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; }
