

/*---------------------------- Thumbnails ----------------------------*/
#thumbnail-slider {    
/*    height:400px; */
    display:inline-block;
    padding:40px 0; /*Increse its value if want to move the arrows out of the div.inner */
    position:relative;
    -webkit-user-select: none;
    user-select:none;
    float:left;
}

#thumbnail-slider div.inner {
/*    border-radius:3px;
    background-color:#444;
    padding:0 12px;
*/
    /*the followings should not be changed */    
    height:100%;  box-sizing:border-box;
    position:relative;
    overflow:hidden;
    margin:0;
}
 
#thumbnail-slider div.inner ul {    
    /*the followings should not be changed */
    position:relative;
    left:0; top:0;
    list-style:none;
    font-size:0;
    padding:0;
    margin:0;
    float:left!important;
    width:auto!important;
    height:auto!important;
}

#thumbnail-slider ul li {
    opacity:1;
    display:block;
    min-height: 60px;
    border-bottom:1px solid transparent;
    margin: 0 0 20px; /* Spacing between thumbs*/

/*    transition:all 0.5s;*/

    text-align:center;
    padding:0;
    position:relative;
    list-style:none;
    box-sizing:content-box;
    backface-visibility:hidden;

    
/*	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);*/
}

#thumbnail-slider ul li.active {
/*    border-color:white;*/
/*    border-bottom: 1px solid black;  */
/*	-webkit-filter: initial;
	filter: initial;*/
}

#thumbnail-slider ul li.active:after {
    content: "";
    display: block;
    position: absolute;
    border-bottom: 1px solid black;
    left: 0;
    bottom: 0px;
    width: 100%;
}

#thumbnail-slider li:hover {
/*    border-color:rgba(255,255,255,0.5);   
	-webkit-filter: grayscale(50%);
	filter: grayscale(50%);*/
}

#thumbnail-slider .thumb {
    width:100%;
    height: 100%;
    background-size:contain;
    background-repeat:no-repeat;
    background-position:center center;
    display:block;
    position:absolute;
    font-size:0;
}

/* --------- navigation controls ------- */   
/* The nav id should be: slider id + ("-prev", "-next", and "-pause-play") */  

#thumbnail-slider-pause-play {display:none;} /*.pause*/

#thumbnail-slider-prev, #thumbnail-slider-next
{
    position: absolute;
/*    background-color:rgba(0,0,0,0.4);*/
    width:100%;
    height:30px;
    line-height:30px;
    text-align:center;
    margin:0;
    color:white;
    z-index:10;
    cursor:pointer;
    transition:opacity 0.6s;
    *background-color:#ccc;/*IE7 hack*/
    backface-visibility:hidden;
}

#thumbnail-slider-prev {
    top:0;
}

#thumbnail-slider-next {
    bottom:0;
}
#thumbnail-slider-next.disabled, #thumbnail-slider-prev.disabled {
/*    opacity:0.1;*/
    cursor:default;
}


/* arrows */
#thumbnail-slider-prev::before, #thumbnail-slider-next::before {
    position:absolute;
    content: "";
    left:0;
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left:14px;
    border-left: 1px solid #b7b7b7;
    border-top: 1px solid #b7b7b7;
}

#thumbnail-slider-prev::before {
    top:12px;
    -ms-transform:rotate(-45deg);/*IE9*/
    -webkit-transform:rotate(45deg);
    transform: rotate(45deg);
}

#thumbnail-slider-next::before {
    bottom:12px;
    -ms-transform:rotate(135deg);/*IE9*/
    -webkit-transform:rotate(-135deg);
    transform: rotate(-135deg);
}









/*---------------------------- Thumbnails ----------------------------*/
#thumbnail-slider2 {    
/*    height:400px; */
    display:inline-block;
    padding:40px 0; /*Increse its value if want to move the arrows out of the div.inner */
    position:relative;
    -webkit-user-select: none;
    user-select:none;
    float:left;
}

