html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: #74caf1 url(../images/background.jpg) top center fixed;
    background-size: cover;
    color: #616161;
    font-family: 'tr';
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    min-width: 320px;
}

p, h1, h2, h3, h4, h5, h6 {
    margin: 15px 0;
    font-weight: normal;
    font-style: normal;
    color: #000;
    font-family: 'tb';
}

h2 {
    font-size: 25px;
}

img {
    border: none;
    max-width: 100%;
}

textarea, input, select, radio, button {
    outline: none;
    font-family: 'tr';
    font-size: 15px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

a {
    color: #616161;
}

a:hover {
    text-decoration: none;
    color: #da251d;
}

i, italic {
    font-family: 'ti';
}

b, strong {
    font-family: 'tb';
    font-weight: normal;
}

p {
    font-family: 'tr';
    line-height: 20px;
}

div {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.ico {
    background: url(../images/sprite.png) no-repeat;
    display: inline-block;
}

/* Враппер */
.wrapper {
    width: 1200px;
    margin: 40px auto 0;
    box-shadow: 0 0 21px rgba(0, 0, 0, 0.08);
    background: #fff;
    padding: 20px;
}

/**/

.header {
    display: flex;
    justify-content: center;
}

.header__open {
    display: none;
}

/* Логотип */
.logo {
    display: block;
    padding: 3px 0 23px 0;
    text-align: center;
    font-size: 30px;
    color: #30363c;
    text-decoration: none;
    text-transform: uppercase;
}

.logo span {
    display: block;
}

@media (max-width: 1000px) {
    .header {
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 20px;
        max-width: 320px;
        font-size: 24px;
        text-align: left;
        padding: 0;
    }

    .logo img {
        max-width: 46px;
    }

    .header__open {
        display: block;
    }
}

@media (max-width: 450px) {
    .logo {
        font-size: 18px;
        max-width: 235px;
        gap: 15px;
    }
}

/* Главное меню */


@media (min-width: 1000px) {
    .navigation {
        display: block;
        border-radius: 2px;
        padding: 0 19px;
        margin: 0 0 20px;
        text-align: center;
        background: #e83328;
        background: -moz-linear-gradient(top, #e83328 0%, #cd1813 100%);
        background: -webkit-linear-gradient(top, #e83328 0%, #cd1813 100%);
        background: linear-gradient(to bottom, #e83328 0%, #cd1813 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e83328', endColorstr='#cd1813', GradientType=0);
    }

    .navigation li {
        display: inline-block;
        position: relative;
    }

    .navigation a {
        color: #fff;
        text-decoration: none;
        line-height: 50px;
        padding: 0 15px;
        font-size: 16px;
    }

    .navigation ul {
        text-align: left;
        display: none;
        position: absolute;
        left: 0;
        top: 50px;
        background: #cd1813;
        padding: 5px 0 15px;
        white-space: nowrap;
        z-index: 44;
        border-radius: 0 0 2px 2px;
    }

    .navigation ul li {
        display: block;
    }

    .navigation ul a {
        font-size: 16px;
        line-height: 25px;
    }

    .navigation li:hover > ul {
        display: block;
    }

    .menu {
        display: none;
    }
}

@media (max-width: 1240px) {
    .navigation {
        display: flex;
        justify-content: space-between;
        padding: 0 25px;
    }

    .navigation a {
        font-size: 16px;
        padding: 0;
    }
}

/* Контент */
.content {
    float: left;
    width: calc(100% - 350px);
}


.list {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 2px solid #f6f6f6;
}

.list h2 {
    border-left: 2px solid #e83328;
    margin-left: -22px;
    padding-left: 20px;
    line-height: 25px;
}

.list h1 {
    border-left: 2px solid #e83328;
    margin-left: -22px;
    padding-left: 20px;
    line-height: 28px;
}

/* Фотогалерея */
.images-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.lbm {
    width: calc((100% - 40px) / 3);
    aspect-ratio: 4 /3;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .lbm {
        width: calc((100% - 20px) / 2);
    }
}

/* Список новостей */
.news-list-page {
    margin-top: 30px;
}

.news-list-page .item {
    padding: 17px;
    margin: 20px 0 0;
    border: 1px solid #e1e1e1;
    border-radius: 2px;
}


.news-list-page h2 {
    border-left: none;
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
    line-height: 20px;
    font-size: 14px;
}

.news-list-page h2 a {
    color: #000;
    text-decoration: none;
}


.date {
    color: #616161;
    font-size: 14px;
}

.news-list-page .announce, .new-once p {
    color: #616161;
    line-height: 20px;
}

.news-list-page img {
    float: left;
    margin-right: 15px;
}

.news-list-page .meta {
    text-align: right;
}

.news-list-page .more {
    color: #ce1913;
}


.partner img {
    float: none;
}
.partner .text {
    display: block;
    width: 100%;
}


@media (max-width: 768px) {
    .partner img {
        float: none;
    }
    .partner .text {
        text-align: left;
        max-width: none;
        float: none;
        width: 100%;
    }
}

.pagination .control {
    margin-top: 20px;
    border: 1px solid #e1e1e1;
    border-radius: 2px;
    display: inline-block
}

.pagination a {
    display: block;
    float: left;
    padding: 3px 10px;
    text-decoration: none;
}

.pagination a.active {
    background: #e1e1e1;
}

.pagination a + a {
    border-left: 1px solid #e1e1e1;
}

/* Слайдер */
.slider {
    position: relative;
    margin-bottom: 35px;
    opacity: 0;
    transition: opacity 0.3s linear;
    overflow: hidden;
}

.slider.swiper-initialized {
    opacity: 1;
}

.slider .images {
    display: flex;
}

.slider .slide {
    flex: 0 0 auto;
    width: 100%;
    height: 350px;
}

.slider .slide img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.slider .controls {
    position: absolute;
    top: 50%;
    margin-top: -15px;
    left: 0;
    width: 100%;
    z-index: 33;
}

.slider #prev, .slider #next {
    display: block;
    border-radius: 15px;
    width: 28px;
    height: 28px;
    position: absolute;
    top: 0;
    overflow: hidden;
    background: url(../images/prev.png) no-repeat -1px -1px;
}

.slider #prev {
    left: 15px;
}

.slider #next {
    right: 15px;
    background-image: url(../images/next.png);
}

/* Сайдбар */
.sidebar {
    float: right;
    width: 330px;
}

.block {
    background: #fff;
    border: 1px solid #e1e1e1;
    padding: 10px;
    border-radius: 2px;
    margin-bottom: 20px;
}

.block h3 {
    text-align: left !important;
    margin: 0;
    border-radius: 2px 2px 0 0;
    margin-left: -11px;
    margin-right: -11px;
    margin-top: -11px;
    display: block;
    line-height: 47px;
    padding: 0 19px;
    position: relative;
    color: #000;
    margin-bottom: 20px;
    background: #f3f3f3;
    background: -moz-linear-gradient(top, #f3f3f3 0%, #e1e1e1 100%);
    background: -webkit-linear-gradient(top, #f3f3f3 0%, #e1e1e1 100%);
    background: linear-gradient(to bottom, #f3f3f3 0%, #e1e1e1 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3f3f3', endColorstr='#e1e1e1', GradientType=0);
}

.block h3 a {
    text-decoration: none;
    color: #000;
}

.block h3:before {
    content: '';
    width: 19px;
    height: 10px;
    background: url(../images/arrow.png) no-repeat 0 0;
    position: absolute;
    right: 10px;
    bottom: -10px;
}

.block ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.block_link{
    text-decoration: none;
    display: block;
}

.block_link h3{
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: -11px;
}

.block h3:before{
    display: none;
}

.new {
    background: #f6f3de;
    border: 1px solid #f6f3de;
}

.new h3 {
    background: #f5d45c;
    background: -moz-linear-gradient(top, #f5d45c 0%, #e4c34b 100%);
    background: -webkit-linear-gradient(top, #f5d45c 0%, #e4c34b 100%);
    background: linear-gradient(to bottom, #f5d45c 0%, #e4c34b 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5d45c', endColorstr='#e4c34b', GradientType=0);
}

.new h3:before {
    background: url(../images/arrow-y.png) no-repeat 0 0;
}

.new a {
    text-decoration: none;
}

.new li {
    margin: 20px;
}

.audio li {
    margin: 20px;
}

.audio li a{
    text-decoration: none;
}


.new .new-date {
    color: #da251d;
    display: block;
    margin-bottom: 7px;
}

.books > div {
    display: flex;
}

.books a {
    width: 50%;
    padding: 10px;
}

.books {
    text-align: center;
}

.block .gallery {
    margin-left: -4px;
}

.block .gallery li {
    float: left;
    margin: 4px 0 0 4px;
}

.block .gallery img {
    vertical-align: top;
    width: 100px;
}

/* Супер короткие стили для футера :) */
.footer {
    text-align: center;
    margin: 0;
    line-height: 80px;
    color: #fff;
}

/* Клир */
.clear {
    clear: both;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: '';
    clear: both;
    height: 0;
}

* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}


@media (max-width: 1240px) {
    .wrapper {
        margin: 15px;
        width: calc(100% - 30px);
    }
}

@media (max-width: 1000px) {
    .content {
        width: 100%;
    }

    .sidebar {
        width: 100%;
    }

    .block .gallery {
        margin: 0;
    }

    .block .gallery li {
        width: 19%;
    }

    .block .gallery li a,
    .block .gallery li img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .content {
        width: 100%;
    }

    .slider .slide {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        aspect-ratio: 6 / 3;
    }

    .block .gallery li {
        width: 24%;
    }

    .list h1{
        font-size: 22px;
        line-height: 26px;
    }
}

@media (max-width: 500px) {
    .block .gallery li {
        width: 30%;
    }

    .footer {
        line-height: normal;
        padding-bottom: 30px;
    }
}

@media (max-width: 1000px) {
    .navigation {
        display: none;
    }

    .menu {
        position: fixed;
        left: -100%;
        top: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: 100;
        padding: 20px;
        transition: left 0.3s linear;
    }

    .menu.is-opened {
        left: 0;
    }

    .menu__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .menu__close {

    }

    .menu__wrap {
        margin-top: 30px;
        height: calc(100vh - 110px);
        overflow: auto;
    }

    .menu .navigation {
        display: flex;
        flex-direction: column;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .menu .navigation .has-children > a::after {
        content: "";
        width: 0;
        height: 0;
        border: 4px solid transparent;
        display: inline-block;
        border-top-color: #0000007a;
        margin-left: 5px;
    }

    .menu .navigation .navigation {
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s linear;
    }
    .menu .is-opened .navigation {
        max-height: 350px;
    }

    .menu .navigation a {
        text-decoration: none;
        color: #000;
        display: block;
        padding: 7px 0px;
        font-size: 18px;
    }
}

.text {
    overflow: hidden;
   color: #000;

}
.text img{
    height: auto !important;
}

 .text iframe{
    margin-bottom: 50px;
 }

@media (max-width: 1200px) {
    .text iframe{
        height: auto;
        width: 100%;
        aspect-ratio: 16 / 9;
    }
     .text video{
        height: auto;
        width: 100%;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 768px) {
    .text img{
        width: 100% !important;
    }
}


.solidar-list{
    margin-top: 30px;
}

.solidar-list-item{
    display: flex;
    gap: 24px;
    padding: 17px;
    margin: 20px 0 0;
    border: 1px solid #e1e1e1;
    border-radius: 2px;
}

.solidar-list-item__content{
    flex: 1;
}

.solidar-list-item__title{
    border: 0;
    margin: 0;
    padding: 0;
    line-height: normal;
    font-size: 18px;
    color: #000;
    font-family: 'tb';
}

.solidar-list-item__text,
.solidar-list-item__text p {
    color: #616161;
    line-height: 20px;
}

.solidar-list-item__more {
    color: #dd281f;
    float: right;
}