input:-webkit-autofill {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
}

input:-internal-autofill-selected {
    color: #fff;
    background-color: transparent !important;
}

.contact-form-section-2 {
    padding: 80px 20px;
    background-image: url('/wp-content/themes/drdennisng/images/ASH-Desktop-contact-bg.jpg');
    background-size: cover;
    background-position: top center;
}

.contact-form-section-2 .inner-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-section-2 .inner-wrap .contact-mobile-image {
    display: none;
}

.contact-form-section-2 .inner-wrap .form-main-wrap {
    width: 100%;
    max-width: 560px;
}

.contact-form-section-2 .inner-wrap .form-main-wrap h3 {
    font-family: 'Lato', sans-serif;
    color: #FFF;
    font-size: 36px;
    font-weight: 800;
    line-height: 44px;
    margin-bottom: 24px;
    text-transform: capitalize;
}

.contact-form-p-text {
    margin-bottom: 48px;
}

@media only screen and (max-width: 767px) {
    .contact-form-p-text {
        font-size: 16px;
        line-height: 24px;
    }
}

.contact-form-p-text a {
    color: inherit;
    font-size: inherit;
    text-decoration: underline;
}

.contact-form-section-2 .inner-wrap .form-main-wrap .form-input-wrap {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    width: 100%;
}

.contact-form-section-2 .inner-wrap .form-main-wrap .form-control {
    width: 100%;
}

.contact-form-section-2 .inner-wrap .form-main-wrap .half-form-control {
    max-width: calc(100% / 2 - 20px);
}

.contact-form-section-2 .inner-wrap .form-main-wrap .form-control label {
    color: #FFF;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 1.92px;
    text-transform: uppercase;
}

.contact-form-section-2 .inner-wrap .form-main-wrap .form-control label .required {
    color: #F00;
}

.contact-form-section-2 .inner-wrap .form-main-wrap .form-control input,
.contact-form-section-2 .inner-wrap .form-main-wrap .form-control textarea {
    color: #FFF;
    width: 100%;
    background: transparent;
    border: unset;
    border-radius: unset;
    border-bottom: solid 1px #E6E6E6;
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    padding: 12px 0 8px 0;
    resize: none;
}

.contact-form-section-2 .inner-wrap .form-main-wrap .form-control textarea:focus-visible {
    outline: none;
}

.contact-form-section-2 .inner-wrap .form-main-wrap .form-footer .form-submit:focus{
	outline: unset!important;
}

.contact-form-section-2 .inner-wrap .form-main-wrap .form-footer {
    display: flex;
    /*     justify-content: space-between;
    gap: 12px; */
    margin-top: 40px;
}

.contact-form-section-2 .inner-wrap .form-main-wrap .form-footer .page_title {
    display: none;
}

.contact-form-section-2 .inner-wrap .form-main-wrap .form-footer .form-submit {
    border-radius: 40px;
    background: #fff;
    box-shadow: -2px 4px 34px 0px rgba(0, 0, 0, 0.15);
    padding: 24px 40px;
    color: #1B3A4E;
    text-align: center;
    font-family: Lato;
    font-size: 18px;
    font-weight: 800;
    line-height: 26px;
    letter-spacing: 0.72px;
    text-transform: uppercase;
    border: unset;
    transition: all ease 200ms;
}

.contact-form-section-2 .inner-wrap .form-main-wrap .form-footer .form-submit:hover {
    background: #930F22;
	color: white;
}

.contact-form-section-2 .inner-wrap .form-main-wrap .form-footer .form-submit:active {
    background: #930F22;
}

.contact-form-section-2 .inner-wrap .form-main-wrap .form-footer .wpcf7-spinner {
    position: absolute;
    right: 1px;
    top: -25px;
    margin: 0;
}

.contact-form-section-2 .inner-wrap .form-main-wrap .form-footer>p {
    position: relative;
}

.contact-form-section-2 .inner-wrap .form-main-wrap .form-footer .call-form {
    display: flex;
    align-items: center;
    gap: 12px;

}

.contact-form-section-2 .inner-wrap .form-main-wrap .form-footer .call-form .call-form-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form-section-2 .inner-wrap .form-main-wrap .form-footer .call-form .call-form-details p {
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    margin-bottom: 0 !important;
}

.form-main-wrap .form-footer .call-form .call-form-details p>a {
    color: #FFF;
    font-size: 28px;
    font-weight: 700;
    line-height: 28px;
    -webkit-text-decoration-line: underline;
    text-decoration-line: underline;
}

.contact-form-section-2 .inner-wrap .location-main-wrap {
    margin-top: 100px;
}

.contact-form-section-2 .inner-wrap .location-main-wrap>label {
    color: #FFF;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 1.92px;
    text-transform: uppercase;
    display: block;
    text-align: center;
    margin: 0 auto;
}

