@font-face {
    font-family: "Heebo";
    src: url("../../css/fonts/Heebo-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Heebo";
    src: url("../../css/fonts/Heebo-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Heebo";
    src: url("../../css/fonts/Heebo-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: "Heebo", sans-serif !important;
    font-weight: 300 !important;
}

.results-container,
.results-container * {
    font-family: "Heebo", sans-serif !important;
    font-weight: 300 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Heebo", sans-serif !important;
    font-weight: 700 !important;
}

.flexItem .text {
    font-size: 13px;
    white-space: normal;
    padding: 0 8px;
}
/* template.css offsets this with left: 49%, which pushes it right of center */
.view-more-button {
    left: auto;
    margin: 0 auto;
}

#intro1Label {
    font-size: 29px;
}

#intro2Label {
    font-size: 17px;
}

#footerLabel {
    font-size: 15px;
}

#zipLabel {
    font-size: 17px;
}

.btn-ResultsColor {
    font-size: 15px;
}

#lblSearchResultsHeader {
    font-size: 17px;
}

.companyName {
    font-size: 17px;
}

.smallDesc {
    font-size: 15px;
}

.largeDesc {
    font-size: 15px;
}

.distance {
    font-size: 15px;
}

.miles {
    font-size: 15px;
}

.details-link {
    font-size: 15px;
}

.address {
    font-size: 15px;
}

.phoneNumber {
    font-size: 15px;
}

.website {
    font-size: 15px;
}

.feedback-popup-title {
    font-size: 24px;
}

.feedback-popup-subtitle {
    font-size: 16px;
}


.intro1Row {
    background-image: url('../../media/welcome_image.png');
}
.introBtnContainer{
    bottom:10% !important;
}
.introContainer {
    position: unset;
}
.introLabelContainer {
    position: absolute;
    left: 5%;
    top: 10%;
}
.introBtnContainer {
    position: absolute;
    left: 5%;
    bottom: 20%;
}


.button-primary-outline {
    background: #005587;
    border-color: #005587;
}

.zipSearchRow {
    background-color: #005587;
}

.sticky-container {
    background: #005587;
}

.sticky-icon {
    background: #005587;
}

.helpCol {
    background-color: #f5f6f7;
}

.categoriesRow {
    background-color: #f5f6f7;
}

.searchResultsRow {
    background: #f5f6f7;
}

#btnActivateCategories {
    background: #ed1c24;
}

.resultsCatimg {
    color: #0079c1;
}
.catimg {
    color: #0079c1;
}
.btn-ResultsColor {
    background-color: #005587 !important;
    border-color: #005587 !important;
}

#selectDistance:focus {
    color: white;
    background-image: url(/content/media/arrow-down.svg);
}

.button-primary {
    background: #005587;
}

    .button-primary:hover {
        background: #005587;
        border: none;
    }
.visitButton,
.visitButton:hover,
button[onclick^="sendFeedback"],
button[onclick^="sendFeedback"]:hover,
button[onclick^="shareResultsEmail"],
button[onclick^="shareResultsEmail"]:hover,
button[onclick^="newShareYourExperience"],
button[onclick^="newShareYourExperience"]:hover {
    background: #0079c1;
    border-color: #0079c1;
}
@media (max-width: 576px) {
    #intro1Label {
        font-size: 19px;
    }
    .intro1Row {
        background-image: url('../../media/welcomeimagemobile.png');
        height: 35vh;
    }


    .introLabelContainer {
        position: absolute;
        left: 5%;
        top: 4%;
    }

    .introBtnContainer {
        bottom: 10%;
    }
       
}

#feedbackContainer {
    position: relative;
    overflow: visible;
}

.feedback-popup {
    position: absolute;
    bottom: 75px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    opacity: 1;
    transition: all 0.25s ease;
}

    .feedback-popup.hidden {
        opacity: 0;
        pointer-events: none;
        transform: translateX(-50%) translateY(10px);
    }

.feedback-popup-content {
    position: relative;
    width: 300px;
    background: white;
    border-radius: 20px;
    padding: 18px 22px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.22), 0 3px 10px rgba(0,0,0,0.12);
    text-align: center;
}

