.location-redesign-template {
    background: #F7F7F7;
    position: relative;
    padding: 30px 20px;
}

.location-redesign-template .container {
    padding: 0;
}

.location-redesign-template .map-style {
    width: 100%;
}

.location-svg-pattern {
    position: absolute;
    right: 0;
    width: 797px;
}

#locations_map {
    border-radius: 27px;
}

.map-style {
    border-radius: 27px;
    box-shadow: 0 4px 15.6px 4px rgba(0, 0, 0, 0.11);    
}

.locations-map__form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.locations-map__form .locations-map__form-item{
    width: 100%;
}

.locations-map__form-item {
    display: flex;
    flex-wrap: wrap;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 1.44px;
    text-transform: uppercase;
    align-items: end;
}

.locations-map__form-item .choices,
.locations-map__form-item .zipcode-input-group {
    height: 54px;
    width: 100%;
    border-radius: 6px;
    background: #0281C6 !important;
}

.zipcode-input-group {
    position: relative;
}

.zipcode-input-group:after {
    content: "";
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g clip-path="url(%23clip0_1022_839)"><path d="M23.6804 22.1377L16.2421 14.6994C17.4571 13.1535 18.1826 11.2056 18.1826 9.09134C18.1826 4.07833 14.1043 0 9.09127 0C4.07833 0 0 4.07833 0 9.09127C0 14.1042 4.07833 18.1825 9.09127 18.1825C11.2055 18.1825 13.1535 17.4571 14.6993 16.2421L22.1377 23.6804C22.3507 23.8935 22.6299 24 22.9091 24C23.1883 24 23.4675 23.8935 23.6804 23.6804C24.1065 23.2545 24.1065 22.5637 23.6804 22.1377ZM2.18182 9.09127C2.18182 5.28138 5.28138 2.18182 9.09127 2.18182C12.9012 2.18182 16.0008 5.28138 16.0008 9.09127C16.0008 12.9012 12.9012 16.0007 9.09127 16.0007C5.28138 16.0007 2.18182 12.9012 2.18182 9.09127Z" fill="white"/></g><defs><clipPath id="clip0_1022_839"><rect width="24" height="24" fill="white"/></clipPath></defs></svg>');
    background-size: cover;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translate(0, -50%);
}
.locations-map__form > .locations-map__form-item:last-child {
    position: relative;
}

.locations-map__form > .locations-map__form-item img {
    width: 25px;
    height: 24px;
    background-size: cover;
    position: absolute;
    right: 36px;
    bottom: 15px;
}


.locations-map__form-item .choices__inner {
    height: 100%;
    width: 100%;
    background: #0281C6;
    color: #fff;
    border-radius: 6px;
    border: none;
    position: relative;
}

.locations-map__form-item .choices__inner:after {
    content: "";
    width: 3px;
    height: 100%;
    background: #fff;
    position: absolute;
    top: 0;
    right: 76px;
}

.locations-map__form-item .choices__list--dropdown {
    background: #0281C6;
    border: solid 1px #0281C6;
}

.locations-map__form-item .is-highlighted {
    color: #00689F !important;
}

.locations-map__form .choices__inner > .choices__list {
    height: 100%;
    display: flex;
    align-items: center;
}

.locations-map__form .choices__item {
    color: #fff;
    opacity: 1;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1.44px;
    text-transform: capitalize;
}

.zipcode-input-group input,
.zipcode-input-group input:-webkit-autofill {
    padding: 0 20px;
    height: 100%;
    width: 100%;
    border: none;
    background: transparent;
    color: #fff !important;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1.44px;
    text-transform: capitalize;
    -webkit-text-fill-color: #fff !important;    
}

.zipcode-input-group input:-webkit-autofill,
.zipcode-input-group input:-webkit-autofill:hover, 
.zipcode-input-group input:-webkit-autofill:focus, 
.zipcode-input-group input:-webkit-autofill:active{
    border-radius: 6px !important;
    background: #0281C6 !important;
    box-shadow: 0 0 0px 1000px #0281C6 inset !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.zipcode-input-group input::placeholder {
    color: #fff;
    opacity: 1;
}

.locations-map__form-item label {
    color: #4A4B4D;
    leading-trim: both;
    text-edge: cap;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 1.62px;
    text-transform: uppercase;
    width: 100%;
    margin-bottom: 10px;
}

.locations-map__form-item .choices__input {
    width: 100%;
}

.locations-map__form .choices[data-type*='select-one']:after {
    content: '';
    height: 0;
    width: 0;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    border-width: 8px;
    position: absolute;
    right: 30px;
    top: 50%;
    margin-top: -2.5px;
    pointer-events: none;
}


