h1 {
    line-height: 40px;
}

.header-search {
    right: 80px;
}

.header-profile {
    position: absolute;
    top: 60px;
    right: 121px;
    color: white;
}

.header-nav {
    margin-left: 30px;
}

.header-search {
    top: 68px;
}

.header-youtube {
    top: 60px;
    right: 17px;
}

.header-search-desktop {
    z-index: 10;
}

.header-profile img {
    border-radius: 20px;
    width: 30px;
    height: 30px;
}

.md_search {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 33px;
}

.md_search_image {
    position: absolute;
    top: 0;
    left: 12px;
    width: 162px;
    height: 96px;
}

.md_search_image img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin-top: 25px;
}

.md_search_head a {
    color: #000;
    font-size: 20px;
}

.md_search_content {
    padding-left: 180px;
    font-size: 14px;
    line-height: 1.6;
}

.video-filter-last:after {
    display: none;
}

#hidden-block-filter {
    /*display: none;*/
}

.inner_filter_block {
    height: 60px;
}

.md-films-section-text {
    margin-bottom: 40px;
}

.films-detail-content {
    margin-top: 20px;
    font-size: 18px;
    line-height: 22px;
}

.articles-filter-item + .articles-filter-item {
    margin-left: 20px;
}

.video-views {
    position: absolute;
    top: 2px;
    right: 2px;
    display: block;
    padding: 0 5px;
    font-weight: 500;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    background: #000;
    opacity: .8;
}

.video-width {
    right: 2px;
    bottom: 25px;
    opacity: .8;
}

.icon-view:before {
    content: "\e9ce";
    margin-right: 5px;
}

.icon-seria:before {
    content: "\e913";
    margin-right: 5px;
}

.md-serias-block {
    margin-top: 20px;
}

.md-seria-item {
    margin-right: 20px;
}

.md-seria-item-active {
    background: #D82615;
    color: #fff;
    padding: 4px 7px 4px;
    border-radius: 4px;
}

.md-seria-item-active:hover {
    color: #fff;
}

.special-img {
    position: relative;
}

.article-img {
    position: relative;
}

.md-news-left-block-wrapper {
    margin-top: 40px;
}

.md-news-left-block-wrapper h2 {
    display: inline-block;
    color: #000;
    padding: 4px 7px 2px;
    font-weight: 700;
    font-size: 24px;
    line-height: 21px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.md-news-left-block {
    overflow: auto;
    display: block;
    clear: both;
    margin-bottom: 15px;
    font-weight: 500;
    border-bottom: 1px solid #fff;
    padding-bottom: 10px;
}

.md-news-left-block a {
    color: #000;
}

.md-news-left-block a:hover {
    color: #D82615;
}

.md-news-date {
    float: left;
    font-size: 14px;
    color: #828282;
    margin-right: 5px;
}

.md-news-title {
    font-size: 14px;
}

.md-left-block-all-news {
    float: right;
    font-size: 12px;
}

.md-books-section {
    margin-top: 50px;
    font-weight: 500;
}

.md-books-section h4 {
    text-align: center;
    color: #D82615;
    margin-top: 50px;
    margin-bottom: 20px;
}

.md-books-section ul {
    list-style-type: none;
}

.md-books-section ul li {
    margin-bottom: 20px;
}

.md-books-section a {
    color: #000;
}

.md-books-section a:hover {
    color: #D82615;
}

.md-books-section span {
    text-decoration: underline;
}

.header-nav-item + .header-nav-item {
    margin-left: 9px;
}

.article-detail-content {
    text-align: justify;
}

.article-detail-content img {
    margin: 10px auto;
    max-width: 100%;
    display: table-cell;
    vertical-align: middle;
    border: solid 1px #ddd;
}

.header-nav-link {
    padding: 22px 7px 19px;
}

.article-detail-content p:first-child {
    text-indent: 1em;
}

.mt-40 {
    margin-top: 40px;
}

.md-forbidden-section h1 {
    text-align: center;
    color: #D82615;
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 22px;
    line-height: 30px;
}

.video-detail-download {
    font-size: 26px;
    font-family: icomoon;
}

.video-detail-download:before {
    content: "\e9c7"
}

.article-content {
    word-wrap: break-word;
}

.ajax_item_articles_mp .article-content {
    max-height: 250px;
    overflow: hidden;
}

.ajax_item_articles_mp .article-content:before {
    content: "";
    display: block;
    position: absolute;
    height: 20px;
    width: 100%;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #eeeff0 75%);
}

.subscription-format {
    display: none;
}

.md-sub-wrapper {

    height: 50vh;
    background: url('../images/sub-bg-v3.png');
    background-size: cover;
    background-repeat: no-repeat;
    padding: 100px 20px 20px 20px;

    margin-bottom: 50px;

}

.md-sub-main-text {
    font-weight: 500;
    margin-bottom: 50px;
    text-align: justify;
}

.thumb-wrap {
    position: relative;
    padding-bottom: 56.25%; /* задаёт высоту контейнера для 16:9 (если 4:3 — поставьте 75%) */
    height: 0;
    overflow: hidden;
}

.thumb-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-width: 0;
    outline-width: 0;
}

