.time_end_modal{
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    /* transform: scale(0.8); */
    align-items: center;
}
.tem_content{
    position: relative;
    /*position: absolute;*/
    /*top: 16vh;*/
    /*left: calc((100% - 360px) / 2);*/
    /*z-index: 11;*/
    width: 360px;
    margin: 0 auto;
    background-color: #faf1ec;
    padding-bottom: 20px;
    /*overflow-y: hidden;*/
}
.modal_close{
    position: absolute;
    top: -12px;
    right: -12px;
    width: 30px;
    height: 30px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 30px;
    background-color: #f64545;
    border-radius: 50%;
}
.tem_header{
    width: 90%;
    color: #fff;
    text-align: center;
    padding: 15px 5%;
    background-color: #f64545;
    border-bottom: 3px #facf66 solid;
}
.tem_header span{
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
    padding: 0 20px;
}
.tem_header span::before{
    content: ' ';
    position: absolute;
    left: 0;
    top: 9px;
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-image: linear-gradient(to right bottom, #f9de99, #dc9e53);
    box-shadow: 2px 2px 5px #a43009;
}
.tem_header span::after{
    content: ' ';
    position: absolute;
    right: 0;
    top: 9px;
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-image: linear-gradient(to right bottom, #f9de99, #dc9e53);
    box-shadow: 2px 2px 5px #a43009;
}

.tem_main{
    width: 90%;
    margin: 0 auto;
    margin-top: 15px;
    text-align: center;
    line-height: 30px;
    font-size: 15px;
    border: 2px #d62e2d solid;
}
.tem_main h3{
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0;
    padding: 10px;
    border-bottom: 2px #d62e2d solid;
}
.et{
    display: flex;
    width: 84%;
    margin: 0 auto;
    padding: 20px 8%;
    border-bottom: 2px #d62e2d solid;
    align-items: flex-start;
    justify-content: center;
}
.et p:first-child{
    width: 24px;
    color: #d62e2d;
    line-height: 20px;
    font-size: 14px;
    font-weight: bold;
}
.et p:nth-child(2){
    font-size: 88px;
    line-height: 80px;
    font-weight: bold;
    color: #d62e2d;
    padding: 0 20px;
}
.et p:last-child{
    width: 32px;
    height: 32px;
    color: #fff;
    line-height: 32px;
    border-radius: 50%;
    align-self: flex-end;
    background-color: #d62e2d;
}
.subject_time_end{
    width: 100%;
    padding: 6px 0;
}
.subject_time_end p:first-child{
    line-height: 24px;
    color: coral;
    font-weight: bold;
    font-size: 17px;
}
.tem_btn{
    width: 100%;
    text-align: center;
    padding: 10px 0;
}
.tem_btn p{
    font-size: 13px;
    line-height: 20px;
}
.tem_btn a{
    display: inline-block;
    height: 32px;
    text-align: center;
    line-height: 32px;
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
    margin: 3px 3%;
    padding: 0 15px;
    background-color: #d62e2d;
    text-decoration: none;
    box-shadow: none;
    font-weight: normal;
}
@media screen and (max-width: 750px) {
    .tem_content{
        /*top: 16vh;*/
        /*left: calc((100% - 205px) / 2);*/
        /*width: 225px;*/
        width: 82%;
        padding-bottom: 15px;
        border-radius: 6px;
    }
    .tem_header{
        padding: 10px 5%;
    }
    .tem_header span{
        font-size: 15px;
        letter-spacing: 1px;
        padding: 0 13px;
    }
    .tem_header span::before{
        top: 8px;
        width: 7px;
        height: 7px;
    }
    .tem_header span::after{
        top: 8px;
        width: 7px;
        height: 7px;
    }

    .tem_main{
        line-height: 25px;
        margin-top: 8px;
    }
    .tem_main h3{
        font-size: 14px;
        padding: 5px;
        letter-spacing: 0;
    }
    .et{
        padding: 10px 8%;
    }
    .et p:nth-child(2){
        font-size: 46px;
        line-height: 60px;
        padding: 0 15px;
    }
    .et p:last-child{
        width: 28px;
        height: 28px;
        line-height: 28px;
    }
    .tem_btn p{
        font-size: 10px;
        line-height: 20px;
    }
    .tem_btn a{
        height: 32px;
        line-height: 32px;
        font-size: 15px;
        margin: 0px 8px;
        padding: 0 12px;
    }
}