@font-face {
    font-family: Arhive; /* Имя шрифта */
    src: url(../fonts/arhive.ttf); /* Путь к файлу со шрифтом */
}
@font-face {
    font-family: Albionic;
    src: url(../fonts/albionic.ttf);
}

a:hover {
    text-decoration: unset;
}

.background-header-color {
    background: #242323;
}

.index-search {
    outline: none;
    background-color: #666565;
    border: 1px solid #666565;
    padding-left: 30px;
    height: 36px;
    border-radius: 4px;
    color: white;
}

.icon-search {
    position: relative;
    background: url("../images/icon/indexSearch.png") no-repeat;
    background-size: cover;
    width: 22px;
    height: 22px;
    float: left;
    z-index: 1;
    margin-top: 6px;
    margin-right: -27px;
    margin-left: 5px;
}

.index-search::placeholder {
    color: #191919;
}

header .navbar-nav .nav-item {
    margin-left: 10px
}

header .nav-bar .nav-item span {
    color: white;
    padding-bottom: 5px;
}

header .nav-bar .nav-item span:hover {
    border-bottom: 1px solid white;
}

header .nav-bar .nav-item a:hover {
    text-decoration: unset;
}

.main-slider {
    background: #242323;
}

.top-menu {
    /*background: url('../images/top-menu.jpg') center no-repeat;*/
    /*background-size: cover;*/
    z-index: 5555;
}
.single .top-menu {
    background: unset;
}

.top-menu-title {
    color: white;
}
.top-menu-title a {
    color: white;
}
.top-menu-title ul {
    margin-top: 10px;
    color: white;
}
.top-menu-title ul li {
    display: inline-block;
}
.top-menu-title ul li:not(:last-child)::after {
    content: ' / '
}
.aside-menu li {
    cursor: pointer;
}
.aside-menu li:hover {
    border-bottom: 1px solid white;
}

.main-slider .swiper-container {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.main-slider .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 800px;
    height: 300px;
}

.main-title {
    font-family: Arhive;
    font-size: 40px;
    text-align: center;
    color: white;
    background: #6d0a04;
    padding-top: 10px;
    padding-bottom: 10px;
}

.theme-slider, .other-slider {
    background: url('../images/theme-slider.jpg') no-repeat center;
    background-size: cover;
    height: 100%;
    /*background-position-y: -350px;*/
}
.theme-slider .swiper-slide, .other-slider .swiper-slide {
    height: 580px;
}



.theme-slider .swiper-slide img, .other-slider .swiper-slide img {
    width: 1125px;
    height: 556px;
    max-width: 100%;
    max-height: 100%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 50%;
}

.hr {
    background: url("../images/hr.jpg");
    height: 78px;
}

.history {
    background: url("../images/history.png") no-repeat center;
    background-size: cover;
    height: 100%;
}


.history .swiper-slide.history_span {
    height: 445px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.history_span span {
    position: absolute;
    top: 46%;
    left: 33%;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.70);
    color: #572c22;
    width: 300px;
}

section.announce {
    background: url('../images/announce.png') no-repeat center;
    background-size: cover;
    height: 100%;
}

.announce .swiper-slide {
    height: 580px;
}

.other-slider .swiper-button-next,
.theme-slider .swiper-button-next,
.announce .swiper-button-next,
.database .swiper-button-next,
.partners .swiper-button-next,
.library .swiper-button-next {
    right: 10px !important;
}
.other-slider .swiper-button-prev,
.theme-slider .swiper-button-prev,
.library .swiper-button-prev,
.database .swiper-button-prev,
.partners .swiper-button-prev,
.announce .swiper-button-prev {
    left: 10px !important;
}
.announce .swiper-container span {
    font-family: Albionic;
    color: white;
    position: absolute;
    top: 10px;
    left: 20px;
}
.video {
    background: url("../images/video.png") center;
    background-size: cover;
    height: 100%;
}
.video .row {
    padding-top: 100px;
}
.library-item img,
.partners img,
.video-item img {
    object-fit: cover;
    width: 100%;
    height: 300px;
    position: relative;
}
.video .video-item-title {
    font-family: Albionic;
    color: white;
    position: absolute;
    top: 20px;
    width: 100%;
    text-align: center;
    font-size: 30px;
}
section.library {
    background: url("../images/library.png") no-repeat center;
    background-size: cover;
    height: 100%;
}
.partners .partner-item-title,
.library .library-item-title {
    color: white;
    font-weight: bold;
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 10px;
}
.exposition .swiper-slide.row,
.partners .swiper-slide.row,
.library .swiper-slide.row {
    margin-left: 0;
    margin-right: 0;
}

