/* http://www.menucool.com/jquery-slider */


/*---------------------------- Thumbnails ----------------------------*/

#thumbnail-slider {
    height: 597px;
    /* max-width: 24%; */
    width: 100%;
    display: inline-block;
    padding: 0px 0;
    /*Increse its value if want to move the arrows out of the div.inner */
    position: relative;
    -webkit-user-select: none;
    user-select: none;
}

#thumbnail-slider div.inner {
    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;
    border: 4px solid #fff;
    margin-bottom: 4px;
    /* Spacing between thumbs*/
    width: 332px !important;
    height: 187px !important;
    transition: all 0.5s ease-in-out;
    text-align: center;
    padding: 0;
    position: relative;
    list-style: none;
    box-sizing: content-box;
    backface-visibility: hidden;
}

#thumbnail-slider ul li.active {
    /* border-color: #9ab558;
    -webkit-filter: initial;
    filter: initial; */
}


/* #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: 100%;
    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;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin: 0;
    color: white;
    z-index: 10;
    cursor: pointer;
    transition: all 0.6s ease-in-out;
    backface-visibility: hidden;
    background: #fff;
    border-radius: 5px;
    left: 50%;
    transform: translate(-50%, 0);
}

#thumbnail-slider-prev {
    top: 15px;
}

#thumbnail-slider-next {
    bottom: 15px;
}

#thumbnail-slider-next.disabled,
#thumbnail-slider-prev.disabled {
    opacity: 1;
    cursor: default;
}


/* arrows */

#thumbnail-slider-prev::before,
#thumbnail-slider-next::before {
    position: absolute;
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    border-left: 1px solid #000;
    border-top: 1px solid #000;
}

#thumbnail-slider-prev::before {
    top: 17px;
    -ms-transform: rotate(-45deg);
    /*IE9*/
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

#thumbnail-slider-next::before {
    bottom: 17px;
    -ms-transform: rotate(135deg);
    /*IE9*/
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

@media screen and (max-width: 1550.99px) {
    #thumbnail-slider {
        height: 484px;
    }
    #thumbnail-slider ul li {
        width: 265px !important;
        height: 147px !important;
    }
}

@media screen and (max-width: 1440.99px) {
    #thumbnail-slider {
        height: 445px;
    }
    #thumbnail-slider ul li {
        width: 248px !important;
        height: 138px !important;
    }
}

@media screen and (max-width: 1366.99px) {
    #thumbnail-slider {
        height: 430px;
    }
    #thumbnail-slider ul li {
        width: 234px !important;
        height: 132px !important;
    }
}

@media screen and (max-width: 1280.99px) {
    #thumbnail-slider {
        height: 397px;
    }
    #thumbnail-slider ul li {
        width: 218px !important;
        height: 123px !important;
    }
}

@media screen and (max-width: 1024.99px) {
    #thumbnail-slider {
        height: 317px;
    }
    #thumbnail-slider ul li {
        width: 172px !important;
        height: 97px !important;
    }
}

@media screen and (max-width: 820.99px) {
    #thumbnail-slider {
        height: 317px;
        display: none;
    }
}