/*********************************
* Slideshow Styling
*********************************/
#slideshow {
    /*
	width: 100%;
	height: 100%;
*/
    margin: 36px auto;

    /*
    position:relative;

    overflow: hidden;
*/
}

#slideshow.fullscreen {
    /*
		position: fixed;
		top: 0;
		left: 0;

		width: 100%;
		height: 100%;
		margin: 0;
		padding: 0;

		overflow: hidden;
*/
    min-height: 600px !important;
    background: #101010;
    margin: auto
}

.img-wrapper {
    width: 77%;
    position: absolute;
    top: 18px;
    left: 30px;
    right: auto;
/*    overflow: hidden;*/
    z-index: 8;
    background-size: cover;
   
    height: 75%;
    background-repeat: no-repeat;
}

#slideshow .img-wrapper.active {
    z-index: 10;
}

#slideshow .img-wrapper.last-active {
    z-index: 9;
}

/*********************************
	* Thumbnail Styling
	*********************************/
.thumbs-container {
   position: relative;
    min-height: 635px;
    width: 17%;
    margin-left: auto;
}

.thumbs-container.top {
    top: 0;
}

.thumbs-container .prev,
.thumbs-container .next {
        width: 54px;
    height: 20px;
    color: #fff;
    background-color: #202020 !important;
    cursor: pointer;
    text-align: center;
    position: absolute;
    right: 0;
    left: -12px;
    z-index: 199;
    margin: auto;
}

.thumbs-container .prev {
    top: 15px;
    background: url(../images/slideshows/rarrow-up.png) no-repeat center;

}

.thumbs-container .next {
    bottom: 0;
     background: url(../images/slideshows/rarrow-down.png) no-repeat center;
}

.prev:hover,
.next:hover {
    color: #555555;
}

ul.thumbs {
    position: absolute;
    top: 0;
    padding: 0;
    width: 100%;
    height: 600px;
    z-index: 11;
    background: #363636;
    overflow: auto;
    opacity: .9;
    right: 0;
    margin: 15px 5px;
}

.thumb {
    display: block;
    width: 134px;
    height: 100px;
    margin: 20px auto !important;
    background-size: cover;
    background-position: center center;
    position: relative;
    cursor: pointer;
}
.thumb:after {
    content: "";
    border-bottom: solid 1px #4d4d4d;
    width: 100%;
    height: 4px;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 199999999999;
    bottom: -11px;
    margin: auto;
    text-align: center;
}

.thumb:first-of-type {
    margin-left: 0px;
}

.thumb.active {
    border: 2px solid #101010;
}

.textslide {
          font-size: 30px;
    font-weight: bold;
    color: #fff;
    position: absolute;
    bottom: 60px;
    left: 30px;
    
}
.textslide small {
    font-size: 14px;
    display: block;
}

.thumbs::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #323232;
}

.thumbs::-webkit-scrollbar
{
	width: 6px;
	background-color: #363636;
}

.thumbs::-webkit-scrollbar-thumb
{
	background-color: #898989;	

}

/*
@media only screen 
and (min-device-width : 768px) 
    and (max-device-width : 1024px)  {}
*/
    @media only screen and (max-width : 768px)  {
     .img-wrapper {
    height: 80%;
    position: absolute;
    top: 18px;
    left: 30px;
    z-index: 8;
    background-size: contain;
    background-repeat: no-repeat;
    right: 0;
}
    .thumbs-container {
    min-height: 378px;
    
}
    ul.thumbs {
    height: 360px;
    }
    #slideshow.fullscreen {
    min-height: inherit!important;
}
    .textslide {
    font-size: 14px;
    bottom: 6px;
}
}
@media only screen and (max-width: 767px){

    ul.thumbs {
    height: 180px;
}
    .thumbs-container {
    min-height: 198px;
}
    .img-wrapper {
    height: 70%;
    }
    .thumb {height: 20%}
    .textslide {
    font-size: 10px;
    bottom: 10px;
}
    .textslide small {
    font-size: 8px;
}
    .thumbs-container .prev, .thumbs-container .next {
    width: 24px;
    height: 20px;
    background-size: 40% !important;
}
    
    }
@media only screen and (max-width: 320px){
    .img-wrapper {
    height: 56%;
}
}