/* http://www.menucool.com/jquery-slider */

#thumbs2, #thumbs3, #thumbs4, #thumbs5, #thumbs6, #thumbs7 {
    height:200px; 
    display:flex;
    *display:flex; /* hack for old IE6-7 */
    background-color:#fff;
   /* box-shadow: 0px 1px 11px rgba(0,0,0,0.2);*/
    padding:16px;
    position:relative;
    -webkit-user-select: none;
    user-select:none;
}

#thumbs2 div.inner, #thumbs3 div.inner1, #thumbs4 div.inner2, #thumbs5 div.inner3, #thumbs6 div.inner4, #thumbs7 div.inner5{
    width:auto;
    padding:2px;
    height:170px;
   /* box-sizing:border-box;*/
    position:relative;
    overflow:hidden;
    margin:0 auto;
}

 
#thumbs2 div.inner ul, #thumbs3 div.inner1 ul, #thumbs4 div.inner2 ul, #thumbs5 div.inner3 ul, #thumbs6 div.inner4 ul, #thumbs7 div.inner5 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;
}




#thumbs2 ul li, #thumbs3 ul li, #thumbs4 ul li, #thumbs5 ul li, #thumbs6 ul li, #thumbs7 ul li {
    display:block;
    border: 4px solid transparent;
    outline:1px solid transparent;
    margin:0;
    margin-bottom:3px; /* Spacing between thumbs*/
    box-sizing:content-box;
    text-align:center;
    padding:0;
    position:relative;
    list-style:none;
    backface-visibility:hidden;
/*	filter: grayscale(100%);*/
	opacity: 0.8;
}

#thumbs2 ul li.active, #thumbs3 ul li.active, #thumbs4 ul li.active, #thumbs5 ul li.active, #thumbs6 ul li.active, #thumbs7 ul li.active {
   box-shadow:0 0 1px #999;
   outline-color:grey;
	/*filter: grayscale(0%);*/
	opacity: 1;
}

#thumbs2 li:hover,#thumbs3 li:hover, #thumbs4 li:hover, #thumbs5 li:hover, #thumbs6 li:hover,#thumbs7 li:hover {
    border-color:rgba(255,255,255,0.5);
}


#thumbs2 .thumb, #thumbs3 .thumb, #thumbs4 .thumb, #thumbs5 .thumb, #thumbs6 .thumb, #thumbs7 .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") */

#thumbs2-pause-play {display:none;} /*.pause*/
#thumbs3-pause-play {display:none;}
#thumbs4-pause-play {display:none;}
#thumbs5-pause-play {display:none;}
#thumbs6-pause-play {display:none;}
#thumbs7-pause-play {display:none;}

#thumbs2-prev, #thumbs2-next , #thumbs3-prev, #thumbs3-next, #thumbs4-prev, #thumbs4-next, #thumbs5-prev, #thumbs5-next, #thumbs6-prev, #thumbs6-next, #thumbs7-prev, #thumbs7-next
{
    position: absolute;
    width:100%;
    height:30px;
    line-height:30px;
    text-align:center;
    margin:0;
    z-index:10;
    cursor:pointer;
    transition:opacity 0.6s;
    background-color:#ccc;
    backface-visibility:hidden;
}

#thumbs2-prev, #thumbs3-prev,  #thumbs4-prev,  #thumbs5-prev,  #thumbs6-prev, #thumbs7-prev {
    top:-36px;
    display: none;
}

#thumbs2-next,#thumbs3-next, #thumbs4-next, #thumbs5-next, #thumbs6-next, #thumbs7-next {
    bottom:-36px;
    display: none;
}
#thumbs2-next.disabled, #thumbs2-prev.disabled, #thumbs3-next.disabled, #thumbs3-prev.disabled, #thumbs4-next.disabled, #thumbs4-prev.disabled, #thumbs5-next.disabled, #thumbs5-prev.disabled, #thumbs6-next.disabled, #thumbs6-prev.disabled, #thumbs7-next.disabled, #thumbs7-prev.disabled {
    opacity:0.1;
    cursor:default;
}


/* arrows */
#thumbs2-prev::before, #thumbs2-next::before {
    position:absolute;
    content: "";
    display: flex;
    width: 10px;
    height: 10px;
    margin-left:-20px;
    border-left: 4px solid black;
    border-top: 4px solid black;
}

#thumbs2-prev::before {
    top:12px;
    -ms-transform:rotate(-45deg);/*IE9*/
    -webkit-transform:rotate(45deg);
    transform: rotate(45deg);
}

#thumbs2-next::before {
    bottom:12px;
    -ms-transform:rotate(135deg);/*IE9*/
    -webkit-transform:rotate(-135deg);
    transform: rotate(-135deg);
}