.contact-form-section-2 .inner-wrap .location-main-wrap>label::before,
.contact-form-section-2 .inner-wrap .location-main-wrap>label::after {
    content: '';
    height: 1px;
    background: #fff;
    display: block;
    position: relative;
    width: calc(100% / 2 - 110px);
}

.contact-form-section-2 .inner-wrap .location-main-wrap>label::before {
    bottom: -12px;
}

.contact-form-section-2 .inner-wrap .location-main-wrap>label::after {
    margin-left: auto;
    top: -12px;
}

.contact-form-section-2 .inner-wrap .location-main-wrap .locations-wrap {
    margin-top: 40px;
}

.contact-form-section-2 .inner-wrap .location-main-wrap .location-list {
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 40px;
}

.contact-form-section-2 .inner-wrap .location-main-wrap .location-list li {
    font-family: 'Lato', sans-serif;
    position: relative;
    color: #FFF;
    font-size: 24px;
    line-height: 32px;
    width: 100%;
    max-width: calc(100% / 2 - 24px);
    padding-left: 40px;
    font-weight: 400;
}

.contact-form-section-2 .inner-wrap .location-main-wrap .location-list li::before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='32' height='33' viewBox='0 0 32 33' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 4.1543C11.2212 4.1543 7.33337 8.05346 7.33337 12.8462C7.33337 18.794 15.0892 27.5259 15.4194 27.8947C15.7296 28.2411 16.2711 28.2405 16.5807 27.8947C16.9109 27.5259 24.6667 18.794 24.6667 12.8462C24.6666 8.05346 20.7788 4.1543 16 4.1543ZM16 17.2193C13.5957 17.2193 11.6397 15.2575 11.6397 12.8462C11.6397 10.4348 13.5957 8.47308 16 8.47308C18.4043 8.47308 20.3604 10.4349 20.3604 12.8462C20.3604 15.2575 18.4043 17.2193 16 17.2193Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
    position: absolute;
    display: block;
    width: 32px;
    height: 32px;
    left: 0;
}

@media screen and (max-width: 1279px) {
    .contact-form-section-2 .inner-wrap .form-main-wrap h3 {
        font-size: 26px;
        line-height: 34px;
        margin-bottom: 16px;
    }

    .contact-form-section-2 .inner-wrap .form-main-wrap .form-control label,
    .contact-form-section-2 .inner-wrap .location-main-wrap>label {
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 1.68px;
    }

    .contact-form-section-2 .inner-wrap .form-main-wrap .form-footer .call-form .call-form-details p {
        font-size: 14px;
        line-height: 14px;
    }

    .form-main-wrap .form-footer .call-form .call-form-details p>a {
        font-size: 24px;
        line-height: 24px;
    }

    .contact-form-section-2 .inner-wrap .location-main-wrap .location-list li {
        max-width: 100%;
        font-size: 16px;
        line-height: 24px;
    }
}

@media screen and (max-width: 1024px) {
    .contact-form-section-2 {
        background-image: unset !important;
        background-color: #000;
        padding: 0;
    }

    .contact-form-section-2 .inner-wrap .contact-mobile-image {
        display: flex;
    }

    .contact-form-section-2 .inner-wrap .contact-mobile-image img {
        width: 100%;
        height: 100%;
        max-height: 550px;
        -o-object-fit: cover;
        object-fit: cover;
        -o-object-position: top;
        object-position: top;
    }

    .contact-form-section-2 .inner-wrap .form-main-wrap {
        max-width: 100%;
        padding: 40px 20px;
    }

    .contact-form-section-2 .inner-wrap .location-main-wrap {
        margin-top: 0;
        padding: 0 20px 40px 20px;
    }
}

@media screen and (max-width: 767px) {
    .contact-form-section-2 .inner-wrap .form-main-wrap .form-footer {
        flex-direction: column;
        align-items: center;
        margin-top: 24px;
    }

    .contact-form-section-2 .inner-wrap .form-main-wrap .form-control input,
    .contact-form-section-2 .inner-wrap .form-main-wrap .form-control textarea {
        padding: 6px 0 8px 0;
    }

    .contact-form-section-2 .inner-wrap .form-main-wrap .form-input-wrap {
        gap: 24px;
    }

    .contact-form-section-2 .inner-wrap .form-main-wrap .half-form-control {
        max-width: 100%;
    }

    .contact-form-section-2 .inner-wrap .form-main-wrap .form-footer>p {
        width: 100%;
    }

    .contact-form-section-2 .inner-wrap .form-main-wrap .form-footer .form-submit {
        width: 100%;
        color: #000303;
        padding: 20px;
    }

    .contact-form-section-2 .inner-wrap .location-main-wrap .locations-wrap {
        margin-top: 24px;
    }

    .contact-form-section-2 .inner-wrap .location-main-wrap .location-list {
        flex-direction: column;
        gap: 12px;
    }
}

.form-control {
    display: block;
    width: 100%;
    background-color: transparent;
    padding: 0;
    border: 0;
    border-radius: 0;
    font-size: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-bottom: 24px;
}

.form-control br {
    display: none;
}