/* http://www.menucool.com/jquery-slider */

/*---------------------------- Thumbnails - VERTICAL STYLE----------------------------*/
.thumbslider-vertical {
    float: left;
    height: 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;
    width: 20%;
}

    .thumbslider-vertical div.inner {
        border-radius: 3px;
        background-color: #ffffff;
        padding: 0;
        /*the followings should not be changed */
        height: 100%;
        box-sizing: border-box;
        position: relative;
        overflow: hidden;
        margin: 0;
    }

        .thumbslider-vertical 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: 100% !important;
            height: auto !important;
        }

    .thumbslider-vertical ul li {
        opacity: 1;
        display: block;
        margin: 4px 0; /* 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: opacity(0.5);
        width: 100% !important;
        height: 100px !important;
        margin: 0 auto;
    }

        .thumbslider-vertical ul li.active {
            border-color: white;
            -webkit-filter: initial;
            filter: initial;
        }

    .thumbslider-vertical li:hover {
        border-color: rgba(255,255,255,0.5);
        -webkit-filter: grayscale(50%);
        filter: grayscale(50%);
    }

    .thumbslider-vertical .thumb {
        width: 100%;
        height: 100%;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        display: block;
        position: absolute;
        font-size: 0;
    }
/*photo sliders overrides*/
.thumbslider-vertical {
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

    .thumbslider-vertical .thumb {
        background-size: cover !important;
    }




/*---------------------------- Thumbnails - HORIZONTAL STYLE----------------------------*/
.thumbslider-horizontal {
    margin: 0; /*center-aligned*/
    width: 100%; /*width:400px;*/
    max-width: 603px;
    padding: 5px 0 0 0;
    background-color: transparent;
    box-shadow: none;
    box-sizing: border-box;
    position: relative;
    -webkit-user-select: none;
    user-select: none;
}

    .thumbslider-horizontal div.inner {
/*        border-radius: 3px;
        background-color: #ffffff;
        padding: 0;
*/        
        /*the followings should not be changed */
        position: relative;
        overflow: hidden;
        padding: 2px 0;
        margin: 0;
    }

        .thumbslider-horizontal div.inner ul {
            /*the followings should not be changed */
            white-space: nowrap;
            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;
        }

    .thumbslider-horizontal ul li {
        opacity: 1;
        display: inline-block;
        *display: inline !important; /*IE7 hack*/
        border: 1px solid #385e7c;
        margin: 0;
        margin-right: 2px; /* Spacing between thumbs*/
        transition: border-color 0.3s;
        box-sizing: content-box;
        text-align: center;
        vertical-align: middle;
        padding: 0;
        position: relative;
        list-style: none;
        backface-visibility: hidden;
        filter: opacity(0.7);
    }

        .thumbslider-horizontal ul li.active {
            border-color: #385e7c; /*orange;*/
            -webkit-filter: initial;
            filter: initial;
        }

    .thumbslider-horizontal li:hover {
        /*border-color: rgba(255,255,255,0.5);*/
        -webkit-filter: grayscale(50%);
        filter: grayscale(50%);
    }

    .thumbslider-horizontal .thumb {
        opacity: 1;
        width: 100%;
        height: 100%;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        display: block;
        position: absolute;
        font-size: 0;
    }
/*photo sliders overrides*/
.thumbslider-horizontal {
/*    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
*/}

    .thumbslider-horizontal .thumb {
        background-size: cover !important;
    }


/* --------- navigation controls ------- */
/* The nav id should be: slider id + ("-prev", "-next", and "-pause-play") */
/*VERTICAL VERSION*/
.thumbslider-vertical #thumbnail-slider-pause-play {
    display: none;
}
/*.pause*/

.thumbslider-vertical #thumbnail-slider-prev, .thumbslider-vertical #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;
}

.thumbslider-vertical #thumbnail-slider-prev {
    top: 0;
}

.thumbslider-vertical #thumbnail-slider-next {
    bottom: 0;
}

    .thumbslider-vertical #thumbnail-slider-next.disabled, .thumbslider-vertical #thumbnail-slider-prev.disabled {
        opacity: 0.1;
        cursor: default;
    }


    /* arrows */
    .thumbslider-vertical #thumbnail-slider-prev::before, .thumbslider-vertical #thumbnail-slider-next::before {
        position: absolute;
        content: "";
        display: inline-block;
        width: 10px;
        height: 10px;
        margin-left: -5px;
        border-left: 4px solid white;
        border-top: 4px solid white;
    }

.thumbslider-vertical #thumbnail-slider-prev::before {
    top: 12px;
    -ms-transform: rotate(-45deg); /*IE9*/
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.thumbslider-vertical #thumbnail-slider-next::before {
    bottom: 12px;
    -ms-transform: rotate(135deg); /*IE9*/
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}


/*HORIZONTAL VERSION*/
.thumbslider-horizontal #thumbnail-slider-pause-play {
    display: none;
}
/*.pause*/

.thumbslider-horizontal #thumbnail-slider-prev, .thumbslider-horizontal #thumbnail-slider-next {
    /*opacity: 1;*/
    position: absolute;
    background-color: rgba(0,0,0,0.4);
    backface-visibility: hidden;
    width: 22px;
    height: 104px;
    line-height: 60px;
    top: 48%;
    margin: 0;
    margin-top: -48px;
    color: white;
    z-index: 10;
    cursor: pointer;
    transition: opacity 0.6s;
}

.thumbslider-horizontal #thumbnail-slider-prev {
    left: 0;
    right: auto;
}

.thumbslider-horizontal #thumbnail-slider-next {
    left: auto;
    right: 0;
}

    .thumbslider-horizontal #thumbnail-slider-next.disabled, .thumbslider-horizontal #thumbnail-slider-prev.disabled {
        opacity: 0.3;
        cursor: default;
        display:none;
    }


    /* arrows */
    .thumbslider-horizontal #thumbnail-slider-prev::before, .thumbslider-horizontal #thumbnail-slider-next::before {
        position: absolute;
        top: 44px;
        content: "";
        display: block;
        width: 10px;
        height: 10px;
        border-left: 4px solid white;
        border-top: 4px solid white;
    }

.thumbslider-horizontal #thumbnail-slider-prev::before {
    left: 7px;
    -ms-transform: rotate(-45deg); /*IE9*/
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.thumbslider-horizontal #thumbnail-slider-next::before {
    right: 7px;
    -ms-transform: rotate(135deg); /*IE9*/
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}
