.mb-30{
    margin-bottom: 20px !important;
   
}


  
.gallery-wrap-plans h3{
    font-style: normal;
    font-weight: normal;
    font-size: 54px;
    line-height: 73px;
    text-align: center;
    color: #52423B;
    font-family: Prata;
    margin: 60px 0;
}
.gallery-wrap-plans {
    margin-bottom: 70px;
}
.gallery-wrap-plans button{
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 170.7%;
    text-align: center;
    color: #000000;
    font-family: 'Poppins', sans-serif;
    border: 1px solid #C69537;
    box-sizing: border-box;
    background: transparent;
    padding: 14px 10px;
    margin-top: 35px;
}



/*  */

.gallery-new-class button{
    padding: 14px 10px !important;
    right: 12px;
    line-height: 20.7% !important;
    position: absolute;
    color: #000;
    opacity: 1;
    border: 1px solid;
    border-radius: 19px;
    z-index: 100;
    top: -22px;

}

.gallery-new-class .owl-prev, .gallery-new-class .owl-next {
    top: 25% !important;
}

.gallery-wrap-plans .tab-content {
    margin-top: 74px;
}
.gallery-wrap-plans ul.nav.nav-tabs {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}
.gallery-wrap-plans .nav-tabs>li.active>a,.gallery-wrap-plans .nav-tabs>li.active>a:focus,.gallery-wrap-plans .nav-tabs>li.active>a:hover{
    border: none;
}
.gallery-wrap-plans .nav-tabs>li>a {
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.gallery-wrap-plans .nav-tabs>li>a{
    font-style: normal;
    font-weight: normal;
    font-size: 14px !important;
    line-height: 146.7%;
    text-align: center;
    color: #999999;
    font-family: 'Poppins', sans-serif;
}
.gallery-wrap-plans .nav>li>a>img {
    margin-right: 10px;;
}
.gallery-wrap-plans .nav-tabs>li.active>a{
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 146.7%;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    color: #000000;
}
.gallery-wrap-plans .nav-tabs>li.active{
    border-bottom: 4px solid #52423B;
}
.gallery-wrap-plans .nav-tabs>li{
    margin-bottom: -4px;
}
.gallery-wrap-plans .nav-tabs>li{
    margin-right: 20px;
}
.gallery-wrap-plans .nav-tabs>li>a>img.active-img {
    display: none;
}
.gallery-wrap-plans .nav-tabs>li.active>a>img.active-img {
    display: block;
}
.gallery-wrap-plans .nav-tabs>li>a>img.inactive-img {
    display: block;
}
.gallery-wrap-plans .nav-tabs>li.active>a>img.inactive-img {
    display: none;
}
.banner-header-gallery{
    left: 45%;
    top: 200px;
}
.banner-header-specification{
    left: 38%;
    top: 200px;
    margin-bottom: 0;
    margin-top: 72px;
}
.banner-header-plans{
    left: 46%;
    top: 200px;
}
.banner-header.banner-header-gallery {
    margin-bottom: 0 !important;
    margin-top: 49px !important;
}
.gal .modal-header .close{
    padding: 0;
    border: none;
    color: #000;
    opacity: 1;
    position: absolute;
    right: 11px;
    top: 17px;
    border: 2px solid #000;
    z-index: 100;
    height: 18px;
    width: 18px;
    line-height: 0;
    border-radius: 20px;
}
.map-btn.text-center.location-map-btn {
    position: absolute;
    bottom: 1px;
    display: inherit !important;
    right: 20px !important;
}
.gal .modal-header {
    padding: 15px;
    border-bottom: none;
    padding-top: 5px;
    padding-bottom: 0;
}
@media only screen and (max-width : 780px) {
    .gallery-wrap-plans .nav-tabs>li>a, .gallery-wrap-plans .nav-tabs>li.active>a{
        font-size: 13px;
    }
    .gallery-wrap-plans .nav-tabs>li>a>img{
        width: 15px;
    }
    .menu-form{
        width: 46%;
    }
    button.mfp-arrow{
        display: none;
    }
    .banner-header-gallery{
        left: 44%;
        top: 95px;
    }
    .banner-header-specification{
        left: 38%;
        top: 95px;
    }
    .banner-header-plans{
        left: 45%;
        top: 95px;
    }
    .padding-zero{
        padding: 0px !important;
    }
    /* .mfp-container{
        top: -20px !important;
        z-index: 9999 !important;
        overflow-y: hidden !important;
    } */
   
    .mfp-bg{
        background-color: #000 !important;
    }
}
@media only screen and (max-width : 500px) {
    .gallery-wrap-plans ul.nav.nav-tabs{
        flex-wrap: wrap;
        margin-top: 0;
    }
    .mb-30{
        margin-bottom: 20px !important;
       padding: 0px !important;
    }
    button.mfp-arrow{
        display: none;
    }
    .map-btn.text-center.location-map-btn {
        position: absolute;
        bottom: -39px;
        display: inherit !important;
        right: 0 !important;
    }
    .gallery-new-class img{
        height: auto !important;
    }
    
    .panorama {
        overflow: scroll;
        height: 98%;
    }
    .panorama img{
        height: 100%;
        overflow: scroll;
    }
    ::-webkit-scrollbar {
        width: 1px;
        height: 5px;
    }
    ::-webkit-scrollbar-thumb {
        background: #02020261;
        border-radius: 16px;
    }
    .menu-form {
        width: 100%;
        bottom: inherit;
        padding-top: 19px;
    }
    .gallery-wrap-plans .nav-tabs>li>a, .gallery-wrap-plans .nav-tabs>li.active>a {
        font-size: 10px;
        padding: 10px 0;
    }
    .gallery-wrap-plans .nav-tabs>li>a>img{
        width: 15px;
        margin-right: 2px;
    }
    .gallery-wrap-plans .nav-tabs>li {
        margin-right: 12px;
    }
    .gallery-wrap-plans{
        position: relative;
        top: 24px;
    }
    .banner-header-gallery h1{
        font-size: 45px;
        line-height: 111%;
    }
    /* .banner-header-gallery{
        top: -95px;
        left: inherit !important;
        position: relative;
    } */
    .banner-header-specification h1{
        font-size: 45px;
        line-height: 111%;
        margin-top: 30px;
    }
    .banner-header-specification{
        top: -95px;
        left: inherit !important;
        position: unset;
        margin-bottom: 0 !important;
    }
    .banner-header-plans h1{
        font-size: 45px;
        line-height: 111%;
    }
    .banner-header-plans{
        top: -95px;
        left: inherit !important;
        position: relative;
    }
    .mfp-container {
        text-align: center;
        position: fixed !important;
        width: 100%;
        left: 0;
        top: 0;
        bottom: 0;
        padding: 0 8px;
        box-sizing: border-box;
        height: 100% !important;
        background-color: #000 !important;
        }
    
}
#lv_overlay{
        background-color: rgb(101 102 105 / 51%) !important;
}


