.container2, .boxorange {
    background: #2E6174 !important;
}

.boxProjectDetail_row {
    background: #2E6174 !important;
    padding-bottom: 40px;
}

.boxProjectDetail_row, .container2, .boxProjectDetail2_row, .boxDistance_row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.boxProjectDetail2_row {
    background-color: #FFFFFF;
    padding: 16px 0;
}

.boxLocation_row {
    background-color: #f0f0f0;
    padding: 16px 0;
}

.boxProjectDetail, .boxMap {
    max-width: 1230px;
}

.mapbox_img {
    width: 100%;
}

.row_formx {
    padding: 32px 0 48px;
}

.ng-binding {
    text-align: center;
}

.title-img {
    width: 100%;
    max-width: 1070px;
    height: 49px;
}

.form-group {
    margin-bottom: 15px;
    padding: 0 !important;
}

.form-control {
    font-size: 27px !important;
    color: #000000;
    background-color: #E6E6E6 !important;
    border: 0;
    height: 44px;
    padding: 0px 17px !important;
    border-radius: 10px;
    font-family: KittithadaLight45;
    font-weight: 400;
}

.form-title {
    font-family: KittithadaRoman55;
    font-size: 28px;
    color: white;
}

.form-group.col-sm-6 {
    width: calc(50% - 5px);
}

select {
    background-size: 30px 34px;
    background-origin: content-box;
}

.consent_time {
    color: #FFFFFF;
    font-size: 22px;
    text-align: center;
    opacity: 0.5;
}

.button-submit {
    padding-top: 10px;
}

.submit_pink {
    max-width: 117px;
    height: 38px;
    padding: 0;
}

.line_btn {
    max-width: 168px;
    height: 38px;
    margin-left: 12px;
    transition: 0.3s;
}

.line_btn:hover {
    opacity: 0.8;
}

.boxDistance_row {
    background-color: #F2F2F2;
    padding: 10px 0;
}

#footer {
    background-color: #ffffff;
    padding: 30px 15px 100px;
}

#footer .footer-logo {
    width: 200px;
    transition: 0.3s;
}

#footer .footer-logo:hover {
    opacity: 0.75;
}

#footer .contact {
    width: 170px;
    padding-top: 16px;
    transition: 0.3s;
}

#footer .contact:hover {
    opacity: 0.75;
}

#footer .social-box {
    display: flex;
    justify-content: flex-end;
}

#footer .iconsocial {
    width: 22px;
    height: 22px;
    padding: 0;
    margin: 0 8px 0 8px;
    transition: 0.3s;
    cursor: pointer;
}

#footer .iconsocial:hover {
    opacity: 0.75;
}

.background {
    background-color: #2E6174;
}

.background .message-box {
    min-width: 660px;
    max-width: 660px;
    background-color: white;
    padding: 95px 0 75px;
}

.img-thx {
    width: 100%;
    min-width: 600px;
    max-width: 600px;
}

.img-thx-footer {
    width: 100%;
    min-width: 240px;
    max-width: 240px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.icon-x {
    position: absolute;
    right: 12px;
    top: 10px;
    width: 30px;
    height: 38px;
    transition: 0.3s;
}

.icon-x:hover {
    opacity: 0.7;
}

@media (min-width: 768px) {
    .mobile {
        display: none !important;
    }

    #footer .container {
        max-width: 1170px !important;
    }

    .projectdetails_d {
        display: block;
        margin-top: 0;
        padding: 0 15px;
    }

    .col-sm-8, .col-sm-4 {
        padding: 0;
    }

    .boxformx {
        text-align: left;
        margin-top: 0;
        max-width: 660px;
    }

    .boxorange {
        max-width: 1300px;
    }
}

@media only screen and (max-width: 767px) {
    [class*="col-"] {
        padding: 0;
    }

    .row {
        margin: 0;
    }

    .desktop {
        display: none !important;
    }

    .mobile {
        display: unset;
    }

    #footer {
        padding: 30px 15px 40px;
    }

    #footer .col-md-6 {
        text-align: center;
    }

    #footer .contact {
        padding-top: 0;
    }

    #footer .social-box {
        justify-content: center;
    }

    .boxorange {
        padding: 0;
    }

    .title-img {
        height: 36px;
        max-width: 400px;
        width: 100%;
    }

    .row-form {
        display: flex;
        align-items: center;
        padding-bottom: 15px;
    }

    .row-form:nth-child(3) {
        align-items: flex-start;
    }

    p {
        margin: 0;
    }

    .form-group {
        margin-bottom: 0 !important;
    }

    .col-sm-3 {
        width: 30%;
        text-align: left;
        font-size: 25px;
    }

    .form-group.col-sm-9 {
        width: 68%;
    }

    .form_title_s2.col-sm-9 {
        width: 68%;
    }

    .form-group.col-sm-6 {
        width: 100%;
        margin-left: 0 !important;
    }

    .form-group.col-sm-6:first-child {
        margin-bottom: 15px !important;
    }

    .form-control {
        font-size: 25px !important;
        padding: 4px 17px 4px 10px !important;
    }

    .boxformx {
        max-width: 400px;
        padding: 30px 10px 48px 15px;
    }

    .consent_time, .submit_pink {
        display: flex;
        justify-content: center;
    }

    .consent_time {
        padding-top: 10px;
    }

    .button-submit {
        padding-top: 20px;
    }

    .boxProjectDetail_row {
        padding: 0px 15px 35px 15px;
    }

    .boxProjectDetail2_row {
        padding: 18px 15px 35px 15px;
    }

    .boxLocation_row {
        padding: 18px 15px 35px 15px;
    }

    .mapbox_img_m {
        padding: 0;
        margin: 0;
    }

    .pdetails_img_m {
        width: 100%;
    }

    .img-thx {
        min-width: 330px !important;
        max-width: 350px !important;
        padding: 0 30px;
    }

    .img-expland-map {
        display: none;
    }

    .row_formx {
        padding: 0;
    }

    .button-submit {
        display: flex;
        justify-content: center;
    }

    .background .message-box {
        min-width: 360px;
        max-width: 450px;
    }
}
