body {
    margin: 0;
    padding: 0;
    background: #b1a584;
    font-family: "Courier New", Courier, monospace;
    font-size: 18px;
    color: #000;
    text-indent: 0;
    line-height: 1.3;
}
@media screen and (min-width:800px) {
    body {
        background: url('../images/part-1/izda-bg.jpg') no-repeat fixed 0% 0% / cover;
    }
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 15px;
    border-radius: 5px;
    text-align: left;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
@media screen and (min-width: 576px) {
    .container {
        text-align: justify;
    }
}
.container_theme_lm {
    min-height: 100vh;
    background: #262626;
}
@media screen and (min-width: 768px) {
    .container_theme_lm {
        background: url('../images/part-1/lak-bg.jpg'); background-size: cover;
    }
}
.header {
    padding: 10px 30px 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
}
.container_theme_lm header {
    color: #f0f0ae;
    text-shadow: -1px 0 #393939, 0 1px black, 1px 0 black, 0 -1px black;
}
@media screen and (min-width:768px) {
    .header {
        font-size: 32px;
        line-height: 1.3;
    }
}
.nav {
    display: flex;
    -webkit-justify-content: center;
            justify-content: center;
    -webkit-align-items: center;
            align-items: center;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    margin: 20px 0;
    padding: 10px 0;
/*    white-space: nowrap;*/
    text-transform: uppercase;
    border-top: 5px double black;
    border-bottom: 5px double black;
    -webkit-box-sizing: inherit;
       -moz-box-sizing: inherit;
            box-sizing: inherit;
}
@media screen and (min-width:768px) {
    .nav {
        white-space: nowrap;
    }
}
@media screen and (min-width:1200px) {
    .nav {
        -webkit-justify-content: space-between;
                justify-content: space-between;
    }
}
.container_theme_lm .nav {
    -webkit-justify-content: center;
            justify-content: center;
    flex-wrap: wrap;
    border-top: none;
    border-bottom: none;
}
@media screen and (min-width:1200px) {
    .container_theme_lm .nav {
        flex-wrap: nowrap;
    }
}
.nav__link {
/*        display: inline-block;*/
    width: 100%;
    padding: 10px 30px;
    color: black;
    font-family: "Courier New", Courier, monospace;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    -webkit-box-sizing: inherit;
       -moz-box-sizing: inherit;
            box-sizing: inherit;
}
.container_theme_lm .nav__link {
    color: #f0f0ae;
    background: #000;
    border-radius: 5px;
    border: 1px solid #d7d741;
}
/*@media screen and (min-width:600px) {
    .nav__link:not(:first-child) {
        -webkit-flex: 0 0 50%;
            -ms-flex: 0 0 50%;
                flex: 0 0 50%;
        max-width: 50%;
    }
}*/
@media screen and (min-width:800px) {
    .nav__link:not(:first-child) {
        -webkit-flex: 0 0 33.333333%;
            -ms-flex: 0 0 33.333333%;
                flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    .nav__link.nav__link_alt:not(:first-child) {
        -webkit-flex: 0 0 50%;
            -ms-flex: 0 0 50%;
                flex: 0 0 50%;
        max-width: 50%;
    }
}
@media screen and (min-width:768px) {
    .container_theme_lm .nav__link {
        -webkit-flex: 0 0 50%;
            -ms-flex: 0 0 50%;
                flex: 0 0 50%;
        max-width: 50%;
    }
}
@media screen and (min-width:992px) {
    .container_theme_lm .nav__link {
        -webkit-flex: 0 0 33.333333%;
            -ms-flex: 0 0 33.333333%;
                flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}
@media screen and (min-width:1200px) {
    .nav__link:first-child,
    .nav__link:not(:first-child),
    .nav__link.nav__link_alt:not(:first-child) {
        flex: 0;
        max-width: none;
    }
    /*.nav__link.nav__link_alt {
        -webkit-flex: 0 0 33.333333%;;
            -ms-flex: 0 0 33.333333%;;
                flex: 0 0 33.333333%;;
        max-width: 33.333333%;;
    }*/
}
/*.nav__link:last-child {
    border-right: none;
}*/
.nav__link:hover {
    color: #595757;
}
.container_theme_lm .nav__link:hover {
    color: #bbb;
    border: 1px solid #ffff99;
}
.nav__link_active {
    background: rgba(238, 222, 140, 0.6);
    border-radius: 8px;
    border: 1px solid #877c44;
}
.container_theme_lm .nav__link_active {
    background: #3b3939;
    border-radius: 8px;
}
.nav__link_active:hover {
    color: black;
}
.container_theme_lm .nav__link_active:hover {
    color: #bbb;
    background: #3b3939;
    border-radius: 8px;
    border: 1px solid #ffff99;
}
.nav_type_years {
    text-transform: none;
}
.nav_type_years .nav__link {
    font-size: 28px;
}
.nav_type_years .nav__link:nth-child(-n+2) {
  font-size: 18px;
}
.content {
    padding: 15px;
    border: 1px solid #877c44;
    border-radius: 15px;
    background: rgba(241, 233, 193, .9);
}
.container_theme_lm .content {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    border: none;
    background:none;
}
@media screen and (min-width:768px) {
    .container_theme_lm .content {
        width: 80%;
    }
}
.content > p {
    margin: 18px 0;
    text-indent: 30px;
}
.container_theme_lm .content > p {
    color: #fff;
}
.content > p a,
.content .list a {
    color: #735818;
}
.content > p a:hover,
.content .list a:hover,
.container_theme_lm .list_type_link a:hover {
    text-decoration: none;
}
.content > p a:visited,
.content .list a:visited {
    color: #605c55;
}
.container_theme_lm .content > p a,
.container_theme_lm .list.list_type_link a {
    color: #ffff99;
}
.container_theme_lm .content > p a:visited,
.container_theme_lm .list.list_type_link a:visited {
    color: #c1c18a;
}
.heading {
    color: #1a1816;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}
.container_theme_lm .heading {
    color: #d7d7d7;
}
.subheading {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-align: center;
}
.subheading_h1 {
    font-size: 22px;
}
.container_theme_lm .subheading {
    color: #d7d7d7;
}
.heading_h1 {
    margin: 30px 0;
    font-size: 26px;
}
@media screen and (min-width: 768px) {
    .heading_h1 {
        font-size: 28px;
    }
}
.heading_h2 {
    margin: 20px 0;
    font-size: 22px;
}
@media screen and (min-width: 768px) {
    .heading_h2 {
        font-size: 24px;
    }
}
.heading_h2_left {
    margin: 20px auto;
    font-size: 20px;
    text-align: center;
}
@media screen and (min-width: 576px) {
    .heading_h2_left {
        margin: 20px 30px;
        text-align: left;
    }
}
@media screen and (min-width: 768px) {
    .heading_h2_left {
        font-size: 24px;
    }
}
.heading small {
    font-size: .70em !important;
}
.list {
    margin: 18px 0;
    padding-left: 30px;
}
ol.list {
    padding-left: 60px;
}
.container_theme_lm .list {
    padding-left: 15px;
}
@media screen and (min-width: 768px) {
    .container_theme_lm .list {
        padding-left: 55px;
    }
}
.list__item:not(:last-child) {
    margin-bottom: 5px;
}
/*.list_type_link {
    list-style-type: disclosure-closed;
}*/
.container_theme_lm .list_type_link {
    color: #ffff99;
}
.list_type_compact .list__item {
    margin-bottom: 0;
}

/*
 * ГАЛЕРЕЯ
 */
.image-list {
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-justify-content: center;
            justify-content: center;
    margin: 0; /*20px 0 !important;*/
    padding: 0; /*15px !important;*/
    font-family: "Courier New", Courier, monospace;
    font-size: 18px;
    font-weight: normal;
    text-align: center;
    color: black;
    list-style-type: none; /*square;*/
/*    list-style-position: outside;*/
    -webkit-box-sizing: inherit;
       -moz-box-sizing: inherit;
            box-sizing: inherit;
}
.image-list_orient_hor {
    margin-top: 50px;
}
.image-list__item {
    width: 210px; /*270px; 300px;*/
/*    margin-bottom: 12px;*/
    margin: 0 15px 30px;
    overflow: hidden;
/*    border: 1px solid #807659;*/
/*    border-radius: 15px;*/
    -webkit-box-sizing: inherit;
       -moz-box-sizing: inherit;
            box-sizing: inherit;
    /*-webkit-box-shadow: 3px 3px 8px 6px rgba(0, 0, 0, 0.2);
       -moz-box-shadow: 3px 3px 8px 6px rgba(0, 0, 0, 0.2);
            box-shadow: 2px 2px 3px 3px rgba(0, 0, 0, 0.2);*/
}
.image-list_orient_hor .image-list__item {
    max-width: 300px;
    width: 100%;
    margin: 0 15px 25px;
}
.image-list__item-heading {
    padding: 10px 0;
/*    background: rgba(4,3,3,.68);*/
    color: #000;
/*    border-radius: 0px 0px 15px 15px;*/
    font-size: 16px;
    line-height: normal;
}
.image-list_orient_hor .image-list__item-heading {
    color: #fff;
}
.image-list__link {
    position: relative;
    display: block;
    width: 100%;
/*    max-width: 300px;*/
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #d7c695;
    border-radius: 15px;
    color: black;
    font-family: "Courier New", Courier, monospace;
    font-size: 18px;
    text-decoration: none;
    -webkit-box-shadow: 3px 3px 8px 6px rgba(0, 0, 0, 0.2);
       -moz-box-shadow: 3px 3px 8px 6px rgba(0, 0, 0, 0.2);
            box-shadow: 2px 2px 3px 3px rgba(0, 0, 0, 0.2);
}
.image-list_orient_hor .image-list__link {
    border: none;
    border-radius: 8px;
    -webkit-box-shadow: none;
       -moz-box-shadow: none;
            box-shadow: none;
}
@media screen and (min-width: 768px) {
    .image-list__link {
/*        width: 300px;*/
/*        max-width: none;*/
    }
}
.image-list__link:hover {
    font-size: 16px;
    font-weight: normal;
    text-decoration: none;
    color: #fff !important;
}
.image-list__preview {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.image-list_orient_hor .image-list__preview {
    height: auto;
}
@media screen and (min-width: 540px) {
    .image-list__preview {
        height: 280px; /* 360px; 400px;*/
    }
    .image-list_orient_hor .image-list__preview {
        height: 170px;
    }
}
.image-list__overlay {
    position: absolute;
    top: 0;
    left: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 100%;
    opacity: 0;
    padding: 15px;
    overflow: hidden;
    background: rgba(4,3,3,.68);
    -webkit-transition: .5s ease;
         -o-transition: .5s ease;
            transition: .5s ease;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
.image-list__link:hover .image-list__overlay {
  opacity: 1;
}
.image-list__overlay::before {
  content: url('../images/common/icons/open-icon.svg');
  display: inline-block;
  opacity: 0;
  visibility: hidden;
  width: 40px;
  height: auto;
/*  margin-bottom: 10px;*/
  vertical-align: middle;
}
.image-list__link:hover .image-list__overlay::before {
    opacity: 1;
    visibility: visible;
}
.image-gallery .image-list__overlay::before {
    content: url('../images/common/icons/view-icon.svg');
}
/*
 * /ГАЛЕРЕЯ
 */

/*
 * ПАГИНАЦИЯ
 */
.pagination {
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: bold;
}
.pagination__item {
    margin: 20px 0;
}
.pagination__link {
    padding: 10px 20px;
    color: black;
    text-decoration: none;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
.pagination__link_active {
    background: rgba(168, 142, 49, 0.2);
    border-radius: 8px;
    border: 1px solid #877c44;
}
.container_theme_lm .pagination__link {
    padding: 10px;
    color: #f0f0ae;
    background: #000;
    border: 1px solid #d7d741;
    border-radius: 5px;
}
.container_theme_lm .pagination__link:hover {
    color: #bbb;
    border: 1px solid #ffff99;
}
.container_theme_lm .pagination__link_active {
    background: #3b3939;
}
.container_theme_lm .pagination__link_active:hover {
    color: #fff;
    border: 1px solid #d7d741;
}
/*
 * /ПАГИНАЦИЯ
 */

/*
 * Helpers
 */
.tl {
    text-align: left;
}
.light-yellow {
    color: #f0f0ae;
}
/*
 * /Helpers
 */

/*
 * Разное
 */
.fancybox__container {
  --fancybox-bg: rgba(24, 24, 27, 0.8) !important;
}
/*
 * /Разное
 */