/* Template Name: Kommersant */

#wpadminbar {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
}

.modal--video .modal__content {
    width: 1000px;
    height: 100%;
}

#modalVideo {
    width: 100%;
    height: 100%;
}

@media (max-width: 425px) {
    .modal--video .modal__content {
        width: 1000px;
        height: 60%;
    }
}

@media (max-width: 767px) {
    .company-feature {
        min-width: 100px !important;
    }
}

@media (max-width: 1023px) {
    .main-nav__wrapper {
        top: -20px;
    }
}

.media-card__text {
    min-height: 180px;
}

@media (max-width: 1023px) {
    .media-card__text {
        min-height: 165px;
    }
}

.lb-outerContainer {
    background-color: rgba(200, 200, 200, 1) !important;
}

.lightbox .lb-image {
    border: none !important;
}

a.media-card__text:hover .media-card__title {
    opacity: .7;
}

.event-gallery a {
    display: inline-block;
    height: 150px;
    width: calc(33.33% - 10px);
    margin-right: 15px;
    margin-bottom: 15px;
    background-size: cover;
    background-position: center;
}

.event-gallery a:nth-child(3n) {
    margin-right: 0;
}

@media screen and (max-width: 600px) {
    .event-gallery a {
        width: calc(50% - 10px);
    }

    .event-gallery a:first-child,
    .event-gallery a:nth-child(2n + 1) {
        margin-right: 15px;
    }

    .event-gallery a:nth-child(2n) {
        margin-right: 0;
    }
}

@media screen and (max-width: 480px) {
    .event-gallery a {
        height: 100px;
    }
}

.inner-page.business-talk .media-cards-list__item:not(.media-card--large) .media-card__description {
    display: none;
}

.date__week-day {
    margin-right: 55px;
}

.inner-page.business-talk .media-card__text {
    min-height: 210px;
}

@media (max-width: 1023px) {

    .inner-page.business-talk .media-card__text {
        min-height: 210px;
    }
}

@media (max-width: 767px) {

    .inner-page.business-talk .media-card__text {
        min-height: auto;
    }
}

.inner-page.business-talk .media-cards-list__item:not(.media-card--large) .media-card__title {
    margin-bottom: 0;
}

.main-event__tags .tag--online .tag__text::after {
    content: 'Сейчас в эфире'
}

.main-event__tags .tag--online.link-to-event {
    cursor: pointer;
}

.main-event__tags .tag--online.link-to-event:hover .tag__text::after {
    content: 'Перейти к статье'
}

.events-block__title > a {
    cursor: pointer;
}

.button-default {
    margin: 20px 0;
    padding: 20px;
    background-color: white;
    color: #22292e;
    border: 2px solid #f4f7f9;
    line-height: 16px;
    transition: background-color .2s;
}

.button-default:hover {
    background-color: #f4f7f9;
}

.events-block_more-btn {
    display: block;
    text-align: center;
    margin-top: -94px;
    margin-bottom: 94px;
}

@media (max-width: 1439px) {

    .events-block_more-btn {
        margin-top: -56px;
        margin-bottom: 56px;
    }
}

@media (max-width: 767px) {

    .events-block_more-btn {
        padding: 15px;
        margin-top: -30px;
        margin-bottom: 40px;
    }

    .events-block__events:first-of-type::after {
        content: none;
    }
}

.header {
    background-color: #004465;
}

.main-nav__wrapper {
    background-color: #004465;
}

.header__city {
    background-color: rgba(0, 47, 70, .9);
}

.program__item.dropdown {
    padding-left: 5px;
    padding-right: 5px;
}

.program__item.dropdown[data-accordion="element"]:not(.is-open) {
    cursor: pointer;
}

.program__item.dropdown[data-accordion="element"]:not(.is-open):hover {
    background-color: #f4f7f9;
}
