@namespace "http://www.w3.org/1998/Math/MathML";

/* approved */
math {
    font-family: Symbol, STIXGeneral, "Times New Roman";
    display: inline-block;
    padding: 0px;
    margin: 0px;
    text-indent: 0;
    font-size: 1.1em;
    vertical-align: baseline;
}
math[display="block"] {
    font-family: "New Times Roman"
    display: block;
    text-align: center;
    page-break-inside: avoid;
}

mfrac {
    vertical-align: middle;
}

msub, msup {
   display: inline-block;
}

msub > * + * {
   vertical-align: sub;
   font-size: 0.75em;
   line-height: 0.75em;
}

msup > * + * {
   vertical-align: super;
   font-size: 0.75em;
   line-height: 0.75em;
}

msubsup > * {
    margin: 0px;
    padding: 0px;
    vertical-align: middle;
}

msubsup > * + * {
   font-size: 0.75em;
   line-height: 0.75em;
}

munderover {
    vertical-align: middle;
}

munderover > * + *, mover > * + *, munder > * + * {
   font-size: 0.75em;
   line-height: 0.5625em;
}

mrow {
    line-height: 1em;
    white-space: nowrap;
    vertical-align: middle;
}

mfenced > * {
    vertical-align: middle;
}

mo, mn, mi {
   line-height: 0.75em;
   padding: 0px;
   margin: 0px;
}

mo[mathsize="small"], mn[mathsize="small"], mi[mathsize="small"] {
   font-size: 0.75em;
   line-height: 0.5625em;
}

mo[mathsize="normal"],mn[mathsize="normal"],mi[mathsize="normal"] {
   font-size: 1em;
   line-height: 0.75em;
}

mo[mathsize="big"], mn[mathsize="big"], mi[mathsize="big"] {
   line-height: 1.2em;
   font-size: 1.5em;
}
 
annotation, annotation-xml {
    display:none;
}

mphantom {
    visibility: hidden;
}
merror {
    outline: solid thin red;
}

msqrt {
    padding-top: 0.2em;
    padding-left: 0.75em;
}

mroot {
    padding-top: 0.2em;
    padding-left: 0.2em;
}

mroot > * + * {
    font-size: 0.75em;
    line-height: 0.75em;
    vertical-align: top;
    padding-right: 0.3em;
}

mtable {
    display: inline-table;
    line-height: 1.5em;
    text-align: center;
    vertical-align: middle;
}
mtr {
    display: table-row;
}
mtd {
    display: table-cell;
    padding: 0 0.5ex;
}

mtable[columnalign="left"], mtr[columnalign="left"], mtd[columnalign="left"] {
    text-align: left;
}

mtable[columnalign="right"], mtr[columnalign="right"], mtd[columnalign="right"] {
    text-align: right;
}
mtable[rowalign="top"] mtd, mtable mtr[rowalign="top"] mtd, mtable mtr mtd[rowalign="top"] {
    vertical-align: top;
}
mtable[rowalign="bottom"] mtd, mtable mtr[rowalign="bottom"] mtd, mtable mtr mtd[rowalign="bottom"] {
    vertical-align: bottom;
}
mtable[rowalign="center"] mtd, mtable mtr[rowalign="center"] mtd, mtable mtr mtd[rowalign="center"] {
    vertical-align: middle;
}
mtable[frame="solid"] {
    border: solid thin;
}
mtable[frame="dashed"] {
    border: dashed thin;
}
mtable[rowlines="solid"], mtable[rowlines="dashed"], mtable[columnlines="solid"], mtable[columnlines="dashed"] {
    border-collapse: collapse;
}
mtable[rowlines="solid"] > mtr + mtr {
    border-top: solid thin;
}
mtable[rowlines="dashed"] > mtr + mtr {
    border-top: dashed thin;
}
mtable[columnlines="solid"] > mtr > mtd + mtd {
    border-left: solid thin;
}
mtable[columnlines="dashed"] > mtr > mtd + mtd {
    border-left: dashed thin;
}