/* БАЗЫ ДАННЫХ */

.database .swiper-slide {
    height: 580px;
    background-repeat: no-repeat;
    background-size: cover;
}
.database .swiper-container {
    border-radius: 5px;
    position: relative;
}
.database {
    background: url("../images/database.png") no-repeat center;
    background-size: cover;
    height: 100%;
}

.database .swiper-slide span {
    position: absolute;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.70);
    color: #572c22;
    bottom: 70px;
    left: 40%;
    font-weight: bold;
}

/* КАРТОГРАФИЧЕСКИЕ МАТЕРИАЛЫ */

.material-map .swiper-slide {
    height: 580px;
    background-repeat: no-repeat;
    background-size: cover;
}
.material-map .swiper-container {
    position: relative;
}
.material-map {
    background: url("../images/material-map.png") no-repeat center;
    background-size: cover;
    height: 100%;
}

.material-map .swiper-slide span {
    position: absolute;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.70);
    color: #572c22;
    bottom: 47%;
    left: 47%;
    font-weight: bold;
}

/* ПАРТНЕР */

.partners {
    background: url("../images/partners.png") no-repeat center;
    background-size: cover;
    height: 100%;
}

/* ПОДВАЛ САЙТА */

.footer {
    background: #6d0a04;
    color: white;
    /*position: absolute;*/
    bottom: 0;
    width: 100%;
}
.footer ul {
    list-style-type: none;
    padding-left: 0;
}
.footer .book {
    background: url("../images/book.png") no-repeat center;
    background-size: contain;
    position: relative;
}
.footer .book a {
    color: black;
    position: absolute;
    top: 70px;
    left: 30px;
}
.footer .book a:hover {
    text-decoration: unset;
}


/* ВЫСТАВКИ */

.exposition {
    background: url("../images/single/vystavka.png") no-repeat;
    background-size: cover;
}
.single .container {
    background: #6d0a04;
    color: white;
}
.single .main h1 {
    font-family: Arhive;
    font-size: 40px;
    text-align: center;
}
.single .description {
    margin: 0 auto;
    text-align: center;
}
.exposition .content {
    background: #9e9382;
    border: 10px solid white;
}
.exposition .content h2 {
    text-align: center;
}
.exposition .date {
    text-align: center;
}
.exposition .content .description {
    text-align: center;
}

.exposition-item {
    height: 180px;
}
.exposition-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.event {
    background: url("../images/single/event.png") no-repeat;
    background-size: cover;
}
.event .content {
    background: #9e9382;
    border: 10px solid white;
}
.video-materials .content {
    background: black;
    color: white;
}
.video-materials .content img,
.event .content img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.event .container {
    position: relative;
}
.list-back.button {
    position: absolute;
    top: 50px;

    background: white;
    color: #6d0a04;
    font-family: Albionic;
    padding: 5px 20px;
    font-size: 22px;
    font-weight: bold;
}

.video-materials {
    background: url("../images/single/video.jpg") no-repeat;
    background-size: cover;
    height: 100%;
}
.video-materials .search-container {
    position: absolute;
    top: 35px;
}
.video-materials .search-container .index-search {
    background: #d9c0be;
}

/* ГОСТЕВАЯ КНИГА */
.reviews {
    padding-left: 0;
}
.reviews .review-item {
    list-style-type: none;
}
.reviews .review-item p {
    margin: 0
}
.reviews .review-item {
    margin-top: 20px
}
.reviews .review-item a {
    text-decoration: underline;
    color: white;
}
.reviews .review-item .review-item-title {
    font-weight: bold;
}
.form-book input,
.form-book textarea {
    outline: unset;
}

.review-submit {
    border: 1px solid white;
    background: white;
    color: #6d0a04;
    font-family: Albionic;
    padding: 5px 20px;
    font-size: 22px;
    font-weight: bold;
    width: content-box;
}
.book {
    background: url("../images/single/book.png") no-repeat center;
    background-size: cover;
}

