
.xor_calc_group {
    text-align: center;
    background-color: #dddddd;
    padding-bottom: 2px;
    width: 300px;
    border: 1px solid #000;
  }
  .xor_calc {
    width: 100%;
    border-spacing: 0px;
    padding: 0px;
  }
  .xor_calc tr td {
    width: 20%;
    padding: 0px;
  }
  .OMS_calc_btn {
    width: 98%;
    margin: 0 0 0 0;
  }
  #xor_calc_res {
    font-size: 130%;
  }
  #xor_calc_res0 {
    width: 100%;
    height: 20px;
    font-size: 80%;
    padding-top: 5px;
  }
  .xor_calc1 {
    width: 99%;
    height: 45px;
    background-color: #ffffff;
    text-align: right;
    margin: auto;
    margin-top: 4px;
  }
  .xor_close2 {
    display: none;
  }
  
  .xor_zz {
    margin: 5px;
    cursor: pointer;
  }
  
  
  
  .link_blok,
  .res_blok,
  .res_head {
    border: 2px solid #eeeeee;
    background-color: #eeeeee;
    clear: both;
    padding: 0px;
  }
  .link_blok {
    border-radius: 15px;
    margin: 0.5em 0;
  }
  .res_blok {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    margin: 0;
    background-color: #ffffff;
  }
  .res_head {
    margin: 0;
    text-align: left;
    padding: 0.5em;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-color: #eeeeee;
  }
  
  .link_blok a {
    display: block;
    padding: 0.2em 0.2em 0.2em 1em;
    overflow: hidden;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #d3d3d3;
    font-weight: bold;
    text-decoration: none;
    text-overflow: ellipsis;
    color: #444444;
  }
  .link_blok a:hover {
    text-decoration: none;
    color: #0000ff;
  }
  .link_blok a:nth-child(n) {
    background: #e0e0e0;
  }
  .link_blok a:nth-child(2n) {
    background: #eeeeee;
  }
  .link_blok a:first-child {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding: 0.3em 0.3em 0.3em 1em;
    color: #ffffff;
    background-color: #000000;
    text-shadow: 0 1px 0 #000000;
  }
  .link_blok a:first-child:hover {
    text-decoration: none;
    color: #ffffff;
  }
  .link_blok a:last-child {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-bottom: 0;
  }
  .res_blok_btns {
    background-color: #000000;
    color: #ffffff;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    font-weight: bold;
    cursor: pointer;
    display: table;
    width: 100%;
  }
  .res_blok_btn1,
  .res_blok_btn2 {
    width: 50%;
    text-align: center;
    display: table-cell;
    padding: 0.7em 0em 0.7em 0em;
  }
  .res_blok_btn1 {
    border-right: 2px solid #ffffff;
  }
  
  /*выбор для калькулятора*/
  #xor_calculator {
    display: table;
  }
  #xor_calculator div {
    display: table-cell;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border: 2px solid #eeeeee;
    padding: 0.2em;
    cursor: pointer;
    font-weight: bold;
    border-bottom: 0px;
  }
  #xor_calculator div:first-child {
    box-shadow: 0px 5px 5px #909090;
  }
  #xor_calculator .cselect {
    background: #f8f8f8;
  }
  #xor_calculator .cselect1 {
    background: #ffffff;
  }
  section.lib {
    background: #f8f8f8;
    border-radius: 10px;
    border-top-left-radius: 0px;
    box-shadow: 0px 5px 5px #909090, 0px 0px 5px #f2f2f2;
    padding: 20px 1.5em 1em;
  }
  .xor_t_calk {
    margin: auto;
  }
  
  td.fr_numerator,
  td.fr_denominator {
    text-align: center;
    white-space: nowrap;
  }
  td.fr_numerator {
    border-bottom: #000000 1px solid;
  }
  td.fr_denominator {
    padding-top: 2px;
  }
  td.fr_integer {
    text-align: center;
    vertical-align: middle;
  }
  td.fr_integer_top {
    vertical-align: top;
    padding: 0px;
  }
  
  
  /*---------------------------------------*/
  
  .xor_xor {
    margin: auto;
    width: 95%;
    display: table;
  }
  .xor_xor a {
    text-decoration: none;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 0 10px 0 10px;
    border-bottom: 1px solid #444444;
    margin-top: 1em;
    display: inline-block;
  }
  
  li a {
    text-decoration: none;
  }
  
  
  
  
  .xor_formula,
  .xor_vector {
    font-family: MJI;
    font-size: 1.2em;
    display: inline;
  }
  .xor_sqrt {
    display: inline;
    padding: 2px 0px 0px 0px;
  }
  .xor_sqrt,
  .xor_vector {
    text-decoration: none;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #000000;
  }
  
  /*на удаление*/
  .mformula,
  .mvector {
    font-family: MJI;
    font-size: 1.2em;
    display: inline;
  }
  .msqrt {
    display: inline;
    padding: 2px 0px 0px 0px;
  }
  .msqrt,
  .mvector {
    text-decoration: none;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #000000;
  }
  
  
  
  
  .xor_doted_row1 {
    margin: 0;
    padding: 0;
    border: 2px solid #888;
  }
  .xor_doted_row1 tr td {
    margin: 0;
    padding: 0 0 0 0.5em;
  }
  .xor_doted_row {
    width: 100%;
    border-collapse: collapse;
  }
  .xor_doted_row tr td {
    border-bottom: dotted 1px #630;
    border-top: dotted 1px #630;
    height: 25px;
    vertical-align: middle;
  }
  .xor_doted_row tr td a {
    text-decoration: none;
  }
  .xor_doted_row tr:nth-child(n),
  .xor_doted_row1 tr:nth-child(n) {
    background: #dddddd;
  }
  .xor_doted_row tr:nth-child(2n),
  .xor_doted_row1 tr:nth-child(2n) {
    background: #eeeeee;
  }
  
  #xor_auth_res {
    color: #ff0000;
  }
  .xor_like_table {
    margin: auto;
  }
  .xor_like_table tr td {
    text-align: center;
    vertical-align: middle;
  }
  #vk_groups {
    margin: auto;
  }
  
  math {
    line-height: 1.3em;
    text-indent: 0;
  }
  math[display="block"] {
    display: block;
    text-align: center;
    page-break-inside: avoid;
  }
  mfrac {
    display: inline-table;
    white-space: nowrap;
    border-collapse: collapse;
    text-align: center;
    vertical-align: middle;
    margin: 0 2px;
  }
  mfrac > * {
    line-height: 1.3em;
    font-size: 0.9em;
  }
  mfrac > *:first-child {
    display: inline-table;
    vertical-align: text-bottom;
  }
  mfrac > * + * {
    border-top: solid thin;
    display: table-row;
  }
  mfrac[linethickness="0"] > * + * {
    border-top: none;
  }
  mfrac[linethickness="2"] > * + *,
  mfrac[linethickness="thick"] > * + * {
    border-top: solid medium;
  }
  
  mtable {
    display: inline-table;
    line-height: 1.5em;
    text-align: center;
    vertical-align: middle;
  }
  mtr {
    display: table-row;
  }
  mtd {
    display: table-cell;
    padding: 0 1ex;
    white-space: nowrap;
  }
  mtd[padding="0"] {
    padding: 0px;
  }
  mtd[textalign="left"] {
    text-align: left;
  }
  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,
  math mtable mtr mtd[rowalign="top"] {
    vertical-align: top;
  }
  mtable[rowalign="bottom"] mtd,
  mtable mtr[rowalign="bottom"] mtd,
  math mtable mtr mtd[rowalign="bottom"] {
    vertical-align: bottom;
  }
  mtable[rowalign="center"] mtd,
  mtable mtr[rowalign="center"] mtd,
  math mtable mtr mtd[rowalign="center"] {
    vertical-align: middle;
  }
  mtable[frame="solid"] {
    border: solid thin;
  }
  mtable[frame="dashed"] {
    border: dashed thin;
  }
  mtable[columnlines$="solid"] > mtr > mtd:last-child {
    border-left: thin solid black;
  }
  mtable[columnlines^="solid"] > mtr > mtd:first-child + mtd {
    border-left: thin solid black;
  }
  mtable[columnlines^="none solid"] > mtr > mtd:first-child + mtd + mtd {
    border-left: thin solid black;
  }
  mtable[columnlines^="none none solid"]
    > mtr
    > mtd:first-child
    + mtd
    + mtd
    + mtd {
    border-left: thin solid black;
  }
  mtable[columnlines^="none none none solid"]
    > mtr
    > mtd:first-child
    + mtd
    + mtd
    + mtd
    + mtd {
    border-left: thin solid black;
  }
  mtable[columnlines^="none none none none solid"]
    > mtr
    > mtd:first-child
    + mtd
    + mtd
    + mtd
    + mtd
    + mtd {
    border-left: thin solid black;
  }
  mtable[columnlines^="none none none none none solid"]
    > mtr
    > mtd:first-child
    + mtd
    + mtd
    + mtd
    + mtd
    + mtd
    + mtd {
    border-left: thin solid black;
  }
  mtable[columnlines^="none none none none none none solid"]
    > mtr
    > mtd:first-child
    + mtd
    + mtd
    + mtd
    + mtd
    + mtd
    + mtd
    + mtd {
    border-left: thin solid black;
  }
  
  mfenced {
    display: inline-table;
    border-collapse: separate;
    border-spacing: 0.2ex 0;
    white-space: nowrap;
    margin: 1px;
    vertical-align: middle;
  }
  mfenced > *:first-child {
    display: table-row;
  }
  mfenced > * + * {
    display: none;
  }
  mfenced > *:before,
  mfenced > *:after {
    display: table-cell;
    content: "\A0";
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
  /*mfenced > *:before{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAABQCAYAAAAZQFV3AAABtElEQVR42s2ZK0hEURCGr8UiPhYVRJAFoxssFtsafDXRKLogNpNNDDazTSxiMYhoMdtWsAibtKhssCj4ALWIoM4s58Awdb7gD3+45eO8z5z/FgWnfnEfAWoTz4tHCJhCdsQDBGxKXBd3EbBl8a14kIBtiF+pMdsS/4pnCNic+Ed8SMAq4g/xM7HWetIEaFdrROtOEuySgE0kmHqB2FKNBLtP3yGtmtatRWGd4scEexF3RIHrpnV7xGRcG+BsFDZuYO/i9ihw3wCPicn4NMDFKHDJwNS9UeCBgTWJ2W0a4GkUVnbd3YwCaw44TY6fOnyQ3hjYE3FUfRngVRQ45Lp7FgVWHXA3Clyhl8y2A4ZvtyMHnIwCzx1wLAq8cMDRKLDhgMNR4J0DlqPABwcsRYFvDtgdBX47YPHvgHiX8UnBlw2+sPGthx8O+PGFH7D4FVAt4EsKv0bxi16FliIqvFjCyzm84FShJbEfR6Rox58V+MNHhT7NVPjjUYU+b1X4AxyPCFRoiKHCYxYVGgRloVGVCg/TVGjcl4UGklloZJqFhrpZaOychQbjWWh0b7co9nPBqvX74w/Kju1j59IjnwAAAABJRU5ErkJggg==");}
  mfenced > *:after{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAABQCAYAAAAZQFV3AAABl0lEQVR42s3ZPyhFYRjH8ddiEa5cJaVbd2SwWGwM/m1yR3FKNpNNBpvZJossBonFbKMs6k4s6A4Wyp/CIoXfqXd4etbnOzj1Wz+97znv3+eklFJV6UvwM6TMK20k2q9sZxx7upRzZYpEB5RbZYl+p6/KOonOKL/KJokeKD/KHAWWY/RZ+VCGKbTIXS8/VIVCLzN6TIGNDJaZIMBySt5nsElN0VXTyhUC7FBeMviodBLormnlGgHOGvCaANuVd4OOEeiRAfcIcMGAn8TH6TVgmUWilS0D7hPgiQFbBLjhul2LgtMOLKJg1YHIe3wy4A0BXhnwKwFL2qnr9mAU3HHgOD10lqNg4cCtKDjpwMMoOOrAsyg44sCLKFh3YDMK1hx4FwV7HPgQBbsd+EbMZwt+/zsQ7zL+UfBhgw9sfOrhiwO+fOELLL4F4JsUvo3iGz16FMEPS/hxDj9w4kdi9NCOXyvwiw96NcMvj/j1Fr2A4yUCtIiBl1nwQhBaqkKLaXi5Dy1IoiVTtKiLlp3Rwjhaukd/LqC/P/4AwHbtY0GeJ20AAAAASUVORK5CYII=");}*/
  mfenced[open="("] {
    border-radius: 10px/40px;
    border: 2px solid #555555;
    padding: 2px 0;
    border-top-color: transparent;
    border-bottom-color: transparent;
    margin: 0em 0.1em;
  }
  
  mfenced[open="["] > *:before {
    border-style: solid;
    border-width: 1px 0 1px 1px;
    background-image: none;
  }
  mfenced[close="]"] > *:after {
    border-style: solid;
    border-width: 1px 1px 1px 0;
    background-image: none;
  }
  mfenced[open="\2016"] > *:before {
    border-style: double;
    border-width: 0 0 0 3px;
    background-image: none;
  }
  mfenced[close="\2016"] > *:after {
    border-style: double;
    border-width: 0 3px 0 0;
    background-image: none;
  }
  mfenced[open="\27e6"] > *:before {
    border-style: double;
    border-width: 2px 0 2px 3px;
    background-image: none;
  }
  mfenced[close="\27e7"] > *:after {
    border-style: double;
    border-width: 2px 3px 2px 0;
    background-image: none;
  }
  mfenced[open="|"] > *:before {
    border-style: solid;
    border-width: 0 0 0 1px;
    background-image: none;
  }
  mfenced[close="|"] > *:after {
    border-style: solid;
    border-width: 0 1px 0 0;
    background-image: none;
  }
  mfenced[open="\230a"] > *:before {
    border-style: solid;
    border-width: 0 0 1px 1px;
    background-image: none;
  }
  mfenced[close="\230b"] > *:after {
    border-style: solid;
    border-width: 0 1px 1px 0;
    background-image: none;
  }
  mfenced[open="\2308"] > *:before {
    border-style: solid;
    border-width: 1px 0 0 1px;
    background-image: none;
  }
  mfenced[close="\2309"] > *:after {
    border-style: solid;
    border-width: 1px 1px 0 0;
    background-image: none;
  }
  
  mfenced[open="{"] > *:before {
    content: "\A0\A0";
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAA4BAMAAAAV9SX9AAAAMFBMVEX///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAv3aB7AAAAD3RSTlMAGIvP87/7YOmdSDJ0r907LxsmAAAAtElEQVQoFdXSMQrCQBCF4YlNNBgRwd7a2gN4g9xAsLZYQfAaaqWlgn2sbbyKVl4ghAjib4rd2ewNdKv52IHdGZ6IPYMJhauHQGkRG6r9ySKnXLomyVhoncBI0YW+ogVaS+dfkDY/2qPyI+S8FFHGVHGmvFhEK3jYul4GT9dUo9g5yPUAW5Wsm89Ehru/ynl7tJt9wUd/eb1BDgIEcQmCJBvmfu4bxVGVGD5jTVlqfGBF4pnhC36CgsxYnue2AAAAAElFTkSuQmCC");
  }
  mfenced[close="}"] > *:after {
    content: "\A0\A0";
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAA4BAMAAAAV9SX9AAAALVBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADBoCg+AAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQffAhQKBxdLAgEkAAAAjElEQVQoz2N49/QKAxzEvXv39ACcx3jv3VOEHIPduwcIDuu75wgO47t3SOrQOAI4OQ2DmIMIBYa6dwUIDh9yIPCihE/duwAEh+Pduwoknh1SoPC+Q3CAbAWk0DeAs5nfPUZo70O2tO7dBRwOHdwh2oAzHeBISKzIQRCHCAKOOkSwAxPsOwdEAjWCmwsAHjt+VKRQ4uAAAAAASUVORK5CYII=");
  }
  
  mfenced[open="\27e8"] > *:before,
  mfenced[open="\2329"] > *:before {
    background-image: none;
  }
  
  /*mfenced[open="\27e8"] > *:before, mfenced[open="\2329"] > *:before{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAABZCAYAAAA+TwS/AAAB50lEQVR42s2ZPyiFURiHj7+Lrkhks0goEqtFWSilW8oqg5GULExWk5K6g26ZrFI3i24Go8kkkWQwSPkTA673lzOcvu7kfZSnfuvTe77vnO+c834hsORgX+gjZR2WIVI4T8oaLGukcNYyTgoPLfWUbNiyR1ZXtOQpWbvl0dJECfVmDyhZneXWMkcJZywfljZKeGIpUzKt2YplkRLuRmEXIdMze7OcUdWtxurWqalyE4UDhDAfZZfUcMtRuEnIBqNMGSWEhSi7t9R4Za2W1ygsENWtJMOd9MpqLddR9mRp9Aqnk+r2ieEeJ8JZr6zf8hVl75Zmr3Anqa7klbVYXhLhgle4nMg+LZ0emVbCVSI89VY3lcgqcWK7OMoIuz2y3mSqKOfe6rYz1W14ZJq4zxnhiEe4lJHdeKfKRUa45RFOZGTKmEdYysgews+2+St6MlNFKXqq26oy3GmP8K6KsPVfVYg/Q/wt/8k8xFcKvpb/5GuDfw8F/sUW6J4i8F0P35cFenIQ+NlGoKcvgZ8PBXqCFfgZG78FhADfUwR+kwoBvusJ/DYqygG8Lwv8Ro/3HATaFRF430agnSWB974E2p0TeP8Q73AKtAcr8C6xKAawjy3wTrtA/wUI/G8F/j9FzNNC/J+U6KOFuW87Lt0vtp6NAwAAAABJRU5ErkJggg==");}
  mfenced[close="\27e9"] > *:after, mfenced[close="\232A"] > *:after{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAABZCAYAAAA+TwS/AAAByElEQVR42s2ZPSjFURiH/z4XkZvIZpFQJFaLslDqdkvdVQYjqZuFyWq6JXUH3TJZpW4WyWA0mSS6yWCQ8hGDr9+pdzid7vY+g1PP+vSe//89H+97sizLOjN4jNDCCdFHS5dp4aZoI4WzokgKW8UxPe0DMUkKC6JKCjvEs+glpUf2x7GxJO5FCyXsEV9ikYzyTJyTwlXxa2scGQMm3CejvBQf9k2RsWVRblDCMRPWyRS6MWmBEu6Y8IwSTpswME4Im8SjCStUlBUTvoscIZyPpl0ihO3ixYR3opmQHkZR5glhMRKeEsIu8WnCHzFKSGtRlHuEcCUSvolur7BffEfSdSLKi0h4ayvJNUqRMLDgFQ4mwhNi2leRMKTQsFe4nUS56xVOJcJXS3zXqCfSNa+wnAivvSk0kwgDcx5hOFafEmHNO+1qIgwpNOQR5htMu+wR5hoIH/5VhOg3xP8ynof4SkHXMr7b4PshumPjZwp+6qHnMn5zwO826O0Lvx/iN1j0jo1XAXidglZSeK2HV6N4vYxW9HjPAe+KoH0bvLOE975CmmDdObx/iHc40R4s3iXG+9hopx1/C8BfK/D3FPTFB3+Twl/N0He9P0bV3S+iamc2AAAAAElFTkSuQmCC");}
  mfenced[open=""] > *:before, mfenced[close=""] > *:after{content:normal;}*/
  
  msub,
  msup,
  msubsup,
  mmultiscripts {
    display: inline-table;
    line-height: 0.4em;
  }
  msubsup,
  msup,
  mmultiscripts {
    margin-top: 0.4ex;
  }
  msubsup,
  msub,
  mmultiscripts {
    margin-bottom: 0.4ex;
  }
  msubsup,
  msup {
    direction: rtl;
  }
  msub > * {
    display: table-row;
  }
  none {
    content: "\A0";
  }
  msubsup > *,
  msup > * {
    display: table-row;
    direction: ltr;
    text-align: left;
  }
  mmultiscripts > * {
    display: none;
  }
  mmultiscripts > *:first-child,
  mmultiscripts > mprescripts + * {
    display: table-row;
  }
  mmultiscripts > mprescripts + * + * {
    display: table-header-group;
  }
  msub > *:first-child:after,
  msub > * + *:before,
  msubsup > *:first-child:before,
  msup > *:first-child:before,
  mmultiscripts > *:first-child:before {
    display: table-cell;
    content: "\A0";
  }
  msubsup > * + * + *,
  msup > * + * {
    display: table-header-group;
  }
  msub > * + *,
  msup > * + *,
  msubsup > * + *,
  munder > * + *,
  mover > * + *,
  munderover > * + *,
  mmultiscripts > * + * {
    font-size: 0.7em;
  }
  munder,
  munderover,
  mover {
    display: inline-table;
    margin: 1px;
    text-align: center;
  }
  munder > *,
  munderover > *,
  mover > * {
    display: table-row;
  }
  mover > * + *,
  munderover > * + * + * {
    display: table-header-group;
  }
  mover,
  munderover {
    vertical-align: middle;
  }
  msqrt {
    display: inline-block;
    margin: 1px 0 1px 12px;
    border-top: solid 1px;
    border-left: groove 2px;
    padding: 2px 5px 0 0;
  }
  msqrt:before {
    display: inline-block;
    vertical-align: bottom;
    content: "";
    width: 14px;
    height: 14px;
    background-repeat: no-repeat;
    margin: 0 3px 0 -12px;
  }
  msqrt:before,
  mroot > * + *:after {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAOCAYAAAAbvf3sAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wITDSs30cVkfgAAAINJREFUKM+d0jEKwlAMBuBPKtjBxdnVq6hYzyIieEcdvICzOunqUoS6ZChiJTUQyPLxJ49Hzxq05jsKPFHjjKoLDtF86epX0qTV+wDH7KojXAKts2gT4PRxa2eVuAZaZVO2fW8pcQu0zKJdgMM/KfMiAV7xSgvMsiljPNAUSVDH95m+Ab8vH6nUIqj7AAAAAElFTkSuQmCC");
  }
  
  /*msqrt:before, mroot > * + *:after{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAOCAYAAAArMezNAAAArklEQVR42mNgIAzkgJiRgYpAGIgnAfFvIF4JxKyUGsgOxKVA/ASI5wCxHRBvA+K9QMxHrqGRQLweiDOBmBdJnAWI5wPxeSAWJ8VAPSBOAWJTAuo6gPguEKsQY6gQEPOQ4Ih8IH4JxCYMNABhQPwOiN1pYbgzEL8C4hhaGG4AxM+BuJgWhisB8W0g7qOF4SJAfBqIl1EjI6EDbiDeAcQ7SUxlRAGQa5cA8RkGGoFeACG1GGdqegJfAAAAAElFTkSuQmCC");}*/
  mroot {
    display: inline-table;
    direction: rtl;
  }
  mroot > * {
    display: table-cell;
    direction: ltr;
    text-align: left;
  }
  mroot > *:first-child {
    border-top: solid 1px;
    border-left: groove 2px;
    padding: 2px 5px 0 3px;
  }
  mroot > * + * {
    vertical-align: bottom;
    text-align: right;
    font-size: 0.7em;
    line-height: 1em;
  }
  mroot > * + *:after {
    display: block;
    content: "";
    width: 22px;
    height: 14px;
    margin-right: -1px;
    margin-left: auto;
  }
  
  mover > * + mo[fence="true"],
  munder > * + mo[fence="true"] {
    content: "\A0";
    line-height: 1ex;
    background-size: 100% 100%;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAAUCAYAAAAa2LrXAAABxElEQVR42u2YsUsCURzHnxlncmJlttYWkeDi4pBNDU6J0C4tRmPc2phb2KSL0iBt9T8EhTjWP2CFDoInCFKLINe3+gaH1ekdZ6S8L3yWd+/d7/v7+t5xpxD/WwqRcqhlIuVQa0TKoXaIlANlwCHJyDjsaQs0wRJpckxqhFZADnSBZhrXOJbjHCkoyF2VBFlQBC/AAM/AZ5rr45jBOUWuSfIewWkNYR5EwR4bOgEFcA2q4B7UwRNocRf1GMRvPIL4D7XivGa1tscaLdas00OVngr0mKXnKHv4E82BBI9TBTyA/oiG7DAA50C18KByzsDFun32UmFvCfbqihZAClwA3UXT73TALSiBYxCz4SvGNSXeo+OyN509p5iBbanc6l2L3dIAN6AMTvnrHbDoNoiAdRIGi2SSn2aKqU7YVD9CTyl61Oi5zB4aFru6yyzUcQx4eHN9aIvXwBlIg00xm9+nCntLs9fa0CNKZzYeq+N6xcmvfCbsAv8MhjWu/MygwkwMZvTtWAfAHWiDIzHFrwUTVJDZtJlVwHwxDy5BSOY0UiFmlf8a2BCfb/hS9pRjdmIfeGUetuVldmJVZuFYH9nJv8ydS3kDn8bEmYaXZFsAAAAASUVORK5CYII=");
  }
  munder > * + mo[fence="true"] {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAAUCAYAAAAa2LrXAAABzElEQVR42u2Xv0tCURzFrxlPRbEyW2uLSHBxccimBqdEaJcWozFcG3MLm3RRGqSt/oegEEf7B6zQQVBBkFoEsfPsCA8zX+9m0Y974LNc773f7znvPrlPCCE0oSSrYXYrKgdpDbPbA3aVhWXZmZ1YB2mVh2Wlmd1QGXABfCoXU/mYVcY46AG3oAkOgVfl9EZeZtNkVp7xCU5wCQbgGRTBDnD949BczKDITAbMyPneAhtIgRYn6/RAGZyCONgQf/Pqo9FbnF7L9D7KocVsbB/ZzA2OQcewgZE+qIFrUAAn3HwfxMAWCIA14gcLRPviEEZ1/Ib6AfYUY48p9lyghxo9TfLaYRZumYacLHo+dipnQRvcgDw4AiELfYW4Js892jPurUXPsWmvq1XNgQifnv6fcDd2xD+LfgLOTJ60m3P6M6zbo5civUXo9Vs0D4JgFyR51LPgCpRABVTBA2jwdeiaGLoH4Qm1wvxt2touazRYs8oeSuwpyx6T7DlID79S+rVgE0RpKAeeGMQjcBjmOjg24Jwc10S5h7p2Ucvi9Ybf4es0Uopjac5RMpF+qupgkdQ5pmRBCXBAEioOOW0TJUmtEiVJLRElSWnih393vwCZOsSZn592GQAAAABJRU5ErkJggg==");
  }
  menclose {
    display: inline-table;
    border-collapse: separate;
    border-spacing: 0.4ex 0;
  }
  menclose[notation="top"] {
    border-top: solid thin;
  }
  menclose[notation="bottom"] {
    border-bottom: solid thin;
  }
  menclose[notation="right"] {
    border-right: solid thin;
  }
  menclose[notation="left"] {
    border-left: solid thin;
  }
  menclose[notation="box"] {
    border: solid thin;
  }
  menclose[notation="horizontalstrike"] {
    text-decoration: line-through;
  }
  
  mspace[linebreak="goodbreak"]:before {
    content: "\200B";
    white-space: normal;
  }
  mspace[linebreak="newline"]:before,
  mspace[linebreak="indentingnewline"]:before {
    content: "\000A";
    white-space: pre;
  }
  mspace[width]:before {
    content: normal;
  }
  mspace[width="verythinmathspace"] {
    padding: 0 0.05em;
  }
  mspace[width="thinmathspace"] {
    padding: 0 0.08em;
  }
  mspace[width="mediummathspace"] {
    padding: 0 0.11em;
  }
  mspace[width="thickmathspace"] {
    padding: 0 0.14em;
  }
  mspace[width="verythickmathspace"] {
    padding: 0 0.17em;
  }
  mo[largeop="true"] {
    font-size: 1.3em;
    vertical-align: -0.1ex;
  }
  mo[form="infix"],
  * + mo {
    padding: 0 0.3ex;
  }
  mo[form="prefix"] {
    padding: 0 0 0 0.5ex;
  }
  mo[form="postfix"] {
    padding: 0 0.5ex 0 0;
  }
  mo[fence="true"],
  mo[separator="true"] {
    padding: 0;
  }
  mi[mathvariant="bold"],
  mi[mathvariant="bold-italic"],
  mi[mathvariant="bold-sans-serif"],
  mi[mathvariant="sans-serif-bold-italic"],
  mn[mathvariant="bold"],
  mn[mathvariant="bold-italic"],
  mn[mathvariant="bold-sans-serif"],
  mn[mathvariant="sans-serif-bold-italic"],
  mo[mathvariant="bold"],
  mo[mathvariant="bold-italic"],
  mo[mathvariant="bold-sans-serif"],
  mo[mathvariant="sans-serif-bold-italic"],
  ms[mathvariant="bold"],
  ms[mathvariant="bold-italic"],
  ms[mathvariant="bold-sans-serif"],
  ms[mathvariant="sans-serif-bold-italic"],
  mtext[mathvariant="bold"],
  mtext[mathvariant="bold-italic"],
  mtext[mathvariant="bold-sans-serif"],
  mtext[mathvariant="sans-serif-bold-italic"] {
    font-weight: bold;
    font-style: normal;
  }
  mi[mathvariant="monospace"],
  mn[mathvariant="monospace"],
  mo[mathvariant="monospace"],
  ms[mathvariant="monospace"],
  mtext[mathvariant="monospace"] {
    font-family: monospace;
    font-style: normal;
  }
  mi[mathvariant="sans-serif"],
  mi[mathvariant="bold-sans-serif"],
  mi[mathvariant="bold-sans-serif"],
  mi[mathvariant="sans-serif-italic"],
  mi[mathvariant="sans-serif-bold-italic"],
  mn[mathvariant="bold-sans-serif"],
  mn[mathvariant="sans-serif"],
  mn[mathvariant="bold-sans-serif"],
  mn[mathvariant="sans-serif-italic"],
  mn[mathvariant="sans-serif-bold-italic"],
  mo[mathvariant="sans-serif"],
  mo[mathvariant="bold-sans-serif"],
  mo[mathvariant="bold-sans-serif"],
  mo[mathvariant="sans-serif-italic"],
  mo[mathvariant="sans-serif-bold-italic"],
  ms[mathvariant="sans-serif"],
  ms[mathvariant="bold-sans-serif"],
  ms[mathvariant="bold-sans-serif"],
  ms[mathvariant="sans-serif-italic"],
  ms[mathvariant="sans-serif-bold-italic"],
  mtext[mathvariant="sans-serif"],
  mtext[mathvariant="bold-sans-serif"],
  mtext[mathvariant="bold-sans-serif"],
  mtext[mathvariant="sans-serif-italic"],
  mtext[mathvariant="sans-serif-bold-italic"] {
    font-family: sans-serif;
    font-style: normal;
  }
  mi,
  mi[mathvariant="italic"],
  mi[mathvariant="bold-italic"],
  mi[mathvariant="sans-serif-italic"],
  mi[mathvariant="sans-serif-bold-italic"],
  mn[mathvariant="italic"],
  mn[mathvariant="bold-italic"],
  mn[mathvariant="sans-serif-italic"],
  mn[mathvariant="sans-serif-bold-italic"],
  mo[mathvariant="italic"],
  mo[mathvariant="bold-italic"],
  mo[mathvariant="sans-serif-italic"],
  mo[mathvariant="sans-serif-bold-italic"],
  ms[mathvariant="italic"],
  ms[mathvariant="bold-italic"],
  ms[mathvariant="sans-serif-italic"],
  ms[mathvariant="sans-serif-bold-italic"],
  mtext[mathvariant="italic"],
  mtext[mathvariant="bold-italic"],
  mtext[mathvariant="sans-serif-italic"],
  mtext[mathvariant="sans-serif-bold-italic"] {
    font-style: italic;
  }
  mi[mathvariant="normal"],
  mn[mathvariant="normal"],
  mo[mathvariant="normal"],
  ms[mathvariant="normal"],
  mtext[mathvariant="normal"] {
    font-style: normal;
  }
  ms:before,
  ms:after {
    content: "\0022";
  }
  /*ms[lquote]:before {content:attr(lquote)}
  ms[rquote]:after {content:attr(rquote)}*/
  mphantom {
    visibility: hidden;
  }
  merror {
    outline: solid thin red;
  }
  merror:before {
    content: "Error: ";
  }
  mrow {
    white-space: nowrap;
  }
  math[display="block"] {
    display: block;
    margin: 1em 0 1em 3em;
  }
  mstack,
  mlongdiv {
    display: inline-table;
    font-family: monospace;
  }
  mstack {
    text-align: right;
    border-collapse: collapse;
  }
  mstack[align="top"],
  mlongdiv[align="top"] {
    vertical-align: top;
  }
  mstack[align="bottom"],
  mlongdiv[align="bottom"] {
    vertical-align: bottom;
  }
  mstack[align="center"],
  mlongdiv[align="center"] {
    vertical-align: middle;
  }
  msline {
    display: block;
    border-bottom: solid thin;
  }
  mstack > *,
  mlongdiv > mn:first-child {
    display: table-row;
  }
  mlongdiv > *:first-child + * {
    display: table-cell;
  }
  mlongdiv > *:first-child + * + * {
    border-top: solid thin;
  }
  mlongdiv > *:first-child:before {
    display: table-cell;
    content: "\a0";
  }
  mlongdiv > *:first-child + *:after {
    content: ")";
  }
  mlongdiv > * {
    display: block;
  }
  mscarry {
    display: none;
  }
  maction > * + * {
    display: none;
  }
  maction[actiontype="tooltip"]:focus > * + *,
  maction[actiontype="tooltip"]:hover > * + * {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    background-color: InfoBackground;
    color: InfoText;
    padding: 0.5ex;
    border: solid 1px;
  }
  annotation,
  annotation-xml {
    display: none;
  }
  
  
  
  .xor_150px {
    width: 150px;
    display: inline-block;
  }
  .xor_center {
    text-align: center;
  }
  
  .xor_sqrt1 {
    display: inline;
    padding: 2px 0px 0px 0px;
  }
  .xor_sqrt1 {
    text-decoration: none;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #000000;
  }
  .xor_sqrt1:before {
    content: "\221A";
    border: 0px;
  }
  
  .xor_sqrt1 {
    display: inline-block;
    margin: 1px 0 1px 12px;
    border-top: solid 1px;
    padding: 2px 5px 0 0;
  }
  .xor_sqrt1:before {
    display: inline-block;
    vertical-align: bottom;
    content: "\221A";
    margin: 0 3px 0 -12px;
    font-size: 1.2em;
  }
  
  .xor_word_f {
    text-decoration: none;
  }
  .xor_word_f:hover {
    text-decoration: none;
  }
  /*.xor_lin{background: 
         linear-gradient(to top left,
             rgba(255,0,0,0) 0%,
             rgba(255,0,0,0) calc(50% - 0.8px),
             rgba(255,0,0,1) 50%,
             rgba(255,0,0,0) calc(50% + 0.8px),
             rgba(255,0,0,0) 100%)
  }*/
  
  .tooltip {
    position: fixed;
    padding: 10px 20px;
    /* красивости... */
    border: 1px solid #b3c9ce;
    border-radius: 4px;
    text-align: center;
    font-size: 1em;
    color: #333;
    background: #fff;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
  }/*
  .xor_detail_btn {
    cursor: pointer;
    color: #0000ff;
    border: 1px solid #aaa;
    border-radius: 5px;
    padding: 0 5px;
    background-color: #ccc;
  }*/
  
  
  .xor_detail_btn_1 {
    display: table;
    width: 1.3em;
    height: 1.3em;
    padding: 0;
    float: right;
  }
  .B4 {
      padding: 2px;
      font-size: 15px;
      font-family: Arial;
      width: 20px;
      /* height: 20px; */
      border-width: 1px;
      color: #fff;
      border-color: #4b8f29;
      font-weight: bold;
      border-top-left-radius: 4px;
      border-top-right-radius: 4px;
      border-bottom-left-radius: 4px;
      border-bottom-right-radius: 4px;
      box-shadow: 0px 10px 14px -7px #3e7327;
      text-shadow: 0px 1px 0px #5b8a3c;
      background: linear-gradient(#77b55a, #72b352);
      vertical-align: middle;
      text-align: center;
  }
    
    .B4:hover {
      background: linear-gradient(#72b352, #77b55a);
    }/*
  .xor_detail_btn:active {
    color: rgb(240, 240, 240);
    border: 1px solid rgb(25, 25, 25);
    background: rgb(18, 18, 18) linear-gradient(rgb(18, 18, 18), rgb(14, 14, 14));
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
  }*/
  .B5 {
      padding: 2px;
      font-size: 15px;
      font-family: Arial;
      width: 20px;
      /* height: 20px; */
      border-width: 1px;
      color: #fff;
      border-color:#d02718;
      font-weight:bold;
      border-top-left-radius: 4px;
      border-top-right-radius: 4px;
      border-bottom-left-radius: 4px;
      border-bottom-right-radius: 4px;
      box-shadow:inset 0px 1px 0px 0px #f5978e;
      text-shadow:inset 0px 1px 0px #810e05;
      background:linear-gradient(#f24537, #c62d1f);
      vertical-align: middle;
      text-align: center;
    }
    
    .B5:hover {
      background: linear-gradient(#c62d1f, #f24537);
    }
  
  
  .math_field {
    text-align: left;
    border-color: black;
    width: calc(100% - 0.5em);
    min-height: 2.5em;
    font-size: 1.3em;
    background: white;
    display: inline-block;
    padding-left: 0.5em;
  }
  #math-field1,
  #math-field2 {
    text-align: left;
    width: 100%;
    min-height: 3em;
    font-size: 1.3em;
    background: white;
    display: inline-block;
    padding-left: 0.5em;
  }
  .math-fieldg {
    text-align: left;
    min-height: 1em;
    font-size: 1.3em;
    background: white;
    display: inline-block;
  }
  
  #xor_solution_block {
    margin-top: 1em;
  }
  
  .xor_tbl {
    width: 100%;
  }
  .xor_tbl tr td {
    width: 15%;
    text-align: center;
    vertical-align: middle;
    height: 1.5em;
    font-size: 1em;
    border-radius: 0.5em;
  }
  .xor_step_solution {
    clear: both;
    padding: 0.3em 1em;
  }
  #res1 .xor_step_solution:nth-child(n) {
    border: 1px ridge;
  }
  #res1 .xor_step_solution:nth-child(2n) {
    border: 1px ridge;
  }
  #res1 .xor_step_solution:first-child {
    margin-top: 0.5em;
  }
  #res1 .xor_step_solution:last-child {
    margin-bottom: 0.5em;
  }
  .xor_step_solution_d {
    display: none;
  }
  table {
    color: inherit;
  }
  
  
