html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%
}

main {
    display: block
}

body {
    margin: 0;
    color: #fff;
    color: #000;
    z-index: 0
}

.header-wrapper {
    z-index: 0;
    background-color: #161515;
    height: 150px
}


@media only screen and (max-width: 1200px) {
   .header-wrapper {
        width: 1200px;
    }
}

.header-wrapper .header {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    height: 100%;
    flex-wrap: nowrap;
}

.header-wrapper .header .header-logo {
    margin-top: 15px;
    margin-left: 15px;
    display: inline-block
}

a {
    background-color: transparent
}

a {
    text-decoration: none
}

.header-wrapper .header .header-title {
    width: 580px;
    margin: auto 10px;
    font-size: 25px;
    color: #fff;
    font-weight: 700
}

/*serch*/
.search {
    margin: auto;
    right: 0
}

@media screen and (min-width: 768px) {
    .search {
        display:none;
        margin: auto 0 auto auto
    }
}

@media screen and (max-width: 768px) {
    .search.in-header {
        display:none
    }
}

@media screen and (min-width: 768px) {
    .search.in-header {
        display:block
    }
}

.search input {
    outline: none;
}

.search input[type=search] {
    -webkit-appearance: textfield;
    color: #fff;
    -webkit-box-sizing: content-box;
    font-family: inherit;
    font-size: 18px;
    background: rgba(9 17 44 / 0%) url('../img/magnifier.png') no-repeat 9px;
    background-size: 20px;
    border: none;
    border-bottom: 2px solid #fff;
    padding: 9px 32px;
    width: 75px;
    transition: all .5s
}

@media screen and (max-width: 768px) {
    .search input[type=search] {
        font-size:15px;
        text-align: center
    }
}

.search input[type=search]::-webkit-input-placeholder {
    color: #fff
}

.search input[type=search]::-moz-placeholder {
    color: #fff
}

.search input[type=search]:-ms-input-placeholder {
    color: #fff
}

.search input[type=search]::-ms-input-placeholder {
    color: #fff
}

.search input[type=search]::placeholder {
    color: #fff
}

.search input[type=search]:focus {
    width: 150px;
    background-color: rgba(9 17 44 / 0%);
    border-color: #fff
}

.search input::-webkit-search-cancel-button,.search input::-webkit-search-decoration {
    display: none
}

.search input:-moz-placeholder {
    color: #999
}

.search input::-webkit-input-placeholder {
    color: #999
}


/*menu*/
article {
    width: 1200px;
    min-height: 50px;
    z-index: 0;
    margin: 0 auto;
}


@media screen and (min-width: 768px) {
    .light-menu {
        width:100%;
        overflow: hidden;
        clear: both
    }
}

.light-menu {
    background-color: #B02215;
    margin-bottom: 50px
}

@media screen and (min-width: 768px) {
    .light-menu__button {
        display:none
    }
}

.light-menu__button {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 30;
    width: 40px;
    height: 40px;
    transition: .4s
}

.light-menu__lines {
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%)
}

.light-menu__lines,.light-menu__lines:after,.light-menu__lines:before {
    position: absolute;
    width: 28px;
    height: 3px;
    background-color: #bdbdbd
}

.light-menu__nav {
    width: 100%;
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: space-between
}

.light-menu__nav .light-menu__link {
    color: #fff;
    font-size: 15px;
    line-height: 50px;
    padding: 0 10px;
    text-decoration: none
}

.light-menu__nav .light-menu__link.active {
    border-bottom: 3px solid #fff;
    font-weight: 700
}

.light-menu__nav .light-menu__link:hover {
    -webkit-filter: brightness(.9);
    filter: brightness(.9)
}

/*news-index*/
.news-date__wrapper {
    margin: 0 auto 50px;
    display: flex;
    justify-content: space-between;
    z-index: 0
}

.news-date__wrapper .news-block__wrapper {
    width: 800px;
    margin-right: 10px
}

.news-block__head {
    border-bottom: 1px solid #453332;
    margin-bottom: 10px
}