#yt-widget .yt-wrapper_align_right {
    display: none;
}
.theme-slider .swiper-slide {
    position: relative;
}
.theme-slider .swiper-slide span {
    position: absolute;
    bottom: -30px;
    color: white;
    font-family: Albionic;
    font-size: 22px;
}
.other-slider .swiper-slide {
    position: relative;
}
.other-slider .swiper-slide span {
    position: absolute;
    bottom: -30px;
    color: white;
    font-family: Albionic;
    font-size: 22px;
}
/* ДЕЙСТВУЕТ ТОЛЬКО ДЛЯ ГЛАВНОЙ */
/*.index section {*/
/*    display: none;*/
/*}*/
/*.index .active section {*/
/*    display: block;*/
/*}*/
/* КАРТЫ */
.map {
    background: url("../images/single/map.png") no-repeat center;
    background-size: cover;
}
.announce .content img,
.base .content img,
.map .content img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.base .content,
.map .content {
    background: #9e9382;
    border: 10px solid white;
}
.map .content p {
    color: black;
}
/* БАЗА ДАННЫХ */
.base {
    background: url("../images/single/base.png") no-repeat;
    background-size: cover;
}

.single.database-list .content {
    border: unset;
    background: #f9f2f0;
    color: #6d0a04;
}

.announce {
    background: url("../images/single/announce.png") no-repeat;
    background-size: cover;
}
.announce .content {
    background: #9e9382;
    border: 10px solid white;
}

.library {
    background: url("../images/single/library.png") no-repeat;
    background-size: cover;
}
.map .content,
.library .content {
    background: #f9f2f0;

}
.library .book-list {
    background: #9e9382;
    color: #f9f2f0;
}
.library .book-list a {
    color: #f9f2f0;
}
.library .book-list .description {
    text-align: left;
}
.map .content img,
.library .content img {
    object-fit: contain;
    width: 100%;
    height: 250px;
}
.map.single .content img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.library.single .content img {
    width: auto;
}
.library.single .description {
    text-align: left;
}
.library.single .exposition-item img {
    width: 100%;
}

.video.single .row {
    padding-top: 0;
}
.video-materials.single iframe {
    width: 100%;
    height: 100%;
}
.video-materials.single .description iframe {
    width: 850px !important;
    height: 515px !important;
}


.calendar .calendar-header {
    background-color: #6d0a04;
    color: white;
    border: 0;
}

.calendar .calendar-header .year-title:hover,
.calendar .calendar-header .prev:hover,
.calendar .calendar-header .next:hover{
    background: rgba(255, 255, 255, 0.2);
}

.calendar .calendar-header .year-neighbor {
    color: inherit;
    opacity: 0.7;
}

.calendar .calendar-header .year-neighbor2 {
    color: inherit;
    opacity: 0.4;
}

.calendar .month-container {
    height: 210px;
}

.calendar table.month {
    height: 100%;
}

.calendar table.month .month-title {
    background-color: #6d0a04;
    color: white;
    padding: 5px;
}

.calendar table.month .day-header {
    padding-top: 8px;
    border-bottom: 2px solid #6d0a04;
}

.calendar table.month td.day .day-content {
    padding: 5px 8px;
}
.single_page .months-container {
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-wrap: wrap !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
}
.single_page .month-container {
    margin-bottom: 10px !important;
}
#calendarMain .calendar-header {
    display: none;
}
.main_menu-ul .main_menu-circle {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 20px;
    background: #411e1c;
    box-shadow: 0 0 5px #FFF, 0 0 10px #FFF, 0 0 15px #FFF, 0 0 20px #ffffff, 0 0 30px #FFF, 0 0 40px #FFF, 0 0 55px #FFF, 0 0 75px #FFF;
    cursor: pointer;
}
.main_menu-ul li a {
    color: #411e1c;
    font-family: Arhive;
    font-size: 33pt;
    text-shadow: 0 0 5px #FFF, 0 0 10px #FFF, 0 0 15px #FFF, 0 0 20px #ffffff;
}
.main_menu-ul li::marker {
    font-size: 33pt;
    color: white;
}
.main_menu-ul {
    width: max-content;
    list-style-type: none;
    padding-left: 0;
}
.main_menu-ul li {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.main_menu {
    z-index: 55;
    top: 90px;
    left: 25px;
    display: block;
}
.single .main-menu {
    display: none;
}
.top-menu-content {
    cursor: pointer;
}
.section_list {
    list-style-type: none;
    padding-left: 0px;
}
.section_list li a {
    color: #f9f2f0;
    font-weight: bold;
}
.section_list li.active a {
    padding-bottom: 2px;
    text-decoration: underline;
}
.section_list_block {
    background: #6d0a04;
}
.section_list_title {
    color: white !important;
    font-family: Albionic;
    text-align: center;
    font-size: 25px;
}
main .video-item img {
    height: auto;
}

#calendarMain .month-container{
    display: none;
}
.partners img {
    height: 200px;
}



