.modal-box {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: none;
    z-index: 99;
}
body.modal-open .modal-box.modal-active {
    display: block;
}
.modal-box .modal-bk {
    background: rgba(0,0,0,0.8);
    position: fixed;
    cursor: pointer;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}
.modal-box .modal-bk i {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 25px;
}

.modal-box .modal,
.modal-box .modal_link {
    position: fixed;
    background: #fff;
    border-radius: 3px;
    padding: 50px 50px 30px;
    margin-left: 50%;
    top: 20%;
    width: 200px;
    left: -100px;
    z-index: 100;
}
.modal-box .modal_link {
    padding: 0;
    width: 80%;
    left: -40%;
}
.modal-box .modal_link a {
    font-size: 16px;
    font-weight: 600;
    color: #4d4d4d;
    display: block;
    text-align: center;
    padding: 20px;
    border-bottom: solid 1px #f3f3f3;
    text-decoration: none;
}
.modal-box .modal_link a:last-child {
    border: none;
}
.modal-box .modal_link a:hover {
    color: #f10f3a;
}
.modal-box .modal .modal-title {
    color: #40454b;
    font-size: 18px;
}
.modal-box .modal .modal-subtitle {
    color: #40454b;
    font-size: 13px;
    text-transform: uppercase;   
}
.modal-box .modal p {
    color: #6f7077;
    line-height: 20px;
    font-size: 14px;
}
.modal-box .modal.modal-1 {
    width: 300px;
    left: -150px;
}
.modal-box .modal.modal-2 {
    width: 500px;
    left: -250px;
}
.modal-box .modal.modal-3 {
    width: 630px;
    left: -315px;
}

.modal .submit {
    padding: 0;
}

/* Small */
@media (max-width:640px) {
    .modal-box .modal {
        left: 0 !important;
        width: auto !important;
        margin-left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        overflow: auto;
    }
    .modal .submit {
        padding: 10px;
    }
    .modal .submit .back {
        display: block;
        position: fixed;
        top: -20px;
        right: -40px;
        overflow: hidden;
        height: 20px;
        width: 20px;
        text-indent: 2000px;
        z-index: 1;
    }
    .modal .submit .back::before {
        font-family: "Font Awesome 5 Pro";
        content: "\f00d";
        position: absolute;
        top: -7px;
        right: 4px;
        font-size: 25px;
        font-weight: 300;
    }
}