@media (max-width: 1199px) {
    footer .span4 {
        margin-left: 30px !important;
    }
    .gallery .column {
        padding: 0 7px;
    }
}

/* Portrait tablet to landscape and desktop */
@media (max-width: 979px) {
    #slider, #slider > .background, #slider > .overlay, .map {
        height: 350px;
    }
    #slider .container {
        top: 87px;
        height: 175px;
    }
    #slider .heading {
        font-size: 32px;
        line-height: 32px;
        padding-top: 14px;
        padding-bottom: 36px;
    }
    #slider .heading strong {
        font-size: 72px;
        line-height: 72px;
        margin-bottom: 21px;
    }
    footer .span4, footer .span4:first-child {
        margin: 0 auto !important;
        float: none !important;
    }
}
 
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
    body {
        padding: 0;
    }
    h1 {
        font-size: 32px;
        line-height: 23px;
        margin: -1px 0 101px 0;
    }
    h1 .hexy {
        display: inline;
        padding: 0;
        width: auto;
        height: auto;
        background: transparent !important;
    }
    h2 {
        font-size: 20px;
        line-height: 11px;
        margin: 0 0 101px 0;
    }
    h3 {
        font-size: 22px;
        line-height: 16px;
        margin: -1px 0 101px 0;
    }
    h1 + h2 {
        margin-top: -66px;
    }
    #slider, #slider > .background, #slider > .overlay, .map {
        height: 250px;
    }
    #slider .container {
        top: 70px;
        height: 109px;
    }
    #slider .heading {
        font-size: 20px;
        line-height: 20px;
        padding-top: 8px;
        padding-bottom: 23px;
    }
    #slider .heading strong {
        font-size: 45px;
        line-height: 45px;
        margin-bottom: 13px;
    }
    #slider .bottom {
        height: 67px;
        bottom: -45px;
        padding-top: 11px;
        background-image: url('../img/slider-bottom-small.png');
        background-size: 212px 67px;
    }
    .button {
        width: 187px;
        height: 45px;
        font-size: 17px;
        line-height: 45px;
        background-image: url('../img/button-light-small.png');
        background-size: 187px 45px;
    }
    .button > .text, .button > .background {
        width: 187px;
        height: 45px;
    }
    .button-light > .background {
        background-image: url('../img/button-light-background-small.png');
        background-size: 187px 45px;
    }
    .button-dark {
        background-image: url('../img/button-dark-small.png');
        background-size: 187px 45px;
    }
    .button-dark > .background {
        background-image: url('../img/button-dark-background-small.png');
        background-size: 187px 45px;
    }
    .services .service {
        margin-bottom: 44px;
    }
    .gallery .column {
        float: none;
        display: inline-block;
        padding: 0 8px;
    }
    .testimonials h1 {
        margin-bottom: 30px;
    }
    input.text {
        display: block;
        width: 240px;
        height: 45px;
        padding: 0 20px 0 20px;
        margin: 0 auto 35px auto;
        font-size: 17px;
        background: url('../img/text-small.png');
        background-size: 280px 45px;
    }
    .subscribe .button {
        margin-left: 0;
    }
}
 
/* Landscape phones and down */
@media (max-width: 480px) {
    #slider, #slider > .background, #slider > .overlay, .map {
        height: 200px;
    }
    #slider .container {
        top: 56px;
        height: 82px;
    }
    #slider .heading {
        font-size: 15px;
        line-height: 15px;
        padding-top: 5px;
        padding-bottom: 18px;
    }
    #slider .heading strong {
        font-size: 28px;
        line-height: 28px;
        margin-bottom: 10px;
    }
}