.news-block__head .news-block__title {
    display: inline-block;
    margin-right: 15px;
    font-size: 18px;
    font-weight: 800;
    line-height: 40px;
    color: #453332;
    border-bottom: 2px solid #453332
}

.news-date__wrapper .news-block__wrapper .news-block {
    display: flex;
    justify-content: center
}

.news.main {
    width: 395px;
    border-right: 1px solid #fff
}

.news .item {
    position: relative
}

.news .item.main {
    width: 100%
}

.news.side {
    width: 395px;
    justify-content: center;
    flex-wrap: wrap
}

.news {
    display: flex
}

.news .item.side:first-child {
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff
}

.news .item.side {
    flex: calc(50% - 1px)
}

.news .item.side:nth-child(2) {
    border-bottom: 1px solid #fff
}


.news .item.side .img {
    object-fit: cover;
    height: 200px;
    width: 100%
    
}

.news .item.event .img {
    object-fit: cover;
    height: 196px;
    width: 100%
    
}

.news .item.main .img {
    object-fit: cover;
    height: 400px;
    width: 100%
    
}

.news .item .img {
    object-fit: cover;
    width: 100%
}

img {
    border-style: none
}

.news .item .content {
    position: absolute;
    bottom: 0;
    z-index: 2;
    background: linear-gradient(0deg,#001c75,hsla(0,0%,100%,0));
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden
}

.news .item .content .special-title.event,.news .item .content .special-title.side {
    font-size: 13px;
    margin-left: 10px;
    margin-bottom: 10px
}

.news .item .content .special-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 15px 15px;
    color: #fff
}

.news .item .content .source.event,.news .item .content .source.side {
    font-size: 8px;
    margin-left: 10px;
    margin-bottom: 10px
}

.news .item .content .source {
    font-size: 10px;
    margin-left: 15px;
    margin-bottom: 15px;
    color: #fff
}

/*calendar*/
        /* Стили для заголовка календаря */
        .calendar-title {
            font-size: 22px;
            font-weight: bold;
            margin-bottom: 10px;
            font-family: Century Gothic, sans-serif;
            color: white;
        }

        /* Стили для строки разделителя */
        .calendar-line {
            border-bottom: 1px solid #ccc;
            margin-bottom: 10px;
            width: 50%;
        }

        /* Стили для кнопок переключения месяцев */
        .calendar-controls {
            display: flex; /* Отображаем элементы внутри контейнера в одну линию */
            align-items: center; /* Выравниваем элементы по вертикали */
            justify-content: space-between; /* Распределяем пространство между элементами */
            margin-bottom: 10px;
        }

        .calendar-controls button {
            background-color: #161515;
            color: #fff;
            border: none;
            border-radius: 5px;
            padding: 8px 4px;
            cursor: pointer;
        }

        /* Стили для таблицы календаря */
        table {
            width: 350px;
            border-collapse: collapse;
            height: 250px;
        }

        th, td {
            padding-left: 10px;
            padding-right: 10px;
            text-align: center;
        }

        th {
            color: #fff;
            border: 1px solid #161515;
            font-family: Century Gothic, sans-serif;
        }

        td {
            border: 1px solid #161515;
        }
        td.active {
            color: #ccc;
            border: 1px solid #161515;
            background-color: #B02215;
            border-radius: 10px;
        }

        /* Стили для ссылок событий */
        #calendar a {
            color: white;
            cursor: pointer;
            text-decoration: none;
        }

        td:hover {
            background-color: #bdbdbd;
            border-radius: 10px;
        }

        td.active:hover {
            background-color: #B02215;
            border-radius: 10px;
        }


        /* Стили для ссылок с событиями */
        #calendar a.event {
            color: white;
            cursor: pointer;
        }

        #calendar a.event:hover {
            text-decoration: underline;
        }

        /* Стили для серых дат без событий */
        #calendar a.gray-date {
            color: gray;
            pointer-events: none; /* Делаем даты без событий не кликабельными */
        }



