/*default size*/
.slideshow{
height:340px;
}

#top .template-blog .slideshow, #top .template-page .slideshow{
height:223px;
}


#top .one_fourth .slideshow, #top .three_fourth .slideshow,  #top div .two_fourth .slideshow{
height:171px;
}

#top .one_third .slideshow, #top .two_third .slideshow{
height:229px;
}

#top .one_half .slideshow{
height:345px;
}

/*big slider*/

#top #slideshow_big{
margin-top:-20px;
position: relative;

}

#top #slideshow_big .slideshow_container{
padding-bottom:30px;
}

#top #slideshow_big .slideshow_container .slideshow{ 
border-bottom-width: 1px;
border-bottom-style: solid;
}

#top #slideshow_big .numeric_controls{ display:block; }
#top div .slide_controls{display:block; bottom:auto; top:10px;}

/*default styling*/

#top .slideshow_container{
position: relative;
padding-bottom:20px;
}

#top .slideshow{
list-style-type: none;
position: relative;
margin:0 auto;
width: 100%;
list-style-position: outside;
padding: 0;
overflow: hidden;
z-index: 2;
}

#top .slideshow li{
width:100%;
height:100%;
position: relative;
display:none;
left:0;
top:0;
margin:0;
padding:0;

}

#top .slideshow li:first-child{
display:block;
}

.js_active #top .slideshow li:first-child{
visibility:hidden;
}

#top .slideshow li img{
width: 100%;
height:auto;
position: relative;
z-index: 3;
border:none;
margin:0;
padding:0;
display:block;
top:0;
/*background: #000;*/
}

#top #main .greyscale-image{
width: 100%;
height:100%;
position: absolute;
z-index: 15;
border:none;
margin:0;
padding:0;
display:block;
top:0;
left:0;
}



.msie7 .inner_column .greyscale-image, .msie8 .inner_column .greyscale-image{visibility: visible;}

.slideshow li>a{
position: relative;
display: block;
}

#top .slideshow li iframe, #top .slideshow li object, #top .slideshow li embed{
height:100%;
width:100%;
position: absolute;
top:0;
left:0;
z-index: 2;
display:none;
}

#top .slideshow li .avia_video{
height:100% !important;
width:100%  !important;
position: absolute;
}

#top .slideshow .videoslide{
background: #000;
}


/*caption*/

.slideshow .slideshow_caption{
z-index: 100;
width:40%;
color: #fff;
position: absolute;
bottom: 0;
top:auto;
height:100%;
display:block;
text-decoration: none;
}

.slideshow_caption h1, .slideshow_caption h2, .slideshow_caption h3, .slideshow_caption h4, .slideshow_caption h5, .slideshow_caption h5, .slideshow_caption a{
color: #fff;
text-transform: none;
font-weight: normal;
letter-spacing: normal;
}

.slideshow_inner_caption{
padding:0 10%;
position: relative;
display: table;
height:100%;
}

.slideshow_align_caption{
display:table-cell;
vertical-align: middle;
position: relative;
}


.slideshow_inner_caption h1{
font-size: 20px;
margin-bottom:5px;
}


.one_fourth .slideshow_caption{
display:none;
}

.videoslide:hover .slideshow_caption{
display:none;
}


#top .slideshow_caption .button_wrap{
overflow: hidden;
padding-top:10px;
position: relative;
}

#top .caption-slideshow-button{
width:42%;
padding: 0 3%;
text-align: center;
}

#top #wrap_all .button_wrap_1 .caption-slideshow-button{
width:94%;
margin: 0;
}

#top .caption-slideshow-button:hover{
opacity: 1;
}

#top .caption-slideshow-button.slideshow_button2_class{ 
margin-left:2%;
}

/*caption position*/
.caption_left .slideshow_caption {left:0; }
.caption_right .slideshow_caption{ right:0;	}
.caption_bottom .slideshow_caption {left:0; width:100%; bottom:0; height:auto;}

.caption_bottom .slideshow_caption .slideshow_inner_caption{
display: block;
height:auto;
bottom:0;
position: absolute;
padding:0;
width:100%;
}

.caption_bottom .slideshow_caption .slideshow_inner_caption .slideshow_align_caption{
padding:20px;
display: block;
}


/*caption frame*/
.caption_framed .slideshow_caption .slideshow_inner_caption{
background: rgba(0,0,0,0.5);
}

