/* 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 */
#wrapper.slide-active {
    padding-top: 0
}
#wrapper{
	position: relative;
    left: 0;
}

/*sub-menu*/

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}
/*end sub-menu*/
.dropdown-menu>li>a{
    padding: 5px;
    margin: 0 15px;
    border-bottom: 1px dotted #efefef;
}
.navbar-nav>li>a{
	color:#fff;
}
.navbar-toggle .icon-bar{
	background-color: #fff;
}
#nav{	
	height:56px;
	background: #84be40;
	border-bottom: 3px solid #215101;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-size: 14px;
}
#nav.fixed{
		position:fixed;
		top:0;
        left:0;
        width:100%;
		z-index:9999999999999;
        opacity:0.9;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
}
#navbar-height-col .close-menu{
    font-size: 15px;
    right: -26px;
    padding: 3px 7px;
    color: #fff;
    position: absolute;
    background: #5F6973;
    display:none;
}
#navbar-height-col .close-menu:hover{
    cursor:pointer;
}
.navbar-nav>li>a{
    text-transform:uppercase;
}
/* 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: 30px;
    height: 40px;
    padding: 10px 0 0 0;
    border: 0;
    background: transparent;
}
/* icon bar prettyup - optional */
#slide-nav .navbar-toggle > .icon-bar {
    width: 100%;
    display: block;
    height: 3px;
    margin: 5px 0 0 0;
}
#slide-nav .navbar-toggle.slide-active .icon-bar {
    background:#C8ED9D;
}
.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: relative
}
.navbar-nav>li>a {
   padding-top: 17px;
    padding-bottom: 17px;
}
@media (max-width:1200px)
{
    #nav{font-size:13px;}
    .navbar-nav>li>a{padding:17px 8px;}
}
@media (max-width:1000px)
{
    #nav{font-size:11px;}
    #content #content-left {
        background:none;
    }
}
@media (max-width:987px) {
    .container {
        width: 100%;
    }
}
@media (max-width:890px)
{
    .navbar-nav>li>a{padding:14px 5px;}
}
@media (max-width:830px)
{
    #nav{font-size:10px}
    .navbar-nav>li>a{padding:14px 4px;}
}
/* screw writing importants and shit, just stick it in max width since these classes are not shared between sizes */
@media (max-width:767px) { 
    .navbar-toggle {
        display: block;
    }
	#slide-nav .container {
	    margin: 0!important;
	    padding: 0!important;
      height:100%;
	}
	#slide-nav .navbar-header {
	    margin: 0 auto;
	    padding: 0 15px;
	}
	#slide-nav .navbar.slide-active {
	    position: absolute;
	    width: 80%;
	    top: -1px;
	    z-index: 1000;
	}
	.nav>li{
		border-bottom: 1px solid #23282e;        
	}
	#slide-nav #slidemenu {
	    background: #2e353d;
	    left: -100%;
	    width: 80%;
	    min-width: 0;
	    position: absolute;
	    padding-left: 0;
	    z-index: 4;
	    top: -120px;
	    margin: 0;
	}
	#slide-nav #slidemenu .navbar-nav {
	    min-width: 0;
	    width: 100%;
	    margin: 0;
	}
	#slide-nav #slidemenu .navbar-nav .dropdown-menu li a {
	    min-width: 0;
	    width: 80%;
	    white-space: normal;
		color:#fff;
	}
	.nav .open>a, .nav .open>a:focus, .nav .open>a:hover{
		background-color: #4f5b69;
	}
	.nav>li>a:hover,#slide-nav #slidemenu .navbar-nav .dropdown-menu li a:hover{
		background-color: #4f5b69;
	}	
	#slide-nav {
	    border-top: 0
	}
	#slide-nav.navbar-inverse #slidemenu {
	    background: #d6e5a2
	}
	/* 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: 0;
	    height: 100%;
      bottom:0;
	    width: 80%;
	    left: -80%;
	    background: #f7f7f7;
	}
	#navbar-height-col.inverse {
	    background: #2e353d;
	    z-index: 3;
	    border: 0;
	}
	.nav>li>a:focus, .nav>li>a:hover{
		background-color: #4f5b69;
	}	
    .navbar-nav>li {
    float: none;
    }    
}
@media (min-width:768px) {     
    .navbar-toggle {
        display: none;
    } 
    .nav>li>a:focus, .nav>li>a:hover,.nav .open>a, .nav .open>a:focus, .nav .open>a:hover{
        background-color:#215101;
    }
	#page-content {
	    left: 0!important
	}
	.navbar.navbar-fixed-top.slide-active {
	    position: fixed
	}
	.navbar-header {
	    left: 0!important
	}
	.navbar{
		border-radius:0;
		margin-bottom:0;
        border:none;
	}
	.navbar-nav>li:not(:last-child):after {
    content: '';
    position: absolute;
    top: 12px;
    right: 0;
    display: block;
    height: 30px;
    width: 1px;
    opacity: .15;
    background: rgba(0, 0, 0, 0.7);
    background: linear-gradient(to top, rgba(0, 0, 0, 0), #000000, rgba(0, 0, 0, 0));
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), #000000, rgba(0, 0, 0, 0));
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0), #000000, rgba(0, 0, 0, 0));
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0), #000000, rgba(0, 0, 0, 0));
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0), #000000, rgba(0, 0, 0, 0));
   }
}
