.carousel-item img {
    max-height: 100%;
}

.media-container {
    position: relative;
    padding-bottom: 30px;
    padding-top: 20px;
}

.media-container .left-content {
    padding: 15px 5% 15px 3%;
    box-sizing: border-box;
}

.lightbox .carousel-control {
    width: 45px;
    height: 45px !important;
    border-radius: 100px !important;
    border: 1px solid var(--awb-color7);
    background-color: #fff;
    opacity: 1;
}

.media-container .left-content ul {
    margin: 0;
    padding: 0;
    display: flex;
}

.media-container .left-content ul li {
    list-style: none;
}

.media-container .left-content ul li a {
    text-decoration: none;
    background-color: #efefef;
    font-size: 14px;
    color: var(--awb-color4);
    padding: 8px 10px;
}

.media-container .left-content ul li.active a,
.media-container .left-content ul li:hover a {
    background-color: var(--awb-color5);
    color: #fff;
}

.mobile-tab {
    display: none;
}

.image-detail {
    padding: 40px 15px 15px;
}

.lightbox.fade.show {
    opacity: 1;
}

#gridmedia {
    position: relative;
}

#gridmedia .lightbox {
    position: absolute;
    overflow: visible;
}

#gridmedia .modal-backdrop {
    position: absolute;
    background-color: #fff;
    opacity: 1 !important;
    width: 100%;
    height: 100%;
}

#gridmedia .modal-content {
    box-shadow: none;
}

#gridmedia .carousel-item img {
    height: 100vh !important;
    margin: 0 auto;
    width: auto !important;
}

#gridmedia .modal-dialog {
    align-items: flex-start;
    max-width: 100%;
}

#gridmedia .lightbox .carousel-control-prev {
    left: 20px;
}

#gridmedia .lightbox .carousel-control {
    border-radius: 50%;
}

#gridmedia .lightbox .carousel-control-next {
    right: 20px;
}

#gridmedia .lightbox .carousel-control:hover {
    background-color: var(--awb-color5);
}

.lightbox-carousel .carousel-inner .carousel-item {
    height: 36.5vw;
    max-height: initial !important;
    padding: 0 39px;
}

.lightbox .btn-close {
    background-color: transparent;
    border: 1px solid var(--awb-color5);
    border-radius: 50px;
    outline: none;
    opacity: 1;
    top: -35px !important;
    right: 15px !important;
    background: none;
    font-size: 14px;
    width: 24px;
    height: 24px;
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--awb-color5);
}

.lightbox .btn-close:before {
    content: "\e904";
    font-family: awb-icons !important;
}

.image-setting {
    position: absolute;
    bottom: 0;
    background: rgb(0, 0, 0);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7539390756302521) 0%, rgba(0, 0, 0, 0.5018382352941176) 50%, rgba(0, 0, 0, 0) 100%);
    left: 0;
    width: 100%;
    height: 60px;
    text-align: left;
    padding: 10px 15px 0;
    display: flex;
    align-items: center;
}

.image-text {
    font-size: 11px;
    color: #fff;
    font-weight: bold;
    margin-left: 10px;
}

.image-setting img {
    width: 40px;
}

.media-container .mobile-slider-style .swiper-button-next {
    right: 20px;
}

.media-container .mobile-slider-style .swiper-button-prev {
    left: 20px;
}

.media-container .mobile-slider-style .swiper-pagination {
    top: initial;
    bottom: 0px;
}

.mini-gallery .media-style .swiper-slide {
    /* height: 20vw !important; */
    aspect-ratio: 1 / 1;
}

.media-style .swiper-button-prev,
.media-style .swiper-button-next {
    margin-top: -22px !important;
    top: 50%;
    transform: translateY(-50%);
}

.mini-gallery .media-style .swiper-button-next {
    right: calc(33.3% - 22px) !important;
}

.mini-gallery .media-style .swiper-button-prev {
    left: calc(33.3% - 22px) !important;
}

.mini-gallery .custom-media-modal .swiper-wrapper .swiper-slide iframe {
    width: 100%;
    height: 100%;
}

.mini-gallery .media-style .swiper-slide .slide-img {
    cursor: pointer;
}

