.consultation_time_top{
    border: solid 1px #707070;
    border-radius: 10px;
    background-color: #FFFFFF;
    width: 960px;
    margin: 30px auto 100px 29%;
}

.consultation_time_top th{
    padding: 0.5em 32px;
    width: 3.1em;
    text-align: center;
    line-height:1.5;
    letter-spacing: 0.05em;
    color: #707070;
}

.consultation_time_top th span{
    font-size: 0.9rem;

}

.time_top th,
.time_afternoon_top th {
    font-size: 20px;
    width: auto;
}

.time_top th span,
.time_afternoon_top th span{
    font-size: 13px;
}

.consultation_time_top td{
    padding: 0.5em 0;
    width: 2em;
    text-align: center;
    line-height:1.5;
    letter-spacing: 0.05em;
    color: #707070;
    font-size: 1.5rem;
    vertical-align:  middle;
}

.time_top{
    border-bottom: 2px solid #707070;
}

/* .time_container_top{
    margin: 2% 3%;
} */
/* @media (1201px <= width <= 1440px){ */
    /* .consultation_time_top{
        width: 600px;
    } */

.time_container_top {
    margin: 2% auto;
}

.time_top th{
    vertical-align: middle;
}

.title_consultation h2 {
    text-align: center;
    margin: 0 auto;
    /* font-size: 37px; */
    font-size: 2rem;
    color: #3D3731;
}

.title_consultation h3 {
    text-align: center;
    /* font-size: 10px; */
    font-size: 0.7rem;
    color: #3D3731;
    margin: 0 auto;
    margin-top: 20px;
}

.title_consultation{
    width: 960px;
    margin: 30px auto 40px 29%;
}

@media (1101px <= width <= 1249px){/*1335px*/
    .consultation_time_top{
        border: solid 1px #707070;
        border-radius: 10px;
        background-color: #FFFFFF;
        width: 80%;
        margin: 0 auto;
        margin-bottom: 120px;
    }

    .consultation_time_top th{
        padding: 0.5em 32px;
        /* width: 3.1em; */
        text-align: center;
        line-height:1.5;
        letter-spacing: 0.05em;
        color: #707070;
    }
    .consultation_time_top td{
        padding: 0.5em 0;
        width: 1em;
        text-align: center;
        line-height:1.5;
        letter-spacing: 0.05em;
        color: #707070;
        font-size: 1rem;
    }

    .time_top th {
        font-size: 18px;
        /* padding: 10px 10px; */
    }
    
    .time_afternoon_top th{
        /* font-size: 14px; */
        font-size: 1rem;
        width: auto;
        padding: 10px 2px;
    }

    .time_top th span,
    .time_afternoon_top th span{
        font-size: 10px;
    }

    .time_container_top {
        margin: 2% auto;
    }

    .title_consultation h3{
        margin-left: 0px;
    }

    .title_consultation h2{
        margin-left: 0px;
    }

    .title_consultation{
        width: 75%;
        margin: 0 auto;
        margin-bottom: 40px;
    }
}

@media (992px <= width <= 1100px){/*1024 923*/
    .consultation_time_top {
        /* width: fit-content; */
        /* width: 390px; */
        width: 90%;
        margin: 0 auto;
        margin-bottom: 100px;
    }
    .consultation_time_top th{
        width: initial;
    }
    .morning_top{
        vertical-align: middle;
        width: 8rem;
    }
    .title_consultation h2 {
        margin-left: 0px;
    }

    .title_consultation h3{
        margin-left: 0px;
    }   

/*-------------------------------------*/
    .consultation_time_top td{
        padding: 0.5em 0;
        width: 1em;
        text-align: center;
        line-height:1.5;
        letter-spacing: 0.05em;
        color: #707070;
        font-size: 1rem;
        margin-bottom: 40px;
    }

    /* .time_top th{
        font-size: 14px;
        width: auto;
        padding: 10px 8px;
    } */
    
    /* .time_afternoon_top th{
        font-size: 14px;
        width: auto;
        padding: 10px 2px;
    } */

    .time_top th span,
    .time_afternoon_top th span{
        font-size: 10px;
    }
    .title_consultation{
        width: 75%;
        margin: 0 auto;
        margin-bottom: 40px;
    }
}

