@import url("https://use.fontawesome.com/releases/v6.4.2/css/all.css");
@import url("https://use.typekit.net/hrx0hyg.css");

@import "normalize.css";
@import "webflow.css";
@import "chc-unified.webflow.css";

html {
    scroll-behavior: smooth;
}

.heading h1,
.heading h2,
.heading h3,
.heading h4,
.heading h5,
.heading h6 {
    all: unset;
}

.navbar {
    -webkit-transition: background-color 600ms linear;
    -ms-transition: background-color 600ms linear;
    transition: background-color 600ms linear;
}

.navbar:has(.menu-button.w--open) {
    background-color: var(--main-color);
    -webkit-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

.w-slider-dot {
    width: 14px;
    height: 14px;
    background-color: #d9d9d9;
}

.w-slider-dot.w-active {
    background-color: #e42b2b;
}

/* Alert Bar */
.alert-container .alert-text a {
    color: #fff;
    font-style: normal;
    text-decoration: underline;
}

/* Locations */
.locations-wrapper {
    /* overflow: hidden; */
    overflow: inherit;
    width: 100vw;
    max-width: 100vw;
    margin: 30px calc(-50vw + 50%);
    padding-right: calc(calc(100vw - var(--container)) / 2);
    padding-left: calc(calc(100vw - var(--container)) / 2);
}

.locations-map-wrapper {
    margin-top: 20px;
    position: relative;
}

#usa-map {
    position: relative;
    text-align: center;
}

#us-map-svg {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#usa-map-popup {
    position: absolute;
    display: none;
    width: 300px;
    z-index: 9999;
    text-align: left;
}

#usa-map-popup-inner {
    padding: 24px;
    background: #f7f7f7;
    border-radius: 12px;
    border: solid 1px #000;
}

#usa-map-popup [data-field] {
    position: relative;
    /* margin-bottom: 10px; */
    /* font-size: 13px; */
}

#usa-map-popup [data-field] i {
    display: inline-block;
    margin-right: 4px;
}

#usa-map-popup [data-field='title'] {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
}

#usa-map-popup [data-field='subtitle'] {
    color: var(--main-color);
    font-size: 16px;
    font-weight: bold;
}

/* #usa-map-popup [data-field='text'] {
    margin-top: 15px;
    padding-top: 15px;
    max-height: 100px;
    overflow-y: auto;
} */

#usa-map .bottom #usa-map-popup-triangle {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #fff;
}

#usa-map .right #usa-map-popup-triangle {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #fff;
}

#usa-map .left #usa-map-popup-triangle {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 20px solid #fff;
}

#usa-map .top #usa-map-popup-triangle {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid #fff;
}

#usa-map-mobilepopup {
    position: relative;
    display: none;
    width: 100%;
    border-top: 5px solid #74c044;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    margin-top: 30px;
}

#usa-map-mobilepopup #usa-map-popup-inner {
    padding: 10px;
    background: #fff;
}

#usa-map-mobilepopup [data-field],
.mobile-state-text {
    position: relative;
    margin-bottom: 10px;
    font-size: 13px;
}

#usa-map-mobilepopup [data-field] i {
    display: inline-block;
    margin-right: 4px;
}

#usa-map-mobilepopup [data-field='title'] {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
}

#usa-map-mobilepopup [data-field='subtitle'] {
    color: var(--main-color);
    font-size: 16px;
    font-weight: bold;
}

#usa-map-mobilepopup [data-field='text'] {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    max-height: 100px;
    overflow-y: auto;
}

@media(min-width:768px) {
    #usa-map-mobilepopup {
    display: none !important;
    }
}

.mobile-map-list {
    position: relative;
    margin: 10px 0;
    display: none;
}

.mobile-state-item {
    position: relative;
    width: 100%;
    border-top: 5px solid #74c044;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    margin-bottom: 10px;
    background-color: #ffffff;
}