@media (min-width: 768px) {
    .media-container .media-mob-style {
        padding: 0 39px 30px;
    }

    .media-container .mobile-slider-style .swiper-pagination>span>span {
        display: none;
    }

    .media-container .media-mob-style .swiper-pagination {
        width: auto !important;
        left: initial;
        bottom: 0 !important;
        border: 1px solid #d9d9d9;
        opacity: 0.99;
        border-radius: 5px;
        background: transparent linear-gradient(0deg, #efefef 0%, #e6e6e6 68%, #d9d9d9 100%) 0% 0% no-repeat padding-box;
        display: flex;
        position: absolute;
        text-align: center;
        transition: 300ms opacity;
        transform: translate3d(0, 0, 0) translateY(-50%);
        z-index: 10;
        height: 11px;
        right: 40px;
    }

    .media-mob-style .swiper-pagination .swiper-pagination-bullet:after,
    .media-mob-style .swiper-pagination .swiper-pagination-bullet:before {
        display: none;
    }

    .media-container .media-mob-style .swiper-pagination .swiper-pagination-bullet-active {
        height: 9px !important;
        width: 25px !important;
        border-radius: 5px !important;
        margin: 0 !important;
        background: #ffffff 0% 0% no-repeat padding-box;
        pointer-events: initial;
    }

    .media-container .media-mob-style .swiper-pagination .swiper-pagination-bullet {
        width: 25px !important;
    }
}

@media (max-width: 1500px) {
    .media-container .left-content {
        padding: 15px 5% 15px 15px;
    }
}

@media (max-width: 767px) {
    #gridmedia {
        /*      width: 100%; */
        width: 96%;
        margin: 0 auto;
    }

    #gridmedia .lightbox .carousel-control-prev .carousel-control-prev-icon {
        background-image: url('/wp-content/uploads/2022/05/Nav-Arrow-prev-hover.png') !important;
        background-size: 20px;
    }

    #gridmedia .lightbox .carousel-control-next .carousel-control-next-icon {
        background-image: url('/wp-content/uploads/2022/05/Nav-Arrow-hover.png') !important;
        background-size: 20px;
    }

    .media-container .mobile-slider-style .swiper-slide .image-content {
        display: none !important;
    }

    .media-container {
        /*          padding-left: 7px;
         padding-right: 8px; */
        width: 100% !important;
    }

    .media-container .left-content {
        position: static;
        height: auto;
        padding: 30px;
        padding-bottom: 0 !important;
    }

    .media-container .left-content ul {
        margin: 30px 0;
        justify-content: center;
    }

    .mobile-tab {
        display: block;
    }

    .mobile-tab .nav-tabs {
        border: 0;
        display: flex;
    }

    .mobile-tab .nav-tabs .nav-item {
        flex: 1;
        text-align: center;
    }

    .mobile-tab .nav-tabs .nav-item .nav-link {
        border: 0;
        position: relative;
        background-color: transparent;
    }

    .mobile-tab .nav-tabs .nav-item .nav-link span {
        display: inline-block;
        background-color: #fff;
        position: relative;
        z-index: 1;
        padding: 0 10px;
    }

    .mobile-tab .nav-tabs .nav-item .nav-link span svg {
        margin-top: 4px;
    }

    .mobile-tab .nav-tabs .nav-item .nav-link.active span .cls-1 {
        stroke: var(--awb-color5) !important;
    }

    .mobile-tab .nav-tabs .nav-item .nav-link:before,
    .mobile-tab .nav-tabs .nav-item .nav-link:after {
        content: "";
        position: absolute;
        height: 1px;
        width: 100%;
        background-color: #ccc;
        top: 20px;
        left: 0;
    }

    .mobile-tab .nav-tabs .nav-item .nav-link.active span:before {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        border-top: 9px solid transparent;
        border-bottom: 9px solid transparent;
        border-right: 3px solid #8f8d8b;
        top: 3px;
        left: 0;
    }

    .mobile-tab .nav-tabs .nav-item .nav-link.active span:after {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        border-top: 9px solid transparent;
        border-bottom: 9px solid transparent;
        border-left: 3px solid #8f8d8b;
        top: 3px;
        right: 0;
    }

    #gridmedia .carousel-item img {
        height: 100% !important;
        margin: 0 auto;
        width: 100% !important;
    }

    #gridmedia .modal-dialog {
        margin: 0 auto;
    }

    .lightbox iframe {
        z-index: -1;
    }

    .lightbox .position-absolute.translate-middle.text-white {
        z-index: -1;
    }

    #gridmedia.fixed-height.tab-pane {
        height: 460px;
    }

    #gridmedia.fixed-height.tab-pane .lightbox {
        height: 460px;
        overflow: hidden;
    }

    .media-container .mobile-slider-style .swiper-button-next {
        right: 0;
    }

    .media-container .mobile-slider-style .swiper-button-prev {
        left: 0;
    }

    .lightbox-carousel .carousel-inner .carousel-item {
        height: 100vw;
    }

    .mobile-slider-style .swiper-pagination .swiper-pagination-bullet span {
        padding: 5px 10px !important;
    }

    .mobile-slider-style .swiper-slide .slide-img {
        height: 375px !important;
    }

    .mobile-slider-style .swiper-slide .slide-img iframe {
        height: 350px !important;
    }

    .media-first-tab-style .swiper-button-next,
    .media-first-tab-style .swiper-button-prev {
        width: 30px !important;
        height: 30px !important;
    }

    .media-first-tab-style .swiper-button-next:after,
    .media-first-tab-style .swiper-button-prev:after {
        width: 15px;
    }

    .media-first-tab-style .swiper-button-next {
        border-radius: 20px 0 0 20px;
        right: -1px;
    }

    .media-first-tab-style .swiper-button-prev {
        border-radius: 0 20px 20px 0;
        left: -1px;
    }

    .mini-gallery#gridmedia {
        width: 100%;
    }

    .mini-gallery .custom-media-modal {
        height: 100%;
        position: absolute;
        background-color: #fff;
    }

    .mini-gallery .custom-media-modal:before {
        background-color: #fff;
    }

    .mini-gallery .custom-media-modal .swiper {
        height: 460px;
    }

    /* .mini-gallery .media-style .swiper-slide{
        height: 32vw !important;
    } */
    .mini-gallery .media-style .swiper-button-next {
        right: 0 !important;
    }

    .mini-gallery .media-style .swiper-button-prev {
        left: 0 !important;
    }
}

