
.m2-modal,.m2-modal .overlay{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
}
.m2-modal {
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.2);
}
.modal__header{margin-bottom: 20px;}
.modal__header h3{font-size: 24px;}
.m2-modal.open{display: flex;}
.m2-modal .mod-container{
    max-width: 90%;
    max-height: 90%;
    position: relative;
    z-index: 1;
    width: 600px;
    padding: 20px;
    background-color: #fff;
    overflow: auto;
    margin-top: 50%;
    opacity: 0;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}
.m2-modal.open .mod-container{margin-top: 0;opacity: 1;}
.m2-modal .modal__require span {
    color: #ed1b2f;
}
.m2-modal .modal__close {
    position: absolute;
    right: 15px;
    top: 20px;
    z-index: 2;
    width: 26px;
    height: 26px;
    cursor: pointer;
}
.m2-modal .modal__close:after, .m2-modal .modal__close:before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -1px;
    width: 100%;
    height: 2px;
    background-color: #ec1b2e;
}
.m2-modal .modal__close:before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.m2-modal .modal__close:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.m2-modal .mod-container.answer-container{padding: 40px;}
.m2-modal .answer{font-size: 1.2rem;}