
.contact_page_sec{
    background-color: #ffffff;
    padding: 106px 0 60px;
}


.contact_page_sec *{
    font-weight: 300;
}

.contact_page_sec p{
    font-family: 'inter';
    font-size: 18px;
    margin-bottom: 0;
    line-height: 30px;
}

.contact_page_sec strong{
   font-weight: 500;
}
.contact_form_wrap{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: #f2ead5;
    border-radius: 15px;
    margin-top: -90px;
    padding: 60px 5%;
}
.mapimg {
    max-width: 100%;
    overflow: hidden;
    & iframe{
        width: 100%;
        display: block;
        overflow: hidden;
        margin-top: -70px;
        border: none;
        height: 520px;
    }
}
.select_state {
    margin-top: 30px;
}
.contact_page_sec ul{
    list-style: none;
}

.email_us{
    padding-bottom: 55px;
}
.email_us p{
    text-align: center;
}
.contact_page_sec ul li label{
    display: block;
    padding-bottom: 10px;
}

.contact_page_sec ul li{
    padding-bottom: 55px;
}

.contact_page_sec ul li input::placeholder, .contact_page_sec ul li textarea::placeholder{
    color: #60091A;
    font-size: 18px;
}

.contact_page_sec ul li input, .contact_page_sec ul li textarea, .select_state select{
    width: 100%;
    border-radius: unset;
    outline: none;
    border: none;
    border-bottom: 1px solid #60091A;
    color: #60091A;
    font-family: 'inter';
    background-color: transparent;
    font-size: 18px;
    padding-bottom: 10px;
    /* text-align: center; */
}
.select_state select{
    text-align: left;
    max-width: 77%;

}
/* 
.select_state{
    padding-top: 55px;
} */

/* .contact_page_sec ul li textarea{
    height: 45px;
} */

.contact_image {
    position: relative;
}

.banner_content{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.banner_content h2{
    text-align: end;
    color: var(--color-theme-sec);
    font-size: 75.9px;
}

.contact_page_sec ul li:last-child{
    text-align: center;
    padding-bottom: 0;
}

.contact_page_sec ul li:last-child input{
    font-size: 16px;
    color: var(--color-theme-primary);
    font-family: 'Inter';
    padding: 14px 15px;
    border: 1px solid var(--color-theme-primary);
    display: inline-block;
    text-transform: uppercase;
    width: 200px;
    cursor: pointer;
}

.other_offices{
    padding-bottom: 50px;
}

.other_offices p{
    padding-bottom: 10px;
}

.other_offices a:has(> img){
    display: inline-block;
}

.other_offices a img{
    max-width: 30px;
}


.other_offices p:last-child{
    padding-bottom: 0px;
}

.customer_care h3{
    padding-bottom: 10px;
    font-family: 'inter';
    text-transform: uppercase;
}

.customer_care p{
    line-height: 30px;
    font-size: 18px;
    font-family: 'inter';
}

.select_heading{
    padding-bottom: 20px;
}

.contact_details p a{
   text-decoration: none;
}
 
/*.contact_details{
    padding-right: 50px;
} */

.contact_form{
    /* padding-left: 50px; */
    max-width: 80%;
    margin: 0 0 0 auto;
    margin-top: 0px;
}


.state_content{
   display: none;
   padding-top: 20px;
}

div#mapOrAddress p{
    font-family: 'inter';
    font-size: 18px;
    margin-bottom: 0;
    padding-bottom: 20px;
}
.error-message{
    text-align: center;
    font-size: 12px;
    font-family: 'Inter';
}


.success-message{
    text-align: center;

  color:green;
  font-size: 12px;
  font-family: 'Inter';
}


@media screen and (max-width:767px){
    body[class] section.contact_page_sec{
        padding: 30px 0;
    }

    .contact_image img{
        height: 50vh;
        object-fit: cover;
    }

    .contact_image .banner_content h2 {
        font-size: 35.9px;
        text-align: center;
    }
    .contact_page_sec .contact_form_wrap {
        margin-top: 0px;
        /* grid: none; */
        padding: 30px 15px;
        display: block;
    }
    .contact_form_wrap .contact_details {
        padding-right: 0;
    }
    .contact_form_wrap .contact_form {
        padding-left: 0px;
        padding-top: 55px;
    }

    /* .contact_page_sec ul li input:not(ul li:last-child input), .contact_page_sec ul li textarea{
        text-align: left;
        padding-bottom: 10px;
    } */

    .other_offices, .other_offices{
        padding-bottom: 30px;
    }

    .mapimg{
        max-width: 100%;
        & iframe{
            width: 100%;
            display: block;
        }
    }

    .contact_page_sec ul li{
        padding-bottom: 35px;
    }
/* 
    .contact_page_sec ul li textarea{
        height: auto;
    } */

    .contact_page_sec .contact_form_wrap ul li:last-child {
        text-align: center;
    }

    .contact_form, .select_state select{
        max-width: 100%;
    }
}

.customer_care h3.moff-add {
    margin-top: 25px;
}