.time_end_modal{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 360px;
}
.tem_content{
    position: absolute;
    top: 16vh;
    left: calc((100% - 300px) / 2);
    z-index: 11;
    width: 360px;
    background-color: #faf1ec;
    padding-bottom: 20px;
    overflow-y: hidden;
}

.tem_header{
    width: 100%;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    background-color: #f64545;
    border-bottom: 3px #facf66 solid;
}
.tem_header span{
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0;
    padding: 0 20px;
}
.tem_header span::before{
    content: ' ';
    position: absolute;
    left: 0;
    top: 11px;
    display: inline-block;
    width: 8px;
    height: 8px;
    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: 11px;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-image: linear-gradient(to right bottom, #f9de99, #dc9e53);
    box-shadow: 2px 2px 5px #a43009;
}

.tem_main{
    width: 88%;
    margin: 0 auto;
    margin-top: 15px;
    text-align: center;
    line-height: 30px;
    font-size: 15px;
    border: 2px #d62e2d solid;
}
.tem_main h3{
    font-size: 17px;
    font-weight: bold;
    padding: 6px 0;
    letter-spacing: 0;
    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:nth-child(3){
    width: 32px;
    height: 32px;
    color: #fff;
    line-height: 32px;
    border-radius: 50%;
    align-self: flex-end;
    background-color: #d62e2d;
}
.tem_btn{
    width: 100%;
    text-align: center;
    padding: 10px 0;
}
.tem_btn a{
    display: inline-block;
    width: 90%;
    height: 36px;
    text-align: center;
    line-height: 36px;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    margin: 5px 0;
    background-color: #d62e2d;
    text-decoration: none;
    box-shadow: none;
    font-weight: normal;
}
@media screen and (max-width: 750px) {
    .time_end_modal{
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10;
        width: 86%;
        height: 80vh;
        padding: 0 7%;
        padding-top: 20vh;
        background-color: rgba(0, 0, 0, 0.3);
    }
    .tem_content{
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        overflow: inherit;
        border-radius: 6px;
    }
    .tem_close{
        position: absolute;
        top: -15px;
        right: -10px;
        width: 30px;
        height: 30px;
        color: #fff;
        font-size: 20px;
        text-align: center;
        line-height: 30px;
        border-radius: 50%;
        background-color: #f64545;
    }
    .tem_header{
        padding: 10px 0;
    }
    /*.tem_header span{*/
        /*font-size: 14px;*/
        /*padding: 0 10px;*/
    /*}*/
    /*.tem_header span::before{*/
        /*top: 7px;*/
        /*width: 7px;*/
        /*height: 7px;*/
    /*}*/
    /*.tem_header span::after{*/
        /*top: 7px;*/
        /*width: 7px;*/
        /*height: 7px;*/
    /*}*/

    .tem_main{
        line-height: 25px;
        margin-top: 8px;
    }
    /*.tem_main h3{*/
        /*font-size: 15px;*/
        /*padding: 3px 0;*/
    /*}*/
    .et{
        padding: 10px 8%;
    }
    .et p:nth-child(2){
        font-size: 46px;
        line-height: 60px;
        padding: 0 15px;
    }
    .et p:nth-child(3){
        width: 28px;
        height: 28px;
        line-height: 28px;
    }
    /*.tem_btn a{*/
        /*height: 26px;*/
        /*line-height: 26px;*/
        /*font-size: 14px;*/
        /*margin: 3px 0;*/
    /*}*/
}