/*==========  Desktop First Method  ==========*/

@media only screen and (max-width: 1400px) {}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1199px) {
    .footer-contacts .social-media-block {
        justify-content: flex-end;
    }
    .footer-contacts {
        flex-direction: column;
    }
    .works-slider-row .swiper-button-next {
        right: 0;
    }
    .works-slider-row .swiper-button-prev {
        left: 0;
    }
    .hero-form-block {
        margin-right: auto;
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 991px) {
    .ladder-item {
        margin-bottom: 50px;
    }
    .section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    header {
        height: 64px;
    }

    header .header-logo>img {
        width: 80px;
    }

    #content {
        margin-top: 64px;
    }

    .work-steps-section .step-item h5 {
        font-size: 20px;
    }

    .work-steps-section .step-item-img {
        margin-bottom: 20px;
    }

    .work-steps-section .step-item .step-item-img>img {
        width: 150px;
        height: 150px;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 767px) {
    .section-404 p br {
        display: none;
    }
    footer {
        text-align: center;
    }
    .footer-contacts {
        align-items: center;
    }
    .footer-slogan-text {
        margin-top: 20px;
    }
    .footer-contacts .social-media-block {
        margin-top: 10px;
    }
    .hero-section h1, .hero-section .subtitle {
        text-align: center;
    }
    .hero-form-block {
        max-width: 400px;
        margin-top: 50px;
    }
    .hero-section {
        background-image: url('/images/hero-section-bg-med.webp');
    }
    .section-title {
        margin-bottom: 50px;
    }
    .work-steps-section .step-item-wrapper {
        margin-bottom: 75px;
        position: relative;
    }

    .work-steps-section .step-item-wrapper:not(:last-child) .step-item-img::after {
        content: none;
    }

    .work-steps-section .step-item-wrapper:not(:last-child)::after {
        position: absolute;
        content: '';
        background-image: url('/images/arrow-down.svg');
        background-repeat: no-repeat;
        background-size: cover;
        width: 50px;
        height: 50px;
        left: 50%;
        transform: translateX(-50%);
    }

}

@media only screen and (max-width: 575px) {
    .hero-section {
             background-image: url('/images/hero-bg-mobile.webp');
             background-position: top center 100px;
    }
    .mobile-phone {
        display: flex;
    }
    .slogan-section .slogan-text {
        font-size: 24px;
    }
    .slogan-section .slogan-small {
        font-size: 18px;
    }
    .map-section iframe {
        height: 260px;
    }
    h5 {
        font-size: 20px !important;
    }
    .hero-section h1 {
        font-size: 30px;
        margin-bottom: 40px;
    }
    .hero-section .subtitle {
        font: 20px;
    }
    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px !important;
    }

    .materials-section .material-item p,
    .ladder-types-section .ladder-item p {
        font-size: 18px;
    }
}


/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {}

@media only screen and (max-width : 400px) {}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {}


@media only screen and (min-width : 576px) {}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
    .address-text {
	text-align: right;
}
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {}

@media only screen and (min-width : 1400px) {}

@media (min-width: 767px) and (max-width : 991px) {}