@media (max-width: 767px) and (min-width: 280px) {
    .step-carousel.owl-carousel .owl-item img {
        width: auto;
        height: 65px;
    }

    body.home-page {
        height: 100vh;
        padding: 0;
        overflow: hidden;
    }

    .home-section .section-image {
        display: none;
    }

    .services-mobile {
        display: block;
    }

    .services-desktop {
        display: none;
    }

    section.home h1 {
        font-size: 23px;
        padding: 0;
        line-height: 27px;
        letter-spacing: .8px;
    }

    .section-centered-content p {
        line-height: 18px;
        font-size: 13px;
    }

    .section-centered-content h2 {
        font-size: 20px;
        line-height: 26px;
        padding: 25px 0;
        letter-spacing: .8px;
        padding-top: 0;
    }

    .home-step h2,
    .home-section-slide-first h2 {
        padding-top: 25px;
    }

    .home-section {
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        bottom: 65px;
        visibility: hidden;
        opacity: 0;
        transition: visibility, opacity, linear 400ms;
        overflow: hidden;
    }

    body.home-page .footer-wrapper {
        padding-top: 0;
        position: fixed;
        bottom: -428px;
        left: 0;
        right: 0;
        transition: bottom, linear 400ms;
    }

    body.home-page .footer-wrapper.footer-visible {
        bottom: 0;
    }

    body.home-page .footer-wrapper.footer-hidden {
        bottom: -428px;
    }

    body.home-page .footer-wrapper.fixed .estimate,
    body.home-page .footer-wrapper.absolute .estimate {
        position: relative;
    }

    body.home-page footer ul li a {
        line-height: 37px;
    }

    .home-section-bg,
    .home-table {
        min-height: calc(100vh - 130px);
    }

    .home-section.slide.slide2 .owl-carousel .owl-dots,
    .home-section.slide.slide1 .owl-carousel .owl-dots,
    .home-section.home-step .owl-carousel .owl-dots {
        bottom: 35px;
    }

    .home-section.section-visible {
        visibility: visible;
        opacity: 1;
    }

    .home-section.section-hidden {
        visibility: hidden;
        opacity: 0;
    }
}

/*@media screen and (device-aspect-ratio: 16/9) {*/
/*body {*/
/*overflow: hidden;*/
/*min-height: 0;*/
/*}*/

/*.home-section-bg,*/
/*.home-table {*/
/*min-height: calc(100vh - 200px);*/
/*}*/

/*.home-section.slide.slide2 .owl-carousel .owl-dots,*/
/*.home-section.slide.slide1 .owl-carousel .owl-dots,*/
/*.home-section.home-step .owl-carousel .owl-dots {*/
/*bottom: 35px;*/
/*}*/
/*}*/

@media screen and (device-aspect-ratio: 375/667) {
    .home-section-bg,
    .home-table {
        min-height: calc(100vh - 200px);
    }

    .home-section.slide.slide2 .owl-carousel .owl-dots,
    .home-section.slide.slide1 .owl-carousel .owl-dots,
    .home-section.home-step .owl-carousel .owl-dots {
        bottom: 15px;
    }
}

/* ----------- iPhone 5 and 5S ----------- */
/* Portrait */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px)
and (-webkit-device-pixel-ratio: 2) and (device-aspect-ratio: 40/71) and (orientation: portrait) {
    .home-section-bg,
    .home-table {
        min-height: calc(100vh - 200px);
    }

    .home-section.slide.slide1 .owl-carousel .owl-dots,
    .home-section.home-step .owl-carousel .owl-dots {
        bottom: 35px;
    }

    .home-section.slide.slide2 .home-table .home-cell {
        vertical-align: top;
        padding-top: 30px;
    }

    .home-section.slide.slide2 .owl-carousel .owl-dots {
        bottom: 10px;
    }
}

@media (max-width: 360px) and (min-width: 280px) {

    .section-centered-content h2 {
        font-size: 16px;
        line-height: 18px;
        padding-bottom: 10px;
    }

    .slide.slide2 .home-cell {
        vertical-align: top;
        padding-top: 90px;
    }

    .slide.slide2 .owl-carousel .owl-dots {
        margin-top: 0;
    }

    .step-carousel.owl-carousel .owl-dots {
        padding-left: 0;
    }

    .step-carousel.owl-theme .owl-nav.disabled + .owl-dots {
        margin: 0;
    }

    .home-section.slide.slide2 h2 {
        padding-top: 0;
        font-size: 18px;
        letter-spacing: .8px;
    }

    .section-centered-content p {
        line-height: 16px;
        font-size: 12px;
        padding-bottom: 10px;
    }

    .home-about .home-cell {
        vertical-align: middle;
    }
}
