#news-calendar-modal-menu {
    display: none;
    padding-right: 0;
}

#news-calendar-modal-menu .news-navigation__select {
    font-size: 20px;
    line-height: 33px;
}

#news-calendar-modal-menu .tree-view__item_node-active > .tree-view__node-text {
    font-size: 20px;
    line-height: 33px;
}

#news-calendar-modal-menu .tree-view__node-arrow {
    top: 21px;
}

.skeleton {
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, #e8e8e8, #f0f0f0cf, #ddddddb5);
    background-size: 400% 400%;
    animation: skeleton-blink 4s cubic-bezier(0, 0.52, 0.27, 0.79) infinite;
}

.news-modal .news-navigation__header {
    margin-top: 50px;
    font-size: 20px;
    width: 100%;
    border: none;
}

.news-modal-btn {
    display: none;
    margin-bottom: 20px;
}

.news-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.news-navigation {
    width: 20%;
    min-height: 349px;
    height: 100%;
    min-width: 210px;
    background: white;
    padding-bottom: 10px;
    margin-right: 10px;
    border: solid 1px #d5d7dc;
}

.news-navigation__header {
    font-size: 16px;
    font-weight: bold;
    margin: 10px 15px 20px;
    border-bottom: 2px solid #dedede;
    line-height: 30px;
}

.news-navigation__select {
    margin: 0 10px !important;
    color: #114291;
    font-size: 14px;
}

.news-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 20px;
    margin-right: -15px;
    height: fit-content;
}

.news-cards::after {
    content: "";
    flex: auto;
}

.news-cards_list {
    width: 80%;
}

.news-card {
    display: flex;
    flex-wrap: nowrap;
    min-width: 310px;
    max-width: 720px;
    height: 120px;
    overflow: hidden;
    background-color: white;
    border: solid 1px #d5d7dc;
    margin-bottom: 10px;
    margin-right: 10px;
    box-sizing: border-box;
}

.news-card_small {
    width: calc(33% - 10px);
    height: 170px;
}

.news-card_big {
    width: calc(50% - 10px);
    height: 170px;
}

.news-card_loading {
    box-shadow: 2px 4px 12px 0 rgba(0, 0, 0, 0.1);
    border: none;
    animation: appearance 0.5s ease-out;
}

.news-card__preview {
    width: 130px;
    height: 100%;
}

.news-card__preview img {
    display: block;
    width: 130px;
    height: 100%;
    object-fit: cover;
}

.news-card__info {
    padding: 10px 15px;
    overflow: hidden;
    flex: 1;
    height: 100%;
}

.news-card__publication-date {
    color: #8d939f;
    font-size: 12px;
    margin-bottom: 5px;
    height: 18px;
}

.news-card__link {
    display: block;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 5px;
    height: 60px;
    overflow: hidden;
    white-space: pre-wrap;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-card__teaser {
    font-size: 11px;
    height: 58px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: pre-wrap;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

@media screen and (max-width: 1200px) {
    .news-card_small {
        width: calc(33% - 10px);
    }
}

@media screen and (max-width: 1110px) {
    .news-card_small {
        width: calc(50% - 10px);
    }
}

@media screen and (max-width: 880px) {
    .news-card_big {
        width: 100%;
        margin-right: 0;
    }
}

@media screen and (max-width: 768px) {
    .news-cards {
        justify-content: center;
        margin-right: 0;
    }

    .news-card_small {
        margin-right: 0;
        width: 100%;
    }

    .news-card__link {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 560px) {
    .news-modal-btn {
        display: block;
    }

    .news-modal .news-navigation {
        display: block;
        border: none;
    }

    .news-modal ol, .news-modal ul {
        list-style: none;
    }

    .news-navigation {
        display: none;
    }

    .news-cards_list {
        width: 100%;
    }

    .news-card_big {
        width: 100%;
    }
}

@media screen and (max-width: 375px) {
    .news-card {
        height: 200px;
    }

    .news-card__info {
        padding: 10px;
    }

    .news-card__link {
        margin-bottom: 0;
        font-size: 12px;
    }
}

@keyframes appearance {
    0% {
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

@keyframes skeleton-blink {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
