/*Mobile nav styling - shouts out to USER:Christina on Stackoverflow*/

/* 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: 50px;
    left: 0;
}
#page-content.slide-active {
    padding-top: 0
}

.mobile-backtotop{
  float: right;
  color: #fff;
  cursor: pointer;
}

.mobile-backtotop:hover{
  color: #fff;
  text-decoration: none;
}

.mobile-backtotop img{
  height: 50px;
}

.navbar-inverse{
  background-color: ##6c6b6b;
  border-color: #cacfb8;
}

.navbar-inverse .navbar-nav > .active > a{
  background-color: ##6c6b6b !important;
}

.navbar-inverse .navbar-nav > li > a{
  color: #fff;
  text-decoration: none;
}

.navbar-inverse .navbar-nav > li > a:hover{
  color: #fff;
  text-decoration: none;
}

/* 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;
    background: #fff;
}
#slide-nav .navbar-toggle.slide-active .icon-bar {
    background: #1a4e83;
}
.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
}
/* screw writing importants and shit, just stick it in max width since these classes are not shared between sizes */
@media (max-width:767px) {
  .contain-to-grid{
    margin-top: 50px;
  }

  .top-bar .button{
    display: none;
  }
	#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;
	}
	#slide-nav #slidemenu {
	    background: #f7f7f7;
	    left: -100%;
	    width: 80%;
	    min-width: 0;
	    position: absolute;
	    padding-left: 0;
	    z-index: 2;
	    top: -8px;
	    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;
	}
	#slide-nav {
	    border-top: 0
	}
	#slide-nav.navbar-inverse #slidemenu {
	    background: #1a4e83;
	}
  .top-bar{
    padding: 3px 0 25px 0;
  }
	/* 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: #1a4e83;
	    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 (min-width:768px) {
	#page-content {
		padding-top: 0px;
	    left: 0!important
	}
	.navbar.navbar-fixed-top.slide-active {
	    position: fixed
	}
	.navbar-header {
	    left: 0!important;
	}
	#slide-nav{
		display: none;
		height: 0px;
	}
}

#navigation.slide-active{
	margin: 0px !important;
}

#navigation .fixed.slide-active{
	position: static;
}

/* Uncomment for non-bootstrap sites
.container{
  width: auto !important;
} */

.nav > li {
  position: relative;
  display: block;
  cursor: pointer;
  padding: 5px 0px;
}

.nav > li > a {
  position: relative;
  display: block;
  padding: 10px 15px;
  font-size: 30px;
}

.navbar-brand {
  float: left;
  height: 50px;
  padding: 15px 15px;
  font-size: 18px;
  line-height: 20px;
  color: #fff;
}

.navbar-nav > li > a {
  padding-top: 6px;
  padding-bottom: 6px;
  line-height: 30px;
}

.navbar-inverse {
  background-color: #6c6b6b;
  border-color: #000;
}
.navbar-fixed-top {
  top: 0;
  border-width: 0 0 1px;
}
.navbar-fixed-top, .navbar-fixed-bottom {
  position: fixed !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 1030;
}
.navbar {
  position: relative;
  min-height: 50px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-color: #000;
}
.navbar-header {
  position: relative;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