table.xor_kletka tbody tr td {
	color: #d7d3cb;
	width: 1.3em;
	height: 1.3em;
	vertical-align: middle;
	text-align: center;
	padding: 0px;
}
  
  
  @media screen and (max-width: 700px) {
    .body_pointer {
      cursor: pointer;
    }
  }

  /*
 * MathQuill v0.10.1               http://mathquill.com
 * by Han, Jeanine, and Mary  maintainers@mathquill.com
 *
 * This Source Code Form is subject to the terms of the
 * Mozilla Public License, v. 2.0. If a copy of the MPL
 * was not distributed with this file, You can obtain
 * one at http://mozilla.org/MPL/2.0/.
 */

.mq-editable-field {
    display: -moz-inline-box;
    display: inline-block;
  }
  .mq-editable-field .mq-cursor {
    border-left: 1px solid rgb(48, 1, 54);
    /*margin-left: -1px;*/
    position: relative;
    z-index: 1;
    padding: 0;
    display: -moz-inline-box;
    display: inline-block;
  }
  .mq-editable-field .mq-cursor.mq-blink {
    visibility: hidden;
  }
  .mq-editable-field,
  .mq-math-mode .mq-editable-field {
    border: 1px solid gray;
  }
  .mq-editable-field.mq-focused,
  .mq-math-mode .mq-editable-field.mq-focused {
    outline: none;
  }
  .mq-math-mode .mq-editable-field {
    margin: 1px;
  }
  .mq-editable-field .mq-latex-command-input {
    color: inherit;
    font-family: "Courier New", monospace;
    border: 1px solid gray;
    padding-right: 1px;
    margin-right: 1px;
    margin-left: 2px;
  }
  .mq-editable-field .mq-latex-command-input.mq-empty {
    background: transparent;
  }
  .mq-editable-field .mq-latex-command-input.mq-hasCursor {
    border-color: ActiveBorder;
    width:auto;
  }
  .mq-editable-field.mq-empty:after,
  .mq-editable-field.mq-text-mode:after,
  .mq-math-mode .mq-empty:after {
    visibility: hidden;
    content: 'c';
  }
  .mq-editable-field .mq-cursor:only-child:after,
  .mq-editable-field .mq-textarea + .mq-cursor:last-child:after {
    visibility: hidden;
    content: 'c';
  }
  .mq-editable-field .mq-text-mode .mq-cursor:only-child:after {
    content: '';
  }
  .mq-editable-field.mq-text-mode {
    overflow-x: auto;
    overflow-y: hidden;
  }
  .mq-root-block,
  .mq-math-mode .mq-root-block {
    display: -moz-inline-box;
    display: inline-block;
    width: 100%;
    padding: 2px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /*white-space: nowrap;*/
    overflow: hidden;
    vertical-align: middle;
  }
  .mq-math-mode {
    font-variant: normal;
    font-weight: normal;
    font-style: normal;
    font-size: 115%;
    line-height: 1;
    display: -moz-inline-box;
    display: inline-block;
  }
  .mq-math-mode .mq-non-leaf,
  .mq-math-mode .mq-scaled {
    display: -moz-inline-box;
    display: inline-block;
  }
  .mq-math-mode var,
  .mq-math-mode .mq-text-mode,
  .mq-math-mode .mq-nonSymbola {
    font-family: "Times New Roman", Symbola, serif;
    line-height: .9;
  }
  .mq-math-mode * {
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    padding: 0;
    border-color: black;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    box-sizing: border-box;
  }
  .mq-math-mode .mq-empty {
    background: #ccc;
  }
  .mq-math-mode .mq-empty.mq-root-block {
    background: transparent;
  }
  .mq-math-mode.mq-empty {
    background: transparent;
  }
  .mq-math-mode .mq-text-mode {
    font-size: 87%;
  }
  .mq-math-mode .mq-font {
    font: 1em "Times New Roman", Symbola, serif;
  }
  .mq-math-mode .mq-font * {
    font-family: inherit;
    font-style: inherit;
  }
  .mq-math-mode b,
  .mq-math-mode b.mq-font {
    font-weight: bolder;
  }
  .mq-math-mode var,
  .mq-math-mode i,
  .mq-math-mode i.mq-font {
    font-style: italic;
  }
  .mq-math-mode var.mq-f {
    margin-right: 0.2em;
    margin-left: 0.1em;
  }
  .mq-math-mode .mq-roman var.mq-f {
    margin: 0;
  }
  .mq-math-mode big {
    font-size: 125%;
  }
  .mq-math-mode .mq-roman {
    font-style: normal;
  }
  .mq-math-mode .mq-sans-serif {
    font-family: sans-serif, Symbola, serif;
  }
  .mq-math-mode .mq-monospace {
    font-family: monospace, Symbola, serif;
  }
  .mq-math-mode .mq-overline {
    border-top: 1px solid black;
    margin-top: 1px;
  }
  .mq-math-mode .mq-underline {
    border-bottom: 1px solid black;
    margin-bottom: 1px;
  }
  .mq-math-mode .mq-binary-operator {
    padding: 0 0.2em;
    display: -moz-inline-box;
    display: inline-block;
  }
  .mq-math-mode .mq-supsub {
    font-size: 90%;
    vertical-align: -0.5em;
  }
  .mq-math-mode .mq-supsub.mq-limit {
    font-size: 80%;
    vertical-align: -0.4em;
  }
  .mq-math-mode .mq-supsub.mq-sup-only {
    vertical-align: 1em;
  }
  .mq-math-mode .mq-supsub.mq-sup-only .mq-sup {
    display: inline-block;
    vertical-align: text-bottom;
  }
  .mq-math-mode .mq-supsub .mq-sup {
    display: block;
    font-size: 80%;
  }
  .mq-math-mode .mq-supsub .mq-sub {
    display: block;
    float: left;
  }
  .mq-math-mode .mq-supsub.mq-limit .mq-sub {
    margin-left: -0.25em;
  }
  .mq-math-mode .mq-supsub .mq-binary-operator {
    padding: 0 .1em;
  }
  .mq-math-mode .mq-supsub .mq-fraction {
    font-size: 70%;
  }
  .mq-math-mode sup.mq-nthroot {
    font-size: 80%;
    vertical-align: 0.8em;
    margin-right: -0.6em;
    margin-left: .2em;
    min-width: .5em;
  }
  .mq-math-mode .mq-paren {
    padding: 0 .1em;
    vertical-align: top;
    -webkit-transform-origin: center .06em;
    -moz-transform-origin: center .06em;
    -ms-transform-origin: center .06em;
    -o-transform-origin: center .06em;
    transform-origin: center .06em;
  }
  .mq-math-mode .mq-paren.mq-ghost {
    color: silver;
  }
  .mq-math-mode .mq-paren + span {
    margin-top: .1em;
    margin-bottom: .1em;
  }
  .mq-math-mode .mq-array {
    vertical-align: middle;
    text-align: center;
  }
  .mq-math-mode .mq-array > span {
    display: block;
  }
  .mq-math-mode .mq-operator-name {
    font-family: Symbola, "Times New Roman", serif;
    line-height: .9;
    font-style: normal;
  }
  .mq-math-mode var.mq-operator-name.mq-first {
    padding-left: .2em;
  }
  .mq-math-mode var.mq-operator-name.mq-last {
    padding-right: .2em;
  }
  .mq-math-mode .mq-fraction {
    font-size: 90%;
    text-align: center;
    vertical-align: -0.4em;
    padding: 0 .2em;
  }
  .mq-math-mode .mq-fraction,
  .mq-math-mode .mq-large-operator,
  .mq-math-mode x:-moz-any-link {
    display: -moz-groupbox;
  }
  .mq-math-mode .mq-fraction,
  .mq-math-mode .mq-large-operator,
  .mq-math-mode x:-moz-any-link,
  .mq-math-mode x:default {
    display: inline-block;
  }
  .mq-math-mode .mq-numerator,
  .mq-math-mode .mq-denominator {
    display: block;
  }
  .mq-math-mode .mq-numerator {
    padding: 0 0.1em;
  }
  .mq-math-mode .mq-denominator {
    border-top: 1px solid;
    float: right;
    width: 100%;
    padding: 0.1em;
  }
  .mq-math-mode .mq-sqrt-prefix {
    padding-top: 0;
    position: relative;
    top: 0.1em;
    vertical-align: top;
    -webkit-transform-origin: top;
    -moz-transform-origin: top;
    -ms-transform-origin: top;
    -o-transform-origin: top;
    transform-origin: top;
  }
  .mq-math-mode .mq-sqrt-stem {
    border-top: 1px solid;
    margin-top: 1px;
    padding-left: .15em;
    padding-right: .2em;
    margin-right: .1em;
    padding-top: 1px;
  }
  .mq-math-mode .mq-vector-prefix {
    display: block;
    text-align: center;
    line-height: .25em;
    margin-bottom: -0.1em;
    font-size: 0.75em;
  }
  .mq-math-mode .mq-vector-stem {
    display: block;
  }
  .mq-math-mode .mq-large-operator {
    text-align: center;
  }
  .mq-math-mode .mq-large-operator .mq-from,
  .mq-math-mode .mq-large-operator big,
  .mq-math-mode .mq-large-operator .mq-to {
    display: block;
  }
  .mq-math-mode .mq-large-operator .mq-from,
  .mq-math-mode .mq-large-operator .mq-to {
    font-size: 80%;
  }
  .mq-math-mode .mq-large-operator .mq-from {
    float: right;
    /* take out of normal flow to manipulate baseline */
    width: 100%;
  }
  .mq-math-mode,
  .mq-math-mode .mq-editable-field {
    cursor: text;
    font-family: Symbola, "Times New Roman", serif;
  }
  .mq-math-mode .mq-overarrow {
    border-top: 1px solid black;
    margin-top: 1px;
    padding-top: 0.2em;
  }
  .mq-math-mode .mq-overarrow:before {
    display: block;
    position: relative;
    top: -0.34em;
    font-size: 0.5em;
    line-height: 0em;
    content: '\27A4';
    text-align: right;
  }
  .mq-math-mode .mq-overarrow.mq-arrow-left:before {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
  }
  .mq-math-mode .mq-selection,
  .mq-editable-field .mq-selection,
  .mq-math-mode .mq-selection .mq-non-leaf,
  .mq-editable-field .mq-selection .mq-non-leaf,
  .mq-math-mode .mq-selection .mq-scaled,
  .mq-editable-field .mq-selection .mq-scaled {
    background: #B4D5FE !important;
    background: Highlight !important;
    color: HighlightText;
    border-color: HighlightText;
  }
  .mq-math-mode .mq-selection .mq-matrixed,
  .mq-editable-field .mq-selection .mq-matrixed {
    background: #39F !important;
  }
  .mq-math-mode .mq-selection .mq-matrixed-container,
  .mq-editable-field .mq-selection .mq-matrixed-container {
    filter: progid:DXImageTransform.Microsoft.Chroma(color='#3399FF') !important;
  }
  .mq-math-mode .mq-selection.mq-blur,
  .mq-editable-field .mq-selection.mq-blur,
  .mq-math-mode .mq-selection.mq-blur .mq-non-leaf,
  .mq-editable-field .mq-selection.mq-blur .mq-non-leaf,
  .mq-math-mode .mq-selection.mq-blur .mq-scaled,
  .mq-editable-field .mq-selection.mq-blur .mq-scaled,
  .mq-math-mode .mq-selection.mq-blur .mq-matrixed,
  .mq-editable-field .mq-selection.mq-blur .mq-matrixed {
    background: #D4D4D4 !important;
    color: black;
    border-color: black;
  }
  .mq-math-mode .mq-selection.mq-blur .mq-matrixed-container,
  .mq-editable-field .mq-selection.mq-blur .mq-matrixed-container {
    filter: progid:DXImageTransform.Microsoft.Chroma(color='#D4D4D4') !important;
  }
  .mq-editable-field .mq-textarea,
  .mq-math-mode .mq-textarea {
    position: relative;
    -webkit-user-select: text;
    -moz-user-select: text;
    user-select: text;
  }
  .mq-editable-field .mq-textarea *,
  .mq-math-mode .mq-textarea *,
  .mq-editable-field .mq-selectable,
  .mq-math-mode .mq-selectable {
    -webkit-user-select: text;
    -moz-user-select: text;
    user-select: text;
    position: absolute;
    clip: rect(1em 1em 1em 1em);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    resize: none;
    width: 1px;
    height: 1px;
  }
  .mq-math-mode .mq-matrixed {
    background: white;
    display: -moz-inline-box;
    display: inline-block;
  }
  .mq-math-mode .mq-matrixed-container {
    filter: progid:DXImageTransform.Microsoft.Chroma(color='white');
    margin-top: -0.1em;
  }


  .tooltip {
    /* background-color: blanchedalmond; */
    position: fixed;
    padding: 10px 20px;
    border: 1px solid #b3c9ce;
    border-radius: 4px;
    text-align: center;
    font-size: 20px;
    color: #c1e5e5;
    background: #110529;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
}
	#res11 .mq-supsub .mq-sup, .tooltip .mq-supsub .mq-sup {
    display: block;
    font-size: 90%;
    margin-left: 2px;
}
	.mq-paren {
		color: #88af3e;
    padding: 0 0.1em;
    vertical-align: top;
    -webkit-transform-origin: center 0.06em;
    -moz-transform-origin: center .06em;
    -ms-transform-origin: center .06em;
    -o-transform-origin: center .06em;
    transform-origin: center 0.06em;
}