/*#############################
tablet_1
###############################*/
@media (width <= 541px) {/*1023p*//*922px*/

    .consultation_time_top{
        /* width: fit-content; */
        margin: auto;
        width: 90%;
        margin-bottom: 50px;
    }

    .consultation_time_top td{
        padding: 0.5em 0;
        width: 1em;
        text-align: center;
        line-height:1.5;
        letter-spacing: 0.05em;
        color: #707070;
        font-size: 1rem;
    }

    .time_container_top {
        margin: 2% 3%;
    }

    .time_top th,
    .time_afternoon_top th{
        font-size: 12px;
        width: auto;
        padding: 10px 8px;
    }

    .time_afternoon_top th{
        font-size: 11px;
    }

    .time_top th span,
    .time_afternoon_top th span{
        font-size: 10px;
    }
    
    .time_top .morning_top{
        width: 15rem;
    }
    .title_consultation{
        width: 75%;
        margin: 0 auto;
        margin-bottom: 40px;
        margin-top: 180px;
    }

}
/*#############################
tablet_2
###############################*/
@media (542px <= width <= 991px) {/*1023p*//*922px*/

    .consultation_time_top{
        width: fit-content;
        margin: auto;
        margin-bottom: 150px;
    }

    .consultation_time_top td{
        padding: 0.5em 0;
        width: 1em;
        text-align: center;
        line-height:1.5;
        letter-spacing: 0.05em;
        color: #707070;
        font-size: 1rem;
    }

    .time_container_top {
        margin: 2% 3%;
    }

    .time_top th,
    .time_afternoon_top th{
        /* font-size: 12px;
        width: auto;
        padding: 10px 8px; */
        font-size: 1rem;
        width: auto;
        padding: 1rem 1rem;
    }

    .time_afternoon_top th{
        /* font-size: 11px; */
        font-size: 1rem;
    }

    .time_top th span,
    .time_afternoon_top th span{
        font-size: 10px;
    }
    
    .time_top .morning_top{
        width: 15rem;
    }
    .title_consultation{
        width: 75%;
        margin: 0 auto;
        margin-bottom: 40px;
    }
    .title_consultation h2 {
        margin-left: 0px;
        font-size: 2rem;
        letter-spacing: 0.1em;
        margin-bottom: 10px;
        margin-top: 100px;
    }

}

/*#############################
mobile
###############################*/
@media (474px <= width <= 543px) {/*430 375 425*/

    /* .consultation_time_top td{
        padding: 0.5em 0;
        width: 1em;
        text-align: center;
        line-height:1.5;
        letter-spacing: 0.05em;
        color: #707070;
        font-size: 1rem;
    } */


    #container {
        height: 800px;
    }

    .consultation_time_top{
        border: solid 1px #707070;
        border-radius: 10px;
        background-color: #FFFFFF;
        /* width: 300px; */
        width: 90%;
        margin: 0px auto;
        margin-bottom: 40px;
    }

    .time_top th{
        font-size: 12px;
        width: auto;
        padding: 10px 5px;
    }
    
    .time_container_top {
        margin: 2% 3%;
    }

    .time_afternoon_top th{
        font-size: 12px;
        width: auto;
        padding: 10px 2px;
    }

    .time_top th span,
    .time_afternoon_top th span{
        font-size: 10px;
    }

    .title_consultation h2 {
        margin-left: 0px;
        font-size: 2rem;
        letter-spacing: 0.1em;
        margin-bottom: 10px;
        margin-top: 100px;
    }

    .title_consultation h3 {
        text-align: center;
        margin-left: 0px;
        font-size: 0.75rem;
        color: #3D3731;
        margin-bottom: 20px;
    }

}

@media (width <= 425px){/*375*/
    .time_top th {
        padding: 10px 5px;
    }
    .consultation_time_top th{
        padding: 0.5em 0;
    }
    .consultation_time_top{
        border: solid 1px #707070;
        border-radius: 10px;
        background-color: #FFFFFF;
        width: 300px;
        margin: 0px auto;
        margin-bottom: 40px;
    }
    /* .title_consultation h2 {
        margin-left: 0px;
        font-size: 23px;
        letter-spacing: 0.1em;
        margin-bottom: 10px;
        margin-top: 18px;
    } */
    .title_consultation h2 {
        margin-left: 0px;
        font-size: 1.5rem;
        letter-spacing: 0.1em;
        margin-bottom: 10px;
        margin-top: 18px;
    }
    /* .title_consultation h3 {
        text-align: center;
        margin-left: 0px;
        font-size: 7px;
        color: #3D3731;
        margin-bottom: 20px;
    } */
    .title_consultation h3 {
        text-align: center;
        margin-left: 0px;
        font-size: 0.5rem;
        color: #3D3731;
        margin-bottom: 20px;
        margin-top: 10px;
    }
}


/* @media (width >= 360px){
    .consultation_time_top{
        width: fit-content;
    }
} */

@media (331px <= width <= 374px){
    .time_top th {
        padding: 10px 0.5vw;
    }
}

@media (width <= 330px) {
    .time_afternoon_top th span{
        font-size: 8px;
    }
    .time_top th {
        padding: 10px 0px;
    }
}

@media(width <= 300px){
    .consultation_time_top{
        width: 90%;
    }
}

@media(544px <= width <= 625px){
    .time_top th, .time_afternoon_top th {
        font-size: 0.8rem;
        width: auto;
        padding: 0.5rem 0.5rem;
    }
        .consultation_time_top {
        width: 90%;
        margin: auto;
        margin-bottom: 150px;
        padding: 20px;
    }
}

@media(624px <= width <= 720px){
    .time_top th, .time_afternoon_top th {
        font-size: 0.7rem;
        width: auto;
        padding: 1rem 1rem;
    }
        .consultation_time_top {
        width: 90%;
        margin: auto;
        margin-bottom: 150px;
        padding: 20px;
    }
}

@media(992px <= width <= 1030px){
    .consultation_time_top {
        padding-left: 20px;
        padding-right: 20px;
    }
}