.feedback-popup-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.feedback-popup-subtitle {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* resource titles in Heebo Regular (results text is otherwise forced to Light) */
.results-container .companyName {
    font-weight: 400 !important;
}

/* pop-up messages in Heebo Bold */
.results-container .feedback-popup-title,
.results-container .feedback-popup-subtitle,
.modal-header .bold,
.modal-header .text-bold,
.modal .sub-text {
    font-weight: 700 !important;
}

.feedback-popup-arrow {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid white;
}

.feedback-popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

    .feedback-popup-close:hover {
        color: #111;
        transform: scale(1.1);
    }

.feedback-wrapper {
    position: relative;
    overflow: visible;
}

@media (max-width: 576px) {
    .keybank {
        background-image: url('../media/welcomeimagemobile.png') !important;
    }
    .feedback-popup {
        left: 100%;
        transform: translateX(-40%);
    }

    .feedback-popup-content {
        width: 200px;
    }

    .feedback-popup-arrow {
        left: 20%;
    }
}
.flexContainer {
    grid-template-columns: repeat(7, 1fr);
}


@media (max-width: 1350px) {
    .flexContainer {
        grid-template-columns: repeat(5, 1fr);
    }
}

/**Extra large devices (large desktops, 1200px and up)*/

@media (max-width: 1100px) {
    .flexContainer {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .flexContainer {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 625px) {
    .flexContainer {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 378px) {
    .flexContainer {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* header card: white rounded card on the left of the welcome image */
.intro1Row {
    align-items: center;
    padding: 24px 2%;
}

.introCard {
    position: relative;
    z-index: 1;
    /* wider and tighter than English: the Spanish copy is longer and wrapped into a tall card */
    max-width: 660px;
    padding: 34px 44px 38px;
    background: #ffffff;
    border-radius: 12px;
    color: #1a1a1a;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

    .introCard #intro1Header {
        font-size: 40px;
        line-height: 1.2;
        margin: 0 0 14px;
        color: #1a1a1a;
    }

    .introCard #intro1Label {
        display: block;
        font-size: 20px;
        line-height: 1.4;
        max-width: none;
        margin: 0 0 24px;
        color: #1a1a1a;
    }

    .introCard #btnHeader {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 58px;
        min-height: 0;
        margin: 0;
        padding: 0 34px;
        border: none;
        border-radius: 29px;
        background: #0079c1;
        color: #ffffff;
        font-size: 18px;
        font-weight: 700 !important;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        white-space: nowrap;
        cursor: pointer;
    }

        .introCard #btnHeader:hover,
        .introCard #btnHeader:focus-visible {
            background: #005587;
        }

@media (max-width: 768px) {
    .introCard {
        max-width: 440px;
        padding: 30px 32px 32px;
    }

        .introCard #intro1Header {
            font-size: 30px;
        }

        .introCard #intro1Label {
            font-size: 17px;
            margin-bottom: 22px;
        }

        .introCard #btnHeader {
            height: 50px;
            font-size: 16px;
        }
}

/* phones: split layout, photo on top and the card text below it */
@media (max-width: 576px) {
    .intro1Row {
        height: auto;
        min-height: 0;
        max-height: none;
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        background-image: none !important;
        border-radius: 0;
        overflow: hidden;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }

        /* anchored to the top so any cropping comes off the bottom */
        .intro1Row::before {
            content: "";
            display: block;
            height: 30vh;
            min-height: 180px;
            background: url('../../media/welcomeimagemobile.png') center top / cover no-repeat;
        }

    .introCard {
        max-width: none;
        width: 100%;
        margin: 0;
        padding: 22px 24px 24px;
        border-radius: 0;
        box-shadow: none;
    }

        .introCard #intro1Header {
            font-size: 26px;
            margin-bottom: 12px;
        }

        .introCard #intro1Label {
            font-size: 15px;
            margin-bottom: 18px;
        }

        .introCard #btnHeader {
            height: 44px;
            padding: 0 26px;
            font-size: 15px;
        }
}
