/* Connor Site Shell — loaded only for enabled sites or admin preview. */

body.cgms-shell-active .et-l--header,
body.cgms-shell-active #main-header,
body.cgms-shell-active .et-l--footer,
body.cgms-shell-active #main-footer {
    display: none !important;
}

/* Interior stages used this to clear the old overlay header. Delete the source after we are swapped over to the new shell. */
body.cgms-shell-active .ppoNegativeMargin {
    margin-top: 0 !important;
}

/* Floor-plan pages used to clear a fixed overlay header.
   Delete after the Divi header cutover:
   - FPO/assets/css/apartment-availability.css .apartment-availability-wrapper { margin: 8rem }
   - FPO/assets/css/apartment-availability.css padding-top on #main-content (80px / 25px / 0)
   - FPO/assets/css/apartment-availability.css .et_pb_row_0_tb_header { margin-top: -5px }
   - FPO/templates/archive-floorplan.php and archive-floorplan-category.php .floorplan-hero negative margins
   - Theme Builder header CSS .apartment-availability-page #main-content { padding-top: 80px } */
body.cgms-shell-active.apartment-availability-page #main-content {
    padding-top: 0 !important;
}

body.cgms-shell-active .et_pb_row_0_tb_header.et_pb_row {
    margin-top: 0 !important;
}

body.cgms-shell-active .apartment-availability-wrapper {
    margin-top: 0 !important;
}

body.cgms-shell-active .apartment-availability-wrapper > .floorplan-hero {
    min-height: 140px;
    margin-top: 0 !important;
    padding-top: 1rem;
    padding-bottom: 1rem !important;
    align-items: center;
}

body.cgms-shell-active .apartment-availability-wrapper .page-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
}

body.cgms-shell-active .floorplan-hero .page-title {
    font-size: clamp(1.65rem, 2.8vw + 0.7rem, 2.6rem);
    line-height: 1.1;
}

@media (max-width: 980px) {
    body.cgms-shell-active .apartment-availability-wrapper .breadcrumb {
        margin-top: 1.25rem;
    }
}

.cgms-site-shell,
.cgms-site-shell *,
.cgms-site-shell *::before,
.cgms-site-shell *::after {
    box-sizing: border-box;
}

