#content {
    /* background:$light_warning url('../images/bg_patern.jpg') top center no-repeat; */
    background-size: cover;
    min-height: 90vh;
}
.carousel {
    width: 100%;
    height: 100%;
    z-index: 1100;
}

.carousel .carousel-inner {
    width: 100%;
    height: 100%;
}

.carousel .carousel-inner .carousel-item {
    width: 100%;
    height: 100%;
}

.carousel .carousel-inner .carousel-item .video-container {
    position: relative;
    height: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel .carousel-inner .carousel-item .video-container.horizontal video {
    height: 100% !important;
    width: 100% !important;
    min-height: unset !important;
    max-height: unset !important;
    min-width: unset !important;
}

.carousel .carousel-inner .carousel-item .video-container button {
    width: 100px;
    height: 100px;
    background-color: #00000092;
    border-radius: 10px; /* @include br(10px) */
    border: 0 none;
    z-index: 1080;
    line-height: 0;
}

.carousel .carousel-inner .carousel-item .video-container button i {
    font-size: 51px;
    color: white;
}

.carousel .carousel-inner .carousel-item .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    min-height: 100%;
    max-height: 100%;
    min-width: 100%;
}

.carousel .carousel-inner.imagesSlide .carousel-item {
    position: relative;
}

.carousel .carousel-inner.imagesSlide .carousel-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 100%;
    max-width: 100%;
    width: 70%;
    height: auto;
    background: transparent url('../images/loading.gif') center center no-repeat;
    background-size: auto;
}

/* navigation slider */
.carousel-control-prev,
.carousel-control-next {
    color: #ffffff !important; /* $white */
    padding: 50px 0px;
    width: 55px;
    background: #6c0c26e7;
    transition: all 1s; /* @include transition(all,1s) */
    height: 50px;
    top: 60%;
    opacity: 1 !important;
}

.carousel-control-prev .carousel-control-next-icon,
.carousel-control-prev .carousel-control-prev-icon,
.carousel-control-next .carousel-control-next-icon,
.carousel-control-next .carousel-control-prev-icon {
    width: 30px;
    height: 30px;
}

.carousel-control-prev i.bi,
.carousel-control-next i.bi {
    font-size: 28px !important;
    margin-top: 10px;
}

.carousel-control-prev {
    left: 0 !important;
    right: unset !important;
    border-radius: 0 25px 25px 0; /* @include br(0 25px 25px 0) */
}

.carousel-control-next {
    right: 0 !important;
    left: unset !important;
    border-radius: 25px 0 0 25px; /* @include br(25px 0 0 25px) */
}

/* navigation image slide */
.carousel-button-container-image-slide .carousel-control-prev,
.carousel-button-container-image-slide .carousel-control-next {
    top: 70% !important;
}

/* counter slides */
.carousel-counter {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(108, 12, 38, 0.67);
    color: white;
    z-index: 1080;
    padding: 6px 10px;
    border-radius: 5px; /* @include br(5px) */
}

/* video gallery */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    padding: 10px 20px;
    margin-top: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    aspect-ratio: 16/12;
    background-color: white;
    cursor: pointer;
    padding: 7px;
    object-fit: cover;
    margin-top: 0;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.gallery-item:hover .play-icon {
    opacity: 1;
}




@media screen and (max-width: 1200px) {
    /* بدون استایل، چون همه نظر شده بودند */
}

@media screen and (max-width: 1080px) {
    #contentContainer {
        width: 100% !important;
    }
}

@media screen and (max-width: 880px) {

    /* {
        height: 100vh !important;
    } */
    #col2 {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    #titleCategoryInMobile {
        display: block !important;
    }

    #content {
        margin-top: 0 !important;
        padding: 0 !important;
    }

    #content #firstRow {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
        min-height: 90vh;
    }

    #content #firstRow #col1 {
        display: none;
    }

    #content #firstRow #col2 {
        padding: 0 !important;
        margin-top: 0;
    }

    #content #videoGallery {
        width: 100%;
        padding-left: 3px;
    }

    #content .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }

    #content .carousel.slide {
        border-radius: 0 !important;
    }

    #content .gallery-item .play-icon {
        font-size: 2rem;
    }

    #breadcrumbVC { display: none !important; }

    .swiper .swiper-wrapper .swiper-slide img {
        object-fit: cover;
    }

    .fs-5 {
        font-size: 17px !important;
    }

    button img.w-40 {
        width: 35% !important;
    }

    #mobileHeader {
        display: block !important;
    }

    #content {
        width: 100% !important;
        background-size: contain !important;
    }

    #content #contentContainer {
        width: 100% !important;
        z-index: 400;
        position: relative;
    }

    #contentIntro {
        display: none !important;
    }

    #mobileContactMob {
        display: block !important;
    }

    .col-empty {
        width: 0 !important;
        height: 0 !important;
        display: none !important;
    }

    .swiper.bannerSwiper {
        height: 90px !important;
    }

    .modal.show .modal-body .carousel .carousel-inner.imagesSlide .carousel-item img {
        width: 100% !important;
        height: auto !important;
    }
}

@media screen and (max-width: 580px) {

    #content {
        width: 100% !important;
        height: 92vh !important;
    }

    #content #contentContainer {
        width: 100% !important;
        padding: 20px !important;
    }

    #content #contentContainer #contentContainerLists button span.titr {
        font-size: 13px !important;
    }

    .modal.show .modal-dialog {
        width: 100vw !important;
        height: 100% !important;
        margin: 0 !important;
    }

    .modal.show .modal-dialog .modal-content {
        width: 100% !important;
        height: 100% !important;
    }

    .modal.show .modal-dialog.modal-fullscreen .swiper-button-next,
    .modal.show .modal-dialog.modal-fullscreen .swiper-button-prev {
        top: 80% !important;
    }

    .swiper .swiper-slide.horizontal video {
        height: auto !important;
    }

    .swiper .swiper-slide.vertical video {
        width: 100%;
        height: 100vh;
        max-height: 100%;
        object-fit: cover;
    }
}
