@charset "utf-8";
.translate-selector {
  display: inline-block;
  margin-left: 5px;
  border: transparent solid 1px;
  cursor: pointer;
  width: 34px;
  padding: 2px 4px 0px;
  position: relative;
  height: 21px;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px;
}
.translate-selector .translate-list {
  display: none;
}
.translate-selector .translate-list a {
  border-left: transparent solid 2px;
  text-decoration: none;
  padding: 5px;
  min-width: 100px;
  display: block;
}
.translate-selector .translate-list a:hover {
  background-color: #ccc;
}
.translate-selector .translate-list a.active {
  border-left-color: red;
}
.translate-selector:hover {
  border-color: gray;
  background-color: #f7f7f7;
}
.translate-selector:hover .translate-list {
  padding: 5px 0;
  display: inline;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px;
  background-color: #fff;
  white-space: nowrap;
  border: gray solid 1px;
  top: 20px;
  left: -1px;
  position: absolute;
  z-index: 1;
}
.translate-selector .arrow {
  border-color: #c0c0c0 transparent transparent;
  border-style: solid dashed dashed;
  border-width: 3px 3px 0;
  display: inline-block;
  font-size: 0;
  height: 0;
  left: 4px;
  line-height: 0;
  padding-top: 1px;
  position: relative;
  top: -1px;
  width: 0;
}
.translate-selector .country-flag {
  background-image: url("/resource/i/country.png");
  background-position: 0 16px;
  background-repeat: no-repeat;
  display: inline-block;
  height: 16px;
  margin-bottom: -0.4em;
  width: 16px;
}
.translate-selector .country-flag.country-pl {
  background-position: -784px 0;
}
.translate-selector .country-flag.country-ru {
  background-position: -1344px 0;
}
.translate-selector .country-flag.country-de {
  background-position: -1376px 0;
}
.translate-selector .country-flag.country-en {
  background-position: -1744px 0;
}
* {
  box-sizing: border-box;
  outline: 0px;
  padding: 0;
  margin: 0;
}
body.night {
  color: #AAA;
}
body.night #page {
  background-color: #181818;
}
body.night #page .kwd {
  color: #fff;
}
body.night #page .pln {
  color: green;
}
body.night #page li.L1,
body.night #page li.L3,
body.night #page li.L5,
body.night #page li.L7,
body.night #page li.L9 {
  background: #000;
}
body.night .ui-widget-content {
  border-color: #3C3C3C;
}
body.night .ui-widget-content {
  background-color: #181818;
  color: #AAA;
}
body {
  margin: 0;
  text-align: center;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #333;
  line-height: 16px;
  height: 100vh;
}
body h1 {
  font-size: 36px;
  line-height: 37px;
}
[mobiled=mobiled] body p {
  font-size: 20px;
}
body sub {
  vertical-align: sub;
  font-size: 0.8em;
}
body sup {
  vertical-align: super;
  font-size: 0.8em;
}
body small {
  font-size: 0.7em;
}
body .r-right {
  color: green;
}
body .r-fail {
  color: red;
}
body .hidden {
  display: none;
}
body .inline-block {
  display: inline-block;
}
body .va-middle {
  vertical-align: middle;
}
body .ui-dialog {
  max-width: 100%;
}
body .ui-dialog .work-box label {
  width: 100px;
}
body .ui-dialog .work-box dt {
  margin-left: 110px;
}
body .ui-dialog .work-box input,
body .ui-dialog .work-box textarea {
  width: 100%;
}
body .ui-dialog .work-box textarea {
  min-height: 120px;
}
body .colorpicker {
  display: none;
}
body .ui-state-default,
body .ui-widget-content .ui-state-default {
  font-weight: normal;
}
body .ui-state-default {
  padding: 5px;
}
body .work-box {
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
  padding: 10px 0;
}
body .work-box.type-def .addPayRecalc,
body .work-box.type-def .month_pay {
  display: none;
}
body .work-box #result {
  position: relative;
}
body .work-box div {
  padding: 0 10px;
  margin: 5px 0;
  clear: both;
}
body .work-box div#result div {
  padding: 0;
}
body .work-box div#result div.calculate {
  position: absolute;
  margin-top: -8px;
  background-color: #fff;
}
body .work-box div#result div.results {
  border-bottom: medium none;
  border-left: medium none;
  border-right: medium none;
  margin-bottom: -10px;
  max-height: 300px;
  overflow-y: auto;
}
body .work-box div#result div.results label {
  font-weight: normal;
}
body .work-box .line {
  border-bottom: none;
  margin: 10px 0;
}
body .work-box label {
  width: 200px;
  display: inline-block;
  text-align: right;
  float: left;
}
body .work-box dt {
  margin-left: 210px;
}
body .work-box dt li {
  cursor: pointer;
  display: inline-block;
  list-style: none outside none;
  margin: 0 2px;
  padding: 2px 0;
  vertical-align: middle;
}
body .work-box dt li span {
  float: left;
  margin: 0 2px;
}
body .work-box dt span span.request {
  margin-left: 10px;
}
body .work-box dt span.request {
  margin-left: 0px;
}
body .work-box dt .input {
  display: inline;
}
body .center-box .date input {
  text-align: center;
}
body #page {
  background-color: #FFFFFF;
  background-repeat: no-repeat;
  background-position: 100% 100%;
  background-size: 20vmin auto;
}
body #preloadOverlay {
  position: fixed;
  background-color: rgba(128,128,128,0.7);
  z-index: 1;
  width: 100vw;
  height: 100vh;
  display: flex;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
}
body #preloadOverlay #ajaxGlobal {
  width: 150px;
  height: 150px;
  position: relative;
}
body #preloadOverlay #ajaxGlobal > i {
  border: 3px solid #777;
  position: absolute;
  display: inline-block;
}
body #preloadOverlay #ajaxGlobal > i:nth-child(1) {
  width: 150px;
  height: 150px;
  -moz-border-radius: 150px;
  -webkit-border-radius: 150px;
  -o-border-radius: 150px;
  border-radius: 150px;
  top: 0px;
  left: 0px;
  border-left-color: transparent;
  border-top-color: transparent;
  -webkit-animation: 1s linear .1s infinite leftAnim;
  -o-animation: 1s linear .1s infinite leftAnim;
  animation: 1s linear .1s infinite leftAnim;
}
body #preloadOverlay #ajaxGlobal > i:nth-child(2) {
  width: 140px;
  height: 140px;
  -moz-border-radius: 140px;
  -webkit-border-radius: 140px;
  -o-border-radius: 140px;
  border-radius: 140px;
  top: 5px;
  left: 5px;
  border-right-color: transparent;
  border-bottom-color: transparent;
  -webkit-animation: 1.5s linear .1s infinite rightAnim;
  -o-animation: 1.5s linear .1s infinite rightAnim;
  animation: 1.5s linear .1s infinite rightAnim;
}
body #preloadOverlay #ajaxGlobal > i:nth-child(3) {
  width: 130px;
  height: 130px;
  -moz-border-radius: 130px;
  -webkit-border-radius: 130px;
  -o-border-radius: 130px;
  border-radius: 130px;
  top: 10px;
  left: 10px;
  border-left-color: transparent;
  border-top-color: transparent;
  -webkit-animation: 2s linear .1s infinite leftAnim;
  -o-animation: 2s linear .1s infinite leftAnim;
  animation: 2s linear .1s infinite leftAnim;
}
body #preloadOverlay #ajaxGlobal > i:nth-child(4) {
  width: 120px;
  height: 120px;
  -moz-border-radius: 120px;
  -webkit-border-radius: 120px;
  -o-border-radius: 120px;
  border-radius: 120px;
  top: 15px;
  left: 15px;
  border-right-color: transparent;
  border-bottom-color: transparent;
  -webkit-animation: 1s linear .1s infinite rightAnim;
  -o-animation: 1s linear .1s infinite rightAnim;
  animation: 1s linear .1s infinite rightAnim;
}
body #preloadOverlay #ajaxGlobal .canceler {
  position: absolute;
  left: 25px;
  top: 25px;
  width: 100px;
  height: 100px;
  opacity: 0.5;
  cursor: pointer;
  z-index: 1;
  -moz-border-radius: 100px;
  -webkit-border-radius: 100px;
  -o-border-radius: 100px;
  border-radius: 100px;
  background-color: #777;
  border: 1px solid #333;
}
body #preloadOverlay #ajaxGlobal .canceler .close:hover {
  opacity: 1;
}
body #preloadOverlay #ajaxGlobal .canceler:before,
body #preloadOverlay #ajaxGlobal .canceler:after {
  position: absolute;
  left: 48px;
  top: 0px;
  content: ' ';
  height: 100px;
  width: 4px;
  background-color: #333;
}
body #preloadOverlay #ajaxGlobal .canceler:before {
  transform: rotate(45deg);
}
body #preloadOverlay #ajaxGlobal .canceler:after {
  transform: rotate(-45deg);
}
body.autumn #page {
  background-image: url("/resource/i/season/autumn.gif");
}
body.summer #page {
  background-image: url("/resource/i/season/summer.gif");
}
body.spring-1 #page {
  background-image: url("/resource/i/season/spring-1.gif");
}
body.spring-2 #page {
  background-image: url("/resource/i/season/spring-2.gif");
}
body.winter #page {
  background-image: url("/resource/i/season/winter.gif");
}
body.match-8 #page {
  background-image: url("/resource/i/season/match-8.gif");
}
body.dr #page {
  background-image: url("/resource/i/season/dr.gif");
}
body.febr14 #page {
  background-image: url("/resource/i/season/14febr.gif");
}
body.febr23 #page {
  background-image: url("/resource/i/season/23febr.gif");
}
body.aprl-1 #page {
  background-image: url("/resource/i/season/aprl-1.gif");
}
body.aprl-12 #page {
  background-image: url("/resource/i/season/aprl-12.jpg");
}
body .nowrap {
  white-space: nowrap;
}
body .green {
  color: green;
}
body .gray {
  color: gray;
}
body .orange {
  color: orange;
}
body .red {
  color: red;
}
body .blue {
  color: blue;
}
body a,
body .link {
  color: #428bca;
  cursor: pointer;
  text-decoration: underline;
}
body a:hover,
body .link:hover {
  text-decoration: none;
}
body a[link],
body .link[link] {
  cursor: pointer;
}
body content {
  padding: 0 15px;
}
body .container {
  margin-right: auto;
  margin-left: auto;
  text-align: left;
  display: inline-block;
  width: 100%;
  max-width: 1170px;
}
body .container .container-wraper {
  padding: 0 15px;
  display: block;
}
body .container .container-wraper .page-content {
  max-width: 100%;
  overflow: auto;
  margin: 20px 0;
}
body ul,
body ol,
body dd,
body dt {
  padding: 0;
  margin: 0;
}
body .title-details {
  display: none;
}
body h1 {
  margin-bottom: 10px;
  font-size: 24px;
}
body h1 .title-details {
  font-size: 70%;
  font-weight: normal;
}
body table {
  border-spacing: 0px;
  border: 0;
}
body table th,
body table td {
  border-top: none;
  border-bottom: 1px solid #ccc;
  padding: 4px;
}
body .p100 {
  width: 100%;
}
body .p90 {
  width: 90%;
}
body .p80 {
  width: 80%;
}
body .p70 {
  width: 70%;
}
body .p60 {
  width: 60%;
}
body .p50 {
  width: 50%;
}
body .p40 {
  width: 40%;
}
body .p30 {
  width: 30%;
}
body .p20 {
  width: 20%;
}
body .p10 {
  width: 10%;
}
body .p33 {
  width: 33%;
}
body .mt-20 {
  margin-left: 20px;
}
body .mt-15 {
  margin-left: 15px;
}
body .mt-10 {
  margin-left: 10px;
}
body .mt-5 {
  margin-left: 5px;
}
body .mr-20 {
  margin-right: 20px;
}
body .mr-15 {
  margin-right: 15px;
}
body .mr-10 {
  margin-right: 10px;
}
body .mr-5 {
  margin-right: 5px;
}
body .mt-20 {
  margin-top: 20px;
}
body .mt-15 {
  margin-top: 15px;
}
body .mt-10 {
  margin-top: 10px;
}
body .mt-5 {
  margin-top: 5px;
}
body .mb-20 {
  margin-bottom: 20px;
}
body .mb-15 {
  margin-bottom: 15px;
}
body .mb-10 {
  margin-bottom: 10px;
}
body .mb-5 {
  margin-bottom: 5px;
}
body .ta-center {
  text-align: center;
}
body .ta-left {
  text-align: left;
}
body .ta-right {
  text-align: right;
}
body .ta-justify {
  text-align: justify;
}
body .f-right {
  float: right;
  display: inline-block;
}
body .f-left {
  float: left;
  display: inline-block;
}
body .f-none {
  float: none;
  display: inline-block;
}
body .hide {
  display: none !important;
}
@media (min-width: 892px) {
  body .title-details {
    display: inline-block;
  }
}
@keyframes leftAnim {
  0% {
    transform: rotate(0);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes rightAnim {
  0% {
    transform: rotate(0);
  }
  50% {
    transform: rotate(-180deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
@media screen and (max-width: 1190px) {
  .work-box label {
    display: block;
    width: auto;
    text-align: left;
    float: none;
  }
  .work-box dt {
    margin-left: 0px;
  }
  body h1 {
    font-size: 170%;
  }
  .work-box div.last-calculates {
    float: none;
    margin: 0;
    background-color: transparent;
    width: auto;
  }
  .mod_common_vat label,
  .mod_common_vat dt {
    width: 50%;
    display: inline-block;
  }
  .mod_common_vat label {
    text-align: right;
    width: calc(50% - 10px);
    padding-right: 10px;
  }
  .mod_matematic_interpolation_lagrange .work-box label {
    width: 30%;
    display: inline-block;
  }
  .mod_matematic_interpolation_lagrange .work-box label input {
    max-width: calc(100% - 50px);
  }
  .mod_matematic_interpolation_lagrange .work-box dt {
    width: 70%;
    display: inline-block;
  }
  .mod_matematic_interpolation_lagrange .work-box dt input {
    max-width: calc(50% - 100px);
  }
  .mod_matematic_interpolation .work-box label,
  .mod_matematic_interpolation .work-box dt,
  .mod_matematic_interpolation_newton .work-box label,
  .mod_matematic_interpolation_newton .work-box dt {
    width: 50%;
    display: inline-block;
  }
  .mod_matematic_interpolation .work-box label span,
  .mod_matematic_interpolation_newton .work-box label span {
    width: 20px;
    display: inline-block;
  }
  .mod_matematic_interpolation .work-box dt span,
  .mod_matematic_interpolation_newton .work-box dt span {
    width: 45px;
    display: inline-block;
  }
  .mod_matematic_interpolation .work-box label input,
  .mod_matematic_interpolation_newton .work-box label input {
    width: calc(100% - 40px) !important;
  }
  .mod_matematic_interpolation .work-box dt input,
  .mod_matematic_interpolation .work-box dt .input,
  .mod_matematic_interpolation_newton .work-box dt input,
  .mod_matematic_interpolation_newton .work-box dt .input {
    width: calc(100% - 50px) !important;
    display: inline;
  }
  .mod_matematic_interpolation .work-box .using>div,
  .mod_matematic_interpolation_newton .work-box .using>div {
    padding: 0;
  }
  .mod_matematic_interpolation .work-box .using label,
  .mod_matematic_interpolation .work-box .using dt,
  .mod_matematic_interpolation_newton .work-box .using label,
  .mod_matematic_interpolation_newton .work-box .using dt {
    display: block;
    width: 100%;
  }
  .mod_matematic_interpolation .work-box .using label span,
  .mod_matematic_interpolation .work-box .using dt span,
  .mod_matematic_interpolation_newton .work-box .using label span,
  .mod_matematic_interpolation_newton .work-box .using dt span {
    display: inline;
  }
}
@media screen and (max-width: 888px) {
  #result {
    padding: 0;
    margin: 0;
    overflow-y: auto;
  }
  #result thead {
    overflow: hidden;
  }
  #result td,
  #result th {
    font-size: 80%;
  }
  #result td:last-child,
  #result th:last-child {
    border-right: none;
  }
  #result td:first-child,
  #result th:first-child {
    border-left: none;
  }
  .work-box dt .button {
    display: block;
    min-width: 220px;
    margin: 0 auto;
    width: 50%;
  }
  .work-box dt .button.svg-icon {
    max-width: 36px;
    width: auto;
    min-width: auto;
    display: inline-block;
    margin: 0 auto;
  }
}
@media screen and (max-width: 770px) {
  #mlmenu {
    max-width: 100%;
  }
  #mlmenu.menu-box {
    height: 45px;
  }
  #mlmenu.open-mobile li {
    display: block !important;
    width: 100%;
    padding: 0 0 0 40px;
    background-color: #2D2D2D;
    float: left;
  }
  #mlmenu.open-mobile li.group {
    border-top-width: 0px;
    border-style: solid;
    border-color: transparent;
    border-left-width: 2px;
  }
  #mlmenu.open-mobile li.group.active {
    border-color: red;
  }
  #mlmenu.open-mobile li:hover {
    background-color: #4C4C4C;
  }
  #mlmenu.open-mobile li.openMenu {
    background-color: #ffffff;
  }
  #mlmenu.open-mobile li.openMenu li {
    background-color: #fff;
    max-width: calc(100% - 80px);
    border-color: transparent;
  }
  #mlmenu.open-mobile li.openMenu li:nth-child(2n+2) {
    background-color: #ffe;
  }
  #mlmenu.open-mobile li.openMenu li.active {
    border-left: 2px solid red;
  }
  #mlmenu.open-mobile li.openMenu li a {
    white-space: normal;
    text-decoration: underline;
  }
  #mlmenu.open-mobile li.openMenu li:hover {
    background-color: #eff3fb;
  }
  #mlmenu.open-mobile li .title {
    font-size: 22px !important;
    line-height: 30px !important;
  }
  #mlmenu.open-mobile li .sub-menu {
    margin-left: -43px;
    margin-top: 4px;
  }
  #mlmenu.open-mobile li .sub-menu .sepor {
    display: none;
  }
  #mlmenu.open-mobile li .sub-menu ul {
    margin-top: -3px;
  }
  #mlmenu.open-mobile li .sub-menu .subgroup-menu {
    left: -3px;
    top: auto;
  }
  #mlmenu.open-mobile li .sub-menu .subgroup-menu li {
    min-width: calc(100% - 45px);
  }
  #mlmenu.open-mobile li.vk-link {
    margin: 0;
  }
  #mlmenu .menu-list {
    padding: 0;
  }
  #mlmenu .menu-list .home {
    display: inline-block !important;
  }
  #mlmenu .menu-list .menu-lab {
    display: inline-block !important;
  }
  #mlmenu .menu-list li {
    display: none;
  }
  .mod_matematic_interpolation h1 {
    padding-right: 120px;
  }
  .mod_matematic_interpolation h1 .title-details {
    display: none;
  }
  .bred {
    float: right;
    margin-top: -35px;
  }
  .bred .title,
  .bred noindex {
    display: none;
  }
}
@media screen and (max-width: 690px) {
  #mlmenu .menu-list li.vk-link {
    display: none !important;
  }
  .mod_matematic_interpolation .documentation {
    display: none;
  }
}
@media screen and (max-width: 650px) {
  #vk_comments,
  #vk_comments iframe {
    width: 100% !important;
  }
}
@media screen and (max-width: 460px) {
  .work-box dt input,
  .work-box dt select {
    display: block;
    width: 100% !important;
  }
  .mod_matematic_interpolation_lagrange label {
    width: 100% !important;
  }
  .mod_matematic_interpolation_lagrange label input {
    max-width: calc(100% - 80px) !important;
    width: 100% !important;
    float: right;
  }
  .mod_matematic_interpolation_lagrange dt {
    width: 100% !important;
    margin-bottom: 10px;
    margin-top: 5px;
  }
  .mod_matematic_interpolation_lagrange dt span {
    float: left;
  }
  .mod_matematic_interpolation_lagrange dt li {
    float: none;
  }
  .mod_matematic_interpolation_lagrange dt f {
    margin-bottom: 5px;
    display: inline-block;
    width: 100%;
  }
  .mod_matematic_interpolation_lagrange dt d {
    float: right;
    max-width: calc(100% - 76px) !important;
    width: 100%;
  }
  .mod_matematic_interpolation_lagrange dt input {
    max-width: calc(100% - 80px) !important;
    width: 100% !important;
    float: right;
  }
  .mod_matematic_interpolation_lagrange dt input[disabled] {
    max-width: calc(100% - 59px) !important;
    float: none;
    display: inline-block;
  }
  .mod_matematic_interpolation_lagrange dt #fxn {
    display: inline-block;
    float: right;
    max-width: calc(100% - 76px) !important;
    width: 100%;
  }
}
