html, body {
    height: 100%;
    /*width: 1000px;*/
    /*margin: 0;*/
    margin: 0 auto;
    padding: 0;
    /*background: #FFFDF5;*/
    /*background: #FEC46D;*/
    background: #FFFAE6;
    /*font-family: 'LatoLight', Georgia;*/
    /*font-family: 'Open Sans', sans-serif;*/
    font-family: 'Noto Sans', sans-serif;
}

a {
    color: #E0A245;
}

a:visited {
    color: #A45031;
}

code {
    font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;
    /*background: #FEC46D;*/
    background: #E6E0CF;
    max-width: 650px;
    display: inline-block;
}

.page-wrapper {
    /*width: 1140px;*/
    clear: both;
    /*min-height: 100%;*/
    margin: 0 auto;
    margin-top: -50px;
    position: relative;
    background: #FFFAE6;
    /*height: 1000px;*/
}

.container.page-wrapper {
    /*margin-bottom: -50px;*/
}

* html .page-wrapper {
    height: 100%;
}

.page-buffer {
    clear: both;
    height: 5px;
}



/* Webfont: Lato-LightItalic */@font-face {
    font-family: 'LatoLightItalic';
    src: url("/static/fonts/lato/Lato-LightItalic.d2feaf871e2b.eot"); /* IE9 Compat Modes */
    src: url("/static/fonts/lato/Lato-LightItalic.d2feaf871e2b.eot?#iefix") format('embedded-opentype'), /* IE6-IE8 */
    url("/static/fonts/lato/Lato-LightItalic.594079ce0077.woff") format('woff'), /* Modern Browsers */
    url("/static/fonts/lato/Lato-LightItalic.13c9b8306e39.ttf") format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Webfont: Lato-Light */@font-face {
    font-family: 'LatoLight';
    src: url("/static/fonts/lato/Lato-Light.88e094ae4266.eot"); /* IE9 Compat Modes */
    src: url("/static/fonts/lato/Lato-Light.88e094ae4266.eot?#iefix") format('embedded-opentype'), /* IE6-IE8 */
    url("/static/fonts/lato/Lato-Light.ad372dbde430.woff") format('woff'), /* Modern Browsers */
    url("/static/fonts/lato/Lato-Light.7d5cfc932300.ttf") format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}


#header, #main_article, #right_menu {
    /*top: 80px;*/
}

/* ~~~~~~~~~~~~~~~ header ~~~~~~~~~~~~~~~ */

#header {
    position: relative;
    /*left: 50px;*/
    /*right: 50px;*/
    height: 250px;
    /*margin: 0 auto;*/
    /*width: 900px;*/
}

h1, h2 {
    margin: 0;
    /*padding-left: 15px;*/
    /*font-family: 'LatoLightItalic', Georgia;*/
    font-family: 'Open Sans', sans-serif;
}

h1 {
    font-size: 48px;
    color: #3C3C3C;
}

h1 a {
    text-decoration: none;
    color: inherit;
}

h2 {
    text-align: center;
    padding-top: 25px;
    font-size: 28px;
    color: #4C4C4C;
}

#header_icons {
    position: relative;
    /*width: 780px;*/
    height: 66px;
    /*margin: 0 60px;*/
    margin: 0 auto;
    margin-top: 30px;
    /*top: 0;*/
    /*right: 0;*/
    background: url("/static/img/icon_header_basis.29ecff870576.png");
    background-image: url("/static/img/icon_header_basis.ad7e944a8e60.svg"), none;
    background-repeat: no-repeat;
    background-position: center;
}

#header_logo {
    position: relative;
    width: 80px;
    height: 66px;
    display: block;
    margin: 0 auto;
    background: url("/static/img/icon_header_logo.2c395b9625d2.png");
    background-image: url("/static/img/icon_header_logo.216231dac2a0.svg"), none;
}

#header_logo a {
    display: block;
    width: 80px;
    height: 66px;
}

/* ~~~~~~~~~~~~~~~ main menu ~~~~~~~~~~~~~~~ */

#header_main_menubar {
    position: relative;
    /*height: 50px;*/
    /*width: 900px;*/
    margin: 0 auto;
    margin-top: 35px;
    /*background-color: red;*/
}