#list-calendar { /* весь календарь */
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-spacing: 0 1.5em;
    background: #b49862;
    color: black;
}
#list-calendar td {
    vertical-align: top;
}
#list-calendar > thead td:not(:nth-child(2)) { /* предыдущий-следующий года */
    text-decoration: underline;
    color: rgb(0, 119, 204);
}
#list-calendar > thead td:not(:nth-child(2)):hover { /* если наведён курсор на предыдущий-следующий года */
    color: #ff3200;
}
#list-calendar, #list-calendar table {
    font: monospace;
    line-height: 1.2em;
    font-size: 15px;
    text-align: center;
}
#list-calendar table { /* таблицы с месяцами выравнены по верхней границе, горизонтально — по центру */
    display: inline-table;
    margin-bottom: 20px;
}
#list-calendar table thead tr:nth-child(1) { /* названия месяцев */
    font-size: 110%;
    font-weight: 700;
}
#list-calendar table thead tr:last-child { /* название дней недели */
    font-size: small;
    font-weight: 700;
    color: rgb(103, 103, 103);
}
#list-calendar table tbody td { /* дни */
    color: black;
    cursor: pointer;
}
#list-calendar table tbody td:hover {
    color: rgb(103, 103, 103);
}
#list-calendar table tbody td:nth-child(n+6), #calendarBig .holiday { /* выходные и праздники */
    color: black;
    font-weight: bold;
}
#list-calendar-ow {
    position: relative;
}
#calendar-prev {
    position: absolute;
    top: 5px;
    right: 50%;
    height: 30px;
    width: 30px;
    background-image: url(/local/templates/arhive/images/navTop.png);
    background-size: cover;
}
#calendar-next {
    position: absolute;
    bottom: 5px;
    right: 50%;
    height: 30px;
    width: 30px;
    background-image: url(/local/templates/arhive/images/navBottom.png);
    background-size: cover;
}
#list-calendar td {
    cursor: pointer;
}

.main_menu-ul li a {
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    -webkit-transform: translateX(-180%);
    -moz-transform: translateX(-180%);
    -ms-transform: translateX(-180%);
    -o-transform: translateX(-180%);
    transform: translateX(-180%);
}
.main_menu-ul li:hover a {
    transform: translateX(0);
}

.main_menu-ul li.active .main_menu-circle,
.main_menu-ul li:hover .main_menu-circle,
.main_menu-ul .main_menu-circle:hover {
    background: white;
    border: 3px solid #411e1c;
}
.theme-slider .swiper-slide img {
    width: 100vw;
    height: 100vh;
}
.other-slider .swiper-slide img {
    width: 100vw;
    height: 100vh;
}
.material-map .swiper-slide,
.database .swiper-slide,
.history .swiper-slide.history_span {
    height: 70vh;
}
.announce .swiper-slide {
    height: 70vh;
    background-size: cover;
}
@media(max-width: 1024px) {
.main-title {
        font-size: 27px;
        position: relative;
    }
.other-slider .swiper-slide img {
        width: 78vw;
        height: 67vh;
    }
.theme-slider .swiper-slide img {
        width: 78vw;
        height: 67vh;
    }
.other-slider .swiper-slide,
.theme-slider .swiper-slide,
.material-map .swiper-slide,
.database .swiper-slide,
.history .swiper-slide.history_span {
        height: 60vh;
    }
.library-item img, .partners img, .video-item img {
        height: 245px;
    }
.top-menu {
        padding-top: 8px !important;
    }
}
@media(max-width: 960px) {
.library-item img, .partners img, .video-item img {
        height: 220px;
    }
}