.clear-zipcode-btn {
    width: 160px;
    height: 54px;
    background: #ffffff;
    color: #00689F;
    border-radius: 4px;
    border: none;
    padding: 0 38px 0 36px;
    text-align: left;
    border: 4px solid #00689F;
    font-size: 16px;
    line-height: normal;
    letter-spacing: 1.44px;
    text-transform: uppercase;
    transition: .3sec ease all;
}

.map-marker {
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 143.145%;
        text-transform: capitalize;          
    h4 {
        text-align: left;
        padding: 15px 30px 15px 24px;
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: 143.145%; /* 25.766px */
        letter-spacing: 1.62px;
    }

    p {
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 143.145%; /* 22.903px */
        text-transform: capitalize;
        color: #515151;
        text-align: left;
        display: flex;
        gap: 14px;
        margin-bottom: 0;
    }

    .btn {
        font-size: 16px;
        display: block;
        padding: 0;
        color: #003E60;
        font-weight: 400;
    }

    .map-marker__inner{
        padding: 0 24px 24px;
    }

    .fa-solid {
        color: #F8CC41;
        font-size:28px;
        height: 100%;
    }
}

.location-states-details-lists {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.location-states-details-block {
    border-radius: 9px;
    color: #fff;
    padding: 0;
    flex: 1;
    min-width: 100%;
    width: 100%;
    border-radius: 9px;
    position: relative;
    overflow: visible;
}

.location-states-details-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: #0281C6;
    border-radius: 9px 9px 0 0;
    cursor: pointer;
    h4 {
        margin: 0;
        padding-right: 20px;
    }

    svg {
        overflow: unset;
    }

}

.collapsed .location-states-details-block-header {
    border-radius: 9px;
}

.plus {
    display: none;
}

.collapsed .plus {
    display: block;
}

.collapsed .minus {
    display: none;    
}

.location-states-details-address {
    padding-bottom: 0px;
    margin-bottom: 10p;
}

.location-states-details-content {
    width: 100%;
    display: block;
    color: #515151;
    padding: 16px 20px;
    background: #fff;
    box-shadow: 0 4px 11.9px 0 rgba(0, 0, 0, 0.11);
    border-radius: 0 0 9px 9px;

    .location-states-details-content-block {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 11px;
    }

    .phone-block {
        flex-wrap: wrap;
        gap: 5px 12px;
        margin-bottom: 0;

        > a {
            width: 100%;
        }
    }

    .get-directions-btn {
        margin-top: 8px;
    }

    .location-states-details-address p {
        padding: 0;
        margin: 0;
        line-height: 143.145%;
    }

    .fa-solid {
        color: #F8CC41;
        font-size: 28px;
    }
}

.collapsed .location-states-details-content {
    display: none;
}

.ecs-locations {
    padding-bottom: 140px;
    border-bottom: 1px solid #ebe3e3;
}

.ecs-locations .container {
    padding: 0;
}

@media (min-width: 768px) {
    .location-states-details-block {
        width: calc((100% - 64px) / 2);
        flex: none;
        min-width: auto;
    }
}

@media (min-width: 1200px) {
    .location-redesign-template {
        background: #F7F7F7;
        padding: 70px 0 0;
    }
    
    .clear-zipcode-btn:hover {
        background:#56abd9;
        color: #fff;
    }
    
    .map-marker {
        max-width: 347px;
    }

    .locations-map__form {
        display: flex;
        gap: 32px;
        margin-bottom: 30px;
    }    
    
    .location-states-details-block {
        width: calc((100% - 96px) / 4);
        min-width: auto;
    }

    .locations-map__form .locations-map__form-item:nth-child(-n+3) {
        flex: 1;
        max-width: calc((100% - 64px) / 3);
    }

    .locations-map__form .locations-map__form-item{
        width: auto;
    }

}


/**
     *  Contact Us
     */

.contact-us {
    padding: 10px 0;
    background-color: #f7f7f7;
    display: block;
    position: relative;
}

