/* adjust body when menu is open */
body.slide-active {
    overflow-x: hidden
}
/*first child of #page-content so it doesn't shift around*/
.no-margin-top {
    margin-top: 0px!important
}
/*wrap the entire page content but not nav inside this div if not a fixed top, don't add any top padding */
#page-content {
    position: relative;
    padding-top: 70px;
    left: 0;
}
#page-content.slide-active {
    padding-top: 0
}



/* put toggle bars on the left :: not using button */
#slide-nav .navbar-toggle {
    cursor: pointer;
    position: relative;
    line-height: 0;
    float: left;
    margin: 0;
    width: 40px;
    height: 50px;
    padding: 15px 0 0 0;
    border: 0;
    background: transparent;
}
/* icon bar prettyup - optional */
#slide-nav .navbar-toggle > .icon-bar {
    width: 100%;
    display: block;
    height: 3px;
    margin: 8px 0 0 0;
}
#slide-nav .navbar-toggle.slide-active .icon-bar {
    background: #71634b
}
.navbar-header {
    position: relative
}
/* un fix the navbar when active so that all the menu items are accessible */
.navbar.navbar-fixed-top.slide-active {
    position: fixed
}
/* screw writing importants and shit, just stick it in max width since these classes are not shared between sizes */

@media screen and (max-width:767px) { 
    .slide-active #slide-nav #slidemenu.slide-active {
        max-width: 80%;
        width: 80%;
    }    
    #slide-nav .navbar.slide-active {
        width: 80%;
        /* -max-width: 80%;*/
    }
    #navbar-height-col {
        width: 80%;
        left: -80%;
    }
    .slide-active .img-responsive.logo-mobile {
        left: -80px;
    }
    #slide-nav .navbar-header.slide-active {
        margin-left: 0;
    }    
}

@media screen and (max-width:991px) { 
    #slide-nav .container {
        margin: 0!important;
        padding: 0!important;
        height:100%;
    }
    #slide-nav .navbar-header {
        margin: 0 auto;
        padding: 0 15px;
    }
    #slide-nav .navbar-header.slide-active {
        margin-left: 0;
    }
    #slide-nav .navbar.slide-active {
        position: absolute;
        width: 51%;
        top: -1px;
        z-index: 1000;
    }
    #slide-nav #slidemenu.slide-active {
        /* max-width: 51%; */
        width: 51%;
    }
    #slide-nav #slidemenu {
        background: rgba(112, 99, 76, 1);
        left: -100%;
        width: 80%;
        min-width: 0;
        position: fixed;
        padding-left: 0;
        z-index: 26;
        top: 0px;
        bottom:0px;
        margin: 0;
        overflow-y:auto; overflow-x:hidden;
    }
    #slide-nav #slidemenu .navbar-nav {
        min-width: 0;
        width: 100%;
        margin: 0;
    }
    #slide-nav #slidemenu .navbar-nav .dropdown-menu li a {
        min-width: 0;
        white-space: normal;
    }
    #slide-nav {
        border-top: 0
    }
    #slide-nav.navbar-inverse #slidemenu {
        background: #333
    }
    /* this is behind the navigation but the navigation is not inside it so that the navigation is accessible and scrolls*/
    #navbar-height-col {
        position: fixed;
        top: 0px;
        height: 100%;
        bottom:0;
        width: 51%;
        left: -51%;
        /*background: rgba(112, 99, 76, .84); */
    }
    #navbar-height-col.inverse {
        background: #333;
        z-index: 1;
        border: 0;
    }
    #slide-nav .navbar-form {
        width: 100%;
        margin: 8px 0;
        text-align: center;
        overflow: hidden;
        /*fast clearfixer*/
    }
    #slide-nav .navbar-form .form-control {
        text-align: center
    }
    #slide-nav .navbar-form .btn {
        width: 100%
    }
}


@media screen and (min-width:992px) { 
    #page-content {
        left: 0!important
    }
    .navbar.navbar-fixed-top.slide-active {
        position: fixed
    }
    .navbar-header {
        left: 0!important
    }
}