.mt40 {
    margin-top: 40px;
}

.red_f {
    color: #e60012;

}

.form_box {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.form_box .form_area {
    width: 80%;
}

.form_box .form_txt {
    width: 20%;
}

.form_box .long {
    width: 100%;
}

textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required.long {
    height: 80px;
}

.form_section p {
    margin: 0;

}

.radio_box {
    margin: 10px 0 30px;
}

.form_box.innertxt .form_txt {
    padding-left: 30px;
}

.form_section p.mb {
    margin-bottom: 25px;
}

.form_area.times p {
    display: flex;
    gap: 20px;
}

.form_area.times select.wpcf7-form-control.wpcf7-select {
    width: 100px;
    font-size: 10px;
    height: 30px;

}

span.unit {
    margin-left: 10px;
}

.smallinput {
    width: 120px;
    margin-right: 10px;
}

.form_area.times input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required.around-time {
    width: 85px;
}

.wpcf7-list-item-label {
    font-weight: normal;
}

.wpcf7-list-item.first {
    margin-left: 0;
}

span.small_caption {
    font-size: 75%;
}

.bottomtxtbox {
    margin-top: 45px;
}

.bottomtxtbox p {
    font-weight: bold;
    line-height: 1.8;
}

.wpcf7-submit {
    border: 0;
    background: #7c7c7c;
    padding: 5px 20px;
    border-radius: 8px;
    color: #fff;
    text-align: center;
}

.submitarea {
    margin-top: 45px;
    display: flex;
    justify-content: center;
}

input.wpcf7-form-control.wpcf7-date {
    font-size: 10px;
    height: 30px;
    width: 150px;
}

.normargin .wpcf7-list-item {
    margin-left: 0;
}

input.wpcf7-form-control.wpcf7-file {
    font-size: 14px;
    width: 100%;
}

input[type=file]::file-selector-button {
    background-color: #fff;
    padding: 6px 24px;
    margin-right: 1em;
    border: 1px solid #000;
    border-radius: 15px;
    color: #000;
    height: 100%;
    cursor: pointer;
}

.bold_f {
    font-weight: bold;
}

.section-sub-title {
    font-weight: bold;
}

@media (max-width: 767px) {
    .form_box {

        gap: 10px 30px;
        flex-direction: column;
    }

    .form_box .form_txt {
        width: 100%;
    }

    .form_box .form_area {
        width: 100%;
    }

    .form_area.times p {
        flex-wrap: wrap;
        gap: 20px;
    }

    input.wpcf7-form-control.wpcf7-date {
        width: 100%
    }

    .form_box.innertxt .form_txt {
        padding-left: 15px;
    }

    span.wpcf7-form-control-wrap {
        width: 50%;
    }

    span.time-row {
        width: 40%;
    }
}