.calendar,.calendar1 {
    width: 390px;
    background-color: #161515;
    padding: 20px; /* Добавим небольшой отступ для визуального разделения */
    border-radius: 10px; /* Округлим углы для стиля */
    height: fit-content; /* Это свойство позволит контейнеру принимать размер его содержимого */
    width: fit-content;
    z-index: 5;
    position: relative
}

        /* Стили для текста дат */
        .calendar-date {
            color: white; /* Белый цвет */
            font-size: 22px; /* Увеличенный размер */
            font-family: Century Gothic, sans-serif; /* Шрифт Helvetica */
        }

        /* Стили для названия месяца */
        #month-year {
            text-transform: capitalize; /* Преобразование первой буквы каждого слова в заглавную */
        }

        .event-dot {
            width: 8px; /* Ширина точки */
            height: 8px; /* Высота точки */
            background-color: #161515; /* Красный цвет */
            border-radius: 50%; /* Округляем углы для создания круглой формы */
            margin: 0 auto; /* Центрируем точку горизонтально */
            margin-top: 2px; /* Добавляем небольшое отступ сверху */
        }
        .event-dot.active {
            width: 8px; /* Ширина точки */
            height: 8px; /* Высота точки */
            background-color: red; /* Красный цвет */
            border-radius: 50%; /* Округляем углы для создания круглой формы */
            margin: 0 auto; /* Центрируем точку горизонтально */
            margin-top: 2px; /* Добавляем небольшое отступ сверху */
        }

        /* Стили для контейнера даты */
        .date-container {
            position: relative; /* Позиционируем относительно */
        }

        /* Стили для точки внутри контейнера даты */
        .date-container .event-dot {
            position: absolute; /* Позиционируем абсолютно */
            bottom: -10px; /* Размещаем точку снизу на 10px */
            left: 50%; /* Размещаем точку по центру горизонтально */
            transform: translateX(-50%); /* Центрируем точку горизонтально */
        }



/*content2*/
.third-party-content__wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    overflow: hidden
}

.third-party-content__wrapper .third-party-block {
    flex: 0 1 calc(33.3% - 10px);
    margin-right: 15px;
    max-width: 32%
}

.third-party-content__wrapper .third-party-block .third-party-block__head {
    border-bottom: 1px solid #90969c
}

.third-party-content__wrapper .third-party-block .third-party-block__head .third-party-block__title {
    text-transform: uppercase;
    display: inline-block;
    font-size: 18px;
    font-weight: 800;
    line-height: 40px;
    color: #332C2B;
    border-bottom: 2px solid #332C2B
}

.third-party-content__wrapper .third-party-block .actual-info {
    overflow-y: scroll;
    height: 410px;
    line-height: 20px
    scrollbar-width: thin; /* Установить тонкую полосу прокрутки */
    scrollbar-color: grey transparent; /* Установить цвет полосы прокрутки и ее фона */
}

.third-party-content__wrapper .third-party-block .actual-info p {
    font-size: 16px
}

p {
    margin: 0 0 30px;
    font-size: 18px;
    line-height: 26px;
    text-align: center
}

.third-party-content__wrapper .third-party-block-2 {
    flex: 0 1 66%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap
}

.third-party-content__wrapper .third-party-block-2 .results {
    flex: 0 0 390px;
    margin-right: 10px
}

.third-party-content__wrapper .third-party-block-2 .results .results-wrapper,.third-party-content__wrapper .third-party-block-2 .results .results-wrapper .results-link {
    width: 100%
}

.results-wrapper {
    margin: 0;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    color: #000
}

.third-party-content__wrapper .third-party-block-2 .results .results-wrapper .results-link .results-img {
    margin: 0 auto;
    width: 100%
}

.tab-wrap {
    position: relative;
    flex: 0 0 390px
}

.tab-wrap .tab-head {
    display: flex;
    justify-content: space-between;
    position: relative
}

.tab-wrap .tab-head .tab-title.active {
    background-color: #575757
}

