﻿/* HERO */
.hero-content.hero-content--tint:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: -1px 1px 66px 12px rgba(0, 0, 0, 0.43) inset;
            box-shadow: -1px 1px 66px 12px rgba(0, 0, 0, 0.43) inset;
}

.hero-content .hero-title {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 0px 2px black;
}

/* Styling for Intro Paragraph */
.bullet-points {
    font-size: 1.125rem;
}

@media (min-width: 768px) {
    .bullet-points {
        font-size: 1.25rem;
    }
}

.read-toggle:hover {
    color: #ffffff !important;
}

.read-toggle > *, .read-toggle:hover > * {
    text-decoration: none;
}

/* Background color of darker sections */
.bg-lighter {
    background-color: #fcfcfc;
}

/* Style for ECO Standby tab */
.eco-group:hover .eco-group__image:not(:hover) {
    -webkit-filter: grayscale(100%);
            filter: grayscale(100%);
    opacity: 0.75;
}

.eco-group__image.eco-standby {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
}

.eco-group__image {
    position: relative;
    cursor: pointer;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.eco-group__image:hover {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
}

.eco-group__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    -webkit-transition: .3s;
    transition: .3s;
}

.eco-group__image img {
    display: block;
    width: 100%;
    max-width: 100%;
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
}

/* Basic styling for the compare-text-bubble */
.compare-text-bubble {
    position: relative;
    /* Needed for absolute positioning of arrows */
    background-color: #333;
    border: 2px solid #333;
    /* dark border */
    border-radius: 12px;
    /* Rounded corners */
    padding: 20px;
    margin: 20px;
    -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #fff;
    width: 100%;
}

/* Left arrow styling */
.compare-text-bubble::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    /* Position arrow outside the rectangle */
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    border: 10px solid transparent;
    border-right-color: #333;
    /* Match the border color of the rectangle */
}

/* Right arrow styling */
.compare-text-bubble::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    /* Position arrow outside the rectangle */
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    border: 10px solid transparent;
    border-left-color: #333;
    /* Match the border color of the rectangle */
}

/* Styling of Charts under Standby Efficiency Tab */
.standy-chart figure {
    -webkit-transform: none;
            transform: none;
}

.standy-chart figure:hover {
    z-index: 5;
    -webkit-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.05), 0px 2px 10px 0px rgba(0, 0, 0, 0.05);
            box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.05), 0px 2px 10px 0px rgba(0, 0, 0, 0.05);
    -webkit-transition: -webkit-transform  ease-in-out;
    transition: -webkit-transform  ease-in-out;
    transition: transform  ease-in-out;
    transition: transform  ease-in-out, -webkit-transform  ease-in-out;
}

/* Styling for ECO Standby Table */
.caption-title {
    caption-side: top !important;
    text-align: center;
    color: white;
    font-weight: 700;
    background-color: #212529;
}

.caption-footer {
    text-align: center;
    -webkit-box-shadow: none;
            box-shadow: none;
    border: none;
}

/* ECO Standby Mobile Table Only */
table.eco-table-mobile > .caption-title {
    padding: 1rem;
}

table.eco-table-mobile > tbody > tr > td {
    text-align: left;
    padding: 1rem;
}

table.eco-table-mobile > tbody > tr > td > p:first-child {
    font-weight: 700;
}

table.eco-table-mobile > tbody > tr > td > p:not(:first-child) > span {
    color: #6c757d;
}

@media (min-width: 575.98px) and (max-width: 768px) {
    table.eco-table-mobile > tbody > tr > td > p:last-child > br {
        display: none;
    }
}

/* ECO Standby Desktop Table Only */
table.eco-table > tbody > tr > th:not(:first-child) {
    text-align: center;
}

table.eco-table > tbody > tr > th:first-child {
    padding-left: 1.5rem;
}

table.eco-table > tbody > tr > td {
    text-align: right;
}

table.eco-table > tbody > tr > td:last-child {
    padding-right: 1.5rem;
}

/* Styling for Ecofficient, Product Life and System Longevity, and Keeping our Cool sections  */
.bg-light-gray {
    background-color: #f5f5f7;
}

.banner-border {
    border-color: #0E2046 !important;
}

.banner-shadow {
    position: relative;
}

.banner-shadow:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    -webkit-box-shadow: inset 0px 0px 17px 7px rgba(0, 0, 0, 0.21);
    box-shadow: inset 0px 0px 17px 7px rgba(0, 0, 0, 0.21);
}

