.box {
    padding: 35px 30px;
    background-color: #fafafa;
    margin: 20px auto 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    overflow-y: auto;
    width: 50%;
}

.block1{
    text-align: center;
}

.ttlcontact {
    font-size: 25px;
}

.captioncontact {
    font-size: 16px;
    color: #bdbdbd;
}

.btn {
    width: 100%;
    border-radius: 10px;
    background-color: #4c81c2;
    color: #FFF !important;
    display: block;
}

.btna {
    text-decoration: none;
}

.btn:hover {
    background-color: #3a60a0;
}

@media (max-width: 992px) {

    .box {
        padding: 35px 30px;
        background-color: #fafafa;
        margin: 20px auto 20px;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
        overflow-y: auto;
        width: 80%;
    }
}

@media (max-width: 768px) {

    .box {
        padding: 35px 30px;
        background-color: #fafafa;
        margin: 20px auto 20px;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
        overflow-y: auto;
        width: 90%;
    }
}



.inputgroup {
    margin-bottom: 15px;
}

    .inputgroup .col-sm-6, .inputgroup .col-sm-12, .inputgroup .col-sm-4 {
        padding: 0 5px;
    }

    .inputgroup .row {
        margin: 0 -5px;
    }

    .inputgroup .topic {
        font-family: "kittithada_light_45_fregular";
        font-size: 30px;
        line-height: 0.7;
        text-align: left;
        margin-bottom: 15px;
    }

    .inputgroup .desc {
        font-family: "kittithada_light_45_fregular";
        font-size: 20px;
        line-height: 0.7;
        text-align: left;
        margin-top: -5px;
        margin-bottom: 15px;
    }

    .inputgroup .additional {
        font-family: "kittithada_light_45_fregular";
        font-size: 22px;
        line-height: 0.7;
    }

    .inputgroup .link {
        font-family: "kittithada_medium_65_fregular";
        font-size: 22px;
        line-height: 0.7;
        color: #15584c;
    }

    .inputgroup input:not([type='radio']):not([type='checkbox']) {
        width: 100%;
        height: 45px;
        padding: 0 10px;
        border-width: 2px;
        border-style: solid;
        border-color: rgb(169, 169, 169);
        border-radius: 10px;
        transition: all .35s;
        font-family: "kittithada_light_45_fregular";
        font-size: 20px;
        line-height: 0.7;
    }

        .inputgroup input:not([type='radio']):not([type='checkbox']):focus + label, .inputgroup input:not([type='radio']):not([type='checkbox']).has-content + label {
            top: 8px;
            font-size: 14px;
        }

        .inputgroup input:not([type='radio']):not([type='checkbox']):focus {
            border: 2px solid #000000;
        }

    .inputgroup textarea {
        width: 100%;
        height: 100px;
        padding: 10px;
        border: 1px solid #cecece;
        font-family: "kittithada_light_45_fregular";
        font-size: 20px;
        line-height: 0.7;
        transition: all .35s;
    }

        .inputgroup textarea:focus {
            border: 2px solid #000000;
        }

    .inputgroup label {
        transition: 0.3s all ease-in-out;
        pointer-events: none;
        font-family: "kittithada_roman_55_fregular";
        font-size: 20px;
        line-height: 0.7;
        position: absolute;
        top: 50%;
        left: 8px;
        transform: translateY(-50%);
        z-index: 1;
        padding: 0 8px;
        font-weight: normal;
        color: #737373;
    }

    .inputgroup select {
        padding: 0 8px;
        width: 100%;
        position: relative;
        height: 45px;
        border: 1px solid #cecece;
        font-size: 20px;
    }

        .inputgroup select + label {
            top: 8px;
            font-size: 16px;
        }

        @media only screen and (max-width: 991px) {
            .inputgroup .topic {
                font-size: 24px;
                margin-bottom: 10px;
            }
        
            .inputgroup .additional {
                font-size: 18px;
            }
        }