﻿/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

.tab_wrapper.features div.series-feature div.section .banner {
    margin: -30px -30px 30px -30px;
}
/* common features - [MENZ 2020-05-21] */


.hero-image {
    width: 100%;
    height: auto;
    background-size: cover;
    padding: 32px;
}

.hero-image__text-frame {
    color: white;
    padding: 24px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.84) 75.52%, rgba(0, 0, 0, 0) 100%);
}

    .hero-image__text-frame h2 {
        color: white;
    }

    .tab_wrapper.features .section_product_feature,
    .detail_block.features .section_product_feature {
        position: relative;
        margin: 0px;
        padding: 20px 0px 0px 0px;
        background-image: url('/images/section_bg_30.jpg');
        background-position: center top;
        background-repeat: no-repeat;
        overflow: hidden;
        clear: both;
        width: 758px;
    }

    .tab_wrapper.features .section_product_feature:first-child,
    .detail_block.features .section_product_feature:first-child {
        background-image: none;
    }

.tab_wrapper.features .section_main_feature,
.detail_block.features .section_main_feature {
    position: relative;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    clear: both;
}

.tab_wrapper.features .promo_divider,
.detail_block.features .promo_divider {
    margin: 0px 0px -10px 0px;
    padding-bottom: 0px;
    background-image: url('/images/section_bg_30.jpg');
    background-position: center top;
    background-repeat: no-repeat;
    overflow: hidden;
    clear: both;
    width: 758px;
    height: 50px;
}

.tab_wrapper.features .section,
.detail_block.features .section {
    position: relative;
    margin: 0px;
    padding: 3rem;
    background-image: url('/images/section_bg_30.jpg');
    background-position: center top;
    background-repeat: no-repeat;
    overflow: hidden;
    clear: both;
}

    .tab_wrapper.features .section:first-child,
    .detail_block.features .section:first-child,
    .tab_wrapper.features .section.first,
    .detail_block.features .section.first,
    .tab_wrapper.features .section.no-border-top,
    .detail_block.features .section.no-border-top {
        background-image: none;
    }

    .tab_wrapper.features .section h2,
    .detail_block.features .section h2,
    .series-feature .section h2 {
        margin-bottom: 16px;
    }

.tab_wrapper.features .product_feature_expanded h2,
.detail_block.features .product_feature_expanded h2 {
}

.tab_wrapper.features .section h2:first-child,
.detail_block.features .section h2:first-child {
    margin: 0px;
}

.tab_wrapper.features .section h3,
.detail_block.features .section h3 {
    font-weight: 500;
}

p.summarytext,
.tab_wrapper.features .section p.summarytext,
.detail_block.features .section p.summarytext,
.tab_wrapper.features .section ul.summarytext,
.detail_block.features .section ul.summarytext {
    font-size: 1.25rem;
    line-height: 1.5em;
    width: 335px;
}

    p.summarytext.fullwidth,
    .tab_wrapper.features .section p.summarytext.full_width,
    .detail_block.features .section p.summarytext.full_width,
    .tab_wrapper.features .section p.summarytext.fullwidth,
    .detail_block.features .section p.summarytext.fullwidth {
        width: auto !important;
    }

.tab_wrapper.features .section p.halfwidth,
.detail_block.features .section p.halfwidth {
    width: 335px;
}

.tab_wrapper.features .section .feature,
.detail_block.features .section .feature {
    position: relative;
    min-height: 120px;
    margin-top: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    clear: both;
}

    .tab_wrapper.features .section .feature h3:first-child,
    .detail_block.features .section .feature h3:first-child {
        margin-top: 0px;
    }


    .tab_wrapper.features .section .row--fullwidth {
        margin: 0 -30px;
    }

div.series-feature div.section {
    margin: 0px;
    padding: 2rem 0;
}
div.series-feature div.section:first-child {

}

div.series-feature div.section em {
    display: block;
    font-size: 1.2rem;
    font-style: normal;
    line-height: 1.6em;
    margin-top: 1em;
    margin-bottom: 0.8em;
}
div.series-feature div.section .banner {
    margin: 30px 0;
}
.tab_wrapper.features div.series-feature div.section .banner {
    margin: -30px -30px 30px -30px;
}

div.series-feature div.section img.photo-border-r {
    margin: 0px 0px 15px 30px;
}
div.series-feature div.section .banner img {
    width: 100%;
}
div.series-feature div.section.border-top {
    border-top: 1px solid #ddd;
}
div.series-feature div.section.border-bottom {
    border-bottom: 1px solid #ddd;
}
div.series-feature div.section h3 {
    margin-top: 1.8em;
}

.me-icon-list {
    margin: 1rem 0;
    padding: 0;
    list-style: none;
}

.ac-split-dark .me-icon-list li {
    border-color: #1a4a5a;
    color: #d4d4d4;
}

