﻿@charset "utf-8";

/* JD Power Section */
.wideBannerContainer.jd-power-banner {
    background: linear-gradient(0deg, rgba(224,130,6,1) 0%, rgba(224,82,6,1) 100%);
    color: #fff;
    min-height: 400px;
    padding: 10px 0;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.jd-power-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.jd-power-banner-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.jd-power-title,
.jd-power-title-subtext,
.jd-power-subtext {
    color: #fff;
}

.jd-power-title {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.jd-power-title-subtext {
    font-size: 1.625rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.jd-power-subtext {
    font-size: 1.1rem;
    margin-bottom: 0.875rem;
    margin-top: 2rem;
}

.jd-power-banner-image img {
    margin-bottom: 20px;
    margin-left: -130px;
    max-width: 800px;
    height: auto;
    min-width: 320px;
}

.jd-power-zip {
    background: #fff;
    color: #333;
    border: none;
    border-radius: 2px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    width: 160px;
    margin-right: 0;
    box-shadow: none;
}

.jd-power-btn:hover,
.jd-power-btn:focus {
    background-color: #1BA2B7 !important;
    color: #fff;
}

/* Find An Agent Form */
.findAnAgentJDBanner input,
.findAnAgentJDBanner button {
    width: 200px;
}

.findAnAgent.findAgentForm {
    display: flex;
    flex-direction: row;
}

/* Banner Form Error */
#findInputBanner.error {
    background-color: #FFF3F3 !important;
}

#findInputBannerError {
    color: #fff !important;
    font-size: 16px;
    margin-top: -15px !important;
}

#findBtnBanner {
    position: relative;
}

/* Utility Classes */
.text-align-center {
    text-align: center;
}

.mt-2rem {
    margin-top: 2rem !important;
}

.xs-devices-show {
    display: none;
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .findAnAgent.findAgentForm {
        gap: 16px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .jd-power-banner-image img {
        max-width: 620px;
        margin-bottom: 60px;
        margin-left: -105px;
    }

    .jd-power-title-subtext {
        font-size: 1.5rem;
    }

    .wideBannerContainer.jd-power-banner {
        padding: 20px 0;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .jd-power-title {
        font-size: 2rem;
    }

    .jd-power-title-subtext {
        font-size: 1.375rem;
    }

    .jd-power-banner-image img {
        max-width: 385px;
        margin-bottom: 130px;
        margin-left: -110px;
    }
}

@media (max-width: 767.98px) {
    .text-align-center-mobile {
        text-align: center;
    }

    .mb-40-mobile {
        margin-bottom: 40px;
    }

    .jd-power-banner {
        background: linear-gradient(0deg, rgba(224,130,6,1) 0%, rgba(224,82,6,1) 100%) !important;
        padding: 2.5rem 1rem 2rem 1rem;
        min-height: 100vh;
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }

    .jd-power-banner-inner {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .jd-power-banner-image img {
        margin: -35px 0px -110px 10px;
        display: block;
        max-width: 100%;
    }

    .jd-power-banner-content {
        order: 1;
        width: 100%;
        margin-top: 10px;
    }

    .jd-power-title {
        margin-bottom: 1.875rem;
    }

        .jd-power-title strong {
            font-weight: 900;
        }

    .jd-power-subtext {
        font-size: 1.25rem;
        margin-bottom: 2.5rem;
    }

    #headerbtnrow {
        flex-direction: column !important;
        margin-top: 0.5rem !important;
        gap: 1rem;
        align-items: center;
    }

    #findInputBanner {
        width: 100%;
        max-width: 300px;
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
        border-radius: 4px;
        border: none;
        margin-bottom: 0;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    }

    #findBtnBanner {
        width: 100%;
        max-width: 300px;
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
        border-radius: 4px;
        background: #1eb6d8;
        color: #fff;
        border: none;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    }

        #findBtnBanner:active,
        #findBtnBanner:focus {
            background: #159bb3;
        }

    #findInputBannerError {
        margin-top: -5px !important;
        text-align: center !important;
        margin-bottom: 0rem !important;
    }
}

@media (max-width: 576px) {
    .findAgentForm .row {
        margin-left: -15px;
    }
}

@media (max-width: 455px) {
    .removeOnSmallDevices {
        display: none;
    }
}

@media (max-width: 440px) {
    .xs-devices-show {
        display: block;
    }

    .hideOnMobile {
        display: none;
    }

    .jd-power-title {
        font-size: 2rem !important;
    }

    .jd-power-subtext {
        font-size: 1.1rem !important;
        margin-bottom: 2.5rem;
    }

    #findInputBanner, #findBtnBanner {
        max-width: 250px !important;
    }

    h1 {
        margin-top: 0;
    }
}

@media (min-width: 400px) and (max-width: 440px) {
    .jd-power-banner-image img {
        margin: -20px 0px -95px -15px;
    }
}

@media (min-width: 360px) and (max-width: 399.98px) {
    .jd-power-banner-image img {
        margin: -20px 0px -90px -10px;
    }
}

@media (max-width: 359.98px) {
    .jd-power-banner-image img {
        margin: -20px 0px -85px 0px;
    }
}