#main-header .header-phone {
    z-index: 1;
}

@media (max-width: 980px) {
    #why_astra td {
        display: block;
    }

    .et_header_style_left .logo_container {

    }

    .et_header_style_left #et-top-navigation {
        display: flex;
        align-items: center;
    }

    .header-phone {
        float: none;
    }

    .header-phone a {
        font-size: 0.875em;
        padding: 8px 12px;
    }

    #et_mobile_nav_menu {
        float: none;

    }

    .et_header_style_left #et-top-navigation .mobile_menu_bar {
        padding: 15px 0;
    }
}

@media only screen and (max-width: 767px) {
    .cta_text {
        padding-bottom: 50px;
    }

    .apartment-card-featured .body {
        margin-top: 80px;
    }

    #search-results {
        width: 100%;
    }

    #results-container {
        padding: 0 20px;
    }

    #desktop-map {
        display: none;
    }

}

@media only screen and (max-width: 600px) {
    #field_qh4icy,
    #field_ocfup1 {
        width: 100%;
    }

    #field_qh4icy_label {
        display: block;
    }

    #field_ocfup1_label {
        display: none;
    }

}

/*  Menu Text fix  */
@media only screen and (max-width: 1199px) and (min-width: 768px) {
    table#why_astra tbody {
        display: flex;
        flex-wrap: wrap;
    }

    table#why_astra tr {
        display: block;
        width: 50%;
    }

    table#why_astra td {
        min-width: 100px;
    }

    #why_astra img {
        max-height: 64px;
    }

}

@media only screen and (max-width: 575px) {
    #cta-block.small {
        padding: 25px 15px;
    }

    #cta-block.small .buttons a:first-child {
        margin-left: 5px;
    }

    #cta-block.small .buttons a:last-child {
        margin-right: 5px;
    }
}

/* Bootstrap col-sm breakpoint */
@media only screen and (min-width: 576px) {
    .apartment-card-featured .body {
        margin-top: 65px;
    }

    .has-captions .caption,
    #why_astra_video .caption,
    .why-astra-matterport .caption {
        padding: 25px 30px;
        max-width: 180px;
        font-weight: lighter;
        position: absolute;
        right: 0;
        bottom: 30px;
        text-align: center;
        margin-right: unset;
        margin-top: unset;
    }

    #why_astra_video .caption,
    #secondary-info .secondary-image .caption,
    .single-target_audience .has-captions .caption,
    .why-astra-matterport .caption {
        right: -15px;
    }

}

@media only screen and (max-width: 980px) {
    #results-container .row .col {
        padding-left: 10px;
        padding-right: 10px;
    }

    #et_mobile_nav_menu {
        margin-right: 20px;
    }

    .audience-container .audience-button {
        padding-bottom: 30px;
    }
}

@media only screen and (max-width: 767px) {
    #results-container .row {
        margin-left: 0px;
        margin-right: 0px;
    }
}

