#myModaldiv #dragMeid {
    border: solid 1px #00aeef !important;
    position: relative;
}



/* Canvas border */
.free_sketch {
    border: 1px solid black;
}

/* Tools pencil eraser css */
#tools {
    border: 1px solid black;
    width: 653px;
    padding: 10px;
}

#tools i {
    font-size: 26px;
    padding: 10px;
}

/* END */

/* hide manual from editor */
[title="Manual"] {
    display: none !important;
}

/* speak button css */
.spt_speak {
    font-size: 24px;
    padding-left: 13px;
    cursor: pointer !important;
}

.learndash-wrapper .wpProQuiz_content.answer-masking ul.wpProQuiz_questionList span:not(.circled) {
    z-index: 5px !important;
}

/* Toolbar height to be same */
div.wrs_multipleRowPanel.wrs_selected {
    height: 85px;
}

div.wrs_formulaDisplayWrapper {
    height: 200px !important;
}

.wrs_editor .wrs_layoutFor2Rows .wrs_empty {
    height: 9px !important;
}

button[title="fractionsub"]>img.wrs_image {
    height: 39px !important;
    margin-top: -19px !important;
}

/* The Modal (background) */
.calmodaldiv {
    display: none;
    position: fixed;
    z-index: 1;
    left: 27%;
    top: 20%;
    width: 25%;
    height: 100%;
    overflow: auto;
}

/* Modal Content */
.cal-modal-content {
    height: auto;
    margin-top: 50%;
    width: 61%;
}

/* Calclulator */
#calculator {
    max-width: 800px;
    margin-top: 20%;
    margin-bottom: 2%;
    padding-bottom: 2%;
    background-color: #305A85;
    border-bottom-right-radius: 5%;
    border-bottom-left-radius: 5%;
    box-shadow: 5px 4px 10px 1px #000000;
    border: 3px outset #305A85;
}

/* The Close Button */
#close {
    text-align: center;
    color: #aaaaaa;
    /* float: right; */
    width: 40px;
    /* background-color: aquamarine; */
    font-size: 20px;
    font-weight: bold;
    border-radius: 106px;
}

#close:hover,
#close:focus {
    color: #d9534f;
    text-decoration: none;
    cursor: pointer;
}


@media only screen and (min-width: 1px) and (max-width: 800px) {
    .calmodaldiv {
        left: 20%;
        width: 102%;
    }

    .cal-modal-content {
        height: auto;
        margin-top: 50%;
        width: 72%;
    }
}

/* Calculator CSS */
#logo {
    width: 130px;
}

.form-control {
    display: block;
    text-align: right;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#memoryNegativeError {
    margin-top: 30px;
    margin-bottom: -64px;
    margin-left: 17px;
    width: 7px !important;
    padding-top: 2px;
    padding-left: 10px;
    font-size: 13px;
    font-family: 'Orbitron', sans-serif;
    color: #000000;
    background-color: #C0C0C0;
    cursor: default;
    border: 1px inset #505050;
    border-right: 0 solid #C0C0C0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    line-height: 75%;
}

#display {
    max-height: 34px;
    display: inline-block;
    max-width: 192px;
    margin-top: 30px;
    color: #000000;
    background-color: #C0C0C0;
    cursor: default;
    font-size: 25px;
    font-family: 'Orbitron' !important;
    margin-bottom: 10px;
    margin-left: 40px;
    padding-top: 14px;
    padding-left: 0px;
    padding-right: 2px;
    border: 1px inset #505050;
    border-left: 0 solid #C0C0C0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#brand {
    font-weight: bold;
    font-size: 1.3em;
    text-align: right;
}

#bottomLine {
    border-bottom: 1px outset #305A85;
    width: 245px;
    margin-left: -15px;
}

#buttons {
    margin-top: 20px;
    border: 1px inset #305A85;
    margin-left: 6px;
    margin-right: 7px;
    padding-left: 5px;
    height: 280px;
}

#buttons button {
    margin-left: 1px;
    margin-top: 10px;
    width: 50px;
    outline: none !important;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn-default {
    color: darkblue;
    font-weight: bold;
    border: 2px outset #000000;
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn-danger {
    border: 2px outset #FF0000;
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

#equalsKey {
    padding-bottom: 50px;
}

#equalsKey:focus {
    border: 2px solid #000000;
    outline: 1px solid #305A85;
}

.moveUp {
    margin-top: -33px !important;
}

.moveUp2 {
    margin-top: -58px !important;
}

.btn-danger:focus {
    background-color: #d9534f;
    border: 1px solid black;
}

.btn-default:focus {
    background-color: #FFFFFF;
    border: 1px solid black;
    color: darkblue;
}

.btn-default:hover,
.btndefault:active {
    color: darkblue;
}

#onButton {
    padding-left: 5px;
}

#MRCButton {
    padding-left: 8px;
}