@media screen and (orientation:landscape)
and (min-device-width: 319px) 
and (max-device-width: 600px) {
    
    button.mfp-arrow{
        display: none !important;
    }
    .mfp-container {
        text-align: center;
        position: fixed !important;
        width: 100%;
        left: 0;
        top: 0;
        bottom: 0;
        padding: 0 8px;
        box-sizing: border-box;
        height: 100% !important;
        z-index: 9999 !important;
        background-color: #000 !important;
        }
}

@media (max-width: 900px){
    .mfp-container {
    padding-left: 0;
    padding-right: 0;
    }
    }

    .parentimage {
        width: 100%;
        height: 100%;
        -webkit-transition: all .3s ease-out;
        -moz-transition: all .3s ease-out;
        -o-transition: all .3s ease-out;
        transition: all .3s ease-out;
    }
    
    .parentimage:hover {
        -moz-transform: scale(2);
        -webkit-transform: scale(2);
        -o-transform: scale(2);
        -ms-transform: scale(2);
        transform: scale(2);
    }
    
    .overlay {
        background-image: linear-gradient(to top, rgb(33 29 29 / 0%), rgb(101 101 101));
        width: 100%;
        height: 26%;
        position: absolute;
        top: 0;
    }
    
    .w-100 {
        width: 100%;
    }
    
    @media (max-width:991px) {
        .mfp-img {
            padding: 0px !important;
            width: 100% !important;
        }
    
        .mfp-image-holder .mfp-close,
        .mfp-iframe-holder .mfp-close {
            right: 2px !important;
        }
    }
    
    
    
    body.noscroll {
        overflow-y: hidden !important;
    }
    
    @media (max-width: 900px) {
        .mfp-arrow-left {
            transform-origin: 0 !important;
        }
    }