/**************************\
  Feature Icon Grid (.me-feature-grid)
  Designed for 2-column, even-item-count grids.
\**************************/

.me-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.me-feature-grid__item {
    padding: 24px;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

/* Right column — no right border */
.me-feature-grid__item:nth-child(2n) {
    border-right: none;
}

/* Last row — no bottom border */
.me-feature-grid__item:nth-last-child(-n+2) {
    border-bottom: none;
}

.me-feature-grid__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: #f2f2f2;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 32px;
    color: #555;
}

.me-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.me-feature-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    line-height: 1.5;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}

    .me-feature-table th {
        background: #f5f5f5;
        color: #404040;
        padding: 0.65rem 1rem;
        text-align: left;
        font-weight: 600;
        font-size: 0.75rem;
        border-bottom: 2px solid #e5e5e5;
    }

    .me-feature-table td {
        padding: 0.6rem 1rem;
        border-bottom: 1px solid #f5f5f5;
        color: #404040;
        vertical-align: middle;
    }

    .me-feature-table tbody tr:last-child td {
        border-bottom: none;
    }

    .me-feature-table tbody tr:hover td {
        background: #fafafa;
    }

    .me-feature-table td:first-child {
        font-weight: 600;
        color: #171717;
        white-space: nowrap;
    }

.me-specs-model {
    font-family: monospace;
    font-size: 0.75rem;
    color: #525252;
}

.me-feature-list {
    margin: 1.25rem 0 0;
}

.me-feature-item strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #171717;
    margin-bottom: 0.2rem;
}

.me-feature-item p {
    font-size: 0.875rem;
    color: #525252;
    margin: 0;
    line-height: 1.5;
}

.me-feature-item > i {
    font-size: 1rem;
    color: #1cabc4;
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.me-icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.9375rem;
    color: #535353;
}

.me-icon-list li:last-child {
    border-bottom: none;
}

.me-icon-list li::before {
    content: '\2713';
    color: #1cabc4;
    font-size: 1rem;
    font-weight: 900;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    margin-top: 0.1rem;
}

.me-icon-list-cross li::before {
    display: none;
}

.me-icon-list.me-icon-list-cross li::before {
    display: inline;
    content: '\2718';
    color: #d92525;
}

/* Bleeds an element to the edges of a .section (cancels the 3rem padding) */
.section-bleed {
    margin-left: -3rem;
    margin-right: -3rem;
    width: calc(100% + 6rem);
}

@media (max-width: 767.98px) {
    .section-bleed {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
}

.me-feature-eybrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #404040;
    margin-bottom: 0.5rem;
}

.me-img-fill {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.me-img-fill img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.me-img-fill--banner {
    height: auto;
}

.me-img-fill--banner img {
    position: static;
    height: auto;
    inset: auto;
    object-fit: unset;
}

.me-img-badge--abs {
    position: absolute;
    z-index: 2;
}
.me-img-badge {
    background: rgba(255, 255, 255, 0.92);
    color: #262626;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.me-img-pin {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    z-index: 2;
    pointer-events: none;
}

.me-energy-floorplan-band {
    margin-top: 1rem;
}

.me-energy-floorplan {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
}

    .me-energy-floorplan img {
        width: 100%;
        display: block;
    }

    .me-energy-floorplan .me-zone-label {
        background: rgba(255,255,255,0.95);
        color: #262626;
        box-shadow: 0 2px 8px rgba(0,0,0,0.12);
        border-radius: 100px;
    }

    .me-energy-floorplan .me-zone-label .me-off {
        color: #d92525;
    }

.me-zone-label {
    position: absolute;
    background: rgba(255,255,255,0.92);
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #262626;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: all 0.4s ease;
    white-space: nowrap;
}

    .me-zone-label .me-off {
        color: #d92525;
    }

    .me-zone-label.living {
        top: 30%;
        left: -1%;
    }

    .me-zone-label.dining {
        top: 5%;
        left: 46%;
    }

    .me-zone-label.gymroom {
        top: 18%;
        right: 15%;
    }

    .me-zone-label.child {
        top: 60%;
        right: -2%;
    }

    .me-zone-label.office {
        bottom: 5%;
        right: 30%;
    }

    .me-zone-label.master {
        bottom: 27%;
        left: 11%;
    }

    .me-zone-label.guest {
        bottom: 28%;
        left: 5%;
    }

@media (max-width: 767px) {
    .me-zone-label.living {
        top: 30%;
        left: 2%;
    }

    .me-zone-label.child {
        top: 60%;
        right: 2%;
    }
}




.me-room-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    max-width: 760px;
}

.me-room-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

    .me-room-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .me-room-item:hover img {
        transform: scale(1.04);
    }

.me-room-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.92);
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #171717;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

    .me-room-badge .me-temp {
        font-weight: 700;
    }

    .me-room-badge .me-off {
        color: #d92525;
        font-weight: 700;
    }

    .me-room-badge i {
        font-size: 0.7rem;
    }

