/* FIX FILE FOR RESIDENCE TEMPLATE STYLING */


/* PROPERTY MAP ALIGNMENTS FIX */
.drawer.open {
    top: 0px;
}

@media only screen and (min-width: 901px) {
    .curved-section .property-right-details {
        height: 48.3vw !important;
    } 

    .drawer.open .text.hide-map:before {
        top: -50px !important;
    }

    .drawer.open .container i {
        top: -45px !important;
    }
}

@media only screen and (min-width: 767px) and (max-width: 900px) {
    .curved-section .property-right-details {
        height: 66.5vw !important;
    } 
}
/* for screens up to 440px */
@media only screen and (max-width: 440px) {
    .curved-section .property-right-details {
        height: 160vw !important;
    }
    .drawer.open #property_map {
        height: 712px !important;
    }
    .drawer.open .container i {
        top: -70px !important;
    }
    .drawer.open .text.hide-map:before {
        top: -77px !important;
    }
}
/*for screens 400px to 415px*/
@media only screen and (max-width: 415px) {
    .curved-section .property-right-details {
        height: 142vw !important;
    }

    .drawer.open .container i {
        top: -170px !important;
    }

    .drawer.open .text.hide-map:before {
        top: -175px !important;
    }
}

/*for screens 390px to 400px*/
@media only screen and (max-width: 400px) {
    .curved-section .property-right-details {
        height: 150vw !important;
    }
    .drawer.open #property_map {
        height: 612px !important;
    }

    .drawer.open .container i {
        top: -77px !important;
    }
    .drawer.open .text.hide-map:before {
        top: -80px !important;
    }
}
/*for screens 365px to 376px*/
@media only screen and (max-width: 376px) {
    .curved-section .property-right-details {
        height: 157vw !important;
    }
}

/*for screens up to 365px*/
@media only screen and (max-width: 365px) {
    .curved-section .property-right-details {
        height: 164vw !important;
    }
}

/*for screens up to 321px*/
@media only screen and (max-width: 321px) {
    .drawer.open .container i {
        top: -125px !important;
    }
    .drawer.open .text.hide-map:before {
        top: -130px !important;
    }
}

/* MOBILE MENU ALIGNMENT FIX ON FIXED MENU */

.mobile-menu .menu-mobile img {
    max-width: 150px;
}

.header-main.fixed-header.menu-open {
    border-bottom: none;
}

.header-main.fixed-header.menu-open .menu-toggle.active::after, .header-main.fixed-header.menu-open .menu-toggle.active::before {
    border-color: #fff;
}

@media only screen and (max-width: 767px) {
    .mobile-menu-active .header-wrap .branding img {
        transform: translateX(250%);
    }
}
