html {
    --site-yellow: #FEBE0F;
    --gold: #F7C036;
    --chockolate: #5C2918;
    --red: #DC3545FF;
}

html, body {
    font-family: Arial Narrow, "Segoe UI", serif;
    min-height: 100vh;
    color: var(--chockolate);
}

header {
    height: 43px;
}

.navbar {
    padding: 0;
    background-color: #90EE90 !important;
    min-height: 43px;
}

.navbar .container-fluid {
    padding: 0px;
    margin-left: -4px;
}

.navbar .nav-item {
    border-right: 1px solid rgba(0,0,0,.2);
    font-weight: 500;
    font-size: 16px;
}

.navbar .nav-item:last-child {
    border-right: none;
}

.viewport {
    min-height: calc(100vh - 43px);
    height: 1px;
}

.viewport > div {
    height: 100%;
}

.left-menu {
    background-color: var(--site-yellow);
}

.left-menu .nav-link > div {

}

.left-menu .nav-link > div:first-child {
    white-space: nowrap;
}

.title-decorative {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #adb5bd;
    margin-bottom: 0.75rem;
    display: block;
    font-weight: 500;
}

.left-menu .nav-link {
    color: #373C42;
    transition: opacity .2s ease;
    font-weight: 500;
}

.left-menu .nav-link.active {
    color: yellow;
}

hr.short {
    width: 3rem;
    margin: 0.5rem 1rem;
}

main {
    min-height: 100vh;
}

.main-lang-menu {
    position: absolute;
    top: 0;
    transition: top 0.5s ease;
    left: 0;
    z-index: 100;
}

.main-lang-menu.open {
    top: 0 !important;
}

.main-lang-menu__list {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

.main-lang-menu__list li {
    padding: 0;
    text-align: center;
    border: 1px solid var(--red);
}

.main-lang-menu__list a {
    color: var(--chockolate);
    padding: 5px;
    font-size: 29px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    font-family: Arial Narrow, "Segoe UI", serif;
}

.main-lang-menu__opener {
    cursor: pointer;
}

.main-menu {
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    transition: width 0.5s ease;
    background-color: #ffffff;
    z-index: 200;
    height: 100vh;
}

.main-menu.open {
    width: 341px;
}

.main-menu__header {
    background-image: url("/img/main_menu_tail_clean_mag.png");
    width: 421px;
    height: 51px;
    margin-left: -80px;
    margin-top: -1px;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.main-menu__header a {
    color: var(--chockolate);
}

.main-menu__opener {
    cursor: pointer;
    height: 100%;
    width: 80px;
    position: absolute;
    left: 0;
    z-index: 101;
    padding-top: 1px;
}

.main-menu__body {
    width: 341px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.bg-video-sound-btn {
    color: #ffffff;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

.main-menu__list {
    padding: 1px;
    position: absolute;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    top: 0;
}

.main-menu__list li {
    border: 1px solid #DC3545FF;
    border-right: none;
    border-left: none;
}

.main-menu__list li.title {
    border: none;
}

.main-menu__list li a, .main-menu__list li > div {
    padding: 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    /*color: var(--chockolate);*/
    color: #DC3545FF;
    min-height: 70px;
}

.main-menu__list li:active:not(.title) {
    filter: brightness(1.5);
}

.main-menu__name {
    font-size: 22px;
    text-transform: uppercase;
}

.outlined {
    outline: 1px solid #000000;
}

.articles-list a, .articles-list a:link, .articles-list a:visited {
    color: #000000;
    text-decoration: none;
}

.articles-list__title {
    font-size: 18px;
}

.articles-list__inner {
    padding-bottom: 24px;
}

.main-container {
    height: 100vh;
    width: 100%;
    overflow-y: auto;
}

.text-content img, .text-content video {
    max-width: 100%;
}

figcaption {
    font-weight: bold;
}

.home-container {
    display: flex;
    align-items: center;
    height: 100vh;
}

.articles-list__img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 282px;
    overflow: hidden;
}

.text-content p {
    margin-bottom: 0;
}

@media screen and (min-width: 768px){
    .left-menu {
        width: 320px;
    }
}

@media screen and (max-width: 767px){
    header {
        height: 40px;
    }
    .navbar .nav-item {
        border-right: none;
    }
    .viewport {
        min-height: 0;
    }

    .navbar-brand img {
        height: 37px;
        position: absolute;
        top: 0;
        left: 10px;
    }

    .main-container {
        padding-top: 100px;
    }

    .back-btn-wrap {
        margin-top: -20px;
    }

    .home-container {
        height: calc(100vh - 100px);
    }
}