/* Modal Styles */
.math-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}
.math-modal .math-modal-outer {
    float: left;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.math-modal .math-modal-outer .math-modal-content {
    background: #fff;
    padding: 40px;
    width: 400px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.math-modal .math-modal-outer .math-modal-content .math-close {
    float: right;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
}

.math-modal .math-modal-outer .math-modal-content .math-close {
    right: 20px;
    top: 20px;
    font-size: 0px;
    width: 15px;
    height: 15px;
    box-shadow: none !important;
    background: url(/wp-content/uploads/2022/06/close-modal-icon.svg) no-repeat center center;
    background-size: contain;
}

.math-modal .math-modal-outer .math-modal-content .math-close:hover {
    opacity: 0.6;
    background: url(/wp-content/uploads/2022/06/close-modal-icon.svg) no-repeat center center;
    background-size: contain;
}

.math-modal .math-modal-outer .math-modal-content #mathAnswer {
    display: block;
    padding: 10px 20px;
    text-transform: none;
    font-size: 16px;
    font-weight: 300;
    -webkit-appearance: none;
    appearence: none;
    box-shadow: none;
    background: #FFFFFF;
    border: 1px solid #868686;
    border-radius: 4px;
    float: left;
    width: 100%;
    height: 45px;
}

.math-modal .math-modal-outer .math-modal-content #submitMath {
    margin-top: 10px;
    cursor: pointer;
}