.contact-us-container {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.contact-us-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-us-holder {
    display: inline-block;
    padding: 20px 0;
    width: 100%;
    float: none;
}

.contact-form-name {
    /*border-left: 3px solid #F8CC41;*/
    margin-bottom: 0;
    margin-top: 0;
    display: flex;
}

.wpcf7-form-control-wrap {
    width: 100%;
}

.vertical-line {
    width: 3px;
    display: inline-block;
    background-color: #f8cc41;
    border-left: 3px solid #f8cc41;
    height: 46px;
}

input[type='text'].wpcf7-form-control,
input[type='email'].wpcf7-form-control,
textarea.wpcf7-form-control {
    border: none;
    padding: 15px 20px;
    width: 100%;
    box-shadow: 0 1px 5px rgba( 100, 100, 100, 0.2 );
    cursor: pointer;
}

.wpcf7-form-control {
    border: none;
}

input[type='text'].wpcf7-form-control:hover,
input[type='text'].wpcf7-form-control:active,
input[type='text'].wpcf7-form-control:focus,
input[type='email'].wpcf7-form-control:hover,
input[type='email'].wpcf7-form-control:active,
input[type='email'].wpcf7-form-control:focus,
textarea.wpcf7-form-control:hover,
textarea.wpcf7-form-control:active,
textarea.wpcf7-form-control:focus {
    border-left: 3px solid #f8cc41;
    padding-left: 17px;
}

.contact-textarea {
    height: 115px;
}

.contact-us-links {
    display: none;
    flex-wrap: wrap;
    padding: 20px 0;
    justify-content: flex-end;
    font-weight: bold;
    align-items: center;
}

.wpcf7-textarea {
    height: 122px;
}

.contact-form-email,
.contact-form-phone,
.contact-form-half {
    width: 100%;
}

.contact-form-email,
.form-half-left {
    margin-right: 0;
}

.contact-us-links a {
    margin: 10px;
    color: #85878a;
}

.contact-us-links span {
    font-size: 18px;
    font-weight: normal;
    color: #85878a;
}

.contact-us-text-input {
    margin-top: 31px;
}

.contact-us-submit-button {
    margin-top: 20px;
    text-align: right;
    padding-right: 0;
    margin-right: 0;
    width: 100%;
    float: right;
}

.contact-us-submit-button-btn,
.wpcf7-submit {
    border: none;
    padding: 20px 30px;
    text-align: center;
    text-transform: uppercase;
    border-radius: 3px;
    background-color: #f8cc41;
    color: #4A4B4D;
    transition: background-color 0.3s;
    width: 100%;
    font-weight: 700;
}

.contact-us-submit-button-btn:hover,
.wpcf7-submit:hover {
    background-color: #f8e6aa;
    width: 100%;
}

.wpcf7-submit:active,
.wpcf7-submit:link,
.wpcf7-submit:visited {
    width: 100%;
    background-color: #f8cc41;
}

.contact-us-link-mobile {
    display: none;
}

.cf7-form-4.invalid {
    border: none;
}

.wpcf7-not-valid-tip {
    font-size: 11px;
    text-align: right;
    margin-top: 10px;
    color: red;
}

.wpcf7 form .wpcf7-response-output {
    margin: 1em 0.5em 1em;
    padding: 0.2em 1em;
    color: red;
}

select.wpcf7-form-control,
input[type='text'].wpcf7-form-control,
input[type='email'].wpcf7-form-control,
input[type='tel'].wpcf7-form-control {
    box-shadow: 0 1px 5px rgba( 100, 100, 100, 0.2 );
}

.contact-us-holder > .contact-us-holder {
    margin-top: 0;
    display: block;
    width: 100%;
    padding: 20px 0;
}

.contact-us-holder > .contact-us-holder label {
    margin-bottom: 10px;
    display: inline-block;
}

.contact-form-wrapper {
    margin-bottom: 0;
    display: block;
    clear: both;
}

.contact-form .choices__inner {
    padding: 15px 20px;
}

.contact-form  .choices__inner:before {
    display: none;
}

.contact-form .choices__input,
.contact-form .choices__list--dropdown .choices__item {
    font-size: 16px;
}

@media (min-width: 1200px) {
    .contact-us-holder {
        display: inline-block;
        padding: 20px 10px;
        width: 50%;
        float: left;
    }

    .contact-us {
        padding: 60px 22px;
    }    

    .contact-us-container {
        width: 80%;
    }    

    .contact-us-submit-button {
        width: 150px;
    }    

    .contact-form-wrapper {
        margin-bottom: 30px;
    }
    
    .contact-form-name {
        margin-bottom: 30px;
        margin-top: 30px;
    }

    .contact-form-email,
    .contact-form-phone,
    .contact-form-half {
        width: 48%;
        float: left;
    }
    
    .contact-form-email,
    .form-half-left {
        margin-right: 4%;
    }
    
    .contact-us-links {
        display: flex;
    }

    .contact-us-header {
        display: flex;
        justify-content: space-between;
    }
    
}