.page_top_line {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

h1.padding-right-300.padding-right-none-xxl {
    padding: 0;
    padding-right: 155px !important;
}

.margin-bottom-30.margit-bottom-30-xxl {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 240px;
            flex: 0 0 240px;
    margin: 0 0 30px;
}

@media (max-width: 1199px){
    h1.padding-right-300.padding-right-none-xxl {
        padding-right: 25px !important;
    }
}

@media (max-width: 768px){
    .page_top_line {
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    }
    
    h1.padding-right-300.padding-right-none-xxl {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .margin-bottom-30.margit-bottom-30-xxl {
        margin-bottom: 15px;
    }
    body .news-list .news-img {
        margin-bottom: 5px;
    }
    body .news-list.news-little-list.news-blog-list .news-item.news-big {
        padding-bottom: 15px;
    }
    .page_navigation {
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    }
    
    .breadcrumb_wrapper {
        width: 100%;
    }
    
    body .page_navigation .mobile-archive-back {
        justify-self: flex-end;
        width: 100%;
        margin-bottom: 10px;
    }
}

/* catalog */
.catalog_wrapper {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 25% auto;
    grid-template-columns: 25% auto;
    width: 100%;
}

.magazine_wrapper {
    display: -ms-grid;
    display: grid;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    position: sticky;
    top: 30px;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1 / 2;
    -ms-grid-row: 1;
    -ms-grid-row-span: 3;
    grid-row: 1 / 4;
}

.catalog_wrapper .magazine_img {
    height: 278px;
}

.catalog_wrapper .magazine_img img {
    margin: auto;
}

.choose_offer_wrapper {
    margin-top: 25px;
}

body .choose_offer_wrapper label.radio_magazine .radio_item {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

body .choose_offer_wrapper label.radio_magazine .radio_item .radio_price {
    width: 100%;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
    display: block;
}

body .choose_offer_wrapper label.radio_magazine .radio_item .radio_price:after {
    border-bottom: 1px solid #C6C6C6;
    height: 0;
    width: 100%;
    bottom: 0;
    top: inherit;
}

body .choose_offer_wrapper label.radio_magazine .radio_item .radio_info {
    padding: 10px;
}
.btn_wrapper {
    margin-top: 20px;
}
.magazine_wrapper .magazine_btn {
    margin-top: 10px;
}
    
button#magazine_btn_pdf {
    display: block;
    width: 100%;
}

.magazine_info_wrapper,
body .catalog_wrapper .news-list {
    margin-left: 35px;
}

.magazine_info_wrapper .magazine_mounth {
    color: #717070;
    margin-bottom: 5px;
    text-transform: capitalize;
}

.magazine_info_wrapper .magazine_number {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.magazine_info_wrapper h1 {
    margin-bottom: 20px;
}

body .magazine_btn a {
    display: block;
    text-align: center;
}

.catalog_wrapper a.styler.show-more-button.js-show-more-button {
    margin-bottom: 0;
    margin-left: 35px;
}

.catalog_wrapper h3 {
    font-family: 'Merriweather', serif;
}

/* modal */

.confirm_message {
    color: green;
}

.tab-pane { display: none; }
.tab-pane.active { display: block; }
#buyMagazineModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}
#buyMagazineModal.active_modal{
    display: block;
}

#buyMagazineModal .modal_bg {
    background: rgb(30, 30, 30);
    opacity: 0;
    -webkit-transition-duration: inherit;
         -o-transition-duration: inherit;
            transition-duration: inherit;
    -webkit-transition-property: opacity;
    -o-transition-property: opacity;
    transition-property: opacity;
    -webkit-transition-timing-function: cubic-bezier(.47, 0, .74, .71);
         -o-transition-timing-function: cubic-bezier(.47, 0, .74, .71);
            transition-timing-function: cubic-bezier(.47, 0, .74, .71);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

#buyMagazineModal.active_modal .modal_bg {
    opacity: .9;
    -webkit-transition-timing-function: cubic-bezier(.22, .61, .36, 1);
         -o-transition-timing-function: cubic-bezier(.22, .61, .36, 1);
            transition-timing-function: cubic-bezier(.22, .61, .36, 1);
}
.modal_inner {
    background: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    width: 70%;
    height: 80%;
    max-height: 700px;
}

.modal_autorized_pdf .modal_inner {
    width: 50%;
    height: auto;
}

.modal_header {
    padding: 12px 35px 0;
    background: #eae9e9;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.modal_inner input {
    display: block;
    width: 100%;
}

.modal-content {
    height: 100%;
}

.magazine_img {
    -webkit-perspective: 1000px;
            perspective: 1000px;
    display: inline-block;
    -ms-grid-column-align: center;
        justify-self: center;
    padding: 20px 0;
    /* filter: drop-shadow(1px 2px 3px #00000078); */
    -webkit-box-shadow: 1px 0px #aaa, 1px 2px 1px #aaa, 2px 1px 1px #aaa, 1px 2px 1px #aaa, 3px 2px 1px #aaa, 2px 3px 1px #aaa, 4px 3px 1px #aaa, -5px -5px 20px 0px rgba(255,255,255,0.15), 7px 7px 4px rgba(0,0,0,0.3), 15px 15px 20px rgba(0,0,0,0.3);
            box-shadow: 1px 0px #aaa, 1px 2px 1px #aaa, 2px 1px 1px #aaa, 1px 2px 1px #aaa, 3px 2px 1px #aaa, 2px 3px 1px #aaa, 4px 3px 1px #aaa, -5px -5px 20px 0px rgba(255,255,255,0.15), 7px 7px 4px rgba(0,0,0,0.3), 15px 15px 20px rgba(0,0,0,0.3);
    padding: 0;
    height: 248px;
    width: auto;
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 max-content;
            flex: 0 0 max-content;
}

.magazine_img:after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.01) 3.5%, rgba(255, 255, 255, 0.1) 3.5%, rgba(255, 255, 255, 0.03) 10%, rgba(255, 255, 255, 0.1) 30%, rgba(0, 0, 0, 0.05) 100%);
    background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.08)), color-stop(3.5%, rgba(0, 0, 0, 0.01)), color-stop(3.5%, rgba(255, 255, 255, 0.1)), color-stop(10%, rgba(255, 255, 255, 0.03)), color-stop(30%, rgba(255, 255, 255, 0.1)), to(rgba(0, 0, 0, 0.05)));
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.01) 3.5%, rgba(255, 255, 255, 0.1) 3.5%, rgba(255, 255, 255, 0.03) 10%, rgba(255, 255, 255, 0.1) 30%, rgba(0, 0, 0, 0.05) 100%);
}

