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

math {
    font-family: Symbol, "Times New Roman";
    display: inline-block;
    padding: 0px;
    margin: 0px;
    vertical-align: baseline;
    line-height: 1.0;
}

math[display="block"] {
    display: block;
    text-align: center;
    page-break-inside: avoid;
    margin-bottom: 1em;
}

math > * {
    vertical-align: baseline;
}

mrow, mfenced {
    display: inline-block;
    white-space: nowrap;
    vertical-align: middle;
}

mrow > mo, mfenced > mo, math > mo
{
    vertical-align: middle;
}

mi, mtext {
    font-style: italic;
    padding-right: 0.1em;
}

mi + mrow {
    margin-left: 0.1em;
}

mfrac {
    display: inline-block;
    vertical-align: middle;
}

msub, msup {
    display: inline-block;
    vertical-align: baseline;
}

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

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

msubsup {
    display: inline-block;
    vertical-align: baseline;
}

msubsup > * {
    margin: 0px;
    padding: 0px;
}

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

munder, mover, munderover {
    display: inline-block;
    vertical-align: baseline;
}

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

mover > mi {
    text-align: center;
}

mo, mn, mi, mtext {
    padding: 0px;
    margin: 0px;
}

mo {
    display: inline-block;
}

mo {
    padding-left: 0.05em;
    padding-right: 0.05em;
}

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

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

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

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

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

mroot {
    display: inline-block;
    padding-top: 0.2em;
    padding-left: 0.2em;
}

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

mtable {
    display: inline-table;
    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;
}

mspace[linebreak="newline"] {
    display: block;
}
