.frameContact {
    padding: 40px 0px;
    background: #fff;
    border-radius: 15px;
}

.boxContactMain {
    padding-top: 40px;
    padding-bottom: 80px;
}

.bgContactLeft {
    border-radius: 15px;
    width: 100%;
    padding: 40px;
    background: #0E2B60 url(../img/contact/bg-box.jpg) no-repeat top center;
    background-size: cover;
}

.form-select {
    background-color: #EEF0F3BA;
}

.form-control {
    background-color: #EEF0F3BA;
}

.videoWrapper {
    position: relative;
    padding-bottom: 48.25%;
    /* 16:9 */
    padding-top: 0;
    height: 0;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.sp-header {
    height: 380px !important;
    width: 100%;
    border-bottom: 20px #E8002C solid;
}

.btn-contact {
    font-family: "Kanit", sans-serif;
    font-style: normal;
    font-size: 18px;
    line-height: 24px;
    color: #fff;
    background-color: #E8002C;  
    border-radius: 10px;
    display: block;
    /* height: 70px; */
    padding: 10px 80px;
    border: 0;
}

.btn-contact.map {
    color: #282650;
    background-color: #fff;
    border-radius: 10px;
    display: inline-block;
    padding: 20px 80px;
    border: solid 1px #282650;
}

#errorinput {
    display: flex;
    justify-content: start;
    align-items: start;
    height: 1rem;
}

#errorinput span {
    font-family: "Kanit", sans-serif;
    color: #E8002C;
    font-size: 1rem;
    margin-top: 0.25rem;
}

.contact-form-container {
    width: 100%;
}

.completecontact {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;

    h1 {
        font-family: "Kanit", sans-serif;
        font-size: 2rem;
        color: #000;
    }

    p {
        font-family: "Kanit", sans-serif;
        font-size: 1rem;
        color: #000;
    }
}

@media screen and (max-width:1440px) {
    .btn-contact {
        font-size: 16px;
        line-height: 22px;
        padding: 10px 60px;
    }
}

@media screen and (max-width:1366px) {}

@media screen and (max-width:1280px) {
    .btn-contact {
        padding: 10px 40px;
    }
}

@media screen and (max-width:1199px) {
    .boxContactMain {
        padding: 0;
    }

    .boxContactMain div.container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .frameContact {
        border-radius: 0px;
        padding: 2rem 5%;
    }

}

@media screen and (max-width:1024px) {
    .bgContactLeft {
        padding: 40px 20px;
    }
    .text-title-contact {
        font-size: 28px;
        line-height: 38px;
    }
    .sp-header {
        height: 300px !important;
    }
}

@media screen and (max-width:768px) {
    .boxContactMain {
        /* padding-top: 20px; */
        padding-bottom: 0;
    }
}

@media screen and (max-width:737px) {}

@media screen and (max-width:560px) {
    .frameContact {
        padding: 20px;
    }
    .btn-more.contact {
        height: 60px;
        padding: 10px 60px;
    }
    .btn-more.map {
        padding: 10px 60px;
    }
    .boxContactMain {
        padding-bottom: 0;
    }
}

@media screen and (max-width:414px) {}

@media screen and (max-width:375px) {}