.cgms-shell-header {
    position: sticky;
    top: 0;
    z-index: 99990;
    width: 100%;
    margin: 0 !important;
    background: var(--cgms-shell-header-bg, #000);
    font-family: "Montserrat", Arial, sans-serif;
}

.admin-bar .cgms-shell-header {
    top: 32px;
}

@media (min-width: 999px) {
    .cgms-shell-header--overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }

    .cgms-shell-header--overlay:not(.is-scrolled),
    .cgms-shell-header--overlay:not(.is-scrolled) .cgms-shell-main {
        background: var(--cgms-shell-header-overlay-bg, var(--cgms-shell-header-bg, #000));
    }

    body.cgms-shell-active .cgms-hero-header {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        margin: 0;
    }
}

.cgms-shell-promo {
    position: relative;
    color: var(--cgms-shell-promo-text, #fff);
    background: var(--cgms-shell-promo-bg, var(--cgms-shell-primary));
    padding: 14px 0 8px;
}

.cgms-shell-promo__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding-right: max(20px, calc((100vw - 1200px) / 2));
    padding-left: max(20px, calc((100vw - 1200px) / 2));
}

.cgms-shell-promo__copy {
    flex: 1 1 auto;
    min-width: 0;
}

.cgms-shell-promo__eyebrow,
.cgms-shell-promo__content,
.cgms-shell-promo__content p {
    margin: 0;
    padding: 0;
    color: var(--cgms-shell-promo-text, #fff);
}

.cgms-shell-promo__eyebrow {
    color: var(--cgms-shell-promo-text, var(--cgms-shell-secondary));
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.cgms-shell-promo__content {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
}

.cgms-shell-promo__close {
    position: absolute;
    top: 50%;
    right: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    color: var(--cgms-shell-promo-text, #fff);
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 0.35s ease, opacity 0.35s ease;
}

.cgms-shell-promo .cgms-shell-button:not(.cgms-btn) {
    min-height: 0;
    padding: 5px 30px;
    border: 1px solid var(--cgms-shell-secondary);
    border-radius: 25px;
    color: var(--cgms-shell-secondary);
    background: transparent;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    transform: none;
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, opacity 0.35s ease;
}

.cgms-shell-promo .cgms-shell-button:not(.cgms-btn):hover,
.cgms-shell-promo .cgms-shell-button:not(.cgms-btn):focus {
    color: #fff;
    background: transparent;
    border-color: #fff;
    opacity: 1;
    transform: none;
}

.cgms-shell-button:not(.cgms-btn) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 18px;
    border: 1px solid var(--cgms-shell-secondary);
    border-radius: 999px;
    color: var(--cgms-shell-primary);
    background: var(--cgms-shell-secondary);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, opacity 0.35s ease;
}

.cgms-shell-button:not(.cgms-btn):hover,
.cgms-shell-button:not(.cgms-btn):focus {
    color: var(--cgms-shell-primary);
    opacity: 0.86;
    transform: translateY(-1px);
}

.cgms-shell-button--outline:not(.cgms-btn) {
    color: #fff;
    background: transparent;
}

.cgms-shell-button--outline:not(.cgms-btn):hover,
.cgms-shell-button--outline:not(.cgms-btn):focus {
    color: #fff;
}

.cgms-shell-utility {
    color: #fff;
    background: transparent;
}

.cgms-shell-utility .cgms-shell-button:not(.cgms-btn) {
    box-sizing: border-box;
    min-height: 0;
    padding: 5px 30px;
    border: 0;
    border-radius: 25px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    transform: none;
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, opacity 0.35s ease;
}

.cgms-shell-utility .cgms-shell-button:not(.cgms-btn):hover,
.cgms-shell-utility .cgms-shell-button:not(.cgms-btn):focus {
    color: #fff;
    opacity: 1;
    transform: none;
}

.cgms-shell-utility .cgms-shell-button--apply:not(.cgms-btn) {
    background: var(--cgms-shell-primary);
}

.cgms-shell-utility .cgms-shell-button--schedule:not(.cgms-btn) {
    background: var(--cgms-shell-schedule, var(--cgms-shell-secondary));
}

.cgms-shell-utility .cgms-shell-button--schedule:not(.cgms-btn):hover,
.cgms-shell-utility .cgms-shell-button--schedule:not(.cgms-btn):focus {
    background: var(--cgms-shell-primary);
    color: #fff;
}

.cgms-shell-utility__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.cgms-shell-phone {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}

.cgms-shell-phone__icon {
    display: block;
    width: 15px;
    height: 15px;
    fill: currentColor;
    flex: 0 0 auto;
}

.cgms-shell-phone__number {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-decoration: none;
    transition: color 0.35s ease;
}

.cgms-shell-phone__number:hover,
.cgms-shell-phone__number:focus {
    color: var(--cgms-shell-accent);
    text-decoration: underline;
}

.cgms-shell-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    min-height: 0;
    padding-top: 15px;
    padding-right: max(20px, calc((100vw - 1200px) / 2));
    padding-bottom: 10px;
    padding-left: max(20px, calc((100vw - 1200px) / 2));
    color: var(--cgms-shell-nav-text, #fff);
    background: var(--cgms-shell-header-bg, #000);
}

.cgms-shell-main__cluster {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 0;
}

.cgms-shell-main__logo {
    display: flex;
    align-items: center;
    align-self: center;
    flex: 0 0 230px;
    width: 230px;
    max-width: 230px;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}

.cgms-shell-main__logo img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 230px;
    max-height: 52px;
    object-fit: contain;
    object-position: left center;
}

.cgms-shell-main__nav {
    flex: 1 1 auto;
}

.cgms-shell-menu,
.cgms-shell-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cgms-shell-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(16px, 2.5vw, 40px);
}

.cgms-shell-menu > li {
    position: relative;
}

.cgms-shell-menu .menu-item-type-gs_sim {
    display: none;
}

.cgms-shell-menu a:not(.cgms-btn):not(.cgms-shell-button) {
    display: block;
    color: var(--cgms-shell-nav-text, #fff);
    transition: color 0.35s ease, background-color 0.35s ease;
    font-family: "futura-pt", sans-serif;
    font-size: var(--cgms-shell-menu-size, 13px);
    font-weight: 500;
    letter-spacing: 1.2px;
    line-height: 1.25;
    text-decoration: none;
    text-transform: uppercase;
}

.cgms-shell-menu a:not(.cgms-btn):not(.cgms-shell-button):hover,
.cgms-shell-menu a:not(.cgms-btn):not(.cgms-shell-button):focus {
    color: var(--cgms-shell-nav-hover, var(--cgms-shell-accent));
    text-decoration: underline;
}

.cgms-shell-menu > li > a {
    position: relative;
    display: inline-block;
    padding: 6px 0;
}

.cgms-shell-menu > li.menu-item-has-children > a {
    padding-right: 16px;
}

.cgms-shell-menu > li.menu-item-has-children > a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    border-right: 4px solid transparent;
    border-bottom: 0;
    border-left: 4px solid transparent;
    border-top: 4px solid var(--cgms-shell-nav-text, #fff);
    transform: translateY(-1px);
}

.cgms-shell-menu > li.current-menu-item > a::after,
.cgms-shell-menu > li.current-menu-parent > a::after {
    content: "";
    position: absolute;
    right: 1.2px;
    bottom: -10px;
    left: 0;
    height: 3px;
    background: var(--cgms-shell-nav-active, var(--cgms-shell-secondary));
}

.cgms-shell-menu > li.menu-item-has-children.current-menu-item > a::after,
.cgms-shell-menu > li.menu-item-has-children.current-menu-parent > a::after {
    right: calc(16px + 1.2px);
}

.cgms-shell-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: -18px;
    z-index: 5;
    display: none;
    width: max-content;
    min-width: 210px;
    padding: 8px 0;
    background: #111;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.cgms-shell-menu li:hover > .sub-menu,
.cgms-shell-menu li:focus-within > .sub-menu {
    display: block;
}

.cgms-shell-menu .sub-menu a {
    padding: 10px 18px;
}

.cgms-shell-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
}

.cgms-shell-mobile {
    display: none;
}

.cgms-shell-footer {
    color: var(--cgms-shell-footer-text, #fff);
    background: var(--cgms-shell-footer-bg, var(--cgms-shell-primary));
    font-family: "Montserrat", Arial, sans-serif;
}

.cgms-shell-footer__accent {
    height: 10px;
    background: var(--cgms-shell-footer-streak, var(--cgms-shell-accent));
}

.cgms-shell-footer__main {
    padding: 40px 20px 30px;
}

.cgms-shell-footer__layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: min(100%, 1200px);
    margin: 0 auto;
}

.cgms-shell-footer__brand {
    width: 100%;
    padding-bottom: 40px;
    text-align: center;
}

.cgms-shell-footer__brand-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cgms-shell-footer__brand-inner p {
    margin: 0;
    padding: 0 0 15px;
    color: var(--cgms-shell-footer-text, #fff);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.cgms-shell-footer__brand img {
    display: block;
    width: auto;
    max-width: 120px;
    height: auto;
}

.cgms-shell-footer__brand a:not(.cgms-btn):not(.cgms-shell-button) {
    color: var(--cgms-shell-footer-link, #fff);
    text-decoration: none;
}

.cgms-shell-footer__phone,
.ppoFooter-phone {
    padding-bottom: 0;
}

.cgms-shell-footer__social {
    margin-top: 18px;
}

.cgms-shell-footer__social .dynamicSocial-footer,
.cgms-shell-footer__social .dynamicSocial-container-footer {
    width: auto;
    max-width: none;
    margin-right: auto;
    margin-left: auto;
}

.cgms-shell-footer__social .dynamicSocial-flex-footer {
    justify-content: center;
    width: auto;
}

.cgms-shell-footer__social .dynamicSocial-flex-footer > div {
    top: 0;
}

.cgms-shell-footer__social a:hover svg path,
.cgms-shell-footer__social a:focus svg path {
    fill: var(--cgms-shell-accent);
    transition: fill 0.4s;
}

.cgms-shell-footer__phone a:not(.cgms-btn):not(.cgms-shell-button),
.ppoFooter-phone a:not(.cgms-btn):not(.cgms-shell-button) {
    color: var(--cgms-shell-footer-link, #fff) !important;
    font-size: 28px !important;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
}

.cgms-shell-footer__brand p a:not(.cgms-btn):not(.cgms-shell-button):hover,
.cgms-shell-footer__brand p a:not(.cgms-btn):not(.cgms-shell-button):focus,
.cgms-shell-footer__phone a:not(.cgms-btn):not(.cgms-shell-button):hover,
.cgms-shell-footer__phone a:not(.cgms-btn):not(.cgms-shell-button):focus,
.ppoFooter-phone a:not(.cgms-btn):not(.cgms-shell-button):hover,
.ppoFooter-phone a:not(.cgms-btn):not(.cgms-shell-button):focus {
    color: var(--cgms-shell-footer-link-hover, var(--cgms-shell-accent)) !important;
    text-decoration: underline;
}

.cgms-shell-footer__hours {
    color: var(--cgms-shell-footer-text, #fff);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
}

.cgms-shell-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.cgms-shell-footer__column {
    width: 43%;
    padding-bottom: 30px;
}

.cgms-shell-footer__column h2 {
    margin: 0;
    padding: 10px 0;
    color: var(--cgms-shell-footer-heading, var(--cgms-shell-accent)) !important;
    font-family: inherit !important;
    font-size: var(--cgms-shell-footer-heading-size, 18px) !important;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 18px;
    text-transform: uppercase;
}

.cgms-shell-footer__column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cgms-shell-footer__column li {
    margin: 0;
    padding: 0;
}

.cgms-shell-footer .cgms-shell-footer__brand p {
    color: var(--cgms-shell-footer-text, #fff);
}

.cgms-shell-footer .cgms-shell-footer__column a:not(.cgms-btn):not(.cgms-shell-button) {
    color: var(--cgms-shell-footer-link, #fff);
}

.cgms-shell-footer__column a {
    font-size: var(--cgms-shell-footer-link-size, 16px);
    font-weight: 300;
    line-height: 26px;
    text-decoration: none;
    transition: color 0.35s ease, background-color 0.35s ease;
}

.cgms-shell-footer__column a:not(.cgms-btn):not(.cgms-shell-button):hover,
.cgms-shell-footer__column a:not(.cgms-btn):not(.cgms-shell-button):focus {
    color: var(--cgms-shell-footer-link-hover, var(--cgms-shell-accent));
    text-decoration: underline;
}

.cgms-shell-footer__legal {
    padding: 30px 20px;
    color: #fff;
    background: #1c1c1c;
}

.cgms-shell-footer__legal-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 1370px);
    margin: 0 auto;
}

.cgms-shell-footer__corp {
    margin-bottom: 30px;
}

.cgms-shell-footer__corp img {
    display: block;
    width: auto;
    max-width: 240px;
    height: auto;
    margin: 0 auto;
}

.cgms-shell-footer__legal nav {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
}

.cgms-shell-footer__legal ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cgms-shell-footer__legal li {
    position: relative;
    padding: 0 10px;
}

.cgms-shell-footer__legal a {
    color: #fff;
    font-size: 11px;
    font-weight: 200;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
}

.cgms-shell-footer__legal p {
    margin: 0;
    padding: 0;
    color: #9b9b9b;
    font-size: 13px;
    text-align: center;
}

.cgms-shell-footer__legal p a {
    color: #fff;
    font-size: inherit;
    font-weight: 400;
    letter-spacing: 0;
    text-decoration: underline;
    text-transform: none;
}

.cgms-shell-footer__legal a:hover,
.cgms-shell-footer__legal a:focus,
.cgms-shell-footer__legal p a:hover,
.cgms-shell-footer__legal p a:focus {
    color: #009a66;
}

@media (min-width: 981px) {
    .cgms-shell-footer__brand {
        width: 25%;
        padding-bottom: 0;
        transform: translateY(-25px);
    }

    .cgms-shell-footer__links {
        width: 65%;
    }

    .cgms-shell-footer__column {
        width: 33%;
        padding-bottom: 0;
    }

    .cgms-shell-footer__column--hug {
        width: 20%;
    }

    .cgms-shell-footer__legal {
        padding: 5px 20px;
    }

    .cgms-shell-footer__legal-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cgms-shell-footer__corp {
        width: 15%;
        margin-bottom: 0;
    }

    .cgms-shell-footer__corp img {
        max-width: 200px;
        margin: 0;
    }

    .cgms-shell-footer__legal nav {
        width: 50%;
        margin-bottom: 0;
    }

    .cgms-shell-footer__legal ul {
        flex-wrap: nowrap;
        gap: 0;
    }

    .cgms-shell-footer__legal li {
        padding: 0 20px;
    }

    .cgms-shell-footer__legal li:not(:last-child)::after {
        content: "|";
        position: absolute;
        right: 0;
        color: #fff;
    }

    .cgms-shell-footer__legal p {
        font-size: 12px;
        text-align: right;
    }
}

.cgms-shell-preview::before {
    content: "CGMS SITE SHELL PREVIEW";
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 100000;
    padding: 7px 10px;
    color: #fff;
    background: #b32d2e;
    border-radius: 4px;
    font: 600 11px/1.2 sans-serif;
}

@media (max-width: 980px) {
    .cgms-shell-desktop {
        display: none;
    }

    .cgms-shell-mobile {
        display: block;
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
    }

    /* Theme Builder row padding that used to sit around the mobile bar. */
    .cgms-shell-mobile .connor-mobile-nav {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .cgms-shell-promo__inner {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 5px 12px;
        width: 100%;
        padding: 10px 48px 10px 16px;
    }

    .cgms-shell-promo__eyebrow {
        width: 100%;
    }

    .cgms-shell-promo__content {
        min-width: 0;
        font-size: 12px;
    }

    .cgms-shell-promo__cta {
        flex: 0 0 auto;
    }

}

.connor-mobile-nav__menu > li:not(.connor-mobile-nav__apply):not(.connor-mobile-nav__schedule-tour) > a:hover,
.connor-mobile-nav__menu > li:not(.connor-mobile-nav__apply):not(.connor-mobile-nav__schedule-tour) > a:focus,
.connor-mobile-nav__menu .sub-menu a:hover,
.connor-mobile-nav__menu .sub-menu a:focus {
    color: var(--cgms-shell-mobile-hover, var(--connor-nav-link));
}

@media (max-width: 600px) {
    .admin-bar .cgms-shell-header {
        top: 46px;
    }
}