#thumbnail-slider2 div.inner {
/*    border-radius:3px;
    background-color:#444;
    padding:0 12px;
*/
    /*the followings should not be changed */    
    height:100%;  box-sizing:border-box;
    position:relative;
    overflow:hidden;
    margin:0;
}
 
#thumbnail-slider2 div.inner ul {    
    /*the followings should not be changed */
    position:relative;
    left:0; top:0;
    list-style:none;
    font-size:0;
    padding:0;
    margin:0;
    float:left!important;
    width:auto!important;
    height:auto!important;
}

#thumbnail-slider2 ul li {
    opacity:1;
    display:block;
    border-bottom:1px solid transparent;
    margin: 0 20px 20px 0; /* Spacing between thumbs*/
    text-align:center;
    padding:0;
    position:relative;
    list-style:none;
    box-sizing:content-box;
    backface-visibility:hidden;
}
#thumbnail-slider2 ul li:last-child {
    margin: 0 0 20px 0;
}

#thumbnail-slider2 ul li.active:after {
    content: "";
    display: block;
    position: absolute;
    border-bottom: 1px solid black;
    left: 0;
    bottom: -4px;
    width: 100%;
}

#thumbnail-slider2 .thumb {
    width:100%;
    height: 100%;
    background-size:contain;
    background-repeat:no-repeat;
    background-position:center center;
    display:block;
    position:absolute;
    font-size:0;
}




.thumbnail-slide {
  width: 38px;
  height: 380px;
  display: inline-block;
  vertical-align: top;
  position: relative;
  overflow: hidden;
}
@media all and (max-width: 900px) {
  #thumbnail-slider {
    height: 0;
    overflow: hidden;
    padding: 0;
  }
}
  #thumbnail-slider2 {
    display: none;
  }
@media all and (max-width: 900px) {
  #thumbnail-slider2 {
    display: block;
    width: 100%;
    height: 90px;
  }
}


/* --------- navigation controls ------- */   
/* The nav id should be: slider id + ("-prev", "-next", and "-pause-play") */  

#thumbnail-slider2-pause-play {display:none;} /*.pause*/

#thumbnail-slider2-prev, #thumbnail-slider2-next
{
    position: absolute;
    width: 30px;
    height: 30px;
    line-height:30px;
    text-align:center;
    margin:0;
    color:white;
    z-index:10;
    cursor:pointer;
    transition:opacity 0.6s;
    *background-color:#ccc;/*IE7 hack*/
    backface-visibility:hidden;
}

#thumbnail-slider2-next.disabled, #thumbnail-slider2-prev.disabled {

    cursor:default;
}


/* arrows */
#thumbnail-slider2-prev::before, #thumbnail-slider2-next::before {
    position:absolute;
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left:-5px;
    border-left: 1px solid #b7b7b7;
    border-bottom: 1px solid #b7b7b7;
}

#thumbnail-slider2-prev::before {
    top:12px;
    -ms-transform:rotate(-45deg);/*IE9*/
    -webkit-transform:rotate(45deg);
    transform: rotate(45deg);
}

#thumbnail-slider2-next::before {
    bottom:12px;
    -ms-transform:rotate(135deg);/*IE9*/
    -webkit-transform:rotate(-135deg);
}


@media all and (max-width: 900px) {
  #thumbnail-slider2 {
    display: block;
    width: 100%;
    max-width: 360px;
    height: 105px;
    padding: 20px 40px 0;
    float:none;
    margin: 0 auto;
  }
}
@media all and (max-width: 790px) {
  #thumbnail-slider2 {
    box-sizing: border-box;
  }
}
@media all and (max-width: 710px) {
  #thumbnail-slider2 {
    max-width: 290px;
  }
}
@media all and (max-width: 640px) {
  #thumbnail-slider2 {
    height: 0;
    overflow: hidden;
    padding: 0;
  }
}
#thumbnail-slider2 div.inner ul {
    white-space: nowrap;
}

#thumbnail-slider2-prev {
    left: 0;
    top: 40px;
}
#thumbnail-slider2-next {
    top: 40px;
    right: 0;
}