:root{
    --dark: #070707;
    --primary: #6e2736;
    --primary-bg: #fceeef;
    --primary-hover: #551a24;
    --gray: #8d8d8d;
    --light-gray: #e5e5e7;
    --bs-border-color: #8d8d8d;
    --light: #f1f1f1;
}
html{
    overflow-x: hidden;
}
body {
    font-size: 16px;
    line-height: 1.3;
    color: var(--dark);
    background-color: #fafafa;
}
*{
    box-sizing: border-box;
    outline: none;
}
img{
    max-width: 100%;
    height: auto
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, "Times New Roman", Times, serif;
}
h1{
    font-size:3rem
}
h2{
    font-size:2rem
}
h3{
    font-size:1.75rem
}
h4{
    font-size:1.5rem
}
h5{
    font-size:1.25rem
}
h6{
    font-size:1rem
}
.width-auto{
    width: auto;
}
.nav-link {
    color:var(--primary);
}
.nav-link:focus, .nav-link:hover {
    color: var(--primary-hover);
}
.color-primary {
    color: var(--primary);
}
.no-btn{
    margin:0;
    padding: 0;
    border: none;
    background: none;
}
.btn{
    border: none;
    font-weight: 500;
    padding:8px 24px;
}
.btn-primary {
    background: var(--primary);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background: var(--primary-hover)!important;
}
.btn-light {
    --bs-btn-color: var(--dark);
    --bs-btn-bg: var(--light-gray);
    --bs-btn-border-color: var(--light-gray);
}
.btn-calendar, .btn-all-articles  {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-calendar:after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background: url(../images/calendar.svg) no-repeat center;
    background-size: contain;
}
.btn-all-articles:after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background: url(../images/btn-arrow-right.svg) no-repeat center;
    background-size: contain;
}
.btn-soc {
    display: inline-block;
    background-color: var(--gray);
    padding: 10px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px;
}
.btn-vk {
    background-image: url(../images/vk.svg);
}
.btn-ok {
    background-image: url(../images/odnoklassniki.svg);
}
.btn-tg {
    background-image: url(../images/telegram.svg);
}
.btn-max {
    background-image: url(../images/max.svg);
}
.btn-search-open {
    /*width: 30px;*/
    max-width: 20px;
}
.icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 4px;
}
.icon-location {
    background-image: url(../images/home.svg);
}
.icon-calendar {
    background-image: url(../images/calendar.svg);
}
.icon-calendar-dark {
    background-image: url(../images/calendar-dark.svg);
}
.icon-place {
    background-image: url(../images/place.svg);
}
.block-field {
    display: inline-flex;
    align-items: center;
}
.block-field:before {
    content: '';
    display: inline-flex;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 8px;
}
.block-field-date:before {
    background-image: url(../images/calendar-dark.svg);
}
.block-field-place:before {
    background-image: url(../images/place.svg);
}
.block-field-phone:before {
    width: 24px;
    height: 24px;
}
.block-field-phone:before {
    background-image: url(../images/phone-black.svg);
}
.block-field-home:before {
    background-image: url(../images/building.svg);
}
.block-field-price:before {
    background-image: url(../images/ruble.svg);
}
.block-field-age-limit-0:before {
    background-image: url(../images/age-0.svg);
}
.block-field-age-limit-6:before {
    background-image: url(../images/age-6.svg);
}
.block-field-age-limit-12:before {
    background-image: url(../images/age-12.svg);
}
.block-field-age-limit-16:before {
    background-image: url(../images/age-16.svg);
}
.block-field-age-limit-18:before {
    background-image: url(../images/age-18.svg);
}
a {
    text-decoration: none;
    color: inherit;
}
a:hover {
    color: var(--primary);
}
.bg-light {
    background-color: var(--light)!important;
}
.btn-outline-primary {
    --bs-btn-color: var(--primary);
    --bs-btn-border-color: var(--primary);
    background-color: white;
    border-width: 1px;
    border-style: solid;
}
.btn-outline-primary:hover, .btn-outline-primary:active, .btn-outline-primary:focus {
    color: var(--primary)!important;
    border-color: var(--primary)!important;
    background-color: var(--light)!important;
}
.alert-primary {
    --bs-alert-color: var(--primary);
    --bs-alert-bg: var(--primary-bg);
    --bs-alert-border-color: var(--primary-bg);
}
.header {
    z-index: 102;
}
.header p, .container-debug p, .container-map p{margin-bottom: 0}
.header {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--light-gray);
}
.home-page .header {
    margin-bottom: 0;
    border-bottom: none;
}
p:last-child {
    margin-bottom: 0;
}
.mt-3n {
    margin-top: -1rem;
}
.m-3n {
    margin: -1rem;
}
.ms-3n {
    margin-left: -1rem;
}
.mt-5n {
    margin-top: -3rem;
}
.z-1 {
    z-index: 1;
}
.z-10 {
    z-index: 10;
}
.top-contact a {
    color: inherit;
}
.fm-serif {
    font-family: Georgia, "Times New Roman", Times, serif;
}
.active > .page-link, .page-link.active {
    background-color: var(--primary);
    border-color: var(--primary);
}
.page-link {
    color: var(--primary);
}
.page-link:hover {
    color: var(--primary-hover);
    background-color: var(--light-gray);
    border-color: var(--light-gray);
}
.page-link-icon {
    display: block;
    width: 21px;
    height: 21px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
}
.icon-angle-double-left {
    background-image: url("../images/arrow-left-double.svg");
}
.icon-angle-double-right {
    background-image: url("../images/arrow-right-double.svg");
}
.icon-angle-left {
    background-image: url("../images/arrow-left-dark.svg");
}
.icon-angle-right {
    background-image: url("../images/arrow-right-dark.svg");
}
.top-logo {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 2rem;
    font-family: Georgia, "Times New Roman", Times, serif;
    line-height: 1;
}
.top-logo a {
    color: inherit;
}
.top-menu {
    text-transform: uppercase;
    font-weight: 600;
}
.top-menu > li.active > a {
    word-break: keep-all;
    overflow-wrap: normal;
    white-space: nowrap;
}
.top-menu > li.active > a {
    border-bottom: 2px solid var(--primary);
}
blockquote {
    border-left: 4px solid var(--bs-border-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--light);
    font-style: italic;
    border-radius: 0 8px 8px 0;
}
.full-width {
    display: block;
    transform: translateX(-50%);
    margin-left: 50%;
    width: 100vw;
}
.ratio-21x7 {
    --bs-aspect-ratio: 33.33333333333333%;
}
.ratio-3x4 {
    --bs-aspect-ratio: 133.33333333333333%;
}
.object-fit-cover {
    object-fit: cover;
}
@media (max-width: 768px) {
    .ratio-md-1x1 {
        --bs-aspect-ratio: 100%;
    }
    .ratio-md-none {
        --bs-aspect-ratio: 0;
    }
    .ratio-md-none > * {
        position: relative;
    }
    .object-fit-md-contain {
        object-fit: contain;
    }
}
@media (max-width: 992px) {
    .ratio-lg-4x3 {
        --bs-aspect-ratio: 75%;
    }
    .ratio-lg-1x1 {
        --bs-aspect-ratio: 100%;
    }
}
.border-light {
    border-color: var(--light-gray) !important;
}
.fs-16 {
    font-size: 1.2rem;
}
.shadow-slide:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 10%, rgba(0, 0, 0, 0) 100%);
}
.top-slider .csswiper-slider-content {
    font-size: 2rem;
}
.top-slider h3 {
    font-size: 4rem;
    line-height: 1.2;
}
.top-slider .swiper-pagination-bullet {
    width: 60px;
    height: 6px;
    border-radius: 4px;
    background: #fff;
}
.top-slider .swiper-pagination {
    bottom: 40px!important;
}
@media (max-width: 768px) {
    .top-slider .csswiper-slider-content {
        font-size: 1.2rem;
    }
    .top-slider h3 {
        font-size: 2rem;
        line-height: 1.1;
    }
}
.tab-subcategory .tab-subcategory-btn.active {
    color: var(--primary);
    background: #fff;
}
.section-mediateka {
    padding: 2rem;
    background-color: #f0ece8;
    border-radius: 1rem;
}
.swiper-collection-item {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}
.box-gradient:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 10%, rgba(0, 0, 0, 0) 100%);
}
.swiper-collection-item-title {
    font-size: 1.2rem;
    color: #fff;
    z-index: 1;
}
.swiper-collection-item-title a {
    color: inherit;
}
.swiper-collection-button-next,
.swiper-collection-button-prev {
    width: 40px!important;
    height: 40px!important;
    z-index: 1;
    background-color: rgba(255, 255,255, 1);
    border-radius: 50%;
}
.swiper-collection-button-next:after,
.swiper-collection-button-prev:after {
    display: block;
    font-family:inherit!important;
    background-image: url("../images/btn-arrow-right.svg")!important;
    background-size: 20px 20px!important;
    width: 40px!important;
    height: 40px!important;
}
.swiper-collection-button-next {
    right:-20px!important;
    left:auto
}
.swiper-collection-button-prev {
    left:-20px!important;
    right:auto
}
.swiper-collection-button-prev:after {
    transform:rotate(180deg)
}
.swiper-collection-button-next:after {
    transform:none!important
}
.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
    opacity: 0!important;
}
.blog-item-bg {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.container-below-top{
    top: 0;
    z-index: 1;
    transform: translateX(-50%);
    margin-left: 50%;
}
.w-400{
    width:400px;
    max-width: 100%;
}
.w-500{
    width:500px;
    max-width: 100%;
}
@media (max-width: 768px) {
    .w-500 {
        width: auto;
    }
}
.w-70{
    width:70%;
}
.back-to-top-link{
    visibility: hidden;
    position: fixed;
    right: 20px;
    bottom: 40px;
    background: #1c6cff;
    text-align: center;
}
.img-shadow {
    box-shadow: 20px 20px 36px rgba(28,108,255,0.18);
}
.content-afisha-calendar-module__table td {

}


@media (width <= 768px) {
    .top-logo {
        font-size: 1.4rem;
    }
    .btn-calendar {
        padding: 8px 16px;
    }
    .top-slider .swiper-pagination {
        bottom: 10px !important;
    }
    .navbar-custom{
        position: fixed;
        top: 10px;
        right: 10px;
    }
    .navbar-custom .navbar-toggler {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 10;
        background-color: var(--primary);
    }
    .navbar-custom .navbar-toggler:focus{
        box-shadow: none;
    }
    .navbar-custom .navbar-collapse{
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        padding: 20px 60px 20px 20px;
        background-color: #d9d9da;
        align-items: flex-start;
        overflow-y: auto;
    }
    .navbar-custom .top-menu.mod-menu{
        flex: 0 0 auto;
    }
    .top-menu.metismenu.mod-menu{
        display: flex;
        width: 100%;
        row-gap: 8px;
        flex-direction: column;
        padding-left: 20px;
        margin-top: 40px !important;
    }
    .top-menu.metismenu.mod-menu > .metismenu-item {
        flex-direction: column!important;
        align-items: flex-start!important;
    }
    .metismenu.mod-menu.top-menu .mm-collapse{
        display: block;
        position: relative!important;
        box-shadow: none;
    }
    .top-menu.metismenu.mod-menu .metismenu-item > a, .top-menu.metismenu.mod-menu .metismenu-item > span {
        font-size: 1.4rem;
    }
    .metismenu.mod-menu.top-menu .ul-child-menu.mm-collapse {
        padding: 12px;
    }
    .metismenu.mod-menu.top-menu > .metismenu-item > .mm-collapse{
        margin-top: 8px;
        margin-left: 20px;
        overflow: hidden;
        visibility: visible!important;
        opacity: 1!important;
    }
    .top-menu.metismenu.mod-menu > .metismenu-item:not(:first-child) {
        margin-left: 0;
    }

}
@media (max-width: 992px) {
    .icon-menu{
        width: 24px;
        height: 24px;
        background-image: url("../images/toggler.svg");
        background-repeat: no-repeat;
        background-position: center;
        display: block;
    }
    .navbar-toggler[aria-expanded="true"] .icon-menu{
        background-image: url("../images/toggler-close.svg");
    }
    h1 {
        font-size:2rem
    }
    h2 {
        font-size: 1.6rem;
    }
    h3 {
        font-size:1.5rem
    }
    h4 {
        font-size:1.3rem
    }
    h5 {
        font-size:1.1rem
    }
}
