.op-btn{
    width: 40px;
    height: 35px;
    border: 1px solid #ddd;
    margin-right: 3px;
    margin-bottom: 2px;
    background: #ffffff;
    cursor: pointer;
    overflow: hidden;
    vertical-align: middle;
    display: inline-block;
    color: #000000;
    border-radius: 4px;
}
.op-btn:hover{
    background: #FFF;
}
.op-btn .op-btn-icon{
    display: table;
    width: 100%;
    height: 100%;
    text-align: center;
    cursor: pointer;
}
.op-btn .op-btn-icon .mq-root-block {
    display: table-cell;
    vertical-align: middle;
    padding: 0;
}
div[class^="matheditor-wrapper-"]{
    /*margin: auto;*/
    /*position: absolute;*/
    /*display: none;*/
    /*z-index: 999;*/
    position: absolute;
    top: 0;
    left: 40px;
}
div[class^="matheditor-wrapper-"].show {
    display: block;
}
div[class^="matheditor-toolbar-"]{
    margin-bottom: 3px;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .65);
    margin-top: 3px;
}

div[class^="matheditor-wrapper-"] .mq-editable-field, .mq-math-mode .mq-editable-field{
    /*border: 1px solid #ddd;*/
    /*border-radius: 4px;*/
    border: none;
}
div[class^="matheditor-wrapper-"] .mq-editable-field.mq-focused{
    /*border: 1px solid #ddd;*/
    /*border-radius: 4px;*/
    box-shadow: none;
    border: none;
}
div[class^="matheditor-wrapper-"] .op-btn img {
    width: 14pt;
    margin: auto;
    display: block;
    position: relative;
    top: 5px;
}
div[class^="matheditor-wrapper-"] .mq-root-block, .mq-math-mode .mq-root-block{
    white-space: initial;
    word-wrap: break-word;
}

div[class^="matheditor-wrapper-"] ul.tabs{
    margin: 0px;
    padding: 0px;
    list-style: none;
    border-bottom: 1px solid #f4f4f4;
    margin-bottom: 5px;
}
div[class^="matheditor-wrapper-"] ul.tabs li{
    display: inline-block;
    padding: 2px 10px;
    cursor: pointer;
    margin: 0px;
    height: 20px;
}

div[class^="matheditor-wrapper-"] ul.tabs li.current{
    /*background: #F9F9F9;*/
    color: #ffffff;
    font-weight: bold;
}

div[class^="matheditor-wrapper-"] .tab-content-me{
    display: none;
}

div[class^="matheditor-wrapper-"] .tab-content-me.current{
    display: inline-block;
}

#selectable-cube_root .mq-root-block, #selectable-root .mq-root-block, #selectable-square_root .mq-root-block{
    padding-top: 8px !important;
    font-size: 10pt;
}

#tab-2 .mq-root-block, #tab-3 .mq-root-block{
    padding-top: 4px !important;
    font-size: 15pt;
}

.mq-math-mode var.mq-f {
    margin-right: 0;
    margin-left: 0;
}
.answer-editor > .mq-root-block {
    /*display: flex;*/
    /*align-items: center;*/
    display: block;
    float: left;
    /*height: 50%;*/
    max-height: 50px;
    overflow: auto;
    /*line-height: 50px;*/
    /*padding-top: 10px;*/
}

.answer-editor > .mq-root-block > span,
.answer-editor > .mq-root-block > var {
    position: relative;
    display: inline-block;
    clear: both;
}
.answer-editor > .mq-root-block > span {
    font-size: 80%;
}
.answer-editor > .mq-root-block > .mq-large-operator {
    font-size: 50%;
}
.tab-content-me .mq-root-block {
    /*height: 28px;*/
    justify-content: center;
}

div[class^="matheditor-toolbar-"] .mq-math-mode .mq-int > .mq-supsub > .mq-sup > .mq-sup-inner {
    vertical-align: 0.5em;
}
