.dskfloatleft { float:left; }
.dskfloatright { float:right; }
.dskfloatnone { float:none; clear:both; }
.nodsk { display:none; }

.transblackbg { background: rgba(0,0,0,0.5); }

/*Video*/
.videowrap { display:inline-block; cursor:pointer; }
/*v1 playbtn .videowrap .playbtn { position:absolute; width:76px; height:75px; left:50%; margin-left:-38px; top:50%; margin-top:-37.5px; }*/
.videowrap .playbtn { position:absolute; width:222px; height:80px; left:50%; margin-left:-111px; top:50%; margin-top:-40px; }
.videowrap .framehtm { display:none; }
#videomodal { z-index:10001; }
#videomodal img.close { width:30px; height:30px; background:url(../css2/images/close.png) no-repeat; cursor:pointer; }

/*Slideshow*/
.slideshow { z-index:100; }
.slideshow .imgwrap { width:100%; margin-bottom:10px;}
.slideshow .imgwrap .prev,.slideshow .imgwrap .next { width:10%; height:100%; position:absolute; top:0; background-repeat: no-repeat; background-position: center center; 
														background-color: rgba(0, 0, 0, 0.5); 
														filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#7F000000,endColorstr=#7F000000);
														/* background-color:transparent\0; ie8,9 hack*/ display:none;  }														
.slideshow .imgwrap .ava { display:block;}														
.slideshow .imgwrap .prev { left:0; background-image: url('../css2/images/arrow_grey_left.png'); }
.slideshow .imgwrap .next { right:0; background-image: url('../css2/images/arrow_grey_right.png'); }

.slideshow .caption, .left_col .slideshow .caption { margin-bottom:10px; margin-left:0; font-size:85%; }