/*moveable caption*/
.slideshow_inner_caption h1, .slideshow_inner_caption div{
position: relative;

}

/*smaller captions*/
.portfolio-sort-container .flex_column .slideshow_caption{width:100%; height:auto;}



/*controlls*/
.slide_controls{
display:block;
position: relative;
z-index: 20;

}

.numeric_controls, .arrow_controls{
position: absolute;
bottom:10px;
}

#top div .arrow_controls a{
background-color:#333;
}


div .numeric_controls{ left:10px; display:none;}
div .arrow_controls{ right:10px;  }

#top #slideshow_big .slide_controls{
margin:0;
bottom:40px;
top:auto;
}

.ctrl_previous, .ctrl_next, .ctrl_pause_play{
float:left;
height:20px;
text-indent: -9999px;
outline: none;
width:20px;
z-index: 200;
display:none;
background: url("../images/layout/arrow_set.png") no-repeat -35px center #000;
margin-left:2px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}

.ctrl_previous{

background: url("../images/layout/arrow_set.png") no-repeat -5px center #000;
}

.ctrl_pause_play{
display: none !important;
background: url("../images/layout/arrow_set.png") no-repeat -65px center #000;

}

.ctrl_active_rotation.ctrl_pause_play{
background: url("../images/layout/arrow_set.png") no-repeat -90px center transparent;
}



.numeric_controls a{
text-indent: -9999px;
outline: none;
height:10px;
width:10px;
margin-left:2px;
display:none;
float:left;
background-color: #e1e1e1;
border:1px solid;
-moz-border-radius:100px;
-webkit-border-radius:100px;
border-radius:100px;
}

.numeric_controls .active_item, .numeric_controls a:hover{
border:none;
padding:1px;
}


/*thumbnails*/
.thumbnails_container{
overflow: hidden;
margin:0 0 20px 0;
width:103.5%;
}

.thumbnails_container .slideThumb{
float:left;
width:19%;
margin:0 2px 2px 0;
cursor:pointer;
}

.img_span{
border-style:solid;
border-width: 1px;
padding:2px;
display: block;
}

.thumbnails_container .slideThumb5, .thumbnails_container .slideThumb10, .thumbnails_container .slideThumb15, 
.thumbnails_container .slideThumb20, .thumbnails_container .slideThumb25, .thumbnails_container .slideThumb30, 
.thumbnails_container .slideThumb35, .thumbnails_container .slideThumb40, .thumbnails_container .slideThumb45, 
.thumbnails_container .slideThumb50, .thumbnails_container .slideThumb55{
margin-right:0;
}

.thumbnails_container .slideThumb img{
display:block;
}


/*aviapoly*/
.avBlock, .av_innerBlock{ 
background: #000000; 
background: rgba(0,0,0,0.1); /*never delete, blocks need bg color for css3 rtansitions to work*/
}

.av_innerBlock img{
height:auto;
width:100%;
}


/*preloader*/


.preloading{
background-image: url("../images/layout/loading.gif");
background-repeat: no-repeat;
background-position: center center;
}


/*video overlay*/

.comboslide .slideshow_overlay{
background-image: url("../images/layout/icon-video-overlay.png");
background-repeat: no-repeat;
background-position: center center;
cursor: pointer;
position: absolute;
top:0;
left:0;
right:0;
bottom:0;
z-index: 10;
}

.portfolio-sort-container .comboslide .slideshow_overlay{
background-image: url("../images/layout/icon-video.png");
background-repeat: no-repeat;
background-position: center center;
cursor: pointer;
position: absolute;
top:auto;
left:auto;
bottom:0;
right:0;
height:30px;
width:30px;
z-index: 10;
}


/*ie7*/

.msie7 .slideshow_align_caption{
top:30%;
}



/*********************/
/* additions start here */

/************************************************************************
-) Slidecontrolls
*************************************************************************/

.slidecontrolls {
bottom: 10px;
position: absolute;
right: 10px;
z-index: 30;
display:none;
}

.slidecontrolls a{
height:19px;
width:19px;
display:inline-block;
text-indent: -9999px;
cursor: pointer;
background: url("../images/shared/slidecontrolls.png") no-repeat scroll left top transparent;
outline: none;
}

