* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font: inherit;
    /*will-change: all;*/
}

*:before,
*:after {
    box-sizing: border-box;
    will-change: all;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

/*
[hidden],
template {
	display: none;
}
*/

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-focus-ring-color: rgba(255, 255, 255, 0);
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    font-size: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    line-height: 1;
}

a {
    background: transparent;
}

*:focus,
*:active,
*:hover {
    outline: 0;
}

hr {
    box-sizing: content-box;
    height: 0;
}

pre {
    white-space: pre-wrap;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
}

q {
    quotes: '\201C' '\201D' '\2018' '\2019';
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

button,
input {
    line-height: normal;
}

button,
select {
    text-transform: none;
}

button {
    overflow: visible;
}

button,
html input[type='button'],
input[type='reset'],
input[type='submit'] {
    cursor: pointer;
    -webkit-appearance: button;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

input[type='checkbox'],
input[type='radio'] {
    box-sizing: border-box;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
    height: auto;
}

input[type='search'] {
    box-sizing: content-box;
    -webkit-appearance: textfield;
}

input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration {
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    padding: 0;
    border: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
}

button,
input,
select[multiple],
textarea {
    background-image: none;
}

input,
select,
textarea {
    border-radius: 0;
    box-shadow: none;
}

input,
textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}
input{
    resize: none;
}

[placeholder]:focus::-webkit-input-placeholder {
    color: transparent;
}

[placeholder]:focus::-moz-placeholder {
    color: transparent;
}

[placeholder]:focus:-ms-input-placeholder {
    color: transparent;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

b, strong {
    font-weight: bold;
}

html,
body {
    height: 100%;
}

body {
    width: 100%;
    min-width: 1145px;
    font: 300 16px/1.4 'Arial', sans-serif;
    color: #000;
    background-color: RGB(247, 247, 247);
}

#wrap {
    min-height: 100%;
}

#main {
    padding-bottom: 210px;
    /*overflow: auto;*/
}

#main_inner {
    padding-bottom: 60px;
    /*overflow: auto;*/
}

.footer {
    position: relative;
    margin-top: -210px;
    clear: both;
    height: 210px;
}

.footer_inner {
    position: relative;
    margin-top: -60px;
    clear: both;
    height: 60px;
}

.main {
    margin-bottom: 40px;
    margin-left: 100px; /*325px;*/
    width: 800px;
}

.container {
    position: relative;
    margin: 0 auto;
    padding-right: 10px;
    padding-left: 10px;
    width: 1145px;
}

.title-page {
    margin-top: 25px;
    margin-bottom: 30px;
    font-size: 30px;
    text-align: center;
    /*text-transform: uppercase;*/
}

.title-page:after {
    margin: 8px auto 0;
    display: block;
    width: 190px;
    height: 3px;
    content: '';
    border: dashed 1px #000;
}

.subtitle-page {
    opacity: 0.6;
    font: 400 18px/24px 'Scada', sans-serif;
    text-align: center;
    margin-bottom: 5px;
}

.title-block {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    color: #007493;
}