.me-room-badge.me-room-badge-label {
    font-size: 0.75rem;
    gap: 0.375rem;
}

@media (max-width: 575.98px) {
    .me-room-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/**************************\
  Dark CTA Panel (.me-dark-cta)
\**************************/

.me-dark-cta {
    background-color: #1c1c1c;
    padding: 48px 32px;
    text-align: center;
}

.me-dark-cta__header {
    margin-bottom: 32px;
}

.me-dark-cta__title {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.me-dark-cta__subtitle {
    margin: 0;
    color: #fff;
}

.me-dark-cta__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

@media (max-width: 575.98px) {
    .me-dark-cta__cards {
        grid-template-columns: 1fr;
    }
}

.me-dark-cta__card {
    background-color: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 24px 8px;
}

.me-dark-cta__icon {
    display: block;
    font-size: 24px;
    color: #6b6b6b;
    margin-bottom: 12px;
}

.me-dark-cta__card-title {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 4px;
}

.me-dark-cta__card-text {
    margin: 0;
    color: #888;
}

.me-dark-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.me-dark-cta .me-dark-cta__btn {
    background-color: rgb(241, 241, 241);
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
}

.me-dark-cta__btn:hover {
    background: white;
    transform: translateY(-2px);
}

/* Override .me-ui button when me-dark-cta__btn is used outside .me-dark-cta */
.me-ui button.me-dark-cta__btn {
    background: rgb(241, 241, 241);
    color: #1c1c1c;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: none;
    text-shadow: none;
    filter: none;
    line-height: 1.5;
    white-space: normal;
    margin: 0.2rem 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    border-radius: 0;
}
.me-ui button.me-dark-cta__btn:hover,
.me-ui button.me-dark-cta__btn:focus {
    background: white;
    transform: translateY(-2px);
    color: #1c1c1c;
    border: 1px solid transparent;
}

.me-range-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .me-range-card:hover {
        border-color: #1cabc4;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
        text-decoration: none;
        color: inherit;
    }

.me-range-card-body {
    flex: 1;
    min-width: 0;
}

    .me-range-card-body h3 {
        font-size: 0.95rem;
        font-weight: 700;
        color: #171717;
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.me-range-card-arrow {
    flex-shrink: 0;
    color: #a3a3a3;
    font-size: 0.75rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

    .me-range-card:hover .me-range-card-arrow {
        transform: translateX(3px);
        color: #1cabc4;
    }

span.tick,
span.tickgrey,
span.tick-grey,
span.tick-blue,
span.tick-green {
    display: inline-block;
    margin: 0 10px;
    background-image: url('/images/box_tick.png');
    width: 24px;
    height: 24px;
    text-indent: -9999px;
}
span.tickgrey,
span.tick-grey {
    background-image: url('/images/box_tickgrey.png');
}
span.tick-green {
    background-image: url('/images/box_tickgreen.png');
}
span.tick-blue {
    background-image: url('/images/box_tickblue.png');
}

span.box {
    display: inline-block;
    margin: 0 5px;
    background-image: url('/images/box.png');
    width: 24px;
    height: 24px;
    text-indent: -9999px;
}

span.cross {
    display: inline-block;
    margin: 0 5px;
    background-image: url('/images/box_cross.png');
    width: 24px;
    height: 24px;
    text-indent: -9999px;
}

div.keyfeatureticks {
    margin: 1rem 0;
}
.keyfeatureticks h3 span {
    margin-top: -0.25rem;
    margin-bottom: 0.5rem;
    float: left;
}
.keyfeatureticks h3,
.keyfeatureticks h3 a {
    margin: 0 !important;
    font-size: 1.25rem !important;
    font-weight: normal !important;
    line-height: 1.5em !important;
    padding-top: 0.5rem !important;
    color: #333 !important;
    clear: both;
}

/*--  Mobile ONLY : Modifications --*/
@media (max-width: 450px) {
    .tab_wrapper.features .section .row--fullwidth {
        margin: 0;
    }
}

@media (max-width: 991.98px) {
    .me-feature-table thead {
        display: none;
    }

    .me-feature-table tbody tr {
        display: block;
        margin-bottom: 0.75rem;
        border-radius: 8px;
        border: 1px solid #e5e5e5;
        overflow: hidden;
        background: #ffffff;
    }

    .me-feature-table td {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 1rem;
        border-bottom: 1px solid #f5f5f5;
        padding: 0.5rem 0.75rem;
        white-space: normal;
    }

    .me-feature-table td:last-child {
        border-bottom: none;
    }

    .me-feature-table td::before {
        content: attr(data-label);
        font-size: 0.75rem;
        font-weight: 700;
        color: #737373;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        flex-shrink: 0;
        width: 38%;
    }

    .me-feature-table td:first-child {
        font-weight: 700;
        color: #171717;
        white-space: normal;
    }
}