.carousel .control-arrow, .carousel.carousel-slider .control-arrow {
    -webkit-transition: all .25s ease-in;
    -moz-transition: all .25s ease-in;
    -ms-transition: all .25s ease-in;
    -o-transition: all .25s ease-in;
    transition: all .25s ease-in;
    opacity: .4;
    filter: alpha(opacity=40);
    position: absolute;
    z-index: 2;
    top: 20px;
    background: none;
    border: 0;
    font-size: 32px;
    cursor: pointer
}

.carousel .control-arrow:focus, .carousel .control-arrow:hover {
    opacity: 1;
    filter: alpha(opacity=100)
}

.carousel .control-arrow:before, .carousel.carousel-slider .control-arrow:before {
    margin: 0 5px;
    display: inline-block;
    /* border-top: 8px solid transparent; */
    /* border-bottom: 8px solid transparent; */
    content: '';
    background: url(../images/fb-icon-slide.png) #0000 center;
    background-position: 0px -26px;
    background-size: auto;
    width: 24px;
    height: 24px;
}

.carousel .control-disabled.control-arrow {
    opacity: 0;
    filter: alpha(opacity=0);
    cursor: inherit;
    display: none
}

.carousel .control-prev.control-arrow {
    left: 10px;
    /* background-position: 7px 4% !important; */
    /* background-size: 90% !important; */
    /* background-position: 0px -23px !important; */
    /* background-size: auto !important; */
}

.carousel .control-prev.control-arrow:before {
    /* border-right: 8px solid #fff; */
}

.carousel .control-next.control-arrow {
    right: 10px;
}

.carousel .control-next.control-arrow:before {
    background-position: 0 -75px;
}

.carousel-root {
    outline: none
}

.carousel {
    position: relative;
    width: 100%
}

.carousel * {
    -webkit-box-sizing: unset;
    -moz-box-sizing: unset;
    box-sizing: unset;
}

.carousel img {
    width: 100%;
    display: inline-block;
    pointer-events: none
}

.carousel .carousel {
    position: relative
}

.carousel .control-arrow {
    outline: 0;
    border: 0;
    background: none;
    top: 50%;
    margin-top: -13px;
    font-size: 18px
}

.carousel .thumbs-wrapper {
    margin: 20px;
    overflow: hidden
}

.carousel .thumbs {
    -webkit-transition: all .15s ease-in;
    -moz-transition: all .15s ease-in;
    -ms-transition: all .15s ease-in;
    -o-transition: all .15s ease-in;
    transition: all .15s ease-in;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    position: relative;
    list-style: none;
    white-space: nowrap
}

.carousel .thumb {
    -webkit-transition: border .15s ease-in;
    -moz-transition: border .15s ease-in;
    -ms-transition: border .15s ease-in;
    -o-transition: border .15s ease-in;
    transition: border .15s ease-in;
    display: inline-block;
    margin-right: 6px;
    white-space: nowrap;
    overflow: hidden;
    border: 3px solid #fff;
    padding: 2px
}

.carousel .thumb:focus {
    border: 3px solid #ccc;
    outline: none
}

.carousel .thumb.selected, .carousel .thumb:hover {
    border: 3px solid #333
}

.carousel .thumb img {
    vertical-align: top
}

.carousel.carousel-slider {
    position: relative;
    margin: 0;
    overflow: hidden
}

.carousel.carousel-slider .control-arrow {
    top: calc(50dvh - 25px);
    color: #fff;
    font-size: 26px;
    bottom: 0;
    margin-top: 0;
    padding: 0;
    height: 40px;
    width: 40px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    opacity: 0.5;
    border: 1px solid #000;
    /* background: url('../images/fb-icon-slide.png') #fff center; */
    /* background-repeat: no-repeat; */
    /* background-position: 0px -25px; */
    /* background-size: auto; */
    /* width: 24px; */
    /* height: 24px; */
    cursor: pointer;
}

.carousel.carousel-slider .control-arrow:hover {
    /* background: rgb(246 243 243 / 89%); */
    opacity: 1;
}

.carousel .slider-wrapper {
    overflow: hidden;
    margin: auto;
    width: 100%;
    -webkit-transition: height .15s ease-in;
    -moz-transition: height .15s ease-in;
    -ms-transition: height .15s ease-in;
    -o-transition: height .15s ease-in;
    transition: height .15s ease-in
}

.carousel .slider-wrapper.axis-horizontal .slider {
    -ms-box-orient: horizontal;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;
    /* transform: none !important; */
}

.carousel .slider-wrapper.axis-horizontal .slider .slide {
    flex-direction: column;
    flex-flow: column
}

.carousel .slider-wrapper.axis-vertical {
    -ms-box-orient: horizontal;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex
}

.carousel .slider-wrapper.axis-vertical .slider {
    -webkit-flex-direction: column;
    flex-direction: column
}

