.gallery_with_popup {
    padding: 40px 0;
}

.gallery_with_popup.bg_grey {
    background: var(--heidner_grey);
}

.gallery_with_popup.bg_dark_blue {
    background: var(--heidner_dark);
}

.gallery_with_popup.remove_tos {
    margin-top: 0;
}

.gallery_with_popup.remove_bos {
    margin-bottom: 0;
}

.gallery_with_popup.bg_gray,
.gallery_with_popup.bg_black {
    padding: 40px 0 76px;
}

.gallery_with_popup.bg_gray {
    background-color: var(--heidner_grey);
}

.gallery_with_popup.bg_black {
    background-color: var(--heidner_darks);
}

.gallery_with_popup .gallery_with_popup_inner .featured_image_section {
    min-height: 602px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 40px 41px 48px 48px;
}

.gallery_with_popup .gallery_with_popup_inner .featured_image_section:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 400%); */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);

}

.gallery_with_popup .gallery_with_popup_inner .featured_image_section .featured_image_section_inner .heading_section {
    margin-bottom: 12px;
}

.gallery_with_popup .gallery_with_popup_inner .featured_image_section .featured_image_section_inner .heading_section .heading {
    font-family: var(--Neue_Haas_Grotesk_Display_Pro_Regular);
    line-height: 1.1281;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.gallery_with_popup .gallery_with_popup_inner .featured_image_section .featured_image_section_inner .short_discription p {
    font-size: 20px;
    line-height: 2rem;
    letter-spacing: 0.16px;
    color: var(--white);
}

.gallery_with_popup .gallery_with_popup_inner .featured_image_section .featured_image_section_inner .link_arrow {
    font-family: var(--Neue_Haas_Grotesk_Display_Pro_Bold);
    font-size: 13px;
    line-height: 16px;
    text-transform: uppercase;
    background-color: transparent;
    text-decoration: none;
    border: none;
    padding-right: 17px;
    transition: all 0.5s ease-in-out;
}

.gallery_with_popup .gallery_with_popup_inner .featured_image_section .featured_image_section_inner .link_arrow:after {
    content: '';
    position: absolute;
    right: 0;
    top: 42%;
    width: 9px;
    height: 9px;
    background-image: url('../../images/img_arrow_cream.svg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: translateY(-50%);
    transition: all 0.5s ease-in-out;
}

.gallery_with_popup .gallery_with_popup_inner .featured_image_section .featured_image_section_inner .link_arrow:hover::after {
    right: 5px;
}

.gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .slick-track {
    display: flex !important;
}

.gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .explore_slider_item {
    height: inherit !important;
    max-width: 652px;
}

.gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .explore_slider_item .image_section {
    padding-top: 56.757%;
    cursor: pointer;
}

.gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .explore_slider_item .image_section .hover_text_image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .explore_slider_item .image_section .hover_text_image .hover_arrow_img svg {
    width: 56px;
    height: 56px;
}

.gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .explore_slider_item .image_section .hover_text_image .text_wrapper {
    font-family: var(--Neue_Haas_Grotesk_Display_Pro_Bold);
    font-size: 13px;
    line-height: 16px;
    color: var(--heidner_primary_cream);
    letter-spacing: 3.2px;
    text-transform: uppercase;
    margin-top: 10px;
}

.gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .explore_slider_item .image_section:hover .hover_text_image {
    visibility: visible;
    opacity: 1;
    z-index: 3;
}

.gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .explore_slider_item .image_section {
    position: relative;
}

.gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .explore_slider_item .image_section::before {
    content: "";
    background: linear-gradient(180deg, rgba(2, 10, 26, 0) 0%, rgba(2, 10, 26, 0.5) 50%, #020A1A 100%);
    height: 0;
    transition: all .5s ease-in-out;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
}

.gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .explore_slider_item .image_section:hover::before {
    height: 100%;
}

.gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .custom_arrow_dots .custom_dots {
    width: 11.622%;
}

.gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .custom_arrow_dots .custom_dots .slick-dots {
    display: flex;
    padding: 0;
    margin: 0;
}

.gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .custom_arrow_dots .custom_dots .slick-dots li {
    padding: 0;
    width: 100%;
    height: 4px;
    cursor: pointer;
}

.gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .custom_arrow_dots .custom_dots .slick-dots li::before {
    background-color: #0524601A;
    transition: all 0.5s ease-in-out;
    width: 100%;
    height: 4px;
    border-radius: 0;
    top: 0;
}

.gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .custom_arrow_dots .custom_dots .slick-dots li.slick-active::before {
    background-color: var(--heidner_accent_blue);
    border-radius: 40px;
    cursor: auto;

}

.gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .custom_arrow_dots .custom_dots .slick-dots li button {
    display: none;
}


.gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .custom_arrow_dots .arrows_slick {
    cursor: pointer;
    width: 6px;
    height: 12px;
}

.gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .custom_arrow_dots .arrows_slick svg path {
    stroke: var(--heidner_dark_1);
}

.gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .custom_arrow_dots .arrows_slick:hover svg path {
    stroke: var(--heidner_grey_7);
}

.gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .custom_arrow_dots .arrows_slick.slick-disabled {
    cursor: auto;
}

.gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .custom_arrow_dots .arrows_slick.slick-disabled svg path {
    stroke: rgba(35, 31, 32, 0.5);
}

.custom_arrow_dots.white_arrow .arrows_slick svg path {
    stroke: var(--white) !important;
}

.custom_arrow_dots.white_arrow .arrows_slick:hover svg path {
    stroke: var(--heidner_accent_blue) !important;
}


/*SLIDE POPUP*/

.image-slider {
    width: clamp(360px, 96vw, 1200px);
}

.slider-control--button {
    border: 0;
    background: 0;
    outline: 0;
    cursor: pointer;
    place-content: center;
    display: grid;
    z-index: 1;
}

.image-display {
    position: fixed;
    inset: 0;
}


.image_section_inner {
    border: 0;
    overflow: hidden;

}






/*LITY POPUP CSS*/

.gallery_popup_active::-webkit-scrollbar {
    display: none;
}

.gallery_popup_active .lity {
    background: #020A1ACC;
}

.gallery_popup_active .lity .lity-wrap {
    /* padding: 40px 0 17px; */
    padding: 70px 0 40px;
    box-shadow: none !important;
}

.gallery_popup_active .lity .lity-wrap::before {
    content: none !important;
}

.gallery_popup_active .lity .lity-wrap .lity-container {
    box-shadow: none !important;
    background: none !important;
}

.gallery_popup_active .lity .lity-wrap .lity-container .lity-content::after {
    content: none;
}

.gallery_popup_active .lity .lity-wrap .lity-container .lity-content {
    /* max-height:70vh; */
    /* overflow-y: scroll; */
}

.gallery_popup_active .lity .lity-wrap .lity-container>.lity-close {
    display: none;
}

.gallery_popup_active .lity .lity-wrap .lity-container .lity-content .image-slider .lity-close:hover .icon svg {
    stroke: var(--heidner_accent_blue);
}

.gallery_popup_active .lity .lity-wrap .lity-container .lity-content .image-slider .lity-close:hover {
    color: var(--heidner_accent_blue);
}

.gallery_popup_active .lity .lity-wrap .lity-container .lity-content .image-slider .lity-close {
    display: inline-flex;
    width: 100%;
    margin-top: -35px;
    justify-content: end;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    align-items: center;
    line-height: 100%;
    transition: all .5s ease-in-out;
    font-family: var(--Neue_Haas_Grotesk_Display_Pro_Bold);
}

.gallery_popup_active .image-slider {
    position: relative;
}

.gallery_popup_active .image_section_inner img {
    width: 100%;
    height: calc(80vh - 109px);
    object-fit: cover !important;
    object-position: center center;
}

.gallery_popup_active .popup_slider_arrows .slick-arrow {
    background: transparent;
    border: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.gallery_popup_active .popup_slider_arrows .previus_arrow {
    left: -24px;
}

.gallery_popup_active .popup_slider_arrows .next_arrow {
    right: -24px;
}

.gallery_popup_active .slider__content {
    max-height: 80vh;
    /* overflow-y: scroll; */
}

.gallery_popup_active .slider__content .slick-dots {
    display: none;
}

.gallery_popup_active .slider__content .popup_nav_slider {
    margin-top: 10px;
}

.gallery_popup_active .slider__content .popup_nav_slider .slick-track .nav_slider_img {
    margin-right: 10px;
    cursor: pointer;
    width: 164px;
    height: 109px;
    object-fit: cover;
    object-position: center center;
}

.gallery_popup_active .slider__content .popup_nav_slider .slick-track {
    margin: 0;
    display: flex;
}

.gallery_popup_active .nav_slider_img {
    position: relative;
}

.gallery_popup_active .nav_slider_img:hover::before {
    opacity: 70%;
}

.gallery_popup_active .nav_slider_img.slick-current::before {
    opacity: 70%;

}

.gallery_popup_active .nav_slider_img::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #1E1E1E;
    z-index: 2;
    transition: all .5s ease-in-out;
    opacity: 0;
}

.gallery_popup_active .popup_slider_arrows .slick-arrow:hover svg path {
    transition: all .5s ease-in-out;
}

.gallery_popup_active .popup_slider_arrows .slick-arrow:hover svg path {
    stroke: var(--heidner_accent_blue);
}




@media (max-width:1440px) {
    .gallery_with_popup .gallery_with_popup_inner .featured_image_section {
        min-height: 550px;
    }

    .gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .explore_slider_item {
        max-width: 600px;
    }
}

@media (max-width:1359px) {
    .gallery_with_popup {
        margin: 30px 0 50px;
    }

    .gallery_popup_active .popup_slider_arrows .previus_arrow {
        left: -12px;
    }

    .gallery_popup_active .popup_slider_arrows .next_arrow {
        right: -12px;
    }

    .gallery_with_popup.bg_black,
    .gallery_with_popup.bg_gray {
        padding: 30px 0 50px;
    }

    .gallery_with_popup .gallery_with_popup_inner .featured_image_section {
        min-height: 500px;
    }

    .gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .explore_slider_item {
        max-width: 500px;
    }

    .image-slider .next-button {
        right: -18px;
    }

    .image-slider .prev-button {
        left: -18px;
    }

}

@media (max-width:1199px) {
    .gallery_with_popup {
        margin-bottom: 30px;
    }

    .gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .explore_slider_item .image_section .hover_text_image .hover_arrow_img svg {
        width: 46px;
        height: 46px;
    }

    .gallery_with_popup.bg_black,
    .gallery_with_popup.bg_gray {
        padding-bottom: 30px;
    }

    .gallery_with_popup .gallery_with_popup_inner .featured_image_section {
        min-height: 450px;
        padding: 30px 30px 30px 30px;
    }

    .gallery_with_popup .gallery_with_popup_inner .featured_image_section .featured_image_section_inner .short_discription p {
        font-size: 17px;
        line-height: 1.5rem;
    }

    .gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .explore_slider_item {
        max-width: 450px;
    }
}

@media (max-width:991px) {

    .gallery_with_popup {
        margin: 20px 0;
    }

    .gallery_with_popup.bg_black,
    .gallery_with_popup.bg_gray {
        padding: 20px 0;
    }

    .gallery_with_popup .gallery_with_popup_inner .featured_image_section {
        min-height: 350px;
    }

    .gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .explore_slider_item {
        max-width: 400px;
    }

    .gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .explore_slider_item .image_section .hover_text_image .hover_arrow_img svg {
        width: 36px;
        height: 36px;
    }

    .gallery_with_popup .gallery_with_popup_inner .featured_image_section .featured_image_section_inner .short_discription p {
        font-size: 15px;
    }

    .image-slider .next-button {
        right: -12px;
    }

    .image-slider .prev-button {
        left: -12px;
    }
}

@media (max-width:767px) {
    .gallery_with_popup .gallery_with_popup_inner .featured_image_section {
        padding: 20px 20px 20px 20px;
    }

    .gallery_with_popup .gallery_with_popup_inner .gallary_pop_main_slider_section .explore_slider_item {
        max-width: 350px;
    }

    .image-slider .next-button,
    .image-slider .prev-button {
        display: none;
    }
}