.tab-wrap .tab-head .tab-title {
    padding: 10px 20px;
    width: 50%;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    background-color:#AB2115;
    cursor: pointer
}


.tab-wrap .tab-content {
    font-size: 18px;
    line-height: 26px;
    text-align: justify;
    color: #fff;
    overflow: hidden
}

.tab-wrap .tab-content .tab.active {
    display: block;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: grey transparent;
    background-color: #575757
}

.tab-wrap .tab-content .tab {
    display: none;
    width: 100%;
    background-color: #112669
}

.competitions {
    height: 410px;
}

.competitions .competition__item {
    display: block;
    padding: 10px;
    border-bottom: 1px solid #90969c
}

.competitions .competition__item .competition__item__row {
    display: flex;
    justify-content: space-between;
    color: #fff
}

.competitions .competition__item .competition__item__row .competition__item__date,.competitions .competition__item .competition__item__row .competition__item__place {
    font-size: 10px;
    font-weight: 600
}

.competitions .competition__item .competition__item__title {
    color: #fff;
    font-size: 15px;
    font-weight: 600
}

.competitions .competition__item .competition__item__row {
    display: flex;
    justify-content: space-between;
    color: #fff
}

.competitions .competition__item .competition__item__row .competition__item__date,.competitions .competition__item .competition__item__row .competition__item__place {
    font-size: 10px;
    font-weight: 600
}

.tab-wrap .tab-content .tab {
    display: none;
    width: 100%;
    background-color: #112669
}

/*events*/
.page__head {
    border-bottom: 1px solid #90969c;
    margin-bottom: 30px
}

.page__head .page__title {
    display: inline-block;
    margin-right: 15px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 40px;
    color: #161515;
    border-bottom: 2px solid #161515
}

.news.event {
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px
}

.news {
    display: flex
}

.news .item.event {
    flex: 0 0 calc(16.5% - 1px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-right: 1px solid #fff
}

.news .item .content {
    position: absolute;
    bottom: 0;
    z-index: 2;
    background: linear-gradient(0deg,#911C11,hsla(0,0%,100%,0));
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden
}

/*partners*/

.partner-block__head {
    font-size: 18px;
    font-weight: 700;
    line-height: 40px;
    color: #161515;
    border-bottom: 1px solid #161515;
    margin-bottom: 30px
}

.partner-block__head .partner-block__title {
    font-size: 18px;
    font-weight: 800;
    line-height: 40px;
    color: #161515;
    display: inline-block;
    border-bottom: 2px solid #161515
}

.partner-block {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 65px
}

.partner-block .partner-block__item {
    flex: 0 0 calc(33.3% - 1px);
    text-align: center;
    margin-bottom: 30px
}

.partner-block .partner-block__item_two {
    flex: 0 0 calc(42.3% - 1px);
    text-align: center;
    margin-bottom: 30px
}

.partner-block .partner-block__item .partner-block__item__title {
    font-size: 13px;
    font-weight: 700;
    color:  #161515;
    margin-bottom: 15px
}

.partner-block .partner-block__item .partner-block__item__content {
    border-right: 1px solid #90969c;
    display: flex;
    justify-content: center;
    flex-wrap: wrap
}

.partner-block .partner-block__item_two .partner-block__item__content {
    border-right: 1px solid #90969c;
    display: flex;
    justify-content: center;
    flex-wrap: wrap
}

.partner-block .partner-block__item_two .partner-block__item__content .partner-block__item__img {
    margin-right: 15px;
    flex: 0 1 150px
}

.partner-block .partner-block__item_two .partner-block__item__content .partner-block__item__img img {
    width: 100%
}

.partner-block .partner-block__item_two .partner-block__item__content.gos {
    border-right: none
}


.partner-block .partner-block__item .partner-block__item__content .partner-block__item__img {
    margin-right: 15px;
    flex: 0 1 150px
}

.partner-block .partner-block__item .partner-block__item__content .partner-block__item__img img {
    width: 100%
}



/*footer*/

    footer {
        background-color: #161515
    }

@media only screen and (max-width: 1200px) {
    footer {
        width: 1200px;
    }
}


footer .footer-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 50px;
    padding-bottom: 50px;
    width: 1200px;
    margin: 0 auto
}

footer .footer-wrapper .rules {
    width: calc(100% - 300px);
    color: #fff
}

footer .footer-wrapper .rules a {
    color: #fff;
    font-weight: 700
}

footer .social {
    width: 250px;
    margin-left: 50px;
    display: flex;
    justify-content: flex-end
}

footer .social .fb,footer .social .inst,footer .social .vk {
    margin-right: 20px
}

#modal {
    display: none;
    position: fixed;
    z-index: 40;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #000;
    background-color: rgba(0,0,0,.9)
}