.eco-bg {
    background: radial-gradient(#f2fff3, #d1e3cd );
}

.everlast-bg {
    background: radial-gradient(#616576, #291e19);
}

.gan-bg {
    background: radial-gradient(#535b80, #3F3F3F);
}

.eco-bg > img {
    -webkit-filter: drop-shadow(4px 4px 4px #5d5d5d);
    filter: drop-shadow(4px 4px 4px #5d5d5d);
}

.everlast-bg > img, .gan-bg > img {
    -webkit-filter: drop-shadow(5px 5px 5px #222);
    filter: drop-shadow(5px 5px 5px #222);
}

.eco-tab-container {
    background-color: #e5eee5;
}
.eco-level-logos {
    max-width: 43%;
}

@media (min-width: 768px) and (max-width: 1349.98px) {
    .eco-level-logos {
        max-width: 60%;
    }
}

@media (max-width: 757.98px) {
    .eco-bg > img {
        -webkit-filter: drop-shadow(1.5px 1.5px 1.5px #ababab);
        filter: drop-shadow(1.5px 1.5px 1.5px #ababab);
    }
}

@media (min-width: 768px) and (max-width: 1599.98px) {
    .eco-bg > img {
        -webkit-filter: drop-shadow(2px 2px 2px #717171);
        filter: drop-shadow(2px 2px 2px #717171);
    }
}

    /* Styling for Ecofficient Background Color Gradient */
    .ecofficient-bg {
        background: -webkit-gradient(linear, left top, left bottom, from(#75C043), color-stop(35%, #005500));
        background: linear-gradient(#75C043, #005500 35%);
    }
    
    @media (max-width: 575.98px) {
        .ecofficient-bg {
            background: -webkit-gradient(linear, left top, left bottom, from(#75C043), color-stop(7%, #005500));
            background: linear-gradient(#75C043, #005500 7%);
        }
    }
    
    @media (min-width: 576px) and (max-width: 767.98px) {
        .ecofficient-bg {
            background: -webkit-gradient(linear, left top, left bottom, from(#75C043), color-stop(12%, #005500));
            background: linear-gradient(#75C043, #005500 12%);
        }
    }
    
    @media (min-width: 768px) and (max-width: 1199.98px) {
        .ecofficient-bg {
            background: -webkit-gradient(linear, left top, left bottom, from(#75C043), color-stop(15%, #005500));
            background: linear-gradient(#75C043, #005500 15%);
        }
        
    }
    
    @media (min-width: 1200px) and (max-width: 1599.98px) {
        .ecofficient-bg {
            background: -webkit-gradient(linear, left top, left bottom, from(#75C043), color-stop(25%, #005500));
            background: linear-gradient(#75C043, #005500 25%);
        }
    }
    
    /* Styling for Ecofficient Table */
    
    .ecoffient-table {
        table-layout: fixed;
        width: 100%;
    }
    
    .ecofficient-table.table-hover {
        --bs-table-hover-bg: rgba(0,0,0,0.025) !important;
    }
    
    .ecofficient-table .ecofficient-feature-col {
        min-width: 275px;
        max-width: 275px;
        padding-left: 1.5rem;
        padding-top: 0.75rem;
        padding-bottom: 1rem;
    }
    
    @media (min-width: 1200px)  and (max-width: 1349.98px) {
        .ecofficient-table .ecofficient-feature-col {
            min-width: 235px;
            max-width: 235px;
        }
    }
    
    @media (min-width: 1600px) {
        .ecofficient-table .ecofficient-feature-col {
            min-width: 400px;
            max-width: 400px;
        }
    }
    
    .eco-level-logo {
        min-width: 85px;
        max-width: 100px;
    }
    
    .energy-star-logo {
        min-width: 35px;
        max-width: 35px;
    }
    
    .eco-standby-logo {
        min-width: 75px;
        max-width: 75px;
    }
    
    .ecofficient-table ul {
        padding-left: 1rem;
    }
    
    .eco-logo-modal {
        max-width: 30%;
        margin-bottom: 1.5rem;
    }

    @media (max-width: 575.98px) {
        .eco-logo-modal {
           max-width: 50%;
        }
    }

    @media (min-width: 576px) and (max-width: 991.98px) {
        .eco-logo-modal {
           max-width: 40%;
        }
    }
    
    .btn.eco-logo-link {
        background-color: #e5eee5;
    }
    
    .btn.eco-logo-link:hover {
        background-color: #ffffff;
    }

/* Styling for Smart Spaces Section */
/* RIPPLE */
.ripple-efx {
    position: absolute;
    top: -150px;
    left: 0%;
    right: 0;
    bottom: 0;
    z-index: 1;
    color: rgba(255, 255, 255, 0.75);
}

.workspace-monitor,
.automation-monitor {
    position: relative;
}

.automation-monitor .ripple-efx {
    top: -170px;
    left: 50%;
    right: 0;
    bottom: 0;
}

.sensory-ripple {
    -webkit-transform: scale(15);
            transform: scale(15);
}

.sensory-ripple,
.sensory-ripple div {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

.sensory-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.animate .sensory-ripple div {
    position: absolute;
    border: 2px solid currentColor;
    opacity: 1;
    border-radius: 50%;
    -webkit-animation: css-ripple 2.5s cubic-bezier(0, 0.2, 0.8, 1);
            animation: css-ripple 2.5s cubic-bezier(0, 0.2, 0.8, 1);
    -webkit-animation-iteration-count: 5;
            animation-iteration-count: 5;
}

.animate .sensory-ripple div:nth-child(2) {
    -webkit-animation-delay: -0.75s;
            animation-delay: -0.75s;
}

/* Sensor image */
.sensor-image:after {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    content: "";
    -webkit-transition: -webkit-box-shadow 0.5s ease-in-out;
    transition: -webkit-box-shadow 0.5s ease-in-out;
    transition: box-shadow 0.5s ease-in-out;
    transition: box-shadow 0.5s ease-in-out, -webkit-box-shadow 0.5s ease-in-out;
    /* Transition for box-shadow */
}

.sensor-image.is-done:after {
    box-shadow: 3px 94px 400px 76px rgba(0, 0, 0, 0.86) inset;
    -webkit-box-shadow: 3px 94px 400px 76px rgba(0, 0, 0, 0.86) inset;
    -moz-box-shadow: 3px 94px 400px 76px rgba(0, 0, 0, 0.86) inset;
}

/* Workspace */
.workspace-ripple,
.workspace-ripple div {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

.workspace-ripple {
    display: inline-block;
    position: absolute;
    width: 80px;
    height: 80px;
    color: #fff;
}

.workspace-ripple {
    left: auto;
    right: 56%;
    top: -26%;
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .workspace-ripple {
        left: auto;
        right: 59%;
        top: -23%;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .workspace-ripple {
        left: auto;
        right: 62%;
        top: -15%;
    }
}

@media (min-width: 1200px) and (max-width: 1599.98px) {
    .workspace-ripple {
        left: auto;
        right: 62%;
        top: -8%;
    }
}

@media (min-width: 1600px) {
    .workspace-ripple {
        left: auto;
        right: 63%;
        top: -5%;
    }
}

.workspace-ripple div {
    position: absolute;
    border: 4px solid currentColor;
    opacity: 1;
    border-radius: 50%;
    -webkit-animation: css-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
            animation: css-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.workspace-ripple div:nth-child(2) {
    -webkit-animation-delay: -0.5s;
            animation-delay: -0.5s;
}

@-webkit-keyframes css-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 0;
    }
    4.9% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 0;
    }
    5% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 1;
    }
    100% {
        top: 0;
        left: 0;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

@keyframes css-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 0;
    }
    4.9% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 0;
    }
    5% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 1;
    }
    100% {
        top: 0;
        left: 0;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

/* Styling for Automation and Occupancy and Workspace Controllers cards  */
@media (min-width: 576px) and (max-width: 767.98px) {
    .card.stackable.horizontal.smart-spaces-card {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    .cards.horizontal.stackable.smart-spaces-card > .card > [class*="card-image"],
    .card.horizontal.stackable > [class*="card-image"] {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
}

/* Styling for Sustainability Programs section  */
/* Green Manufacturing cards*/
.green-cards .card:hover,
.green-card .card:active,
.green-card .card:focus {
    background-color: #F8F9FA !important;
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    -webkit-box-shadow: var(--bs-box-shadow-sm) !important;
            box-shadow: var(--bs-box-shadow-sm) !important;
    cursor: pointer !important;
}

/* Power Supply Trade-up Program*/
.trade-up-cards,
.recycle-cards {
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
}

.card.power-supply:before {
    content: "\f30b";
    font-family: 'Font Awesome 6 Pro';
    font-style: normal;
    font-weight: 900;
    position: absolute;
    top: 100%;
    left: 50%;
    font-size: 2rem;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    -webkit-transform: rotate(90deg);
            transform: rotate(90deg);
}

@media (min-width: 768px) {
    .card.power-supply:before {
        position: absolute;
        left: 90%;
        top: 50%;
        -webkit-transform: none;
                transform: none;
        -webkit-animation: moveRightBack 2s 10;
                animation: moveRightBack 2s 10;
    }
}

/* move the arrow */
@-webkit-keyframes moveRightBack {
    0% {
        -webkit-transform: translateX(0);
                transform: translateX(0);
    }
    50% {
        -webkit-transform: translateX(20px);
                transform: translateX(20px);
        /* Move 100px to the right */
    }
    100% {
        -webkit-transform: translateX(0);
                transform: translateX(0);
        /* Move back to original position */
    }
}
@keyframes moveRightBack {
    0% {
        -webkit-transform: translateX(0);
                transform: translateX(0);
    }
    50% {
        -webkit-transform: translateX(20px);
                transform: translateX(20px);
        /* Move 100px to the right */
    }
    100% {
        -webkit-transform: translateX(0);
                transform: translateX(0);
        /* Move back to original position */
    }
}

/* Styling for Resource cards  */
.remove-arrow:after {
    content: none !important;
}

.resource-card-bg {
    background: radial-gradient(#ffffff, #afc7a7) !important;
}

