﻿@charset "utf-8";

/* General Utilities */
.text-align-center {
    text-align: center;
}

header .navbar {
    padding: 15px 0;
}

/* Banner & 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: 30px 0;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

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

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

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

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

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

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

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

.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 ::placeholder {
    color: #1eb4cc;
    opacity: 1;
}

.jd-power :-ms-input-placeholder {
    color: #1eb4cc;
}

.jd-power form + p {
    line-height: 100%;
}

/* Banner Form */
.findAnAgentJDBanner input,
.findAnAgentJDBanner button {
    width: 200px;
}

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

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

#findBtnBanner {
    position: relative;
}

/* Responsive Styles */
@media (min-width: 1200px) {
    #wideBannerContainer.jd-power {
        height: 420px;
    }
}

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

    #wideBannerContainer.jd-power {
        padding-bottom: 20px;
    }
}

@media (min-width: 992px) {
    #wideBannerContainer.jd-power {
        text-align: left;
    }

    .wideBannerContainer img {
        margin-top: 0px;
    }
}


@media (max-width: 991.98px) {
    #wideBannerContainer.jd-power {
        height: auto;
    }
}

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

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

@media (min-width: 768px) {
    #wideBannerContainer.jd-power h1 {
        font-size: 50px;
        padding-left: 15px;
        margin-bottom: 5px;
    }

    .jd-power form {
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

@media (max-width: 767.98px) {
    .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: -40px 0px -120px 10px;
        display: block;
        max-width: 100%;
    }

    .jd-power-banner-content {
        order: 1;
        width: 100%;
        text-align: center;
    }

    .jd-power-title {
        margin-bottom: 2rem;
        line-height: 1.2;
        text-align: center;
    }

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

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

    #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: 2rem !important;
    }
}

@media (min-width: 576px) {
    #wideBannerContainer.jd-power h1 {
        font-size: 36px;
    }
}

@media (max-width: 440px) {
    .jd-power-title {
        font-size: 2rem !important;
    }

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

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

    h1 {
        margin-top: 0;
    }
}

@media (min-width: 400px) and (max-width: 440px) {
    .jd-power-banner-image img {
        margin: -30px 0px -90px 0px !important;
    }
}

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

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