#modal .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: 700;
    transition: .3s
}

#modal .close:focus,#modal .close:hover {
    color: #bbb;
    text-decoration: none;
    cursor: pointer
}

#modal .image-wrapper {
    margin: 0 auto;
    display: block;
    width: 100%;
    height: auto;
    max-width: 1200px;
    text-align: center
}

@media screen and (max-width: 1200px) {
    #modal .image-wrapper {
        width:calc(100% - 80px)
    }
}

#modal .image-wrapper img {
    width: auto;
    height: auto;
    max-width: calc(100vh - 100px);
    max-height: calc(100vh - 100px);
    margin: 0 auto
}

@media screen and (max-width: 1200px) {
    #modal .image-wrapper img {
        width:100%
    }
}

#modal .image-wrapper .caption {
    width: 100%;
    text-align: center;
    color: #ccc;
    padding: 10px 0
}

#modal .control {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    transition: .6s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

#modal .control:hover {
    background-color: rgba(0,0,0,.8)
}

#modal .control.next {
    right: 0;
    border-radius: 3px 0 0 3px
}

#modal .control.prev {
    left: 0;
    border-radius: 0 3px 3px 0
}

/* slider */
.image-carousel {
    position: relative;
    overflow: hidden;
    margin: 0 auto 60px;
    width: 350px;
}


slider {
        display: flex; /* Делаем контейнер слайдера flex-контейнером */
        overflow-x: auto;/* Разрешаем горизонтальную прокрутку, если изображения не помещаются */
    }

.slider img {
        height: auto;
        object-fit: cover;
        height: 270px;
        margin-bottom: 15px;
        flex: 0 0 auto; /* Указываем, чтобы изображения не увеличивались и не уменьшались */
        margin-right: 10px;
        width: 100%;
    }

.slick-slide {
    width: 300px;
    margin: 0 5px;
}

.image-carousel .next,.image-carousel .prev {
    background-color: #333;
    position: absolute;
    top: calc(50% - 20px);
    cursor: pointer;
    padding: 10px;
    color: #fff;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.image-carousel .prev {
    left: 0
}

.image-carousel .next {
    right: 0
}

.page__head {
    border-bottom: 1px solid #90969c;
    margin-bottom: 30px
}

.page__head .page__title {
    display: inline-block;
    margin-right: 15px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 40px;
    color: #001c75;
    border-bottom: 2px solid #001c75
}

.search-wrapper {
    margin: 0 15px 50px
}

@media screen and (max-width: 1200px) {
    .page__head .page__title {
        padding-left:15px
    }
}

.search-wrapper .news-search {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap
}

.search-wrapper .news-search .item {
    flex: 1 0 calc(100% - 30px);
    border-bottom: 1px solid #90969c;
    margin: 0 15px 30px
}

.search-wrapper .news-search .item .title {
    font-size: 18px;
    font-weight: 800;
    color: #1c1d22fa;
    padding-bottom: 15px
}

.search-wrapper .news-search .item .date {
    font-size: 15px;
    color: #90969c;
    padding-bottom: 15px
}

.search-wrapper .news-search .item .content {
    font-size: 15px;
    color: #000;
    padding-bottom: 15px
}

.not-found {
    font-size: 16px;
    margin: 15px 15px 50px
}