/* 模态框的背景 */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.66);
    align-items: center;
    justify-content: center;
}
/* 模态框内容 */
.modal-content {
    width: 54%;
    height: 70%;
    background-color: #ffffff;
    border: 1px solid #888;
    border-radius: 0.3rem;
    margin: 0 auto;
    padding: 40px 60px;
}
.contentBox{
    height: 70%;
    background-color: #f5f5f5;
    padding: 0 20px;
    overflow: auto;
}
.yy{
    height: 20px;
    background: #f5f5f5;
}
.overflow {
    font-size: 13px;
    /* overflow: auto; */
    text-align: justify;
}
.buttonBox{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 30px;
}
/* 关闭按钮和取消按钮 */
.modal .buttonBox .btn {
    padding: 0px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    /* letter-spacing: 1rem;
    text-indent: 1rem; */
    text-align: center;
}
.confirm-btn {
    width: 300px;
    height: 40px;
    background-color: #FFF;
    color: #264c91;
    border: 1px solid #A2ABB3;
    transition: all 0.4s;
}
.confirm-btn:hover {
    background-color: #264c91;
    color: #FFF;
}
.cancel-btn {
    width: 300px;
    height: 40px;
    background-color: #FFF;
    color: #264c91;
    border: 1px solid #A2ABB3;
    transition: all 0.4s;
}
.cancel-btn:hover {
    background-color: #264c91;
    color: #FFF;
}

@media(max-width:1280px){
    .modal-content {
        width: 70%;
    }
}
@media(max-width:1110px){
    .confirm-btn {
        width: 250px;
    }
    .cancel-btn {
        width: 250px;
    }
}
@media(max-width:930px){
    .confirm-btn {
        width: 200px;
    }
    .cancel-btn {
        width: 200px;
    }
}
@media(max-width:768px){
    .confirm-btn {
        width: 120px;
    }
    .cancel-btn {
        width: 120px;
    }
    .modal-content {
        padding: 40px 40px;
    }
}
@media(max-width:550px){
    .confirm-btn {
        width: 100px;
    }
    .cancel-btn {
        width: 100px;
    }
    .modal-content {
        padding: 40px 30px;
    }
}
@media(max-width:425px){
    .modal-content {
        width: 90%;
    }
    .modal-content {
        padding: 20px 20px;
    }
}


/* 图片点击放大 模态框 */
.emodal {
    display: none;
    position: fixed;
    /* 确保层级在上 */
    z-index: 1000000000000000;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.88);
}
.emodal-content {
    margin: auto;
    display: block;
    width: auto;
    height: 80%;
    max-width: 100%;
    object-fit: contain;
}
.emodal-content {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.5s;
    animation-name: zoom;
    animation-duration: 0.5s;
}
@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}
@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}
/* 关闭按钮 */
.eclose {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.eclose:hover,
.eclose:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