/* Bootstrap col-md breakpoint */
@media only screen and (min-width: 768px) {


    .call-to-action .d-md-flex > div {
        max-width: 48%;
    }

    .cta_image {
        min-height: 350px;
        margin-top: 0;
        transform: translateY(50px);
    }

    #search-map {
        height: calc(100vh - 98px);
    }

    .mobile-map-wrapper {
        display: none;
    }

    #search-page {
        padding-top: 60px;
    }

    .cta_image > img {
        display: block;
        width: auto;
        position: absolute;
        left: 50%;
        top: 0;
        height: 100%;
        width: auto;
        max-width: unset;
        transform: translateX(-50%);
    }

    .apartment-card-featured .image-two {
        right: 0;
        top: -30px;
        left: 50px;
        border: 12px solid #fff;
    }

    .apartment-card-featured .body {
        margin-top: 0;
    }

    #why_astra img {
        max-height: 96px;
    }

    #standardInclusionsModal .modal-dialog {
        max-width: 700px;
        margin: 1.75rem auto;
    }

    #home-search-form,
    #search_area {
        display: block;
    }

    #mobile-popup-buttons {
        display: none;
    }

    #information-panel {
        bottom: 0;
        background: #6c3996;
        font-size: 16px;
    }

    #information-panel a#information-panel-close {
        font-size: 18px;
    }

    #cta-block {
        padding: 50px 0;
    }

    #apartment-footer {
        padding: 80px 0;
    }

    .apartment-banner .overlay {
        background-color: rgba(43, 44, 45, 0.7);
        color: #fff;
        font-weight: lighter;
        position: absolute;
        bottom: 0;
        padding: 20px 0;
        width: 100%;
    }

    .overlay-container {
        width: calc(100% - 40px);
    }

    .you-should-know {
        padding: 40px;
        margin-top: 60px;;
    }

    .about-building {
        margin-top: 60px
    }

    body.single-apartment #main-content .container {
        padding: 60px 0;
    }

    .overlay-content-container {
        width: 70%;
        padding-right: 5.5%;
    }

    .tagline {
        font-size: 1.25em;
        padding: 30px 40px;
        margin-bottom: 70px;
    }

    .tagline-container {
        padding-left: 30px;
    }

    .apartment-tagline {
        margin-bottom: 70px;
    }

    .map-container {
        margin-bottom: 40px;
    }

    .apartment-card {
        margin-bottom: 50px;
    }

    .hero h1,
    body:not(.tax-instance) #et-main-area .et_pb_fullwidth_header h2 {
        font-size: 2.75rem;
    }

    .single-location #main-content.container {
        margin-top: 60px;
    }

    .button.readmore,
    button.read-more {
        width: auto !important;
    }


}

/* Custom Regions Rule */
@media only screen and (min-width: 768px) and (max-width: 991px) {

}

@media (min-width: 981px) {
    .et_header_style_left .et-fixed-header #et-top-navigation, .et_header_style_split .et-fixed-header #et-top-navigation {
        padding-top: 0;
    }

    #booking-sidebar {
        display: block;
    }

    .et-fixed-header #top-menu-nav #top-menu li a {
        padding: 25px 10px;
    }

    .et-fixed-header #top-menu-nav #top-menu li.menu-item-has-children a {
        padding: 25px 25px 25px 10px;
    }

    .et-fixed-header .header-phone a {
        padding: 10px 20px;
    }
}

@media only screen and (min-width: 992px) {
    #left-area {
        width: 70%;
        padding-bottom: 23px;
    }

    #sidebar {
        float: left;
        width: 30%;
    }

    #main-content .container:before {
        display: none;
    }

    body, html,
    #top-menu li {
        font-size: 16px;
    }

    #homepage-hero {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .home-heading {
        font-size: 2.25em;
    }

    .home .et_pb_text_inner h2,
    .post-type-archive-location h1,
    .tax-instance h1 {
        font-size: 2.75em;
    }

    .apartment-card-featured .image-two {
        top: 60px;
        right: 30px;
        left: -80px;

    }

    .audience-container {
        max-width: 900px;
    }
}

@media (max-width: 1010px) {
    /*#footer-quick-links,*/
    /*#extra-footer-details,*/
    #footer-location-links{
        display: none !important;
    }
}

@media (max-width: 980px) {
    #menu-footer-menu.bottom-nav {
        text-align: left !important;
    }
}

/* Bootstrap col-xl breakpoint */
@media only screen and (min-width: 1200px) {
    #why_astra_bg {
        content: '';
        background: #e4e4e4;
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 75%;
        width: 100vw;
        z-index: -2;
    }

    #why-astra-section::before,
    #why_astra_bg::after {
        content: '';
        background: #ffffff;
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 200px;
        height: 200px;
        transform: translate(-100px, 100px) rotate(45deg);
        /*z-index: -1; */
    }

    #why-astra-section::before {
        transform: translate(100px, -50px) rotate(45deg);
        bottom: unset;
        left: unset;
        top: 0;
        right: 0;
        z-index: 10;
    }

    .business-block-holder {
        max-width: 1140px;
    }

    .audience-container {
        max-width: 1140px;
    }
}