.slidecontrolls a:hover, .slidecontrolls .active_item{
background: url("../images/shared/slidecontrolls.png") no-repeat scroll left bottom transparent;
}


.slideshow_caption{
position: absolute;
display: block;
bottom: 0;
left:0;
right:0;
z-index: 2;
padding:14px 15px;
font-size: 11px;
line-height:1.5em;
cursor: pointer;
background: #000;
color: #fff;
}

.slideshow_caption strong, .slideshow_caption h1{
display: block;
padding-bottom: 8px;
color:#fff;
font-size: 12px;
font-style: normal;
font-weight: bold;
letter-spacing: 1.5px;
text-transform: uppercase;
}

.slideshow_caption .inner_caption{
display:block;
background: #000;
}

.arrowslidecontrolls a {
background: url("../images/shared/arrows.png") no-repeat scroll left top transparent;
display: block;
height: 30px;
right: 60px;
position: absolute;
top: -30px;
width: 30px;
z-index: 3;
outline: none;
text-indent: -9999px;
}

.arrowslidecontrolls .ctrl_fwd{
background: url("../images/shared/arrows.png") no-repeat scroll -30px top transparent;
right: 0px;
left:auto;
}

.arrowslidecontrolls .ctrl_play{
background: url("../images/shared/arrows.png") no-repeat scroll -60px top  transparent;
right: 30px;
}

.arrowslidecontrolls .ctrl_play.ctrl_active{
background: url("../images/shared/arrows.png") no-repeat scroll -90px top  transparent;
}



/************************************************************************
HTML 5 Video Player
*************************************************************************/

div .pptimeleft{
text-align:center;
font-size: 11px;
}

div .ppfsenter{
display:none !important;
width:0px;
}

.comboslide .slideshow_overlay{
display: block;
width:100%;
height:100%;
background: url("../images/shared/video.png") no-repeat scroll center center transparent;
z-index: 3;
position: absolute;
opacity: 0.5;
cursor: pointer;
top:0;
left:0;
}

.videoSlideContainerEmbed video, .videoSlideContainer video{
left:0 !important;
top:0 !important;
}


/************************************************************************
Fullwidth slider
*************************************************************************/


.avia_fullscreen_slider, .background_overlay{ 
height:100%; 	/*this changes the height of the image slider*/
width:100%;
overflow: hidden;
position: fixed;
top:0;
left:0;
z-index: 1;
}
/*.avia_fullscreen_slider{
  width: 98.233333% !important;
} */
.avia_fullscreen_slider li{
display: block;
width:100%;
height:100%;
position: absolute;
top:0;
left:0;
z-index: 1;
overflow: hidden;
}

.avia_fullscreen_slider canvas{
display: block;
position: absolute;
top:0;
left:0;
z-index: 1;
}

.avia_fullscreen_slider li img{
position: relative;
display: block;
}

#fallbackImage{
background:transparent no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
height:100%; 	/*this changes the height of the image slider*/
width:100%;
overflow: hidden;
position: fixed;
z-index: 0;
}

.background_overlay{
z-index: 2;
background-repeat: repeat;
position:fixed;
}



.bgwidth { width: 100%; left:50%; top:50%; height:auto;}
.bgheight { height: 100%; left:50%; top:50%; width:auto; }





/*fullscreen controlls*/

.arrowslidecontrolls_fullscreen{
padding:20px 15px;
position: fixed;
bottom: 0;
left:50px;
z-index: 101;
width:190px;
}

.arrowslidecontrolls_fullscreen .ctrl_arrow{
height: 26px;
width: 26px;
float: left;
display: block;
border: medium none;
display: block;
float: left;
padding: 0;
text-indent: -9999px;
outline: none;
padding:0 3px 0 0;
cursor: pointer;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
user-select: none;
}

.img_count{
display:none;
text-align: left;
padding-left:10px;
position: absolute;
top:21px;
left:120px;
}

.arrowslidecontrolls_fullscreen .ctrl_arrow:hover{
opacity: 0.8;
}

.arrowslidecontrolls_fullscreen .ctrl_arrow.ctrl_back {
background: transparent url(../images/skin-minimal/icons-rounded-back.png) -2px 0 no-repeat;
}

.arrowslidecontrolls_fullscreen .ctrl_arrow.ctrl_play {
background: transparent url(../images/skin-minimal/icons-rounded-play.png) -2px 0 no-repeat;
}

