@media screen and (min-width: 992px) {
    .mobile {
        display: none;
    }

    .home .footer {
        margin-top: 8rem;
    }
}

@media screen and (max-width: 1199px) {
	.header {
	    padding: 0.9rem 0;
	}

    .header__logo {
        height: 5rem;
    }

    .imagelinks-item__content {
        color: #fff;
        background: var(--color-blue);
    }

    .imagelinks-item__icon {
        opacity: 1;
    }

    .footer-block__title {
        font-size: 1.8rem;
    }

}

@media screen and (max-width: 991px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

    .section {
        padding: 7.5rem 0;
    }

    .title,
    .main-title {
        font-size: 2.8rem;
    }

    .title-small {
        font-size: 2.1rem;
    }

    .top-panel__text {
        font-size: 1.3rem;
    }

    .new-product {
        width: 33rem;
        max-width: 80vw;
    }

    .gridblock__content {
        display: block;
    }

    .gridblock__btn {
        margin-top: 2rem;
    }

    .gridblock_2 .gridblock__pretitle,
    .gridblock_3 .pretitle {
        margin-bottom: 1.5rem;
    }

    .numbers__title {
        padding-top: 0;
    }

    .numbers__text {
        margin-bottom: 8rem;
    }

    .realizations-slider, .realizations-slider__item {
        height: 60rem;
    }

    .page-products__panel {
        margin-bottom: 0;
    }

    .page-products__cats-select {
        margin-top: 6rem;
        margin-bottom: 3rem;
    }

    .page-products__list {
        padding-top: 5rem;
    }

    .sidebar {
        display: none;
        margin-top: 5rem;
    }

    .poster {
        display: none;
    }

    .page-products__list,
    .page-products__list .product-list {
        justify-content: center;
    }

    .single-product__anchor {
        margin-bottom: 6rem;
    }

    .single-product__btn-wrap {
        justify-content: flex-start;
    }

    .numbers__text {
        padding-top: 5rem;
    }
}

@media screen and (max-width: 767px) {
    .top-panel__text {
        text-align: center;
    }

    .list-bar__btns {
        justify-content: unset;
        padding-top: 3rem;
    }

    .made-by {
        text-align: left;
    }


    .alternate-item:nth-child(n) .alternate-item__image-wrap, 
    .alternate-item_reverse:nth-child(n) .alternate-item__col:last-child {
        order: 1;
        margin-top: 4rem;
    }

    .alternate-item__image-wrap img {
        width: 100%;
    }

    .gridblocks {
        margin-bottom: -2.5rem;
    }

    .gridblock-flex {
        display: block;
    }

    .gridblock:nth-child(n),
    .gridblock:nth-child(n) .gridblock__inner {
        height: auto;
    }

    .gridblock:nth-child(n) {
        margin-bottom: 2.5rem;
    }

    .gridblock__inner {
        border-radius: unset;
    }

    .gridblock__content {
        width: 100%;
    }

    .history__list {
        padding-left: 2rem;
    }

    .history__list::after {
        left: 0;
    }

    .history-item::after {
        left: -2rem;
    }

    .history-item:nth-child(n) .history-item__image-col {
        order: 1;
    }

    .history-item:nth-child(n) .history-item__image-wrap {
        box-sizing: border-box;
        width: max-content;
        max-width: 100%;
        margin: 4rem auto 0;
        padding-top: 3rem;
        padding-left: 4rem;
    }

    .realizations-slider, .realizations-slider__item {
        height: 47rem;
    }

    .single-product__images {
        margin: 0 auto 4rem;
    }

    .numbers__text {
        padding-top: 4rem;
    }

    .single-fabricant .product-item {
        width: 50%;
    }

}

@media screen and (max-width: 575px) {
    body {
        font-size: 1.5rem;
    }

    .section {
        padding: 6rem 0;
    }

    .wrapper {
        padding: 0 1.5rem;
    }

    .title,
    .main-title {
        font-size: 2.4rem;
        line-height: 1.24;
    }

    .title-small {
        font-size: 1.8rem;
    }

    .top-panel {
        padding: 1.2rem 0;
    }

    .top-panel__text {
        font-size: 1.1rem;
    }

    .footer {
        text-align: center;
    }

    .footer-content {
        padding: 6rem 0 2rem;
    }

    .footer__logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer .socials {
        justify-content: center;
        margin: 0;
    }

    .footer .socials__item {
        font-size: 3rem;
        margin: 0 3rem;
    }

    .copyright-menu-wrap,
    .copyright-menu {
        display: block;
        line-height: 2;
    }

    .copyright-menu-wrap {
        margin-bottom: 3rem;
    }

    .copyright-menu li {
        display: block;
        margin: 0 auto;
    }

    .copyright-menu li::before {
        display: none;
    }

    .made-by {
        text-align: center;
    }

    .hero__content {
        height: 22rem;
    }

    .breadcrumbs {
        padding-top: 3rem;
    }


    .mainslider-item {
        min-height: 38rem;
    }

    .mainslider-item__content {
        padding: 2rem 1.5rem;
        width: 30rem;
    }

    .mainslider-item__pretitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .list-bar {
        margin-bottom: 6rem;
    }

    .alternate-item:not(:last-child) {
        margin-bottom: 5rem;
    }

    .imagelinks-item__image {
        height: 25.5rem;
    }

    .imagelinks-item__content {
        padding: 3rem;
        height: auto;
        line-height: 1;
    }

    .number {
        width: 50%;
        margin-bottom: 3rem;
    }

    .history-item:last-child {
        margin-bottom: 4rem;
    }

    .history-item__image-wrap::after {
        width: 18rem;
        height: 18rem;
    }

    .history-item__image {
        height: 20rem;
    }

    .fabricant {
        height: 28rem;
    }

    .form__field {
        margin-bottom: 2.5rem;
    }

    .form__input {
        padding-left: 3rem;
    }

    .page-contact__info-inner {
        padding: 0 3rem;
    }

    .page-contact__info-block {
        padding-left: 0;
        width: 100%;
    }

    .page-contact__block {
        margin-bottom: 3rem;
    }

    .crossrealizations__link-wrap {
        text-align: left;
        padding-top: 4rem;
    }

    .crossrealizations__list {
        padding-top: 6rem;
    }

    .realizations-slider, .realizations-slider__item {
        height: 36rem;
    }

    .banner__content {
        display: block;
        padding: 0;
    }

    .banner__image {
        width: 100%;
        height: auto;
        object-fit: unset;
        position: static;
    }

    .banner__block {
        padding: 3rem 1.5rem 0;
    }

    .single-fabricant .product-list {
        justify-content: center;
    }

    .single-product__image {
        height: 36rem;
    }

    .sidebar__content {
        padding: 4rem 2rem;
    }

    .number__number {
        font-size: 3.6rem;
    }

    .history__pretitle {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 375px) {

    .alternate-item__link {
        height: auto;
        padding: 1rem 1.5rem;
    }

    .realizations-list-mobile .realization {
        width: 26rem;
        height: 26rem;
    }

    .realizations-slider, .realizations-slider__item {
        height: 23rem;
    }

    .filter__clear_main {
        display: none;
    }

    .filter__clear_alt {
        display: block;
    }

    .wpcf7 .ajax-loader {
        position: absolute;
        right: 0;
        top: 0;
    }

    .form__submit {
        width: 100%;
    }

    .single-fabricant .product-item {
        width: 100%;
    }

}