.subtitle {
    margin-top: 30px;
    margin-bottom: 40px;
    font: 400 18px/24px 'Scada', sans-serif;
    text-align: center;
    text-transform: uppercase;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

noscript {
    margin: 15px 0 30px;
    padding: 10px 0;
    display: block;
    font-size: 19px;
    font-weight: 500;
    text-align: center;
    color: #fff;
    background-color: #ff0101;
    text-transform: uppercase;
}

.footer {
    color: #fff;
}

.footer__top {
    padding-top: 22px;
    padding-bottom: 32px;
    min-height: 150px;
    font-size: 24px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    background-color: #145b6e/*#67cae5*/;
}

.footer__top p {
    margin-bottom: 24px;
}

.footer__btm {
    padding-top: 30px;
    padding-bottom: 30px;
    font-size: 18px;
    font-weight: 300;
    line-height: 30px;
    background-color: #0a5c7a;
}

.footer__btm:after {
    display: table;
    clear: both;
    content: '';
}

.footer__nav {
    float: right;
}

.footer__nav li {
    margin-left: 35px;
    display: inline-block;
}

.footer__nav a {
    text-decoration: none;
    color: #fff;
    text-shadow: 0 0 #000;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.footer__nav a:hover {
    text-shadow: 1px 1px #000;
}

.header {
    text-align: center;
}

.header:after {
    display: table;
    clear: both;
    content: '';
}

.header__left {
    float: left;
}

.header__right {
    position: relative;
    max-width: 200px;
    margin-top: 5px;
    margin-bottom: 15px;
    float: right;
    text-align: right;
    min-height: 55px;
}

.navigation {
    min-height: 30px;
    background-color: #145b6e/*#67cae5*/;
}

.nav {
    text-align: center;
}

.nav-inner {
    display: block; /*none;*/
}

.nav__item {
    margin-right: 60px;
    /*@media (max-width: 767px)
               display block*/
    display: inline-block;
}

.nav__item:last-child {
    margin-right: 0;
}

.nav__link, .form__nav__link {
    padding-top: 7px;
    padding-bottom: 5px;
    display: block;
    font-size: 14px;
    line-height: 18px;
    text-decoration: none;
    text-shadow: 0 0 #fff;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.nav__link {
    color: #fff;
    text-transform: uppercase;
}

.nav__link:hover {
    text-shadow: 1px 1px #000;
}

.breadcrumbs {
    margin-top: 15px;
    margin-bottom: 25px;
}

.breadcrumbs li {
    display: inline-block;
}

.breadcrumbs li a,
.breadcrumbs li span {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
    color: #000;
}

.breadcrumbs li a.active,
.breadcrumbs li span.active {
    text-transform: uppercase;
    color: #145b6e/*#67cae5*/;
}

.breadcrumbs li a:hover {
    text-decoration: underline;
}

.breadcrumbs li + li:before {
    padding: 0 5px;
    content: '/\00a0';
    color: #ccc;
}

.error {
    padding: 15px 15px 10px;
    color: red;
    text-align: center;
    font-weight: bold;
}

.warning {
    padding: 15px 15px 10px;
    color: darkorange;
}

.ico {
    display: inline-block;
}

.ico_header {
    margin: 0 auto 7px;
    display: block;
}

.i-contribute {
    width: 22px;
    height: 15px;
    background-image: url('./images/sprite.png');
    background-position: -147px -128px;
}

.i-question {
    width: 19px;
    height: 21px;
    background-image: url('./images/sprite.png');
    background-position: -96px -99px;
}

.i-search {
    width: 13px;
    height: 13px;
    background-image: url('./images/sprite.png');
    background-position: -175px -99px;
}

.main-content ul {
    margin-top: 30px;
    margin-left: 10px;
}

.main-content ul li {
    margin-top: 5px;
}

.main-content ul li a {
    position: relative;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    color: #000;
}

.main-content ul li a:hover {
    text-decoration: underline;
}

.main-content ul li a:before {
    position: absolute;
    top: 7px;
    left: -15px;
    display: block;
    width: 8px;
    height: 8px;
    content: '';
    background-color: #145b6e/*#67cae5*/;
}

#messages {
    margin: 0 auto 10px;
    max-width: 800px;
    font-weight: bold;
}

.message-info, .message-error {
    margin-top: 10px;
    padding: 5px;
    color: white;
    text-align: center;
}

.message-info {
    background-color: #5c9ccc;
}

.message-error {
    background-color: red;
}

.note {
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 100;
    /*font-style: italic;*/
    line-height: 25px;
    color: #080808;
}

.pager {
    margin: 20px auto 10px;
    overflow: hidden;
    list-style-type: none;
}

.pager__next {
    float: right;
    max-width: 45%;
}

.pager__previous {
    float: left;
    max-width: 45%;
}

.pager a {
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
    color: #000;
}

.pager a:hover {
    font-weight: 500;
}

.row {
    position: relative;
    margin-bottom: 10px;
}

.row:after {
    display: table;
    clear: both;
    content: '';
}

.table-container {
    margin: 0 0 1em;
    overflow-y: auto;
    width: 100%;

    _overflow: auto;
}

.table-container::-webkit-scrollbar {
    width: 14px;
    height: 14px;
    -webkit-appearance: none;
}

.table-container::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .3);
    border: 3px solid #fff;
    border-radius: 8px;
}

.table {
    margin: 5px auto;
    border: 1px solid #c1c1c1;
}

.table td {
    padding: 5px 10px;
    font-weight: 400;
    /*white-space: nowrap;*/
    border: 1px solid #c1c1c1;
    background-color: #fff;
}

.table tr.table__row__underlined{
    border-bottom: 2px solid black;
}

.table td.table__title, .table td.table__cell__highlighted{
    font-weight: bold;
    background-color: #e2e2e2;
}

.table td.table__title{
    text-align: center;
}

.copyright {
    float: left;
}

.description_text-more {
    margin-top: 20px;
    display: none;
}

.description_text-more ul {
    margin: 0 15px;
    list-style: disc;
}

.form-search {
    position: relative;
    margin-top: 15px;
    margin-bottom: 15px;
}