/* updated slider */
.custom-media-modal {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 999999;
    /* background-color: #fff; */
}

.custom-media-modal:before {
    content: '';
    position: absolute;
    background-color: #000000c7;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.custom-media-modal .swiper-pagination-bullet {
    background-color: transparent;
}

.custom-media-modal .swiper {
    height: 100%;
    display: flex;
    align-items: center;
}

.custom-media-modal .swiper .swiper-wrapper {
    height: calc(100% - 10%);
}

.custom-media-modal .swiper-wrapper .swiper-slide {
    padding: 0 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.custom-media-modal .swiper-wrapper .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px !important;
    width: auto !important;
}

.custom-media-modal .swiper-wrapper .swiper-slide iframe {
    width: 100%;
    height: 38vw;
}

/* .custom-media-modal .swiper {
    height: 100%;
} */
.custom-media-modal-close {
    top: 25px !important;
    right: 25px !important;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff !important;
    position: absolute;
    z-index: 9;
}

.custom-media-modal-close:before,
.custom-media-modal-close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #ffffff;
}

.custom-media-modal-close:before {
    transform: rotate(45deg);
}

.custom-media-modal-close:after {
    transform: rotate(-45deg);
}

.custom-media-modal .swiper-button-next:after,
.custom-media-modal .swiper-button-prev:after {
    background-image: none !important;
    font-family: initial;
    text-indent: -100px;
    overflow: hidden;
}

.custom-media-modal .swiper-button-next,
.custom-media-modal .swiper-button-prev {
    top: 50%;
    width: 45px !important;
    height: 45px !important;
    background-color: var(--awb-color1);
    border: 1px solid var(--awb-color7);
    /*  bottom: initial !important; */
    margin: 0 !important;
    border-radius: 100px;
    transform: translateY(-50%);
}

.custom-media-modal .swiper-button-next:hover,
.custom-media-modal .swiper-button-prev:hover {
    background-color: var(--awb-color5) !important;
    border: 1px solid var(--awb-color5) !important;
}

.custom-media-modal .swiper-button-next:after,
.custom-media-modal .swiper-button-prev:after {
    width: 15px;
}

.custom-media-modal .swiper-button-next {
    /*         border-radius: 20px 0 0 20px; */
    right: 10px;
}

.custom-media-modal .swiper-button-prev {
    /*         border-radius: 0 20px 20px 0; */
    left: 10px;
}