#header_main_menubar > div {
    display: inline-block;
    margin-right: -5px;
}

#menu_add_left {
    /*margin-left: 6px;*/
    height: 50px;
    width: 45px;
    background: url("/static/img/menu/menu_header_connector.bc01d2b2b99d.png");
    background-image: url("/static/img/menu/menu_header_connector.6702dce1d67c.svg"), none;
}

#menu_center {
    position: relative;
    height: 50px;
    width: 1006px;
    background: #FEC46D;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    border-style: solid;
    border-width: 4px;
    border-color: #E0A245;
    border-left: none;
    border-right: none;
    text-align: center;
    /*border-width: 4px 45px 4px 45px;*/
    /*border-image: url('http://i.stack.imgur.com/nFS60.jpg') 0% 50% stretch;*/
}

#menu_center ul {
    width: auto;
    display: block;
    text-align: center;
    margin: 0 auto;
    padding-left: 10px;
    /*padding-top: 8px;*/
    padding-top: 4px;
    height: 50px;
    line-height: 50px;
    font-size: 15pt;
    vertical-align: middle;
    font-family: 'Open Sans', sans-serif;
    color: #3C3C3C;
}

#menu_center li {
    display: inline;
    float: left;
    height: 35px;
    line-height: 35px;
    padding: 0 0 3px 0;
    margin-top: -2px;
    border-right: solid;
    border-width: 3px;
    border-color: #A45031;
}

#menu_center li:hover {
    background: #E0A245;
}

#menu_center li:last-child {
    border: none;
}

#menu_center a {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    height: 38px;
    padding: 0 20px;
}

#menu_add_right {
    height: 50px;
    width: 44px;
    background: url("/static/img/menu/menu_header_usb.33f031dc2968.png");
    background-image: url("/static/img/menu/menu_header_usb.c599f35b144b.svg"), none;
}

.menu_switch {
    display: none;
    height: 100%;
    cursor: pointer;
    background: url("/static/img/menu/m.menu_line.09331ba5b042.png");
    background-image: url("/static/img/menu/m.menu_line.dd09c9d39f56.svg"), none;
    background-position: center;
    background-repeat: no-repeat;
}


/* ~~~~~~~~~~~~~~~ end of main menu ~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~ end of header ~~~~~~~~~~~~~~~ */

/* ~~~~~~~~~~~~~~~ right menu ~~~~~~~~~~~~~~~ */

#right_menu {
    /*right: 50px;*/
    /*display: inline-block;*/
    /*position: relative;*/
    /*width: 200px;*/
    /*background: red;*/
    /*float: right;*/
    margin-top: 30px;
    font-size: 14pt;
}

#right_menu > div {
    padding-bottom: 25px;
}

#right_menu > div:last-child {
    padding-bottom: 10px;
}

#search label, #right_text {
    /*font-family: 'LatoLightItalic', Georgia;*/
    font-family: 'Open Sans', sans-serif;
    margin: 0;
}

.right-text {
    /*font-family: 'LatoLightItalic', Georgia;*/
    font-family: 'Open Sans', sans-serif;
    padding-bottom: 5px;
    margin: 3px 0;
}



.rss-link {
    display: inline-block;
    color: black;
    font-size: 14pt;
    text-decoration: none;
    width: 100%;
    background: url("/static/img/right_menu/icon_rss.9380d4882d0a.png") 98% 40% no-repeat;
    background-image: url("/static/img/right_menu/icon_rss.1246d5119f84.svg"), none;
}

.rss-link:hover {
    text-decoration: underline;
}

.rss-link:visited {
    color: black;
}

.rss-link-span {
    line-height: 1.5;
    display: inline-block;
    text-align: center;
    width: 195px;
    height: 25px;
    color: white;
    font-size: 15px;
    background: url("/static/img/right_menu/button_rss_big.85fdef4a6c19.png") 0% no-repeat;
    background-image: url("/static/img/right_menu/button_rss_big.d300123012af.svg"), none;
}

