.data-video {
    font-family: 'New Hero';
    color: #98A3B2;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.59px;
    text-align: left;
    margin: 20px 0 10px;
}

.title-video {
    font-family: 'New Hero';
    color: #3B393C;
    font-size: 20px;
    font-weight: 600;
    line-height: 27.98px;
    text-align: left;
    margin: 0 0 10px;
}

.cta-video {
    font-family: 'New Hero';
    font-size: 14px;
    font-weight: 400;
    line-height: 19.59px;
    text-align: left;
    color: #CF8F7D;
    cursor: pointer;
}

.number-gallery {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: IvyMode;
    font-weight: 600;
    font-size: 66px;
    text-align: center;
    text-transform: uppercase;
    color: #fff
}

.number-gallery span {
    opacity: .6;
}

.fancybox-button.fancybox-button--arrow_left {
    left: 50px;
    width: 50px;
    height: 50px;
    background: url(../assets/images/arrow-left-white.svg) no-repeat center center;
    background-size: contain;
}

.swiper-button-prev {
    left: 0;
    width: 50px;
    height: 50px;
    background: url(../assets/images/arrow-left-white.svg) no-repeat center center;
    background-size: contain;
}

.fancybox-button.fancybox-button--arrow_right {
    right: 50px;
    width: 50px;
    height: 50px;
    background: url(../assets/images/arrow-right-white.svg) no-repeat center center;
    background-size: contain;
    content: '';
}

.swiper-button-next {
    right: 0;
    width: 50px;
    height: 50px;
    background: url(../assets/images/arrow-right-white.svg) no-repeat center center;
    background-size: contain;
    content: '';
}

@media screen and (min-width: 992px) {
    .swiper-button-next {
        right: 50px !important;
        width: 80px;
        height: 80px;
    }
    .swiper-button-prev {
        left: 50px !important;
        width: 80px;
        height: 80px;
    }
}

.section-1-galerie {
    padding: 50px 0 0px;
}

.main-gallery .swiper-slide img {
    pointer-events: none !important;
}

.number-of-itmes {
    position: absolute;
    bottom: -30px;
    right: 0;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    line-height: 1;
}

.number-of-itmes span {
    font-family: 'New Hero';
    font-size: 12px;
    font-weight: 400;
    line-height: 16.79px;
    text-align: left;
    color: #98A3B2;
    margin-left: 5px;
}

#work-evolution #evolutia_wrapper button.evolutie-more-btn {
    position: absolute;
    bottom: -70px;
    right: 0;
    font-family: "New Hero";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #CF8F7D;
    background: transparent;
    border: 0;
    right: auto;
    left: -10px;
}

.thumb-bg.thumb-h-wide {
    border-radius: 24px;
}

#work-evolution #evolutia_wrapper button.evolutie-more-btn .increaseicons-search {
    display: none;
}

#work-evolution .swiper-button-prev,
#work-evolution .swiper-button-next {
    top: calc(50% - 50px) !important;
}

#work-evolution {
    margin-top: 40px;
}

#work-evolution .h5.font-primary.text-center {
    color: #3B393C;
    font-family: "New Hero";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    padding-bottom: 30px;
    padding-top: 10px;
    text-align: left !important;
}

#work-evolution {
    display: inline-block;
    width: 100%;
    overflow: hidden;
    margin: 0 !important;
}

.fluid-width-video-wrapper,
.thumb-bg {
    min-height: 320px;
}

.section-3-galerie {
    padding: 50px 0 0;
}
.video_section{
    padding: 50px 0 0;
}
.section-1-galerie{
    padding: 50px 0;
    position: relative;
}

.section-1-galerie::before {
    content: '';
    background: #F6F9FC;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}

@media screen and (min-width: 1600px) {
    .section-1-galerie::before {
        width: calc(100vw - 100px);
        border-top-right-radius: 24px;
        border-bottom-right-radius: 24px;
    }
}

.section-2-galerie {
    padding: 50px 0 0;
    position: relative;
}

/* Thumbnails gallery */

#thumbnail-gallery {
    margin-top: 20px;
}

#thumbnail-interior-gallery .swiper-slide img,
#thumbnail-gallery .swiper-slide img {
    cursor: pointer;
    width: 100%;
    height: auto;
}

/* Modal styling */

.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.gallery-modal .modal-content {
    position: relative;
    width: 80%;
    max-width: 1000px;
}

.modal-swiper-container-3,
.modal-swiper-container {
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.gallery-modal .swiper-slide img {
    width: 100%;
    height: auto;
}

/* Close modal on background click */

#interior-gallery-modal .swiper-button-prev,
#interior-gallery-modal .swiper-button-next,
#gallery-modal .swiper-button-prev,
#gallery-modal .swiper-button-next {
    top: calc(50% + 32px) !important;
}

.gallery-modal .modal-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    justify-content: center;
    height: 100%;
    background: transparent;
}

#thumbnail-interior-gallery .swiper-slide,
#thumbnail-gallery .swiper-slide {
    filter: grayscale(100%)
}

#thumbnail-exterior-gallery .swiper-slide.swiper-slide-active,
#thumbnail-interior-gallery .swiper-slide.swiper-slide-active,
#thumbnail-interior-gallery .swiper-slide.slideactive,
#thumbnail-gallery .swiper-slide.swiper-slide-active,
#thumbnail-gallery .swiper-slide.slideactive {
    filter: grayscale(0%)
}

