.m-0 {
    margin: 0!important;
}
.modal-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / 80%);
    justify-content: center;
    align-items: center;
    z-index: 10000;
}
.modal-bg.active {
    display: flex;
}
.modal {
    background: #fff;
    padding: 30px 60px;
    border-radius: 10px;
}
.modal .head {
    position: relative;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.modal .head span {
    font-weight: 600;
    font-size: 24px;
}
.modal .head i {
    display: flex;
    font-style: normal;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    position: absolute;
    top: -20px;
    right: -50px;
    cursor: pointer;
    opacity: .6;
}
.modal .head i:hover {
    opacity: 1;
}
.modal .body label {
    display: block;
    padding-bottom: 10px;
}
.modal .body input {
    margin-bottom: 20px;
    padding: 5px 30px;
    border-radius: 19px;
}
.modal .foot {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}
.modal .foot .button {
    background: #e3070c;
    border: 3px solid #e3070c;
}
.modal .foot .button:hover {
    background: #fff;
}
.modal .mMsg {
    margin-bottom: 20px;
    border: 1px solid;
    padding: 5px;
}
.modal .mMsg.mError {
    color: #e3070c;
}
.modal .mMsg.mSuccess {
    color: #219a29;
}

/* custom */

.modal-bg.thanks-modal .modal {
    max-width: 600px;
}