/* HD Desktop Screen */
@media only screen and (min-width: 1600px) {
    body, html,
    #top-menu li {
        font-size: 18px;
    }

    .home-heading {
        font-size: 2.77778em;
    }

    #why_astra_video {
        margin-bottom: 100px;
    }

    .audience-container {
        max-width: 1560px;
    }

    #why_astra h3 {
        font-size: 1.5em;
        line-height: 1.5em;
        padding-bottom: 0;
    }

    #why_astra td {
        min-width: 150px;
    }

    .home-sub-heading {
        padding-bottom: 40px;
        margin-bottom: 40px;
    }

    #businesses-block .slick-slide img {
        height: 110px;
    }
}

@media only screen and (min-width: 1800px) {
    #why_astra_video {
        margin-bottom: 140px;
    }
}

/* Larger than HD */
@media only screen and (min-width: 1920px) {

}

.dropdown-menu.show[aria-labelledby="tempGuestsDropdown"] {
    transform:unset!important;
    top:calc(100% - 5px )!important;
    right:-3px!important;
    left:unset!important
}

/* Matterport */
.why-astra-matterport {
    width: var(--matterport-width);
}

@media only screen and (max-width: 1199px) {
    .why-astra-matterport {
        width: 100% !important;
    }
}

.why-astra-matterport__embed {
    height: 0;
    left: 0;
    padding-bottom: 75%;
    position: relative;
    width: 100%;
}

.why-astra-matterport__embed iframe {
    border: 0;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    width: 100%;
}

.why-astra-matterport .why-astra-matterport__disclaimer {
    background-color: var(--highlight-color-one);
    border-top: 5px solid #fff;
    padding: 15px 15px 5px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
    transition-delay: 3s;
}

@media only screen and (min-width: 600px) {
    .why-astra-matterport .why-astra-matterport__disclaimer {
        border: 5px solid #fff;
        margin: 0 auto;
        width: 80%;
    }
}

@media only screen and (min-width: 1200px) {
    .why-astra-matterport .why-astra-matterport__disclaimer {
        border: 8px solid #fff;
        width: 60%;
    }
}

.why-astra-matterport .why-astra-matterport__disclaimer p {
    color: #fff;
}

.why-astra-matterport .caption {
    opacity: 1;
    transition: all 0.3s ease;
    transition-delay: 1.5s;
}

.why-astra-matterport.mport-loaded .why-astra-matterport__disclaimer {
    opacity: 1;
    transform: translateY(0);
}

.why-astra-matterport.mport-loaded .caption {
    opacity: 0;
}

/* nb video layout */
.nb-video-layout .nb-video .et_pb_video {
    height: auto;
    width: 100%;
}

@media only screen and (min-width: 981px) {
    .nb-video-layout .nb-video .et_pb_video {
        height: calc(var(--nb-video-width) * 0.75);
        width: var(--nb-video-width);
    }
}

.nb-video-layout .nb-video .et_pb_video .et_pb_video_box,
.nb-video-layout .nb-video .et_pb_video .fluid-width-video-wrapper {
    height: inherit;
}

.nb-video-layout .nb-video .et_pb_video .et_pb_video_overlay_hover:hover {
    background: transparent;
}

.nb-video-layout .nb-video .et_pb_video .et_pb_video_play:hover {
    color: #fff;
    text-decoration: none;
}

.nb-video-layout .nb-video .et_pb_video .et_pb_video_overlay::after {
    content: '';
    display: block;
    width: 100px;
    height: 100px;
    position: absolute;
    background: #fff;
    top: -50px;
    right: -50px;
    transform: scale(0) rotate(45deg);
    transition-duration: 500ms;
    transition-timing-function: ease-in-out;
}

.nb-video-layout .nb-video .et_pb_video .et_pb_video_overlay:hover::after {
    transform: scale(1) rotate(45deg);
}

.single-location--new-layout #search_area {
    display: block;
}

.single-location--new-layout .breadcrumb-container + .tagline {
    margin: 50px 15px;
}

@media only screen and (min-width: 981px) {
    .single-location--new-layout .breadcrumb-container + .tagline {
        margin: 50px auto;
        max-width: 1340px;
    }
}