.mobile-state-title-wrapper {
    position: relative;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row nowrap;
    -moz-flex-flow: row nowrap;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    justify-content: space-between;
    -ms-flex-pack: space-between;
    padding: 10px;
    cursor: pointer;
    background-color: #ffffff;
}

.mobile-state-title {
    font-weight: bold;
    font-size: 20px;
    transition: all 300ms ease;
    color: var(--black);
}

.mobile-state-icon {
    position: relative;
    color: var(--black);
    transition: all 300ms ease;
}

                
.mobile-state-title:hover {
    color: var(--main-color);
}

.mobile-state-icon:hover {
    color: var(--main-color);
}


.mobile-state-icon.open {
    transform: rotate(180deg);
}

.mobile-state-data-wrapper {
    position: relative;
    border-top: 1px solid #eeeeee;
    padding: 10px;
    display: none;
}

.mobile-state-subtitle {
    font-size: 14px;
    font-weight: bold;
    color: var(--main-color);
        margin-bottom: 5px;
    }

@media screen and (max-width: 1397px) {
    .locations-wrapper {
        padding-right: 60px;
        padding-left: 60px;
    }
}

@media screen and (max-width: 991px) {
    .locations-wrapper {
        padding-right: 40px;
        padding-left: 40px;
    }

    #usa-map-popup-inner {
        padding: 0 !important;
        border-radius: 0;
        border: none;
    }

    #usa-map-mobilepopup [data-field='text'] {
        margin-top: 0;
        overflow-y: unset;
        padding: 10px;
        max-height: none !important;
    }
}

@media screen and (max-width: 767px) {
    .locations-wrapper {
        padding-right: 20px;
        padding-left: 20px;
    }

    .mobile-map-list {
        display: block;
    }
}

@media (min-width: 1000px) {
    #usa-map {
        height: 600px;
    }
}

@media (min-width: 360px) {
    #usa-map {
        height: calc(200px + 400*(100vw - 360px) / 640);
    }
}

/* Defaults */
.cms-frontend {
    overflow-x: hidden;
    word-wrap: break-word;
}

.cms-btn:focus {
    outline: 0;
}

img.userUpload {
    height: auto !important;
    border-radius: 12px;
}

.contact-form-success-message {
    display: block !important;
}

.content-block ul {
    overflow: hidden;
}

.responsive-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cms-btn a {
    color: inherit;
}

/* Custom search form styles */
[data-module="cms-custom-search"] {
    padding: 0px;
    margin-top: 20px;
}

[data-module="cms-custom-search"] .form-wrapper form {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    max-width: 280px;
    border-bottom: none !important;
}

[data-module="cms-custom-search"] .form-wrapper form button {
    min-width: 150px;
}

[data-module="cms-custom-search"] .form-wrapper .form-item {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 10px;
    -webkit-flex-basis: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
}

[data-module="cms-custom-search"] .form-wrapper form input[type='text'] {
    display: block;
    width: 100%;
    height: 48px;
    max-width: 100%;
    margin-bottom: 0px;
    padding: 8px 12px 8px 14px;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    line-height: 20px;
    vertical-align: middle;
}

[data-module="cms-custom-search"] .form-wrapper {
    border-bottom: none;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.cms-custom-search-result {
    margin-bottom: 0px !important;
    padding-top: 30px;
    border-bottom: none !important;
    border-top: 1px solid #ddd;
}

.cms-custom-search,
.cms-custom-search-result p,
.cms-custom-search-result-sub-title {
    font-size: 14px !important;
    font-style: inherit !important;
    color: #858484;
}

.cms-custom-search-result-title {
    font-size: 16px !important;
    margin-bottom: 5px !important;
}

#password-form {
    width: 280px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#password-form-error {
    margin-bottom: 20px;
}

@media screen and (max-width: 991px) {

    .w-lightbox-left,
    .w-lightbox-right {
        background-size: 15px;
    }
}