.arrowslidecontrolls_fullscreen .ctrl_arrow.ctrl_play.ctrl_active {
background: transparent url(../images/skin-minimal/icons-rounded-pause.png) -2px 0 no-repeat;
}

.arrowslidecontrolls_fullscreen .ctrl_arrow.ctrl_fwd {
background: transparent url(../images/skin-minimal/icons-rounded-fwd.png) -2px 0 no-repeat;
}


.avia_fullscreen_slider_thumbs{
position: fixed;
bottom: -80px;
height:66px;
z-index: 10;
width:100%;
display:none;
}

.avia_fullscreen_slider_thumbs img{
padding:3px;
cursor: pointer;
}

.avia_fullscreen_slider_thumbs img:hover, .avia_fullscreen_slider_thumbs .active_thumb img{
background: #fff;
}

.avia_fullscreen_slider_thumbs_inner{
height:48px;
padding:6px 6px 6px 276px;
overflow: hidden;
position: relative;
}

.avia_fullscreen_slider_thumbs_outer_slide{
overflow: hidden;
position: relative;
}

.avia_fullscreen_slider_thumbs_inner_slide{
overflow: hidden;
position: relative;
width:10000px;
left:0;
}

.avia_fullscreen_slider_thumbs .fullscreen_thumb{
float:left;
margin-right:6px;
margin-bottom:20px;
position: relative;
}

.fullscreen_thumb img{
display: block;
height:48px;
width:48px;
}

.avia_fullscreen_slider_thumbs .fullscreen_thumb:last-child{
margin:0;
}

.slide_thumbnails{
position: absolute;
right: 0;
top:0;
height:66px;
width: 49px;
display: block;
z-index: 10;
outline: none;
background: #fff url(../images/skin-minimal/icons-rounded-fast-fwd.png) center center no-repeat;
}

.return_content {
position: fixed;
bottom: -80px;
height: 66px;
width: 49px;
text-indent: -9999px;
left: 0;
display: none;
z-index: 10;
outline: none;
}

/*slideshow tooltips*/

.exif_data_tooltip{
display:none;
width:300px;
position: absolute;
z-index: 100;
padding-bottom: 8px;
background: transparent url(../images/skin-minimal/tooltip_arrows.png) bottom center no-repeat;
margin-left:-123px;
}

.exif_data_inner_tooltip{
background: #fff;
padding:15px;
overflow: hidden;
font-size: 11px;
}

.exif_data_inner_tooltip strong{
font-size: 12px;
}

.exif_data_inner_tooltip .hr{
padding:15px 0;
}

#top .exif_data_inner_tooltip ul{
padding:0;
margin: 0;
font-size: 10px;
overflow: hidden;
}

#top .exif_data_inner_tooltip .exif-camera, #top .exif_data_inner_tooltip .exif-created_timestamp, #top .exif_data_inner_tooltip .exif-credit, #top .exif_data_inner_tooltip .exif-copyright{
display: block;
float:none;
clear: both;
width: auto;
}

#top .exif_data_inner_tooltip li{
float:left;
width:48%;
padding:2px 2% 2px 0;
border-bottom: 1px dotted #e1e1e1;
margin:0;
list-style-type: none;
}

.exif_data_inner_tooltip li span{
color: #555;
font-weight: bold;
}


/*embeded single images*/

#top div .avia_embed_image_container{
margin:0;
padding:0;
position: relative;
clear: both;
}



#top .avia_embed_image .exif_data_tooltip{
display:none;
width:300px;
position: absolute;
z-index: 300;
padding:0 0 0  8px;
background: transparent url(../images/skin-minimal/tooltip_arrows.png) left center no-repeat;
margin-left:422px;
}

.attached_images.slideshow_container{
margin:0;
}

#top .avia_embed_image{
margin:0;
padding:30px 0 0 0;
position: relative;
list-style-type: none;
}

/*mini slideshow*/

.avia_embed_image_container.thumbslider{
height:242px
}



#top .thumbslider .avia_embed_image{
padding-top:0;
}



/************************************************************************
new in version 1.3
*************************************************************************/


.dont_crop_images .bgwidth { height: 100%; left:50%; top:50%; width:auto;}
.dont_crop_images .bgheight { width: 100%; left:50%; top:50%; height:auto; }