/* http://www.menucool.com/jquery-slider */

/*---------------------------- Thumbnails ----------------------------*/
#thumbnail-slider {
    /*height:75vh;*/
    /*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: 30%;*/
    height: 100%;
    display: block;
    padding: 0px 0;
    right: 0;
    position: relative;
    -webkit-user-select: none;
    user-select: none;
    width: 25%;
    position: absolute;
    z-index: 2;
    background: none;
    display: flex;
    flex-direction: column;
    float: right;
    width: 100%;
    max-width: 400px;
}

#thumbnail-slider div.inner {
    border-radius: 3px;
    backdrop-filter: blur(10px);
    padding: 0 12px;
    /*the followings should not be changed */
    height: auto;
    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: 15px 15px 15px 15px;
    margin: 0;
    float: left !important;
    width: auto !important;
    height: auto !important;
}

#thumbnail-slider ul li {
    opacity: 1;
    display: block;
    margin: 6px 0;
    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;
    -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: 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;
    display: none;
}

#thumbnail-slider-next {
    bottom: 0;
    display: none;
}

#thumbnail-slider-next.disabled, #thumbnail-slider-prev.disabled {
    opacity: 0.1;
    cursor: default;
    display: none;
}


/* arrows */
#thumbnail-slider-prev::before, #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;
}

#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);
}

.video-container {
    position: relative;
    width: 100%;
    /*padding-bottom: 50%;*/
    /*height: 31vh;*/
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.thumbs {
    position: relative; /* Make the parent container relative */
    display: flex; /* Use flexbox for better positioning */
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 70px;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center !important;
    border-radius: 4px;
}

.thumb-content {
    position: absolute;
    top: 75%;
    left: calc(100% + 10px);
    transform: translateY(-50%);
    width: 200px;
    color: #ffffff;
    text-align: left;
    line-height: 18px;
    font-size: 14px !important;
}

.thumb-content-p {
    position: absolute;
    top: 10%;
    left: calc(100% + 10px);
    transform: translateY(-10%);
    width: 170px;
    color: #ffffff;
    text-align: left;
    line-height: 10px;
    font-size: 10px;
    padding: 0 0 0 5px;
}

.border-left-green {
    border-left: 3px solid #14BDBF;
}

.border-left-yellow {
    border-left: 3px solid #FEBD01;
}

.border-left-red {
    border-left: 3px solid #E94343;
}

.border-left-purple {
    border-left: 3px solid #7D5CFF;
}

.border-left-blue {
    border-left: 3px solid #5027F3;
}

.border-left-pink {
    border-left: 3px solid #FF7AD9;
}

.border-left-light-green {
    border-left: 3px solid #BCEF70;
}

.mySwiper {
    position: relative !important;
    z-index: 1 !important;
}

.mySwiper .swiper-horizontal > .swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    width: 10% !important;
}

.inner {
    max-height: 750px;
    overflow-y: auto;
    padding: 10px;
}