.magazine_img img {
    position: relative;
    overflow: hidden;
    height: 100%;
    width: auto;
    max-width: 100%;
    display: block;
    margin: auto;
    -o-object-fit: cover;
    object-fit: cover;
}

.modal-cross {
    display: block;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    padding: 7px 0px 7px 20px;
    cursor: pointer;
    margin-left: auto;
}

form#buyAuthorised {
    width: 100%;
}

.modal-tabs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -ms-flex-item-align: end;
        align-self: flex-end;
}

.tab-button {
    position: relative;
    padding: 15px 25px;
    background: #eae9e9;
    border: none;
    border-radius: 12px 12px 0 0;
    cursor: pointer;
    /* transition: background 0.3s ease; */
    cursor: pointer;
    z-index: 1;
    color: #1B1B1B;
}

.tab-button.active {
    background: #ffffff;
    border-bottom: none;
    z-index: 2;
}

.tab-button:after{
    content:"";
    position: absolute;
    height: 60%;
    border-right: 1px solid #c4c4c4;
    right: -1px;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
}
.tab-button:before{
    content:"";
    position: absolute;
    height: 60%;
    border-right: 1px solid #c4c4c4;
    left: -1px;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
}

.tab-button.active:after{
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 10H10C4.47715 10 0 5.52285 0 0V10Z" fill="white"/></svg>');
    width: 10px;
    height: 10px;
    right: -10px;
    border-right: none;
    bottom: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: unset;
    -webkit-transform: unset;
        -ms-transform: unset;
            transform: unset;
}
.tab-button.active:before{
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M10 10H0C5.52285 10 10 5.52285 10 0V10Z" fill="white"/></svg>');
    width: 10px;
    height:10px;
    left: -10px;
    bottom: 0;
    border-right: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: unset;
    -webkit-transform: unset;
        -ms-transform: unset;
            transform: unset;
}

