@media screen and (max-width: 1200px) {
    #home-intro .overlay-excavator {
        top: -80px;
    }
    #call-to-action {
        font-size: 20px;
    }
    #top-three .whitebox {
        min-height: auto;
    }
    #top-three p:last-of-type {
        margin: 0 0 20px !important;
        padding: 0 30px 20px !important;
    }
}
@media screen and (max-width: 992px) {
    #home-intro .overlay-excavator {
        display: none;
    }
    .navbar-header {
        float: none;
        width: 100% !important;
        text-align: center;
    }
    #header-primary .navbar-brand {
        height: auto;
        display: inline-block;
        float: none;
    }
    .navbar-collapse.collapse {
        text-align: center;
    }
    .navbar-right {
        float: none !important;
        display: inline-block;
    }
    #header-primary .nav > li> a {
        line-height: 50px;
        padding-bottom: 10px;
    }
    #home-intro .btn {
        position: relative;
        bottom: 0;
        margin-top: 20px;
    }
    #call-to-action * {
        text-align: center;
    }
    #call-to-action {
        font-size: 16px;
    }
    #call-to-action .btn {
        margin-top: 20px;
    }
    #testimonial .block,
    #testimonial blockquote {
        height: auto;
    }
    #testimonial blockquote {
        padding: 30px 30px 0 120px;
    }
    #testimonial cite:before {
        display: none;
    }
    #testimonial cite {
        display: block;
        height: auto;
        padding: 15px 30px;
        margin-top: 20px;
    }
    #testimonial cite * {
        display: inline-block;
    }
    #testimonial cite .name {
        color: #b7814f;
        font-size: 22px;
        font-style: normal;
    }
    #testimonial cite a {
        display: none;
    }
    
}
@media screen and (max-width: 767px) {
    .navbar-header {
        text-align: left;
    }
    .navbar-collapse.collapse {
        text-align: left;
    }
    #header-primary .navbar-brand {
        padding: 15px;
        width: 270px;
    }
    #header-primary .navbar-nav {
        float: none !important;
        display: block;
        width: 100%;
        margin: 0;
    }
    #header-primary .nav > li> a {
        line-height: 50px;
        padding-bottom: 0;
    }
    #footer .col-sm-4 {
        display: none;
    }
    #footer .text-right {
        text-align: center;
    }
    #footer ul > li > a {
        font-size: 16px;
        margin: 0px 8px;
        line-height: 30px;
    }
}
@media screen and (max-width: 580px) {
    .btn-lg {
        padding: 10px 30px;
        font-size: 18px;
    }
    #home-header small {
        display: block;
        font-size: 37px;
    }
    #home-header span {
        display: block;
        font-size: 56px;
    }
    #call-to-action {
        font-size: 16px;
        text-align: center;
    }
    #call-to-action .text-right {
        text-align: center !important;
    }
    #call-to-action .btn {
        margin-top: 20px;
    }
}


@media screen and (max-width: 480px) {
    
    #home-header small {
        display: block;
        font-size: 26px;
    }
    #home-header span {
        display: block;
        font-size: 40px;
    }
    #header-primary .navbar-toggle {
        max-height: 88px;
    }
    #testimonial .block {
        background-image: none;
    }
    #testimonial blockquote {
        padding: 30px 30px 0;
    }
    #contact-us h1 {
        font-size: 42px;
        text-align: center;
        margin-bottom: 30px;
    }
    #contact-us h1 small {
        font-size: 20px;
        text-align: center;
    }
    #contact-us .col-md-8 p {
        color: #fff;
        font-size: 18px;
        font-weight: 300;
    }
    #contact-us .col-md-8 strong {
        display: Block;
        width: 100%;
        text-align: center;
    }
    #contact-us .col-md-8 a {
        color: #fff;
        font-size: 22px;
        text-align: center;
        display: block;
    }
}