#search input {
    width: 100%;
    height: 40px;
    border: none;
    padding: 0 6px 0 6px;
    background: url("/static/img/right_menu/search_big.e5f9bf8cab9e.png") 0% no-repeat;
    background-image: url("/static/img/right_menu/search_big.9765556f7e41.svg"), none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#search input:focus {
    outline: 0;
}

.right-link {
    color: #A45031;
    /*font-family: 'LatoLightItalic', Georgia;*/
    font-family: 'Open Sans', sans-serif;
    font-size: 12pt;
    text-decoration: none;
}

.right-link:hover {
    text-decoration: underline;
}

#popular_articles > div {
    display: inline-block;
}

#popular_articles > div > div{
    font-size: 14px;
    line-height: 1.3;
}


#popular_articles > div > div > p {
    margin: 5px 0;
}

#popular_articles img {
    width: 80px;
}

/* ~~~~~~~~~~~~~~~ end of right menu ~~~~~~~~~~~~~~~ */

/* ~~~~~~~~~~~~~~~ main article ~~~~~~~~~~~~~~~ */

#main_article {
    /*display: inline-block;*/
    /*position: relative;*/
    /*left: 50px;*/
    /*width: 650px;*/
    /*min-height: 800px;*/
    /*background: yellow;*/
    margin-top: 30px;
    /*float: left;*/
}

#main_article img {
    max-width: 100%;
}

.article-text a {
    color: #E0A245;
}

.article-text a:visited {
    color: #A45031;
}

.article-text p {
    padding: 5px 0;
}

.article-text ol, .article-text ul {
    padding-left: 25px;
}

/* ~~~~~~~~~~~~~~~ end of main article ~~~~~~~~~~~~~~~ */


/* ~~~~~~~~~~~~~~~ pagination ~~~~~~~~~~~~~~~ */
.pagination {
    /*width: 650px;*/
    width: 100%;
    text-align: center;
}

.pagination > div {
    display: inline-block;
    position: absolute;
    font-size: 12px;
    left: 0;
    right: 0;
    z-index: 2;
}

.pagination__link {
    position: relative;
    font-size: 12px;
    display: inline-block;
    z-index: 3;
}

.pagination__link_old {
    float: right;
}

.pagination__link_new {
    float: left;
}
/* ~~~~~~~~~~~~~~~ end of pagination ~~~~~~~~~~~~~~~ */


/* ~~~~~~~~~~~~~~~ footer ~~~~~~~~~~~~~~~ */
.page-footer {
    background: #FFFAE6;
    height: 50px;
    padding-left: 50px;
    /*float: left;*/
    z-index: -5;
}

.page-footer p {
    margin: 0;
    color: #4C4C4C;
    font-size: 10pt;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 7px;
}

.footer-line {
    width: 900px;
    height: 20px;
    background: url("/static/img/footer_line_big.323dc6fd03c7.png");
    background-image: url("/static/img/footer_line_big.2817857350d4.svg"), none;
}
/* ~~~~~~~~~~~~~~~ end of footer ~~~~~~~~~~~~~~~ */



/* ~~~~~~~~~~~~~~~ misc ~~~~~~~~~~~~~~~ */
.horizontal-scrollable {
    display: inline-block;
    overflow-x: auto;
    max-width: 650px;
}

.ul-mobile {
    position: relative;
    padding: 0 !important;
    z-index: 1;
}

.li-mobile {
    width: 100%;
    background: #FEC46D;
    border: none !important;
    height: 45px !important;
    line-height: 45px !important;

}

/* ~~~~~~~~~~~~~~~ end of misc ~~~~~~~~~~~~~~~ */


/* ~~~~~~~~~~~~~~~ GRID ~~~~~~~~~~~~~~~ */

@media only screen and (min-width: 1161px) {
}

@media only screen and (min-width: 960px) and (max-width: 1160px) {
    #menu_center {
        width: 838px;
    }
    #search input {
        background: url("/static/img/right_menu/search_middle.8f2cbc028f8e.png") 0% no-repeat;
        background-image: url("/static/img/right_menu/search_middle.4da45bf3d33b.svg"), none;
    }
    .footer-line {
        background: url("/static/img/footer_line_middle.cdc45c634fe6.png");
        background-image: url("/static/img/footer_line_middle.9e9df17c8369.svg"), none;
    }
    .rss-link-span {
        width: 158px;
        background: url("/static/img/right_menu/button_rss_middle.40d162ec003f.png");
        background-image: url("/static/img/right_menu/button_rss_middle.ca2ce6919e8e.svg"), none;
    }
    #menu_center ul {
        display: block;
    }
}