.header-scroll .header-nav {
    margin-left: 30px;
}

.header-scroll .header-profile, .header-scroll .icon-header-search, .header-scroll  .icon-header-youtube{
    display: none;
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
    .header-nav-item + .header-nav-item {
        margin-left: -2px;
    }

}

.header-mobile .header-nav-link {
    padding: 10px 21px;
}

@media screen and (max-width: 991px) {
    .header-profile {
        position: absolute;
        top: 14px;
        right: 100px;
        color: white;
    }

    .header-search {
        right: 61px;
    }


    .md_search {
        margin: 0 auto 40px;
        max-width: 794px;
        padding-bottom: 35px;
    }

    .films-detail-content {
        margin-top: 53px;
        font-size: 18px;
        line-height: 1.6;
    }

    .md-sub-wrapper {
        height: auto;
        padding: 20px 20px 20px 20px;
    }

    .header-search {
        top: 20px;
    }

}

@media screen and (min-width: 768px) {
    .md_search_image {
        width: 162px;
        height: 96px;
    }

    .article-detail-content {
        margin-top: 70px;
        padding-left: 10px;
    }

    .md_search_content {
        padding-left: 180px;
        padding-top: 8px;
        font-size: 16px;
    }

    .films-detail-content {
        margin-top: 70px;
    }

    .video-5 {
        -ms-flex: 0 0 25% !important;
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }

}

@media screen and (max-width: 414px) {

    .article-detail-content {
        font-size: 20px;
        line-height: 35px;
        word-wrap: break-word;
        /*word-break: break-all;*/
    }

    .md_search_image {
        position: relative;
        width: 100%;
        height: auto;
    }

    .video-detail {
        word-wrap: break-word;
        /* word-break: break-all;*/
    }

    .article-content, .video-content {
        word-wrap: break-word;
    }

    .video-detail-content {
        font-size: 20px;
    }

    .article-detail-content img {
        width: 100%;
        height: auto;
        margin: 20px 0 20px 0;
    }

    .md_search_content {
        padding-left: 0;
        overflow: hidden;
    }

    .video-detail-download {
        font-size: 16px;
    }

    .md-sub-wrapper {
        height: auto;
        padding: 20px 20px 20px 20px;
        margin-bottom: inherit;
        background-position-x: -200px;
    }

    .md-sub-main-text {
        margin-bottom: 20px;
        font-size: 0.8rem;
        font-weight: 500;
    }

    .md-sub-form-left {
        text-align: justify;
        font-size: 0.8rem;
        color: #d82615;
        font-weight: 500;
        margin-bottom: 20px;
    }

    .author-detail-img {
        width: 100%;
    }

    .author-detail-content {
        width: 100%;
    }

}
