@import url('https://fonts.googleapis.com/css2?family=Lato&family=Montserrat&family=Open+Sans&family=Roboto&display=swap');
:root {
    --navigation-link-color-active-var: #FFFFFF;
    --link-color-active-var: #f9fd26;
    --button-text-color-var: #f1eeee;
    --button-color-var: #ef0707;
    --button-color-active-var: #c48181;
    --li-marker-color-var: #ef0707;
    --shadow-var: 0 2px 6px 0 rgba(50, 50, 93, 0.59);
    --border-radius-var: 10px;
}

body {
    font-family: var(--font-var, Montsserat), Helvetica, Arial, sans-serif;
    font-size: var(--font-size, 18px);
    line-height: var(--line-height, 22px);
    color: var(--text-color-var, #333);
    background-color: var(--background-content-color, #fcfcfc);
    margin:0;
    padding:0;
    position:relative;
}
body * {
    max-height:9999999px;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-style: normal;
    font-weight: bold;
    line-height:30px;
}

p, ul, ol {
    margin: 25px 0;
}

img {
    border:0;
}
a {
    text-decoration: none;
    color: inherit;
}
a:link, a:visited  {
    text-decoration:none;
}
a:hover {
    text-decoration:none;
    color: var(--navigation-link-color-active-var, #646b63);
}
img {
    max-width:100%;
    height:auto;
}
.ie {
    display:none;
}
ul {
    list-style-type:disc;
    padding-left:25px;
}
ol {
    list-style-type:decimal;
    padding-left:25px;
}
ul li,
ol li {
    padding:5px 0;
}

.theme_content_wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.container {
    flex: 1;
}

header {
    box-sizing: border-box;
    box-shadow: var(--shadow-var, 0 2px 6px rgba(169, 32, 62, 0.5));
    padding: 0 15px;
    height: 70px;
    background-color: var(--background-header-var, #a25e11);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    color: var(--navigation-link-color-var, #f3f2f2);
}
.navigation-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 810px;
    margin: auto;
    height: inherit;
    position: relative;
    color: inherit;
}
.navigation-bar .burger-button {
    display: none;
    width: 24px;
    height: 9px;
    position: relative;
    cursor: pointer;
}
.navigation-bar .burger-button span {
    display: block;
    position: absolute;
    height: 2px;
    width: 24px;
    background-color: var(--navigation-link-color-var, #f3f2f2);
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    will-change: transform, opacity, width, height, left;
    transition-timing-function: ease;
    transition-duration: 0.4s;
    transition-property: transform, opacity, width, height, left;
}
.navigation-bar .burger-button span:first-child {
    top: 0;
}
.navigation-bar .burger-button span:nth-child(2),
.navigation-bar .burger-button span:nth-child(3) {
    top: 4px;
    opacity: 0;
}
.navigation-bar .burger-button span:nth-child(4) {
    top: 7px;
}
.navigation-bar .logo {
    height: 30px;
    display: flex;
    align-items: center;
}

.navigation-bar.open .burger-button span:first-child {
    width: 0;
    left: 50%;
}
.navigation-bar.open .burger-button span:nth-child(2) {
    opacity: 1;
    transform: rotate(45deg);
}
.navigation-bar.open .burger-button span:nth-child(3) {
    opacity: 1;
    transform: rotate(-45deg);
}
.navigation-bar.open .burger-button span:nth-child(4) {
    width: 0;
    left: 50%;
}

.navigation-bar .header-menu {
    background-color: var(--background-header-var, #a25e11);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    height: 100%;
    flex: 1;
}
.navigation-bar .header-menu a {
    display: flex;
    align-items: center;
    margin-left: 30px;
}
.navigation-bar .header-menu .sub-menu {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    background: var(--background-header-var, #a25e11);
    min-width: 250px;
    width: fit-content;
    height: auto;
    border: 1px solid var(--navigation-link-color-active-var, #646b63);
    padding: 10px 0;
    z-index: 1;
}
.navigation-bar .header-menu .sub-menu ul {
    display: flex;
    flex-direction: column;
}
.navigation-bar .header-menu .sub-menu ul a {
    margin-left: 0;
    justify-content: space-between;
    width: 100%;
    white-space: nowrap;
    padding: 0 10px;
}

.navigation-bar img  {
    max-width: 240px;
    height: 60px;
}
.arrow {
    display: none;
}
.sub-menu .menu-item .arrow {
    display: none;
}
.menu-parent-item .arrow {
    display: block;
}

.navigation-bar .header-menu .sub-menu ul a .arrow {
    margin-left: 5px;
}
.navigation-bar .header-menu .sub-menu-secondary {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: #a9203e;
    background: var(--background-header-var, #a25e11);
    max-width: 400px;
    width: fit-content;
    height: auto;
    max-height: 235px;
    border: 1px solid var(--link-color-active-var, #646b63);
    overflow: auto;
    padding: 10px;
}
.navigation-bar .header-menu .sub-menu-secondary ul {
    display: flex;
    flex-direction: column;
}
.navigation-bar .header-menu .sub-menu-secondary ul a {
    margin-left: 0;
}
.navigation-bar .header-menu .menu-item:hover .sub-menu,
.navigation-bar .header-menu .menu-item:hover .sub-menu .menu-item:hover .sub-menu-secondary {
    display: block;
}

@media ( max-width: 1024px ) {
    .navigation-bar .header-menu {
        position: absolute;
        width: 100%;
        text-align: left;
        padding: 50px;
        display: none;
        height: auto;
        top: 0;
        z-index: 999;
        margin: 0;
    }
    .navigation-bar .header-menu .menu-item{
        width: 100%;
        justify-content: flex-start;
    }
    .navigation-bar .header-menu .sub-menu  {
        display: block;
        position: inherit;
        padding: 0;
        margin: 10px 20px;
        border: none;
    }
    .burger-button {
        z-index: 9999;
        display: block !important;
    }
    .menu-parent-item .arrow {
        display: none;
    }
    .navigation-bar .header-menu a {
        justify-content: flex-start;
    }
}

.menu {
    display: flex;
    user-select: none;

}
.menu .menu-item {
    position: relative;
    list-style: none;
    align-items: center;
}

.link-wrapper {
    display: flex;
    align-items: center;
    color: var(--navigation-link-color-var, #f3f2f2);
    font-size: 15px;
    line-height: 30px;
    text-decoration: none;
}

.arrow {
    border-top: 6px solid #fff;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    margin-left: 3px;
    margin-top: 3px;
}

.main {
    max-width: 810px;
    display: flex;
    margin: 20px auto;
    position: relative;
    padding-bottom: 0;
}
.main article {
    margin: auto;
}

@media (max-width: 1024px) {
    .main,
    .top header {
        width: 100%;
        padding: 0 15px;
    }
}

@media screen and (max-width: 767px) {
    header {
        min-height: unset;
    }
    .top picture img {
        -o-object-position: center;
        object-position: center;
    }
    .top .description {
        width: 100%;
    }
}

.posts-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.posts-wrapper .post {
    margin-bottom: 20px;
}
.post {
    border-radius: var(--border-radius-var, 15px);
    box-shadow: var(--shadow-var, 0 2px 6px 0 rgb(169 32 62 / 50%));
    display: flex;
    overflow: hidden;
    align-items: center;
}
.post picture.preview-image {
    flex: 0 0 236px;
    margin: 0;
    position: relative;
}
.post .info {
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 100%;
}
.post .info .title {
    font-size: 22px;
    line-height: 28px;
}
.content a:not(.button__main) {
    color: var(--link-color-var, #a25e11);
    text-decoration: none;
    font-weight: 900;
}
.post .info .description {
    overflow: hidden;
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 10px;
}

.host {
    position: absolute;
    left: calc(50% - 50vw);
    height: calc(100% - 200px);
    top: 200px;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
.host .main {
    position: sticky;
    top: calc(25% + 150px);
    z-index: 2;
}
.host .title {
    width: 200px;
    height: 30px;
    background: #fbfbfb;
    border-radius: 0 var(--border-radius-var, 15px) var(--border-radius-var, 15px) 0;
    transform: rotate(-90deg);
    transform-origin: 0 0;
    color: var(--text-color-var, #333);
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    text-align: center;
    padding: 5px;
    cursor: pointer;
}
.host .title span {
    display: inline-block;
    padding: 0 5px;
    transition: 0.2s;
}
.host ul {
    display: none;
    position: absolute;
    list-style: none;
    top: -220px;
    width: 500px;
    max-height: 365px;
    padding: 15px 15px 0 80px;
    overflow-y: scroll;
    background-color: #fff;
    border-radius: 0 var(--border-radius-var, 15px) var(--border-radius-var, 15px) 0;
    border: 1px solid #ebebeb;
    z-index: -1;
    box-shadow: var(--shadow-var,  0 2px 6px 0 rgba(169, 32, 62, 0.5));
}
.host ul li:before {
    display: none !important;
}
.host ul a {
    display: block;
    text-decoration: none;
    padding: 10px 0;
    color: var(--text-color-var, #333);
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
    cursor: pointer;
}
.host ul a:hover {
    color: var(--link-color-active-var, #646b63);
}
.host .isOpen .title {
    background: #fff;
}
.host .isOpen .title svg {
    transition: all 0.1s;
    transform-origin: center;
    transform: rotate(-180deg);
}
.host .isOpen .title svg .toc_hover {
    fill: var(--link-color-var, #a25e11);
}
.host .isOpen ul {
    display: block;
}

footer {
    position: relative;
    width: 100%;
    background-color: var(--background-header-var, #a25e11);
}
footer a.mail {
    color: var(--navigation-link-color-var, #f3f2f2);
    text-decoration: none;
}
footer a.mail:hover {
    color: var(--link-color-active-var, #646b63);
}
footer .footer-content {
    box-sizing: border-box;
    max-width: 810px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}
footer .footer-content .footer-top-menu {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 30px 0 0;
    border-bottom: 1px solid var(--navigation-link-color-var, #f3f2f2);
}
footer .footer-content .footer-top-menu .menus {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 50px;
}
footer .footer-content .footer-top-menu .menus .menu {
    margin-bottom: 30px;
}
footer .footer-content .footer-top-menu .menus .menu:last-child {
    margin-bottom: 0;
}
footer .footer-content .footer-top-menu .menus .menu .title {
    flex: 0 0 100%;
    margin-bottom: 10px;
}
footer .footer-content .footer-top-menu .menus .menu .title a,
footer .footer-content .footer-top-menu .menus .menu .title div {
    font-weight: 600;
    font-size: 18px;
    line-height: 23px;
    text-decoration: none;
    color: var(--navigation-link-color-var, #f3f2f2);
}
footer .footer-content .footer-top-menu .menus .menu .title a:hover {
    color: var(--link-color-active-var, #646b63);
}
footer .footer-content .footer-top-menu .menus .menu ul {
    display: flex;
    flex-wrap: wrap;
}
footer .footer-content .footer-top-menu .menus .menu ul li {
    flex: 0 0 33%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
footer .footer-content .footer-top-menu .menus .menu ul li a {
    font-size: 16px;
    line-height: 20px;
    text-decoration: none;
    color: var(--navigation-link-color-var, #f3f2f2);
    padding: 10px 0;
}
footer .footer-content .footer-top-menu .menus .menu ul li a:hover {
    color: var(--link-color-active-var, #646b63);
}
footer .footer-content .footer-info {
    flex: 0 0 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 30px 0 60px;
    border-bottom: 1px solid var(--navigation-link-color-var, #f3f2f2);
}
footer .footer-content .footer-info .logo {
    flex: 0 0 110px;
    margin-right: 20px;
}
footer .footer-content .footer-info .logo img {
    width: 110px;
    height: auto;
}
footer .footer-content .footer-info .tagline {
    flex: 0 0 500px;
    font-size: 18px;
    line-height: 26px;
    color: var(--navigation-link-color-var, #f3f2f2);
}
footer .footer-content .footer-info address {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 18px;
    line-height: 26px;
    color: var(--navigation-link-color-var, #f3f2f2);
}
footer .footer-content .footer-info .social {
    margin-top: 10px;
}
footer .footer-content .footer-info .social div {
    display: flex;
    margin-top: 20px;
}
footer .footer-content .footer-info .social div a {
    width: 40px;
    height: 40px;
    display: block;
    margin-right: 10px;
}
footer .footer-content .footer-info .social div a svg {
    width: 100%;
    height: 100%;
}
footer .footer-content .footer-copyright {
    flex: 0 0 100%;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
footer .footer-content .footer-copyright .link {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 30px;
}
footer .footer-content .footer-copyright .link a {
    font-size: 18px;
    line-height: 23px;
    color: var(--navigation-link-color-var, #f3f2f2);
    text-decoration: none;
}
footer .footer-content .footer-copyright .link a:hover {
    color: #646b63;
    color: var(--link-color-active-var);
}
footer .footer-content .footer-copyright .link .menu {
    width: 100%;
    justify-content: space-between;
}
footer .footer-content .footer-copyright span {
    font-size: 18px;
    line-height: 26px;
    color: var(--navigation-link-color-var, #f3f2f2);
}

@media screen and (max-width: 1199px) {
    footer .footer-content {
        max-width: 600px;
    }
    footer .footer-content .footer-top-menu .menus .menu ul li{
        flex: 0 0 50%;
    }
    footer .footer-content .footer-info {
        flex-direction: column;
    }
    footer .footer-content .footer-info .tagline {
        flex: 1;
    }
    footer .footer-content .footer-info address {
        margin: 20px 0;
    }
    footer .footer-content .footer-copyright {
        flex-direction: column;
        align-items: flex-start;
    }
    footer .footer-content .footer-copyright .link {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    footer .footer-content{
        max-width: 300px;
    }
    footer .footer-content .footer-top-menu .menus .menu ul li {
        flex: 0 0 100%;
    }
    footer .footer-content .footer-info {
        flex-direction: column;
    }
    footer .footer-content .footer-info .tagline {
        flex: 1;
    }
    footer .footer-content .footer-info address {
        margin: 20px 0;
    }
    footer .footer-content .footer-copyright {
        flex-direction: column;
        align-items: flex-start;
    }
    footer .footer-content .footer-copyright .link {
        width: 100%;
        flex-wrap: wrap;
    }
    footer .footer-content .footer-copyright .link a {
        flex: 0 0 50%;
        margin-bottom: 20px;
    }
}

.error-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}
.error-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    color: white;
    font-weight: 900;
}
.error-404 {
    font-size: 116px;
    line-height: 130px;
    margin: 0 0 10px;
}
.error-text {
    padding: 0;
    font-size: 26px;
    line-height: 1.23;
}
.error-btn {
    border: 1px solid red;
    padding: 15px 20px;
    border-radius: 10px;
    background-color: red;
}