@media only screen and (max-width: 959px) {
    #popular_articles div div img {
        display: none;
    }
    #popular_articles div div {
        font-size: 16px;
    }
    #popular_articles {
        text-align: left;
    }
    #popular_articles > div {
        margin-left: 90px;
    }
    .right-text {
        text-align: center;
    }
    #search label {
        margin: 0 176px;
    }
    #search input {
        width: 245px;
    }
    .rss-link-span {
        margin-left: -50px;
    }
    .rss-link {
        margin-left: 25px;
        width: 250px;
    }

}

@media only screen and (min-width: 768px) and (max-width: 959px) {
    #right_menu {
        /*display: none;*/
        text-align: center;

    }
    #menu_center {
        width: 650px;
    }
    #header_icons {
        background: url("/static/img/icon_header_basis_tablet.846b48fd3132.png");
        background-image: url("/static/img/icon_header_basis_tablet.59b13f1835f4.svg"), none;
        background-repeat: no-repeat;
        background-position: center;
    }
    .footer-line {
        background: url("/static/img/footer_line_tablet.665884787c5e.png");
        background-image: url("/static/img/footer_line_tablet.721c39206c52.svg"), none;
    }
    .pagination__link {
        font-size: 15px;
    }
    .page-footer p {
        font-size: 11pt;
    }
    #menu_center ul {
        display: block;
    }
}

@media only screen and (max-width: 767px) {
    #popular_articles > div {
        margin-left: 0;
    }
    #search label {
        margin: 0 78px;
    }
    #search form {
        text-align: center;
    }
    #search input {
        width: 245px;
    }
    .rss-link-span {
        margin-left: -50px;
    }
    .rss-link {
        margin-left: 25px;
    }
    #rss-subscribe {
        text-align: center;
    }

    #header_icons {
        margin-top: 10px;
        background: url("/static/img/icon_header_basis_micro.03df94286456.png");
        background-image: url("/static/img/icon_header_basis_micro.6294f8bd022a.svg"), none;
        background-repeat: no-repeat;
        background-position: center;
    }

    .bottom-tags {
        overflow-x: hidden;
    }
    #menu_center {
        width: 210px;
    }
    h2 {
        text-align: center;
        padding-top: 0;
        font-size: 19px;
    }
    h3 {
        font-size: 17pt;
    }
    .footer-line {
        background: url("/static/img/footer_line_micro.899c2b17649b.png");
        background-image: url("/static/img/footer_line_micro.05e84b88bf59.svg"), none;
    }
    #menu_center ul {
        display: none;
    }
    #menu_center .menu_switch {
        display: block;
    }
    #main_article {
        margin-top: 0;
    }
    .menu_switch:active {

    }
    #header_main_menubar {
        margin-top: 20px;
    }
    #header {
        height: 225px;
    }
    #right_menu {
        margin-top: 0px;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    #menu_center {
        width: 330px;
    }
    h2 {
        text-align: center;
        padding-top: 12px;
        font-size: 22px;
    }
    .footer-line {
        background: url("/static/img/footer_line_mini.2d3f09082113.png");
        background-image: url("/static/img/footer_line_mini.fb4d2390e173.svg"), none;
    }
    #header_icons {
        margin-top: 10px;
        background: url("/static/img/icon_header_basis_tablet.846b48fd3132.png");
        background-image: url("/static/img/icon_header_basis_tablet.59b13f1835f4.svg"), none;
        background-repeat: no-repeat;
        background-position: center;
    }

}
/* CKEditor 5 image alignment (audit #2, 2026-12-02): CKEditor 4 floated images with an inline
   style="float:left|right"; CKEditor 5 stores the same thing as these classes on <img>/<figure>. */
.image-style-align-left {
    float: left;
}

.image-style-align-right {
    float: right;
}

.image-style-align-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