.form-search__input {
    padding-right: 30px;
    max-width: 163px;
    font-size: 12px;
    background-color: rgb(255, 255, 255);
    border: none;
}

.form-search__btn {
    position: absolute;
    top: 1px;
    right: 0;
    width: 22px;
    height: 20px;
    background-color: #e2e2e2;
    border: #e6e6e7;
}

.graph {
    margin-bottom: 20px;
    padding: 20px;
    /*background-color: #fff;*/
    border-bottom: 3px solid #fff;
}

.graph__inner {
    margin-bottom: 20px;
    text-align: center;
}

.graph__btns {
    margin-bottom: 20px;
    text-align: center;
}

.graph__btns .btn {
    margin-bottom: 10px;
    margin-left: 9px;
    padding: 5px 23px;
    display: inline-block;
    line-height: 1.3;
    text-decoration: none;
    color: #fff;
}

.graph__btns .btn:first-child {
    margin-left: 0;
}

.graph .row {
    margin-top: 10px;
    margin-bottom: 10px;
}

.graph p {
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 300;
}

.graph strong {
    font-size: 18px;
    font-weight: 400;
}

.graph em {
    font-size: 18px;
    font-style: italic;
}

.graph a {
    font-weight: 400;
    line-height: 24px;
    text-decoration: underline;
    color: #47c2e3;
}

.links-item {
    margin-top: 5px;
    display: block;
    font-weight: 400;
    text-decoration: underline;
    color: #145b6e/*#67cae5*/;
}

.links-item:hover {
    text-decoration: none;
    color: #0d36da;
}

.list-number {
    margin-bottom: 20px;
    list-style: decimal;
    list-style-position: inside;
    text-indent: 15px;
}

.list-number_small {
    margin-top: 20px;
    font-size: 16px;
}

.list-title {
    margin-bottom: 20px;
    margin-left: 10px;
    font-weight: 400;
}

.logo {
    position: absolute;
    left: 50%;
    border-radius: 5px;
    box-shadow: 0 0 0 0 #000;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.logo:hover {
    box-shadow: 1px 1px 4px 1px #000;
}

.matrix {
    margin-top: 15px;
}

.matrix table tr td {
    padding-right: 10px;
}

.matrix__item:nth-child(3n) {
    margin-right: 0;
}

div.adsbygoogle {
    margin: 15px auto;
    overflow: hidden;
    width: 728px;
    height: 90px;
    display: none;
}

div.adsbygoogle.highlighted {
    box-shadow: 0px 0px 1.2em hsla(193, 71%, 65%, 1); /* hsla(50, 15%, 52%, 1);*/
    display: block;
}

aside div.adsbygoogle {
    width: 160px;
    height: 600px;
}

#z-ad-1 {
    display: none;
}

@media (max-width: 768px) {
    div.adsbygoogle{
        width: 300px;
        overflow: hidden;
        min-height: 50px;
        max-height: 250px;
        height: auto;
    }

    #z-ad-1.highlighted{
        display: block;
    }
}

@media (max-width: 767px) and (min-width: 590px) {
    .form-search {
        float: left;
    }
}

@media (max-width: 1199px) {
    body {
        min-width: 0;
    }

    .main {
        width: 800px;
    }

    .container {
        max-width: 1125px;
    }
}

@media (max-width: 1160px) {
    .main {
        margin-left: 300px;
        width: auto;
    }

    .nav-inner {
        display: block;
    }

    .container {
        max-width: 820px;
    }

    .form-edit__input {
        width: 270px;
    }

    .copyright {
        margin-top: 30px;
        font-size: 14px;
        margin-left: 35px;
    }

    .matrix__item {
        margin-right: 0;
    }
}

@media screen and (max-width: 1160px) {
    .main {
        margin-left: 0;
    }

    #left-menu {
        float: none !important;
    }

    aside div.adsbygoogle.highlighted{
        display: none;
    }

}

