@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

*,
body {
    font-family: "Kanit", sans-serif;
}

.bodyQuestionnaire {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.textTitle {
    font-size: 2rem;
    font-weight: bold;
}
.textDescription {
    font-size: 1rem;
    font-weight: 400;
    text-align: left;
}
.textLabel {
    font-size: 1rem;
    font-weight: 400;
    text-align: left;
    margin-bottom: 0.1rem;
}
.textSubLabel {
    font-size: 1rem;
    font-weight: 300;
    text-align: left;
}
.inputName {
    border: 1px solid #000000;
    background-color: #f2f2f2;
    border-radius: 0.4rem;
}

.rowInput {
    padding-left: 1rem;
}

.boxDate {
    padding-left: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.boxDate .col-date-1 {
    width: 100%;
}

.boxDate .col-date-2 {
    width: 100%;
    margin-bottom: 1rem;
}

.boxDate .col-date-3 {
    width: 100%;
    margin-bottom: 1rem;
}
.boxShowDate {
    display: inline-block;
    background-color: #000000;
    padding: 0.5rem 1rem;
}
.boxShowDate p {
    color: #ff0000;
    margin-bottom: 0;
    font-weight: 1.1rem;
    font-weight: 400;
}

.boxShowDate p span {
    color: #ffffff;
}
.boxColRadio {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}
.boxColRadio .colRadio {
    width: 100%;
    text-align: left;
}

.textHeadRadio {
    font-weight: 400;
    color: #000000;
    margin-bottom: 0;
}
.btnSubmit {
    width: 80%;
    max-width: 220px;
    color: #ffffff;
    background-color: #808080;
    border-radius: 12px;
}
.btnSubmit:hover {
    background-color: #ff0000;
    color: #ffffff;
}
.custom-control-label::before,
.custom-control-label::after {
    cursor: pointer;
}
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #ff0000;
    border-color: #ff0000;
}
@media screen and (min-width: 992px) {
    .rowInput {
        padding-left: 2rem;
    }
    .boxDate {
        padding-left: 2rem;
    }
    .boxColRadio {
        flex-wrap: nowrap;
    }
    .boxColRadio .colRadio {
        text-align: center;
        width: 25%;
    }
    .boxColRadio .colRadio .custom-control-inline {
        margin-right: 0;
    }
    .boxColRadio .colRadio .custom-control-label {
        color: transparent;
        width: 0;
        height: 0;
    }
    .boxDate .col-date-1 {
        width: 40%;
    }

    .boxDate .col-date-2 {
        width: 40%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .boxDate .col-date-3 {
        width: 20%;
    }
}
@media screen and (max-width: 991px) {
    .forLG {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .textTitle {
        font-size: 1.6rem;
        font-weight: bold;
    }
}
