.time_end_modal{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 300px;
    /*transform: scale(0.8);*/
}
.tem_content{
    position: absolute;
    top: 16vh;
    left: calc((100% - 300px) / 2);
    z-index: 11;
    width: 305px;
    background-color: #faf1ec;
    padding-bottom: 20px;
    overflow-y: hidden;
}

.tem_header{
    width: 100%;
    color: #fff;
    text-align: center;
    padding: 15px 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: 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: 82%;
    margin: 0 auto;
    margin-top: 20px;
    text-align: center;
    line-height: 30px;
    font-size: 15px;
    border: 2px #d62e2d solid;
}
.tem_main h3{
    font-size: 17px;
    font-weight: bold;
    padding: 10px 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;
    height: 32px;
    text-align: center;
    line-height: 32px;
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
    margin: 0 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;
        padding-bottom: 15px;
        border-radius: 6px;
    }
    .tem_header{
        padding: 6px 0;
    }
    .tem_header span{
        font-size: 14px;
        letter-spacing: 1px;
        padding: 0 13px;
    }
    .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:0 5px;
        padding: 0 6px;
    }
}