/*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%;
}