.carousel .slider {
    margin: 0;
    padding: 0;
    position: relative;
    list-style: none;
    width: 100%
}

.carousel .slider.animated {
    -webkit-transition: all .35s ease-in-out;
    -moz-transition: all .35s ease-in-out;
    -ms-transition: all .35s ease-in-out;
    -o-transition: all .35s ease-in-out;
    transition: all .35s ease-in-out
}

.carousel .slide {
    min-width: 100%;
    margin: 0;
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #000000; */
    height: 100dvh;
    border: 0;
    box-sizing: unset;
    box-shadow: none;
}

.carousel .slide img {
    width: auto;
    vertical-align: top;
    border: 0;
    height: auto;
}

.carousel .slide iframe {
    display: inline-block;
    width: calc(100% - 80px);
    margin: 0 40px 40px;
    border: 0
}

.carousel .slide .legend {
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    position: absolute;
    bottom: 40px;
    left: 50%;
    margin-left: -45%;
    width: 90%;
    border-radius: 10px;
    background: #000;
    color: #fff;
    padding: 10px;
    font-size: 12px;
    text-align: center;
    opacity: 0.25;
    -webkit-transition: opacity .35s ease-in-out;
    -moz-transition: opacity .35s ease-in-out;
    -ms-transition: opacity .35s ease-in-out;
    -o-transition: opacity .35s ease-in-out;
    transition: opacity .35s ease-in-out
}

.carousel .control-dots {
    position: absolute;
    bottom: 0;
    margin: 10px 0;
    padding: 0;
    text-align: center;
    width: 100%;
    z-index: 1;
    display: none;
}

.video-carousel-post {
    width: 100%;
    height: 100%;
    background: #000;
    cursor: pointer;
}

.video-carousel-post video {
    display: flex;

    &::-webkit-media-controls-fullscreen-button { /*style total time*/
        background-color: #f00;
        border-radius: 50%;
        display: none;

    }

    &::-webkit-media-controls-time-remaining-display {
        color: #f00;
        display: none;
    }

    &::-webkit-media-controls-timeline {
        padding-bottom: 0;
        margin-bottom: 20px;
    }

    &::-webkit-media-controls-current-time-display {
        color: #f00;
        display: none;
    }

    &::-webkit-media-controls-play-button {
        position: fixed;
        display: flex;
        top: 47%;
        left: 47%;
        align-items: center;
        justify-content: center;
        align-content: center;
        outline: none;
    }

}

.video-carousel-post i.fa-play {
    position: absolute;
    top: 48%;
    left: 48%;
    width: 42px;
    height: 42px;
    font-size: 34px;
    /* border: 1px solid #fff; */
    /* padding: 4px 4px 4px 11px; */
    border-radius: 50%;
    text-align: center;
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    color: #fff;
    cursor: pointer;
    display: none;
}

@media (min-width: 960px) {
    .carousel .control-dots {
        bottom: 0
    }
}

.carousel .control-dots .dot {
    -webkit-transition: opacity .25s ease-in;
    -moz-transition: opacity .25s ease-in;
    -ms-transition: opacity .25s ease-in;
    -o-transition: opacity .25s ease-in;
    transition: opacity .25s ease-in;
    opacity: .3;
    filter: alpha(opacity=30);
    box-shadow: unset;
    background: #fff;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    cursor: pointer;
    display: inline-block;
    margin: 0 8px
}

.carousel .control-dots .dot.selected, .carousel .control-dots .dot:hover {
    opacity: 1;
    filter: alpha(opacity=100)
}

.post-detail-media .carousel-slider button.control-disabled {
    display: none !important;
}

.carousel .carousel-status {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px;
    font-size: 10px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9);
    color: #fff
}

.carousel:hover .slide .legend {
    opacity: 1
}

.post-detail-media .carousel-status {

    font-size: 14px;

    margin-top: 8px;

    margin-right: 9px;
}

.post-detail-wrapper.media .carousel .slide .img-carousel-post {
    width: 100%;
    height: 100%;
    background: #000;
    border: 0;
    box-sizing: unset;
    /* display: none; */
}

.post-detail-wrapper.media .carousel .slide .img-carousel-post img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    box-sizing: unset;
    /* opacity: 0; */
}

.post-detail-wrapper.media .carousel .slide .video-carousel-post img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* display: none; */
}


.hide-thumbnail .selected .video-carousel-post {
    background: transparent;
    transition: background 0.5s ease-in-out 0s;
}

.hide-thumbnail .selected .video-carousel-post img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out 0s;
}

@media screen and (max-width: 932px) {
    .carousel.carousel-slider .control-arrow {
        display: none;
    }

    .post-detail-media .carousel-status {
        font-size: 13px;
        margin-top: 40px;
    }

    .post-detail-wrapper.media .carousel .slide .video-carousel-post img.full-height {
        object-fit: cover;
    }
}