.modal_info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    max-height: calc(100% - 58px);
    overflow-y: auto;
    padding: 30px 35px;
}

.modal_title {
    width: 100%;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
    font-size: 22px;
    font-family: 'Bodoni';
    letter-spacing: 0;
    font-weight: 700;
    line-height: 20px;
    margin-bottom: 25px;
    color: #1B1B1B;
}

.modal_info_magazine {
    width: 50%;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
            flex: 0 0 50%;
}

.modal_magazine_wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: #F4F4F4;
    padding: 15px 15px 20px;
}

.modal_magazine_text {
    margin-left: 20px;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
}

.tab-content {
    width: 50%;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
            flex: 0 0 50%;
    padding-left: 30px;
}

.modal_magazine_mounth {
    margin-bottom: 5px;
}

.modal_magazine_mounth span {
    color: #717070;
    text-transform: capitalize;
}

.modal_magazine_number {
    margin-bottom: 5px;
}

.modal_magazine_number span {
    color: #1B1B1B;
    font-size: 18px;
    font-family: 'Bodoni';
    letter-spacing: 0;
    font-weight: 700;
    line-height: 16px;
}

.modal_magazine_title span {
    color: #1B1B1B;
    font-size: 22px;
    font-family: 'Bodoni';
    letter-spacing: 0;
    font-weight: 700;
    line-height: 20px;
}

.form_item label.label, .form_item span.label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
    display: block;
}

.form_magazine input {
    background: rgb(217 217 217 / 30%);
    border: 1px solid #1B1B1B;
    color: rgb(27 27 27);
    font-family: 'Merriweather', serif;
    font-size: 16px;
    padding: 16px 15px;
    height: 48px;
}

.form_magazine .form_item {
    margin-bottom: 15px;
}

.form_magazine .choose_offer_wrapper {
    margin-top: 0;
}

.form_magazine button {
    background: #C5242A;
    outline: none;
    color: #fff;
    border: none;
    padding: 14px 25px;
    display: block;
    width: 100%;
    cursor: pointer;
    margin-top: 20px;
}

.form_magazine button span {
    color: #fff;
}

label.radio_magazine {
    display: block;
}

label.radio_magazine:not(:last-child){
    margin-bottom: 10px;
}

label.radio_magazine input.input-subscribe {
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    opacity: 0;
    visibility: hidden;
}

label.radio_magazine .radio_item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: #f4f4f4;
    border: 1px solid #C6C6C6;
    position: relative;
}

label.radio_magazine input.input-subscribe:checked~.radio_item {
    border: 1px solid #1B1B1B;
}

label.radio_magazine input.input-subscribe ~ .radio_item:after {
    content: "";
    position: absolute;
    display: block;
    width: 22px;
    height: 22px;
    background-color: #fff;
    border-radius: 50%;
    top: -11px;
    right: -11px;
    opacity: 0;
    -webkit-transform: scale(0);
        -ms-transform: scale(0);
            transform: scale(0);
    -webkit-transition: 0.25s ease;
    -o-transition: 0.25s ease;
    transition: 0.25s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' fill='%23FFFFFF' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Cpolyline points='216 72.005 104 184 48 128.005' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

label.radio_magazine input.input-subscribe:checked ~ .radio_item:after {
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);
    opacity: 1;
    background-color: #1B1B1B;
}

