@media (max-width: 1000px) {
    #wrapper {
        min-width: 240px;
    }
    .container {
        width: 95%;
    }
    header {
        height: auto;
    }
    header .container {
        padding-right: 0;
        width: 95%;
    }
    header .logo {
        height: 45px;
        background-position: center bottom;
    }
    header #brand {
        display: none;
    }
    header #header-contact {
        display: none;
    }
    header nav {
        float: none;
        clear: left;
        
    }
    
    header nav > ul > li {
        float: none;
        padding-left: 0;
        text-align: center;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    header nav > ul > li > a {
        display: block;
    }
    header nav > ul > li > a.active {
        background: #d40b00;
        color: #fff;
    }
    
    
    
    footer .logo {
        float: none;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0;
        height: 45px;
        background-position: center bottom;
    }
    footer nav {
        padding-top: 10px;
        padding-bottom: 10px;
        height: auto;
    }
    footer nav > ul > li {
        float: none;
        padding-left: 0;
        text-align: center;
    }
    footer nav > ul > li:before {
        display: none;
    }
    footer #copyright {
        text-align: center;
    }
    footer #author {
        text-align: center;
    }
    
    section#content {
        padding-bottom: 25px;
    }
    
    .container.container-contact-form {
        width: 100%;
    }
    #contact-form {
        margin-top: 0;
        width: auto;
        background: #810800;
        float: none;
    }
    #contact-form .form-button {
        text-align: center;
    }
    .contact-column {
        width: 50%;
    }
    .contact-column:nth-child(2n) {
        clear: left;
    }
    #index {
        height: 305px;
    }
    #index-left,
    #index-right {
        height: 216px;
    }
    
    #index-left .index-heading-1,
    #index-left .index-heading-2,
    #index-left .index-content,
    #index-left .index-btn {
        padding-right: 15px;
        padding-left: 5px;
    }
    #index-right .index-heading-1,
    #index-right .index-heading-2,
    #index-right .index-content,
    #index-right .index-btn {
        padding-right: 5px;
        padding-left: 15px;
    }
    .index-heading-1 {
        font-size: 15px;
        line-height: 15px;
        padding-top: 15px;
    }
    .index-heading-2 {
        font-size: 22px;
        line-height: 22px;
        text-transform: uppercase    
    }
    .index-content {
        padding-top: 10px;
        height: 65px;
    }
    .index-btn {
        padding-top: 20px;
    }
    
    #index-heading {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    #index-heading h1 {
        font-size: 32px;
    }
    #index-heading h2 {
        font-size: 20px;
    }
}
@media(max-width: 400px) {
    #index-left, #index-right {
        float: none;
        width: auto;
    }
}
@media(max-width: 600px) {
    .contact-column {
        width: auto;
        float: none;
        margin-bottom: 0;
    }
    .heading-photo {
        background-size: cover;
        height: 132px;
    }
}


@media(max-width: 1000px) {
    header nav > ul {
        display: none;
    }
    
    header nav.open > ul {
        display: block
    }
    
    #nav-trigger {
        display: block;
        height: 30px;
        width: 32px;
        position: absolute;
        top: 25px;
        right: 5px;
    }
    #nav-trigger i:before {
        background: inherit;
        content: "";
        display: block;
        height: inherit;
        left: inherit;
        position: inherit;
        top: -9px;
        transform-origin: 50% 50% 0;
        transition: all 0.4s ease 0s;
        width: inherit;
        border-radius: inherit;
    }
    #nav-trigger i:after {
        background: inherit;
        content: "";
        display: block;
        height: inherit;
        left: inherit;
        position: inherit;
        top: 9px;
        transform-origin: 50% 50% 0;
        transition: all 0.4s ease 0s;
        width: inherit;
        border-radius: inherit;
    }
    #nav-trigger i {
        background: none repeat scroll 0 0 #000000;
        display: block;
        height: 3px;
        left: 0;
        position: absolute;
        top: 14px;
        transition: all 0.4s ease 0s;
        width: 100%;
        border-radius: 2px;
    }
    .open #nav-trigger i:before {
        background: #000;
        left: 2px;
        opacity: 1;
        top: 0;
        transform: rotate3d(0, 0, 1, 45deg);
        width: 24px;
    }
    .open #nav-trigger i:after {
        background: #000;
        left: 2px;
        opacity: 1;
        top: 0;
        transform: rotate3d(0, 0, 1, -45deg);
        width: 24px;
    }
    .open #nav-trigger i {
        background-color: rgba(255, 255, 255, 0);
    }
}