@media (max-width: 837px) {
    .container {
        padding-right: 15px;
        padding-left: 15px;
        max-width: 100%;
    }

    .footer__nav {
        float: none;
    }

    .footer__nav li {
        /*display: block;*/
    }

    .header__left {
        float: right;
    }

    .header__right {
        margin-top: 20px;
        margin-right: 20px;
        width: 100%;
        text-align: center;
        min-height: auto;
    }

    .nav__item {
        margin-right: 40px;
    }

    .form-edit__input {
        float: none;
        width: auto;
    }

    .ico_header {
        margin-right: 10px;
        margin-bottom: 7px;
        float: left;
    }

    .form-search {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .list-title {
        margin-left: 20px;
    }

    .logo {
        position: relative;
        left: auto;
        float: left;
    }

    .terms-text {
        margin-right: 20px;
        margin-left: 20px;
        padding-right: 0;
        padding-left: 0;
    }
}

@media (max-width: 479px) {
    .nav__item {
        margin-right: 10px;
    }

    .nav__link, .form__nav__link {
        font-size: 10px;
    }

    .form-edit__input {
        display: block;
    }

    .header__left {
        display: none;
    }

    .header__right {
        margin-top: 10px;
        margin-right: 0;
        width: 50%;
        min-height: auto;
    }

    .form-search__input {
        max-width: 145px;
    }
}

.related-notes .links-item {
    display: inline-block;
    padding-left: 5px;
}

.no-links-description {
    display: block;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}

.helplabel {
    margin-left: 10px;
    font-size: 14px;
    color: rgb(90, 90, 90);
    margin-top: 5px;
    clear: both;
}

img {
    vertical-align: middle;
    border: none;
}

.title .MathJax {
    font-weight: bold;
}

#MathJax_Zoom {
    overflow: auto !important;
}

.formula-delimiter {
    display: none;
}

ol[type=a] li {
    margin: 5px;
}

ul.list-links {
    list-style: none;
}

/* KATEX */
.katex {
    font-size: 1.331em !important;
}

.katex-display > .katex {
    white-space: normal !important;
}

/* Add space between broken lines: */
.katex-display > .base {
    margin: 0.25em 0 !important;
}

/* Compensate by reducing space around display math */
.katex-display {
    margin: 0.5em 0 !important;
}

/* New Layout CSS starts here */
/* ========================================
   Main site header
   ======================================== */

.emh-site-header {
    background: #ffffff;
    padding: 6px 0;
}

.emh-site-header__inner {
    width: calc(100% - 30px);
    max-width: 1140px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.emh-site-header__logo {
    display: block;
    flex-shrink: 0;
}

.emh-site-header__logo img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* Main links on right side */

.emh-site-header__menu {
    display: flex;
    align-items: center;
    gap: 38px;
}

.emh-site-header__link {
    position: relative;

    color: #174f5c;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;

    text-decoration: none;
    transition: color 0.2s ease;
}

.emh-site-header__link::after {
    content: "";
    position: absolute;

    left: 50%;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: #b0007f;

    transform: translateX(-50%);
    transition: width 0.2s ease;
}

.emh-site-header__link:hover {
    color: #b0007f;
}

.emh-site-header__link:hover::after {
    width: 100%;
}


/* ========================================
   Calculator section navigation
   ======================================== */

.emh-section-nav {
    background: #eaf5f7;

    border-top: 1px solid #79aeb8;
    border-bottom: 1px solid #79aeb8;
}

.emh-section-nav__inner {
    width: calc(100% - 30px);
    max-width: 1140px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.emh-section-nav__link {
    display: block;

    padding: 11px 14px;

    color: #174f5c;

    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.emh-section-nav__link:hover {
    background: #d6ebef;
    color: #b0007f;
}


/* ========================================
   Mobile
   ======================================== */

@media (max-width: 700px) {

    .emh-site-header__inner {
        flex-direction: column;
        gap: 12px;
    }

    .emh-site-header__menu {
        gap: 24px;
        padding-bottom: 7px;
    }

    .emh-site-header__link {
        font-size: 16px;
    }

    .emh-section-nav__inner {
        padding: 0 8px;
    }

    .emh-section-nav__link {
        padding: 9px 10px;
        font-size: 14px;
    }
}

/* ========================================
   Main page layout
   ======================================== */

.emh-page-shell {
    width: calc(100% - 30px);
    max-width: 1140px;
    margin: 0 auto;
}

.emh-page-content {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
}

.emh-page-sidebar {
    display: none;
    width: 300px;
}


/* ========================================
   Layout with sidebar advertisement
   Used later when ads are enabled
   ======================================== */

@media (min-width: 1180px) {

    .emh-page-shell--with-sidebar {
        display: grid;
        grid-template-columns: 800px 300px;
        column-gap: 40px;
        align-items: start;
    }

    .emh-page-shell--with-sidebar .emh-page-content {
        margin: 0;
    }

    .emh-page-shell--with-sidebar .emh-page-sidebar {
        display: block;
    }
}


/* ========================================
   Mobile / narrow screens
   ======================================== */

@media (max-width: 830px) {

    .emh-page-shell {
        width: calc(100% - 30px);
    }

    .emh-page-content {
        width: 100%;
    }

    .emh-page-sidebar {
        display: none !important;
    }
}