label.radio_magazine .radio_item .radio_price {
    width: 124px;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 114px;
            flex: 0 0 114px;
    font-size: 18px;
    font-weight: 600;
    padding: 10px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

label.radio_magazine .radio_item .radio_price:after {
    content: "";
    position: absolute;
    height: calc(100% - 30px);
    border-right: 1px solid #C6C6C6;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
}

label.radio_magazine .radio_item .radio_info {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    padding: 15px 10px;
}

.radio_method_payment {
    margin-bottom: 5px;
}

.radio_method_payment img {
    height: 24px;
    width: auto;
    display: block;
}

.radio_desc {
    font-size: 14px;
    line-height: 18px;
}

/* модальное окно с ошибкой */
.modal#errorModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    z-index: 9999;
}
.modal#errorModal .modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    -webkit-box-shadow: 0 2px 10px rgb(30 30 30 / 90%);
            box-shadow: 0 2px 10px rgb(30 30 30 / 90%);
    text-align: center;
    height: auto;
    width: 450px;
    max-width: 90%;
}
.modal#errorModal .modal-content p {
    text-align: center;
    margin-bottom: 0;
}
.modal#errorModal #closeModal {
    margin-top: 10px;
    padding: 10px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100px;
}
.modal#errorModal #closeModal:hover {
    background-color: #0056b3;
}

.message_error {
    color: #d11a1a;
    margin-bottom: 5px;
}

.form_item input.error_input {
    border-color: #c5242a;
}

@media (max-width:1399px){
    .modal_inner {
        width: 85%;
    }
}

@media (max-width:1199px){

    .catalog_wrapper {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 30% auto;
        grid-template-columns: 30% auto;
        width: 100%;
    }

    .magazine_info_wrapper, body .catalog_wrapper .news-list, .catalog_wrapper a.styler.show-more-button.js-show-more-button {
        margin-left: 20px;
    }

    .modal_inner {
        width: 95%;
    }

    .modal_header {
        padding: 12px 20px 0;
    }

    .modal_info {
        padding: 25px 20px;
    }

    .tab-content {
        padding-left: 20px;
    }
}

@media (max-width:1024px){
    .modal_magazine_wrapper .magazine_img {
        height: 168px;
    }
}

@media (max-width:991px){

    .magazine_info_wrapper {
        -webkit-box-ordinal-group: 1;
            -ms-flex-order: 0;
                order: 0;
        margin-left: 0;
    }
    
    .magazine_wrapper {
        -webkit-box-ordinal-group: 2;
            -ms-flex-order: 1;
                order: 1;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }
    
    body .catalog_wrapper .news-list {
        -webkit-box-ordinal-group: 2;
            -ms-flex-order: 1;
                order: 1;
        margin-left: 0;
        margin-top: 30px;
    }

    .catalog_wrapper a.styler.show-more-button.js-show-more-button {
        -webkit-box-ordinal-group: 2;
            -ms-flex-order: 1;
                order: 1;
        margin-left: 0px;
        width: 100%;
    }
    
    .choose_offer_wrapper {
        margin-top: 0;
    }

    .catalog_wrapper {
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    
    .magazine_wrapper {
        width: 100%;
        -webkit-box-flex: 0;
            -ms-flex: 0 0 100%;
                flex: 0 0 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        position: relative;
        top: 0;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }

    .btn_wrapper {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 350px;
                flex: 0 0 350px;
        margin-left: 30px;
        margin-top: 0;
    }
    
    .catalog_wrapper .magazine_img {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 max-content;
                flex: 0 0 max-content;
    }
    
    .catalog_wrapper .form_magazine {
        padding-left: 40px;
    }


    .modal_info_magazine {
        width: 100%;
        -webkit-box-flex: 0;
            -ms-flex: 0 100%;
                flex: 0 100%;
    }
    
    .tab-content {
        padding-left: 0;
        width: 100%;
        -webkit-box-flex: 0;
            -ms-flex: 0 0 100%;
                flex: 0 0 100%;
        margin-top: 20px;
    }
    
    .modal_inner {
        max-height: 870px;
        height: 90%;
    }
    .modal_autorized_pdf .modal_inner {
        width: 70%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .modal_autorized_pdf .modal_inner {
        width: 95%;
        height: auto;
    }
}

@media (max-width: 699px) {
    .magazine_wrapper {
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }
    
    .catalog_wrapper .magazine_img {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 auto;
                flex: 0 0 auto;
    }
    
    .catalog_wrapper .form_magazine {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 100%;
                flex: 0 0 100%;
        padding-left: 0;
        margin-top: 30px;
    }

    .btn_wrapper {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 100%;
                flex: 0 0 100%;
        margin-left: 0px;
        margin-top: 20px;
    }
}