.upsideDown {
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.tooltip-inner {
    white-space: pre-wrap;
}

.gray {
    color: #999999 !important;
}

/* ==== ---===----===---==---==---=----==-=-=--=-=-=-= */
.learndash-wrapper .wpProQuiz_content .wpProQuiz_question {
    padding-right: 25px;
}

.wpProQuiz_questionListItem label {
    position: relative;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem {
    padding-left: 45px !important;
}

.wpProQuiz_content.answer-masking ul.wpProQuiz_questionList li.wpProQuiz_questionListItem label {
    background-color: transparent !important;
    color: #000 !important;
    padding: 6px 15px;
    border: 1px solid gray;
    margin: 0;
    width: calc(100% - 28px) !important;
    position: relative;

}

.learndash-wrapper .wpProQuiz_content ul.wpProQuiz_questionList span.circled {
    margin-right: 0;
    margin-left: -66px;
}

.wpProQuiz_content.answer-masking .watchButton {
    height: 100%;
}

.wpProQuiz_content.answer-masking .wpProQuiz_questionListItem label::after {
    content: "";
    width: 100%;
    height: 100%;
    background: gray;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
}

.wpProQuiz_content.answer-masking ul.wpProQuiz_questionList li.wpProQuiz_questionListItem label.masking-active::after {
    display: none;
}

.wpProQuiz_content.answer-masking ul.wpProQuiz_questionList li.wpProQuiz_questionListItem label.is-selected .circled,
.wpProQuiz_content.answer-masking ul.wpProQuiz_questionList li.wpProQuiz_questionListItem label .circled:hover {
    color: #FFF !important;
    border-color: #3a6db0 !important;
    background: #3a6db0 !important;
}

/* ----------- */

#myModaldiv {
    z-index: 9999;
    height: 625px;
    overflow: hidden;
    background-color: white;
}

.calmodaldiv {
    width: auto !important;
}

#dragMeid {
    height: auto;
    margin-top: 0;
    width: 610px;
}

#myModaldiv #app {
    width: 610px;
}

#myModaldiv #app iframe {
    /* width: 800px; */
}

#myModaldiv #app iframe.normalCalculator {
    width: 235px;
    float: right;
    transform: scale(1.05);
    margin-top: 11px;
}


/* Make questionsolved */
div.wpProQuiz_reviewQuestion ol li.wpProQuiz_reviewQuestionSolved {
    background-color: white !important;
}

/* border */
div.wpProQuiz_checkPage input.wpProQuiz_button {
    border: 2px solid !important;
}

/* -----  ==== */
.wpProQuiz_quiz {
    padding: 0 25px;
}


/* Circle span for eraser*/

.circle {
    position: absolute;
    display: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border: 2px solid red;
}

.circle.in {
    display: block;
}

#myModaldiv {
    position: absolute;
    z-index: 9;
}

#app {
    padding: 10px;
    cursor: move;
    z-index: 10;
    height: 600px;
    width: 600px;
    overflow: hidden;
}

#app:has(.sftac-basic) {
    height: 555px !important;
}

#calculator#calculator#calculator {
    max-width: 290px;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 2%;
    background-color: #305A85;
    border-bottom-right-radius: 5%;
    border-bottom-left-radius: 5%;
    box-shadow: 3px 4px 15px 1px #3b3b3b;
    border: 3px outset #305A85;
}

#calculator #buttons {
    margin-top: 20px;
    border: 1px solid #305A85;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    height: 288px;
    box-sizing: border-box;
    padding: 0 17px;
    width: 100%;
}

.screenDiv {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 100%;
}

.screenDiv #memoryNegativeError {
    margin-top: 10px;
    margin-bottom: 0;
    margin-left: 0;
    width: 22px !important;
    padding-top: 0;
    padding-left: 0;
    font-size: 13px;
    font-family: 'Orbitron', sans-serif;
    color: #000000;
    background-color: #C0C0C0;
    cursor: default;
    border: 1px inset #505050;
    border-right: 0 solid #C0C0C0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    line-height: 75%;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 5px 0;
    height: 44px;
}

.screenDiv #memoryNegativeError>span {
    width: 100%
}

.screenDiv #display {
    height: 50px;
    display: inline-block;
    max-width: 200px;
    margin-top: 10px;
    color: #000000;
    background-color: #C0C0C0;
    cursor: default;
    font-size: 25px;
    font-family: 'Orbitron' !important;
    margin-bottom: 0;
    margin-left: 0;
    padding-top: 14px;
    padding-left: 0px;
    padding-right: 2px;
    border: 1px inset #505050;
    border-left: 0 solid #C0C0C0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    max-height: 44px;
}

#myModaldiv #dragMeid #close {
    /* text-align: center;
    color: #ffffff;
    float: right;
    width: 30px;
    background-color: #c80303;
    font-size: 20px;
    font-weight: normal;
    border-radius: 106px;
    height: 30px;
    line-height: 30px;
    position: absolute; */
    position: absolute;
    top: 7px;
    right: 18px;
    color: #000;
    font-size: 35px;
}

#maximize {
    /* float: right; */
    /* font-size: 24px;
    font-weight: bold;
    margin-right: 10px;
    cursor: pointer;
    color: #333; */
    position: absolute;
    top: 13px;
    right: 58px;
    font-size: 26px;
}

#maximize:hover {
    color: #000;
}