.main-gallery,
#interior-gallery,
#thumbnail-interior-gallery,
#thumbnail-gallery {
    display: inline-block;
    width: 100%;
    overflow: hidden;
    position: relative;
}

#interior-gallery,
#exterior-gallery {
    margin-top: 50px;
}

.cover-video img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    /* IE 9 */
    -webkit-transform: translate(-50%, -50%);
    /* Chrome, Safari, Opera */
    max-width: fit-content;
    min-height: 320px;
    max-height: 320px;
    width: auto;
}

.cover-video {
    border-radius: 24px;
    min-height: 320px;
    max-height: 320px;
    overflow: hidden;
    position: relative;
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.section-contact {
    padding: 50px 0;
}

.iframe-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    height: 100%;
    background: transparent;
    display: block;
}

.iframe-video {
    position: relative;
    z-index: 0;
}

/* The Modal (background) */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1000000000000000000000;
    /* Sit on top */
    padding-top: 60px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.7);
    /* Black with opacity */
}

.modal-body p,
.modal-body {
    padding: 0;
    margin: 0;
}

.modal-body iframe {
    width: 100%;
    height: 630px;
}

/* Modal Content */

.modal-content p {
    margin: 0;
    display: flex;
}

.modal-content {
    background-color: transparent;
    margin: auto;
    padding: 20px;
    border: 0;
    width: 100%;
    max-width: 1120px;
    padding: 0;
    min-height: 630px;
}

@media screen and (max-width:991px) {
    .number-gallery{
        font-size: 40px;
        bottom: 20px;
    }
    .section-3-galerie{
        padding-bottom: 40px;
    }
    .modal-body iframe {
        height: calc(50vw + 50px)
    }
    .modal-content {
        max-width: 100vw;
        min-height: calc(50vw + 50px)
    }
    #interior-gallery .swiper-slide img,
    #exterior-gallery .swiper-slide img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        /* IE 9 */
        -webkit-transform: translate(-50%, -50%);
        /* Chrome, Safari, Opera */
        max-width: fit-content;
        min-height: 320px;
        max-height: 320px;
        width: auto;
    }
    #interior-gallery .swiper-slide,
    #exterior-gallery .swiper-slide {
        min-height: 320px;
        max-height: 320px;
        overflow: hidden;
        position: relative;
    }
    .mb-5.shadow-none {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
    }
    .section-1-galerie,
    .section-contact {
        padding-top: 0;
    }
    #exterior-gallery {
        margin-top: 20px;
    }
    #thumbnail-gallery {
        margin-top: 0 !important
    }
}

/* The Close Button */

.close {
    color: #000;
    float: right;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    opacity: 1;
    background: #fff;
    right: 10px;
    top: 5px;
    z-index: 99;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 100%;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.swiper-button-prev,
.swiper-button-next {
    z-index: 99 !important;
}

.fancybox-container {
    z-index: 99999898999999999999999 !important
}

@media screen and (min-width:992px) {
    .main-interior-gallery .swiper-slide,
    .main-gallery .swiper-slide {
        min-height: 720px;
        max-height: 720px;
        overflow: hidden;
    }
    .main-interior-gallery .swiper-slide img,
    .main-gallery .swiper-slide img {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        min-height: 720px;
        width: 100%;
        transition: .5s all;
        max-width: fit-content;
        min-width: 100vw;
    }
    .thumbs-interior-gallery .swiper-slide,
    .thumbs-gallery .swiper-slide {
        min-height: 150px;
        max-height: 150px;
        overflow: hidden;
    }
    .thumbs-interior-gallery .swiper-slide img,
    .thumbs-gallery .swiper-slide img {
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        min-height: 150px;
        transition: .5s all;
        max-width: fit-content;
        min-width: 100%;
    }
}

#evolutia_wrapper .swiper-button-prev,
.video_section .swiper-button-prev {
    background: url(../assets/images/gold_left.svg) center center no-repeat;
    background-size: cover !important;
    z-index: 99999;
    left: -10px !important;
    width: 50px !important;
    height: 50px !important;
}

#evolutia_wrapper .swiper-button-next,
.video_section .swiper-button-next {
    background: url(../assets/images/gold_right.svg) center center no-repeat;
    background-size: cover !important;
    z-index: 99999 !important;
    right: -10px !important;
    width: 50px !important;
    height: 50px !important;
}

.fancybox-button.fancybox-button--fsenter,
.fancybox-button.fancybox-button--thumbs,
.fancybox-button.fancybox-button--play,
.fancybox-button.fancybox-button--zoom,
.fancybox-thumbs.fancybox-thumbs-y {
    display: none !important;
}

.fancybox-toolbar,
.fancybox-navigation *,
.fancybox-navigation {
    opacity: 1 !important;
    visibility: visible !important;
}

.fancybox-infobar {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 0;
    display: flex;
    top: auto !important;
    align-items: center;
    justify-content: center;
    font-family: IvyMode;
    font-weight: 600;
    font-size: 66px;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    z-index: 9999999999999999999999;
    opacity: 1 !important;
    visibility: visible;
}

.fancybox-slide {
    pointer-events: none !important;
    cursor: inherit !important;
}

.fancybox-stage {
    z-index: 10 !important;
}
@media screen and (min-width: 1441px) {
    .section-2-galerie,
    .section-3-galerie{
        padding-top: 80px;
    }   
}
@media screen and (max-width: 991px) {
    .video_section{
        padding: 0 0 50px
    }
    .video_section .col-md-12{
        padding: 0;
    }
}