#math-field  .mq-paren {
		color: #160c59}
	.t_sol{    color: white;
    text-align: center;
    font-size: 16px;}
	#res{background-color: #465c67; display:block}
#res1{color: #d7d3cb;
  font-size: 15px;
}
/**/#res11{background-color: #040521; color: #d7d3cb;
  font-size: 15px; width:100%; text-align: center;    min-height: 50px;
    padding-top: 5px;
}
#res1 .xor_step_solution:nth-child(n) {
  border: 0px ridge;
  background-color: #1b1e1e;
  border-top: 2px solid #07ada5;
}
#res1 .xor_step_solution:nth-child(2n) {
	
	border: 0px ridge; 
	background-color: #18181c;
	border-top: 2px solid #07ada5;
}
 mfrac mn:first-child, .tooltip .mq-numerator{
    color: #25d4f3; 
}

 mfrac mn:last-child, .tooltip .mq-denominator{
    color: #d0509e; 
}
t{color:#cda871}
#res11 .mq-numerator, mfrac mn:first-child {
    color: #25d4f3; 
}

#res11 .mq-denominator,mfrac mn:last-child {
    color: #d0509e; 
}


#res11 .mq-denominator,.tooltip .mq-denominator {
  border-top: 1px solid rgb(88 255 218)  }
  #res11 .mq-cursor{color:deeppink}