.custom-media-modal .swiper-button-next:after,
.custom-media-modal .swiper-button-prev:after {
    background-image: none !important;
    font-family: initial;
    text-indent: -100px;
    overflow: hidden;
    width: 0px;
    height: 0px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.custom-media-modal .swiper-button-next:before,
.custom-media-modal .swiper-button-prev:before {
    content: '';
    width: 0px;
    height: 0px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.custom-media-modal .swiper-button-prev:before {
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 6px solid var(--awb-color1);
    right: 12px;
    z-index: 9;
}

.custom-media-modal .swiper-button-prev:after {
    border-right: 20px solid var(--awb-color5);
    right: 12px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.custom-media-modal .swiper-button-next:before {
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 6px solid var(--awb-color1);
    left: 12px;
    z-index: 9;
}

.custom-media-modal .swiper-button-next:after {
    border-left: 20px solid var(--awb-color5);
    left: 12px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.custom-media-modal .swiper-button-next:hover:before {
    border-left: 6px solid var(--awb-color5);
}

.custom-media-modal .swiper-button-prev:hover:before {
    border-right: 6px solid var(--awb-color5);
}

.custom-media-modal .swiper-button-next:hover:after {
    border-left: 20px solid var(--awb-color1);
}

.custom-media-modal .swiper-button-prev:hover:after {
    border-right: 20px solid var(--awb-color1);
}

.custom-media-modal .swiper-button-next.swiper-button-disabled,
.custom-media-modal .swiper-button-prev.swiper-button-disabled {
    opacity: 0;
}

.custom-media-modal .swiper-pagination-bullets {
    display: none;
}

@media (max-width: 767px) {
    .custom-media-modal-close {
        display: none;
    }

    .custom-media-modal {
        height: 460px;
    }

    .custom-media-modal .swiper-wrapper .swiper-slide {
        padding: 0 40px;
    }

    .custom-media-modal .swiper-wrapper .swiper-slide {
        height: 425px;
    }

    .custom-media-modal .swiper-wrapper .swiper-slide img {
        height: 425px;
        object-fit: cover;
    }

    .custom-media-modal .swiper {
        height: 100%;
    }

    .custom-media-modal .swiper-button-next,
    .custom-media-modal .swiper-button-prev {
        width: 30px !important;
        height: 30px !important;
        background-color: rgb(0 0 0 / 50%);
        border: 0;
        /*      bottom: initial !important;
        top: 150px; */
        margin-top: -15px !important;
    }

    .custom-media-modal .swiper-button-next:hover,
    .custom-media-modal .swiper-button-prev:hover {
        background-color: var(--awb-color5) !important;
    }

    .custom-media-modal .swiper-button-next:after,
    .custom-media-modal .swiper-button-prev:after {
        width: 15px;
    }

    .custom-media-modal .swiper-button-next {
        border-radius: 20px 0 0 20px;
        right: -1px;
    }

    .custom-media-modal .swiper-button-prev {
        border-radius: 0 20px 20px 0;
        left: -1px;
    }

    .custom-media-modal .swiper-button-prev:before {
        border-right: 6px solid #7f7f7f;
        right: 5px !important;
    }

    .custom-media-modal .swiper-button-prev:after {
        border-right: 20px solid var(--awb-color1);
        right: 6px;
    }

    .custom-media-modal .swiper-button-next:before {
        border-left: 6px solid #7f7f7f;
        left: 6px !important;
    }

    .custom-media-modal .swiper-button-next:after {
        border-left: 20px solid var(--awb-color1);
        left: 7px;
    }

    .custom-media-modal .swiper-pagination-bullets {
        bottom: 30px !important;
        display: flex;
        position: relative;
        justify-content: space-around;
    }

    .custom-media-modal .swiper-pagination-bullets:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 1px;
        background-color: #8f8d8b;
        left: 0;
        margin: 0 auto;
        z-index: 0;
        top: 14px;
    }

    .custom-media-modal .swiper-pagination-bullets .swiper-pagination-bullet {
        position: relative;
        text-align: center;
        padding-bottom: 0;
        opacity: 1;
        background-color: #fff;
        width: 30px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .custom-media-modal .swiper-pagination-bullets .swiper-pagination-bullet-active:after,
    .custom-media-modal .swiper-pagination-bullets .swiper-pagination-bullet-active:before {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        border-top: 9px solid transparent;
        border-bottom: 9px solid transparent;
        border-right: 3px solid #A3C1D1;
        top: 5px;
        left: 0;
    }

    .custom-media-modal .swiper-pagination-bullets .swiper-pagination-bullet-active:after {
        border-left: 3px solid #A3C1D1;
        right: 0;
        left: initial;
        border-right: 0;
    }

    .custom-media-modal .swiper-wrapper .swiper-slide iframe {
        height: 100%;
    }

    .media-style .swiper-pagination-bullet {
        width: 15px !important;
    }
}