/*Big Slideshow*/
.d-gallery {background:#fff;}
.d-gallery .d-container{width:100%;}
.d-gallery .d-img-wrapper{width: 100%;}
.d-gallery .d-img-wrapper > img {width:100%;position:absolute;top:0;left:0;opacity:0;visibility:hidden;transition:opacity 0.4s, visibility 0s ease-out 0.4s;}
.d-gallery .d-img-wrapper > img.active{position:relative;opacity:1;visibility:visible;transition:opacity 0.4s ease-out 0.4s, visibility 0s ease-out 0.4s;}


.d-gallery .d-contents .d-content-wrapper {color:#333;}
.d-gallery .d-contents .d-content-wrapper .d-content {
	top:0;left:0;
	line-height:36px;
	font-size:110%;
	position:absolute;opacity:0;visibility:hidden;transition:opacity 0.4s, visibility 0s ease-out 0.4s;
}
.d-gallery .d-contents .d-content-wrapper .d-content.active {
	font-size:110%;
	opacity:1;visibility:visible;transition:opacity 0.4s ease-out 0.4s, visibility 0s ease-out 0.4s;
}
.d-gallery .d-control {width:calc(100% + 15px); margin-left:-15px;}
.d-gallery .d-control:after{content:"";display:block;clear:both;}
.d-gallery .d-control .d-c-left, .d-gallery .d-control .d-c-right{float:left;display:block;margin-left:15px;cursor:pointer;width:calc(50% - 15px);}
.d-gallery .d-control .d-c-left.hidden, .d-gallery .d-control .d-c-right.hidden{opacity:0;visibility:hidden;}
.d-gallery .d-control .d-c-right:after{ background: url(../css2/images/btn-right.png) no-repeat center;content: "";top: 0;left:0;width: 100%; height: 100%; position: absolute;}
.d-gallery .d-control .d-c-left:after{ background: url(../css2/images/btn-left.png) no-repeat center;content: "";top: 0;left:0;width: 100%; height: 100%; position: absolute;}
.d-gallery .d-control .d-c-left img, .d-gallery .d-control .d-c-right img {width:100%;}
.d-gallery .d-thumbnail-wrapper {width:100%;overflow:hidden;}
.d-gallery .d-thumbnail-wrapper:before{margin-top:15px;display:block;content:"";position:relative;}
.d-gallery .d-thumbnail-wrapper .d-thumbnail-menu{margin-left:-15px;width:calc(100% + 15px);background:#d5d0bd;padding:0 15px;}
.d-gallery .d-thumbnail-wrapper .d-thumbnail-menu:after{display:block;content:"";position:relative;clear:both;}
.d-gallery .d-thumbnail-wrapper .d-thumbnail{float:left;width:97px;height:97px;margin:15px 0 15px 15px;cursor:pointer;}
.d-gallery .d-thumbnail-wrapper .d-thumbnail.active:before{display:block;position:absolute;left:0;top:0;width:100%;height:100%;content:"";opacity:0.8;background-color:#a56105;}


.d-gallery.type-b{width: 100%; padding:0px;}
.d-gallery.type-b .d-contents .d-content-wrapper {margin-top:20px;}
.d-gallery.type-b .d-control-wrapper{display: inline-block; right: 20px;bottom: 20px;position: absolute;width:20%;min-width:100px;}
.d-gallery.type-b .d-contents .d-content-wrapper .d-content.active{position:relative;}
.d-gallery.type-b .d-contents .d-content-wrapper .d-content{top:0;line-height:1.3; color:#666; font-size:14px;padding:0 15px;}
.d-gallery.type-b .d-control{}

/*Pop Slideshow*/
.popslideshow { z-index:100; margin-bottom:10px; cursor:pointer; }

.popslideshow  img.cover {width:100%; display:block; }
.popslideshow  .layer { position:absolute; top:0; left:0; width:100%; height:100%; background:#fff;
						opacity:.3; }
.popslideshow  .ball { position:absolute; height:70%; width:100%; top:15%; left:0; text-align:center; 
						background:url(../css2/images/ball-white-gallery.svg) no-repeat center; background-size: contain; 
						opacity:.8; }

.popslideshow .layer,	.popslideshow .ball { transition: all 0.6s ease-in-out;}			
.popslideshow:hover .layer { opacity:0; }
.popslideshow:hover .ball { opacity:.5; transform: scale(1.2); }


/*Big slideshow -medias-*/
@media only screen and (max-width: 1082px){
    .d-gallery.type-a{width: 100%; padding:0px;}
    .d-gallery.type-a .d-contents .d-content-wrapper {margin-top:20px;}
    .d-gallery.type-a .d-control-wrapper{display: inline-block; right: 20px;bottom: 20px;width:20%;min-width:100px; position: absolute;}
    .d-gallery.type-a .d-contents .d-content-wrapper .d-content{padding:0 15px;}
    .d-gallery.type-a .d-contents .d-content-wrapper .d-content.active{position:relative;}
}
    
    
@media only screen and (min-width: 1083px){
    .d-gallery.type-a{width: calc(100% - 30px); padding:15px;}
    .d-gallery.type-a .d-container{display:table;}
    .d-gallery.type-a .d-img-wrapper{display: table-cell;width:727px;}
    .d-gallery.type-a .d-contents {padding-left:15px;display: table-cell;vertical-align:top;}
    .d-gallery.type-a .d-control-wrapper {position:absolute;bottom: 10px;right: 20px;width:20%;min-width:100px;}
    .d-gallery.type-a .d-contents .d-content-wrapper .d-content{margin-top:-12px;font-size:100%;}
}
    

/* ==========================================================================
	Mobile
============================================================================= */
@media only screen and (max-device-width: 767px) {
    .nodsk { display:block; }
    .dskonly { display:none; }
	.mobonly { display:block; }	 
    .dskfloatleft, .dskfloatright, .dskfloatnone { float:none; clear:both; }	
    
    /*Video*/
	.videowrap { width:100%; }
	.videowrap img{ width:100%; }
    .videowrap .plybtn{ width:auto; }
	.videowrap .playbtn { width:111px; height:40px; margin-left:-55px; margin-top:-20px; }
   
    /*Slideshow*/
    .slideshow .imgwrap img.main {width:100%;}
    .slideshow .imgwrap, .slideshow .caption { /*margin-bottom:30px;*/ }
    .slideshow .imgwrap .prev,.slideshow .imgwrap .next { background-size:80% auto; }
    .slideshow .caption.font-s { /*font-size:35px;*/ line-height:normal;}

    /*Big slideshow*/
    .d-gallery.type-b .d-contents .d-content-wrapper .d-content {
		line-height:normal; font-size:35px;
    }
    
    /*News Loading*/
    #mload { border: 16px solid #e0e0e0; border-top: 16px solid #052a78; /* Blue */ margin:0 auto;
        border-radius:50%; width:80px; height:80px; margin-top:-50px; margin-bottom:50px; 
        animation: spin 1.5s linear infinite; }
    @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

}