mfrac > * + * {
	border-top: solid thin aliceblue;
	display: table-row;
}

.suma{color: lime;
  font-weight: bold;
  font-size: 110%;}
.resta{color:tomato;font-weight:bold;}
.multi{color: rgb(218, 165, 255);
  font-weight: bold;
  font-size: 110%;}
  .m2{font-size: 100%;}
.divi_{color: #ff9d57;
  font-weight: bold;
  font-size: 118%;}
  .imp_ {
    color: #f77575 !important;
	font-weight: bold;
}
.imp_ .mq-denominator {
  border-top: 1px solid rgb(237 197 197) !important }
.imp_ > * {
    color: inherit !important;
}
/*
.mq-math-mode .mq-binary-operator {
    margin-top: 5px;
}*/
#res11 .mq-root-block, .mq-math-mode .mq-root-block {
    padding: 10px;
}
.mip1{padding: 7px 4px 7px; border-left: 2px solid #88af3e; border-right: 2px solid #88af3e; border-radius:10px;}
sup {
    line-height: 2; /* Ajusta este valor para aumentar la altura vertical */
}
#math-field:focus {
    outline: none; /* Elimina el borde de enfoque */
}
.bt_  {
    width: 100%;
   
    border-radius: 8px;
    font-size: 18px;
    background-color: #252e3e;
    color: #eee;
	height: 35px;
}
.bt_ :hover, .btn:active, .btn:focus {
    color: #eee;
    outline: none !important;
}
.del_ {
    background-color: #48030b;
}
.flecha{
    background-color: #210851;
}
.op_ {
    background-color: #000000;
}
.En_{background-color: green; height:75px; font-size: 50px;} 


