/**
 * new media by oleg2106
 */

@media screen and (max-width:1024px) {
/* responsiable footer */
    .footer .copyrights {
        font-size: 11px;
    }
/* end of responsiable footer */

/* page content */
    .large-links--wrap {
        columns: 2;
    }
/* end page content */
}

@media screen and (min-width:769px) and (max-width:1024px) {
/* responsiable logo */
    .header {
        height: 310px;
        padding: 0 48px;
    }

    .header-wrap {
        padding: 13px 19px 0 13px;
    }

    .header-top {
        padding: 5px 25px 5px 25px;
    }

    .header .logo {
        max-width: 83px;
        margin: 26px 39px 24px 0;
    }

    .header-page-title {
        font-size: 20px;
        line-height: 24px;
    }

    .header-page-title.small {
        font-size: 16px;
        line-height: 24px;
    }

    .header-page-subtitle {
        font-size: 22px;
        line-height: 28px;
    }

    .lang {
        font-size: 16px;
    }
/* end of responsiable logo */

/* responsiable footer */
    .footer .map img {
        height: 165px;
    }
/* end of responsiable footer */
}

@media screen and (min-width:376px) and (max-width:768px) {
/* responsiable logo */
    .header {
        height: 235px;
        padding: 0 24px;
    }

    .header-wrap {
        padding: 17px 12px 0 12px;
    }

    .header-top {
        padding: 5px 10px 5px 34px;
    }

    .header .logo {
        max-width: 57px;
        margin: 20px 20px 17px 0;
    }

    .header-page-title {
        font-size: 15px;
        line-height: 20px;
    }

    .header-page-title.small {
        font-size: 12px;
        line-height: 20px;
    }

    .header-page-subtitle {
        font-size: 16px;
        line-height: 21px;
    }

    .lang {
        font-size: 16px;
    }
/* end of responsiable logo */

    /* breadcrumbs */
    .breadcrumbs li, .breadcrumbs li a {
        font-size: 12px;
    }

/* page content */
    .main-wrapper {
        margin-bottom: var(--gap-s);
    }

    .breadcrumbs-wrap {
        padding-top: 15px;
        padding-bottom: 25px;
        min-height: var(--gap-s);
    }

    .small-links--wrap {
        padding: var(--gap-s) 0;
    }

    .large-links--item, .nmu-description > div {
        margin-bottom: var(--gap-s);
    }

    .news-block.d-block {
        padding-top: var(--gap-s);
        padding-bottom: var(--gap-s);
    }

    .wrapper .news-wrap {
        display: grid;
        grid-template-columns: repeat(3, 30%);
        justify-content: space-between;
    }

    .news-title-wrap {
        margin-bottom: 12px;
    }
/* end page content */
}

@media screen and (min-width:376px) and (max-width:1024px) {
/* responsiable footer */
    .footer-content {
        column-gap: 32px;
    }

    .footer .info {
        font-size: 14px;
    }
/* end of responsiable footer */
}

@media screen and (max-width:576px) {
    .large-links--wrap {
        -webkit-columns: 1;
        -moz-columns: 1;
        columns: 1;
    }
}

@media screen and (max-width:375px) {
/* responsiable logo */
    .header {
        height: 130px;
        padding: 0 16px;
    }

    .header-wrap {
        padding: 9px 8px 0 8px;
    }

    .header-top {
        padding: 0 0 0 12px;
    }

    .header .logo {
        max-width: 50px;
        margin: 10px 10px 10px 0;
    }

    .header-page-title {
        font-size: 11px;
        line-height: 14px;
    }

    .header-page-title.small {
        font-size: 7px;
        line-height: 10px;
    }

    .header-page-subtitle {
        font-size: 8px;
        line-height: 12px;
    }

    .lang {
        font-size: 14px;
    }
/* end of responsiable logo */

    /* breadcrumbs */
    .breadcrumbs li, .breadcrumbs li a {
        font-size: 10px;
    }

    /* block about-ychrediteli */
    .small-links--wrap .small-links--list ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 66px;
    }

/* page content */
    .main-wrapper {
        margin-bottom: var(--gap-xs);
    }

    .breadcrumbs-wrap {
        padding-top: 0;
        min-height: 40px;
    }

    .small-links--wrap {
        padding: var(--gap-xs) 0;
    }

/*    .small-links--wrap .row > div:not(:last-of-type) {
        margin-bottom: var(--gap-xs);
    }*/

    .large-links--item, .nmu-description > div {
        margin-bottom: var(--gap-xs);
    }

    .news-block.d-block {
        padding-top: var(--gap-xs);
        padding-bottom: var(--gap-xs);
    }

    .wrapper .news-wrap {
        display: block;
    }

    .news-item-wrapper {
        margin-bottom: var(--gap-xs);
    }

    .news-title-wrap {
        margin-bottom: 12px;
    }
/* end page content */
}

@media screen and (max-width:768px) {
/* page structure */
    .main-section {
        width: 100%;
    }

    .main-wrapper {
        display: block;
    }

    .sidebar {
        border: none;
    }

/* page structure */

/* breadcrumbs */
    .breadcrumbs-wrap {
        padding-top: 11px;
        padding-bottom: 19px;
        min-height: var(--gap-s);
    }
/* end breadcrumbs */

/* page content */
    .news-block.d-block {
        background-color: #F0F5FA;
    }

    .news-block .news-date {
        font-size: 12px;
        font-weight: 700;
    }
/* end page content */

/* responsiable footer */
    .footer {
        padding: 50px 0 26px 0;
    }

    .footer-content {
        grid-template-columns: 1.5fr 1fr;
        grid-template-areas:
            "contacts_mccme contacts_nmu"
            "address contacts_books"
            "map map"
            "copyrights copyrights";
        row-gap: 30px;
        column-gap: 15px;
    }

    .footer .map {
        grid-area: map;
    }

    .footer .contacts_mccme {
        grid-area: contacts_mccme;
    }

    .footer .contacts_nmu {
        grid-area: contacts_nmu;
    }

    .footer .contacts_books {
        grid-area: contacts_books;
    }

    .footer .address {
        grid-area: address;
    }

    .footer .copyrights {
        grid-area: copyrights;
        justify-self: end;
    }

    .footer .main-info, .footer .additional-info {
        display: contents;
    }

    .footer .label, .footer .label strong {
        font-weight: 400;
    }

    .footer .info {
        font-weight: 300;
    }

    .footer .additional-info__item.address .label {
        color: inherit;
        font-weight: 300;
    }

    .footer .label, .footer .info {
        font-size: 12px;
        line-height: 16px;
    }
/* end of responsiable footer */
}

/**
 * For small screens we want to hide sub-links by default
 * Before it was implemented via js
 */
@media screen and (max-width:576px) {
    .checkout-step .tabs__wrap, .large-links--list {
        display: none;
    }

    .small-links--wrap .row :not(:last-child) .small-links--item {
        margin-bottom: var(--gap-s);
    }
}
