@media (max-width: 1240px) and (min-width: 1025px) {
    .home-cell {
        max-width: 100px;
    }

    .container,
    [class*="col-"] {
        padding: 0 30px;
    }

    .row {
        margin: 0 -30px;
    }

    .container,
    .section-centered-content {
        width: 100%;
    }

    .slide .owl-carousel .owl-dots {
        width: auto;
        left: 30px;
        margin: 0;
    }

    footer ul li a {
        padding: 0 10px;
        font-size: 12px;
    }
}

@media (max-width: 1024px) and (min-width: 940px) {
    .home-cell {
        max-width: 100px;
    }

    .container,
    [class*="col-"] {
        padding: 0 20px;
    }

    .row {
        margin: 0 -20px;
    }

    .container,
    .section-centered-content {
        width: 100%;
    }

    .slide .owl-carousel .owl-dots {
        width: auto;
        left: 20px;
        margin: 0;
    }

    footer {
        height: 249px;
    }

    footer ul li a {
        padding: 10px 20px;
        font-size: 14px;
        display: block;
        padding-left: 0;
        padding-right: 40px;
    }

    .footer-wrapper {
        text-align: left;
    }
}

@media (max-width: 939px) and (min-width: 768px) {
    .home-cell {
        max-width: 100px;
    }

    .container,
    [class*="col-"] {
        padding: 0 20px;
    }

    header nav ul.main-menu li {
        margin: 0;
    }

    header nav ul.main-menu li.user-menu {
        margin-left: 17px;
        margin-top: 0;
    }

    .row {
        margin: 0 -20px;
    }

    .container,
    .section-centered-content {
        width: 100%;
    }

    header .logo a img {
        width: 253px;
        margin-top: 3px;
    }

    .slide .owl-carousel .owl-dots {
        width: auto;
        left: 20px;
        margin: 0;
    }

    header nav ul.main-menu li a {
        padding: 35px 6px;
    }

    footer {
        height: 249px;
    }

    footer ul li a {
        padding: 10px 20px;
        font-size: 14px;
        display: block;
    }

    .footer-wrapper {
        text-align: center;
    }
}

@media (max-width: 767px) and (min-width: 280px) {
    @keyframes fadeinSection {
        0% {
            visibility: hidden;
            opacity: 0;
            transition: visibility .5s, opacity 1s linear;
        }
        100% {
            visibility: visible;
            opacity: 1;
            transition: visibility .5s, opacity 1s linear;
        }
    }
    @keyframes fadeoutSection {
        0% {
            visibility: visible;
            opacity: 1;
            transition: visibility .5s, opacity 1s linear;
        }
        100% {
            visibility: hidden;
            opacity: 0;
            transition: visibility .5s, opacity 1s linear;
        }
    }

    body {
        font-size: 13px;
        font-family: Avenir-Medium;
        line-height: 18px;
    }

    .keep-in-touch-wrapper {
        background: rgb(224, 242, 255);
    }

    .footer-wrapper .estimate {
        height: 65px;
    }

    .desktop-hidden {
        display: block;
    }

    .home-cell {
        max-width: 100px;
    }

    header {
        height: 65px;
    }

    header .logo {
        float: none;
        text-align: center;
    }

    header .logo a {
        text-align: center;
        padding: 22px 0 23px;
        display: inline-block;

    }

    header .logo a img {
        width: 257px;
        height: auto;
        margin-right: -10px;
    }

    .mobile-nav-button {
        display: block;
        width: 15px;
        height: 16px;
        position: absolute;
        top: 23px;
        left: 22px;
    }

    .mobile-nav-button span {
        display: block;
        height: 4px;
        background: #000;
    }

    .mobile-nav-button span + span {
        margin-top: 2px;
    }

    .denim-navigator {
        display: none;
        background: #e0f2ff;
        position: fixed;
        top: 65px;
        bottom: 0;
        left: 0;
        right: 0;
    }

    header nav ul.main-menu {
        float: none;
        padding: 35px 22px;
    }

    header nav ul.main-menu li,
    header nav ul.main-menu li.user-menu {
        display: block;
        margin: 0;
        float: none;
    }

    header nav ul.main-menu li a,
    header nav ul.main-menu li.user-menu a {
        padding: 13px 0;
        font-size: 13px;
        display: block;
    }

    header nav ul.main-menu li a.selected:before {
        height: 0;
    }

    header nav ul.main-menu li a {
        border-top: 2px solid #000;
    }

    header nav ul.main-menu li:last-child a {
        border-bottom: 2px solid #000;
    }

    .container,
    [class*="col-"] {
        padding: 0 22px;
    }

    .row {
        margin: 0 -22px;
    }

    .container,
    .section-centered-content {
        width: 100%;
    }

    .step-carousel.owl-carousel {
        position: static;
    }

    .slide .owl-carousel .owl-dots,
    .step-carousel.owl-carousel .owl-dots {
        width: auto;
        left: 22px;
        margin: 0;
        bottom: 100px;
    }

    footer ul li a {
        padding: 10px 20px;
        font-size: 14px;
        display: block;
    }

    footer ul li.footer-social {
        display: inline-block;
        margin-bottom: 15px;
    }

    footer ul li.footer-social + .footer-social {
        margin-left: 25px;
    }

    li.footer-social:first-child {
        width: auto;
    }

    footer ul li {
        display: block;
    }

    footer ul li a {
        padding: 0;
        font-size: 13px;
        line-height: 43px;
    }

    footer ul li a.social {
        margin: 0;
        background-size: cover;
        background-repeat: no-repeat;
    }

    footer ul li a.social.facebook {
        background-image: url("../../dist/icons/facebook-white.png");
        background-position: center center;
        height: 27px;
        width: 13px;
    }

    footer ul li a.social.twitter {
        background-image: url("../../dist/icons/twitter-white.png");
        background-position: center center;
        height: 27px;
        width: 38px;
    }

    footer ul li a.social.instagram {
        background-image: url("../../dist/icons/instagram-white.png");
        background-position: center center;
        height: 27px;
        width: 27px;
        background-size: cover
    }

    footer ul li a.social.pinsterest {
        background-image: url("../../dist/icons/pinterest-white.png");
        background-position: center center;
        height: 27px;
        width: 22px;
        background-size: cover;
    }

    .footer-logo {
        display: none;
    }

    .mobile-hidden {
        display: none;
        visibility: hidden;
    }

    .show-mobile {
        display: block;
    }

    footer {
        height: auto;
        padding: 42px 0;
    }

    .footer-wrapper {
        padding-top: 65px;
    }
}

@media (max-width: 360px) and (min-width: 280px) {
    header .logo a img {
        width: 198px;
        height: 12px;
    }

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

    .mobile-nav-button {
        top: 23px;
    }
}

/* ----------- 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) {
    footer {
        padding: 32px 0;
    }

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

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

    .footer-wrapper {
        padding-top: 65px;
    }

    .footer-wrapper .estimate {
        position: absolute;
    }

    .keep-in-touch-content .keep-close {
        top: 43px;
        right: 20px;
    }

    .keep-in-touch-content {
        margin-top: 110px
    }
}

@media screen and (device-aspect-ratio: 375/667) {
    .keep-in-touch-content {
        margin-top: 110px
    }
}