.cont_block{
    display: block;
    margin-bottom: 1em;
    margin-top: 1em;
}
.cont_article{
    padding-left: 3em;
}


.mag_main__name{
    color: #E31E24;
    font-size: 18px;
    letter-spacing: 0.05em;
    margin-top: 10px;
    margin-bottom: 20px;
}
.mag__btn_block{
    padding-bottom: 40px;
    font-size: 1.125em;
}

.lister__wrap {
    background-color: #e4e5e5;
}
.lister{
    padding: 0 40px 14px;
    background-color: #f4f5f6;
}
.disabled {
    pointer-events: none!important; /* делаем элемент неактивным для взаимодействия */
    cursor: default!important; /*  курсор в виде стрелки */
    color: #888!important;/* цвет текста серый */
}
/*Фильтр*/
.lister-filter__block{
    margin-bottom: 0;
}
.lister-filter__block .btn {
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
}
.lister-filter_text{
    font-size: 21px;
    /*text-align: center;*/
}
.lister i{
    font-size: 4em;
    color:#E31E24;
    padding-top: 18px;
    cursor:pointer;
}
.arrows{
    font-size: 4em;
    color:#E31E24;
    cursor:pointer;
}
.block_name i{
    display: table-cell;
    width: 5%;
    text-align: center;
    vertical-align: middle;
    height: 94px;
}
.block_name{
    width: 100%;
    margin-bottom: 25px;
}
.article-text{
    font-weight: 300;
    font-size: 16px;
    line-height: 22px;
    color: #494949;
    padding-bottom: 16px;
}
.article-text table {
    border: 1px solid black;
    max-width: 100% !important;
}
.article-text td,.article-text th{
    padding: 0 5px;
    border: 1px solid black;
}
/*Содержание*/
.contents-wrapper {
    color: black;
}
.contents-wrapper h2 {
    font-weight: 600;
    font-size: 22px;
    line-height: 26px;
}
.contents-wrapper{
    padding: 0 15px 15px;
}
.contents-wrapper ul{
    padding: 0;
}
.contents-wrapper li {
    list-style: none;
    border-bottom: 1px dotted #C2C2C2;
    position: relative;
    padding: 0 25px 0 0;
}
/* исправление схлопывания внешних отступов на firefox */
.contents-wrapper li:after {
    content: '';
}
.contents-wrapper li.no-dots {
    border-bottom: 1px solid transparent;
}
.contents-wrapper a {
    color: #000;
}
.contents-wrapper span {
    background-color: #FFF;
    margin: 0;
    bottom: -5px;
}
.contents-wrapper span.contents-article-text {
    position: relative;
    padding-right: 5px;
    font-weight: 300;
    font-size: 20px;
    line-height: 23px;
}
.contents-wrapper span.contents-article-number {
    position: relative;
    float: right;
    font-weight: 300;
    font-size: 20px;
    line-height: 23px;
    margin-right: -25px;
}
.contents-wrapper span.book-article-page {
    position: absolute;
    right: 0;
    padding-left: 20px;
}
.contents-wrapper span.contents-rubric-text {
    position: relative;
    margin-right: 7em;
    padding-right: 5px;
    font-weight: 600;
    font-size: 22px;
    line-height: 26px;
}
.contents-wrapper span.book-chapter-page {
    position: absolute;
    right: 0;
    padding-left: 20px;
    font-size: 18px;
    font-weight: 700;
}
@media (max-width: 575px) {
    .contents-article-text {
        word-break: break-all;
        word-break: break-word;
    }
}
/*Блок навигации по страницам*/
.lister-page-nav {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 157px 1fr 157px;
    grid-template-columns: 157px 1fr 157px;
    margin-bottom: 16px;
}
.banner_demo + .wrap .lister-page-nav {
    margin-top: 16px;
}
.lister-page-base {
    background: #A8A8A8;
    border-radius: 4px;
    padding: 4px 30px;
    text-align: center;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: white !important;
    text-decoration: none !important;
}
.lister-page-list {
    margin: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-grid-column: 2;
    letter-spacing: 0;
}
.lister-page-list > a:first-child {
    margin-right: 25px;
}
.lister-page-list > a:last-child {
    margin-left: 25px;
}
.lister-page-list .lister-page-link:not(:nth-last-child(2)) {
    margin-right: 15px;
}
.lister-page-list .lister-page-link {
    color: #A8A8A8;
    font-weight: 300;
    font-size: 16px;
    line-height: 22px;
    min-width: 20px;
    height: 24px;
    text-align: center;
    border: 1px solid #A8A8A8;
    border-radius: 4px;
    padding-left: 4px;
    padding-right: 4px;
}
.lister-page-list .lister-page-link.active {
    background: #E31E24;
    border-color: #E31E24;
    font-weight: 500;
    line-height: 25px;
    min-width: 22px;
    min-height: 27px;
    margin-left: -1px;
    margin-right: 14px;
    color: white;
}
.lister-page-list .lister-page-link.disabled {
    width: 15px;
    border: none;
    margin-left: -6px;
    margin-right: 9px;
    font-size: 20px;
    padding: 0;
    min-width: 0;
}
@media (max-width: 991px) {
    .lister-page-base {
        padding: 6px 20px;
    }
}
@media (max-width: 767px) {
    .lister-page-nav {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .lister-page-base {
        margin-bottom: 16px;
    }
    .lister-page-list > a:first-child {
        margin-right: 8px;
    }
    .lister-page-list > a:last-child {
        margin-left: 8px;
    }
    .lister-page-list .lister-page-link:not(:nth-last-child(2)) {
        margin-right: 8px;
    }
    .lister-page-list .lister-page-link {
        font-size: 12px;
    }
    .lister-page-list .lister-page-link.active {
        margin-right: 7px;
    }
    .lister-page-list .lister-page-link.disabled {
        margin-left: -1px;
        margin-right: 8px;
        font-size: 16px;
    }
}
/*Блок навигации*/
.lister-bottom-prev-block{
    background: #f4f5f6;
    padding:14px;
    text-align: center;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.lister-bottom-contents-block{
    background: #e4e5e5;
    padding:14px;
    text-align: center;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.lister-bottom-next-block{
    background: #f4f5f6;
    padding:14px;
    text-align: center;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
@media (max-width: 767px) {
    .lister-bottom-prev-block,
    .lister-bottom-next-block,
    .lister-bottom-contents-block
    {
        font-size: 14px;
        padding: 10px 0;
    }
    .lister-bottom-contents-block
    {
        word-break: break-all;
    }
}
.lister-bottom{
    padding: 0 15px 0;
    background-color: #f4f5f6;
    font-size: 18px;
}
.lister-bottom a {
    display: block;
    max-width: 100%;
}

@media (max-width: 767px) {
    .lister-bottom-prev-link span, .lister-bottom-next-link span {
        display: none;
    }
    .lister-bottom-prev-link:before, .lister-bottom-next-link:before {
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        font-size: 28px;
    }
    .lister-bottom-prev-link:before {
        content: '\f104';
    }
    .lister-bottom-next-link:before {
        content: '\f105';
    }
}

.article-wrapper{
    padding: 6px 15px 0;
}

.article-title-line {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: 100%;
}
.article-title{
    display: table-cell;
    vertical-align: middle;
    padding-right: 20px;
}
.article-title h1 {
    margin-bottom: 0;
    font-size: 20px;
    line-height: 23px;
    font-weight: 400;
}
.article-text a{
    color: #E31E24!important;
}
.rubric-article__preview a{
    font-size: 1.125em;
    color: #757575!important;
}
.rubric-article__title{
    font-weight: bold;
    font-size: 1.125em;
}
.rubric-article__title a{
    font-size: 20px;
    font-family: Roboto, sans-serif;
    font-weight: 700;
    text-decoration: underline;
    color: #263238;
}

.rubric-article__number a{
    font-size: 1em;
    color: #E31E24!important;
    text-decoration: underline;
    padding-right: 3px;
}
.block_name__buttons {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding-right: 14px;
}
.block_name__buttons .btn-panel {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 16px;
    min-width: 118px;
    background: #EEEEEE;
    position: relative;
    font-size: 14px;
    line-height: 16px;
    text-transform: uppercase;
    color: black;
    text-decoration: none !important;
    white-space: nowrap;
}
.block_name__buttons .btn-panel:not(:last-child) {
    margin-right: 20px;
}
.block_name__buttons .btn-panel[disabled] {
    opacity: 0.7;
    cursor: default;
}
.rubric_one_name {
    font-size: 16px;
    line-height: 22px;
    background-color: #E31E24;
    padding: 9px 10px;
    color: #fff;
    display: inline-block;
    min-height: 40px;
    width: 100%;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
}

@media all and (max-width:1024px) {
    .lister-filter_text {
        padding-bottom: 10px;
    }
}
@media all and (max-width: 1199px) {
    .block_name__buttons {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .block_name__buttons .btn-panel {
        padding: 12px;
    }
    .block_name__buttons .btn-panel:not(:last-child) {
        margin-right: 0;
        margin-bottom: 12px;
    }
}
@media all and (max-width:768px) {
    .mag_img, .mag__block, .article-title, .block_name i{
        height: auto;
    }
    .redaktor_img{
        width: 45%;
    }
    .article-title-line {
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
    .article-title h1 {
        font-size: 18px!important;
    }
}

@media all and (max-width: 575px) {
    .article-title-line {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .article-title, .block_name__buttons {
        padding-right: 0;
    }
    .block_name__buttons {
        margin: 12px 0 4px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}