div.gallery{width:100%;margin:0;padding:0;border:0;}
div.gallery-images{display:inline-block;width:100%;margin:1.25em auto 0 auto;padding:0;border:0;}
div.gallery .gallerycomment{float:left;width:100%;margin:0;padding:0;}
div.gallery .gallerycomment p{font-size:.875em;margin:0;padding:0 0 20px 0;}
div.gallery .img{position:relative;float:left;width:20%;height:auto;max-width:100%;margin:0;padding:4px;overflow:hidden;text-align:center;}
	@media all and (max-width:768px){div.gallery .img{width:25%;}}
	@media all and (max-width:576px){div.gallery .img{width:33.3333%;}}
	@media all and (max-width:460px){div.gallery .img{width:50%;}}
div.gallery .img img{width:auto;max-width:100%;height:auto;margin:0 0 -4px 0;padding:0;border:0;}
div.gallery .img img:hover{}
div.gallery .img p{font-family:'Roboto Condensed',sans-serif;font-size:.875em;font-weight:normal;color:#333;line-height:1.25em;padding:0;margin:0;}
div.gallery .img a{display:inline-block;padding:0;margin:0;}
div.gallery .img a:hover{}
div.gallery .img a:after{position:absolute;top:8px;right:8px;padding:0 .15em;font-family:FontAwesome;font-size:1.125em;content:"\f065";color:white;background:rgba(0,0,0,.5);text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.75);}
div.gallery .img a.video-tn:after{position:absolute;top:8px;right:8px;padding:0 .15em;font-family:FontAwesome;font-size:1.125em;content:"\f03d";color:white;background:rgba(0,0,0,.5);text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.75);}
div.gallery .img .valikko_img{position:absolute;top:4px;right:4px;width:36px;height:36px;margin:0;padding:0;background:#6a6aab;border:0;z-index:100;}
div.gallery .img .valikko_img a{border:0;margin:0;padding:0;}
div.gallery .img .valikko_img a:hover{border:0;margin:0;padding:0;}
div.gallery .img .valikko_img img{width:36px;height:36px;margin:0;padding:0;background:transparent;border:0;}
div.valikko_kuvaus_txt{width:100%;min-height:3em;margin:10px 0 -18px 0;}
div.valikko_kuvaus_txt p{font-size:0.875em!important;margin:0;padding:0;line-height:1.1em;}
div.gallery .pagenavigation{display:block;float:left;width:92%;height:auto;margin:0;padding:0 4%;background-color:transparent;clear:both;}
div.gallery .prevpage a, div.gallery .prevpage em{display:block;width:50px;height:39px;float:left;margin:0;text-indent:-1000px;background:url(../../images/previous.png) transparent no-repeat 0 0;}
div.gallery .nextpage a, div.gallery .nextpage em{display:block;width:50px;height:39px;float:left;margin:0 6px 0 0;text-indent:-1000px;background:url(../../images/next.png) transparent no-repeat 0 0;}
div.gallery .parentlink{width:40px;height:40px;margin:1em 0 1em 4px;padding:0;}
div.gallery .parentlink a{display:block;float:left;width:40px;height:40px;margin:0;padding:0;text-indent:-1000px;background:#6a6aab url(../../images/takaisinvalikkoon.png) no-repeat center center;}
div.gallery .pagenavigation a:hover{/*background-position:0 -40px;*/}
div.gallery .prevpage em, div.gallery .nextpage em{background-position:0 -80px;}
div.gallery .pagelinks{float:right;border-right:2px solid #666;}
div.gallery .pagelinks a, div.gallery .pagelinks em{margin-top:6px;padding:0 6px;border-left:2px solid #666;text-align:center;font:bold 11px verdana;color:#666;}
div.gallery .pagelinks em{color:#000;}
.galleryclear{clear:both;}
	/*LIGHTBOX-version-2.10.0-vk-evo*//* Preload images */
body:after{content: url(close.png) url(loading.gif) url(prev.png) url(next.png);display:none}
.lb-loader,.lightbox{text-align:center;line-height:0}
.lb-dataContainer:after,.lb-outerContainer:after{content:"";clear:both}
html.lb-disable-scrolling{overflow:hidden;position:fixed;height:100vh;width:100vw}
.lightboxOverlay{position:absolute;top:0;left:0;z-index:9999;background-color:#000;filter:alpha(Opacity=80);opacity:.8;display:none}
.lightbox{position:absolute;left:0;width:100%;z-index:10000;font-weight:400}
.lightbox .lb-image{display:block;height:auto;max-width:inherit;max-height:none;border-radius:0px;border:4px solid #fff}
.lightbox a img{border:none}
.lb-outerContainer{position:relative;width:250px;height:250px;margin:0 auto;border-radius:0px;background-color:#fff}
/*.lb-container{position:relative}*/.lb-loader,.lb-nav{position:absolute;left:0}
.lb-outerContainer:after{display:table}
.lb-loader{top:43%;height:25%;width:100%}
.lb-cancel{display:block;width:32px;height:32px;margin:0 auto;background:url('loading.gif') no-repeat}
.lb-nav{top:0;height:100%;width:100%;z-index:10}
.lb-container>.nav{left:0}
.lb-nav a{outline:0;background-image:url(data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==)}
.lb-next,.lb-prev{height:100%;cursor:pointer;display:block}
.lb-nav a.lb-prev{width:34%;left:0;float:left;background:url('prev.png') left 48% no-repeat;filter:alpha(Opacity=50);opacity:0.5;-webkit-transition:opacity .6s;-moz-transition:opacity .6s;-o-transition:opacity .6s;transition:opacity .6s}
.lb-nav a.lb-prev:hover{filter:alpha(Opacity=100);opacity:1}
.lb-nav a.lb-next{width:64%;right:0;float:right;background:url('next.png') right 48% no-repeat;filter:alpha(Opacity=50);opacity:0.5;-webkit-transition:opacity .6s;-moz-transition:opacity .6s;-o-transition:opacity .6s;transition:opacity .6s}
.lb-nav a.lb-next:hover{filter:alpha(Opacity=100);opacity:1}
.lb-dataContainer{margin:0 auto;padding-top:5px;width:100%;border-bottom-left-radius:0px;border-bottom-right-radius:0px}
.lb-dataContainer:after{display:table}
.lb-data{padding:0 4px;color:#ccc}
.lb-data .lb-details{width:100%;float:left;text-align:left;line-height:1.1em}
.lb-data .lb-caption{font-size:13px;font-weight:700;line-height:1em}
.lb-data .lb-caption a{color:#4ae}
div.number-wrapper{position:absolute;display:inline-block;bottom:0;left:0;z-index:100000;min-width:auto;min-height:auto; margin:0;padding:0; background:transparent!important}
div.number-wrapper p.lb-number{display:block;min-width:auto;min-height:auto;margin:0 0 4px 4px!important;padding:0 0.25em!important;line-height:1.5em;color:black;background:white;font-size:0.75em}
.lb-data .lb-number{display:none!important;clear:left;padding-bottom:1em;font-size:12px;color:#999}
div.close-wrapper{position:absolute;top:2%;right:2%;z-index:100000;width:30px;height:30px;background-color:transparent}
div.close-wrapper .lb-close{display:block;width:30px;height:30px;background:url('close.png') top right no-repeat;cursor:pointer;filter:alpha(Opacity=100);opacity:1}