.calculator__screen {
	outline: none;
	background-color: #b9df02;
	width: 100%;
	display: block;
	box-sizing: border-box;
	border: 0;
	font-size: 20px;
	
	letter-spacing: 1px;
	border-radius: 5px;
	box-shadow: 0 -4px 4px -3px rgba(255, 255, 255, .3), 5px 0 3px -5px rgba(255, 255, 255, .8), 0 5px 5px -3px rgba(0, 0, 0, .5), -3px 0 3px -1px rgba(0, 0, 0, .8), inset 0 -5px 3px -4px rgba(0, 0, 0, .5), inset 5px 0 5px -2px rgba(0, 0, 0, .8);
	min-height: 85px;
	overflow-y: auto;	
	overflow-x: auto;
	margin-bottom: 6px;
}
.calculator {
	width: 100%;
	max-width: 600px;
	box-sizing: border-box;
	padding: 20px 10px 15px;
	background: radial-gradient(ellipse farthest-corner at 20% 65%, #525864, #130f0e);
	font-family: 'Overpass Mono', monospace;
	border-radius: 10px;
	margin: 0 auto;
}

.fra_{height: 75px;}
.mq-math-mode .mq-empty {
     background: #939554; 
    border: 1px dashed #a506a3;
}
.mq-numerator .mq-empty{ border: 1px dashed #25d4f3;}


.sombra_div{-webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.75);
}

.header_{background-color: #a4e271; height: 48px; width: 100%;}
.B1 {
	box-shadow:inset 0px 1px 0px 0px #a4e271;
	background:linear-gradient(to bottom, #89c403 5%, #77a809 100%);
	background-color:#89c403;
    border:1px solid #74b807;
    text-shadow:0px 1px 0px #528009;
    color:#ffffff;
}
.B1:hover {
	background:linear-gradient(to bottom, #77a809 5%, #89c403 100%);
	background-color:#77a809;
}
.B1:active {
	position:relative;
	top:1px;
}

.B2 {
	box-shadow:inset 0px 1px 0px 0px #f5978e;
	background:linear-gradient(to bottom, #f24537 5%, #c62d1f 100%);
	background-color:#f24537;
	border:1px solid #d02718;
    text-shadow:0px 1px 0px #810e05; height:48px;
}
.B2:hover {
	background:linear-gradient(to bottom, #c62d1f 5%, #f24537 100%);
	background-color:#c62d1f;
}
.B2:active {
	position:relative;
	top:1px;
}
.B1, .B2{    
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:24px;
	font-weight:bold;
	text-decoration:none;
    width:55px;}
	#Box-out{width: 100%; max-width: 600px;margin: 0 auto; margin: 0 auto;-webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.75);}
    .tfra1{width: 0.7em;border: 1px;border-style: dashed;display: block;height: 1em;margin-bottom: 2px;}
  
    .tfra2{width: 0.7em;border: 1px;border-style: dashed;display: block;height: 1em;margin-top: 2px;}
  