/* TOP NAV */

.top-nav {
  background: #e4e1d9;
/*   background-image: -webkit-gradient(linear, to bottom, to top, color-stop(0%, #3298c8), color-stop(100%, #2e8cb8));
  background-image: -webkit-linear-gradient(to bottom, #3298c8, #2e8cb8);
  background-image: -moz-linear-gradient(to bottom, #3298c8, #2e8cb8);
  background-image: -o-linear-gradient(to bottom, #3298c8, #2e8cb8);
  background-image: linear-gradient(to bottom, #3298c8, #2e8cb8);
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  border-radius: 8px;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
 */
  text-align: center;
  display: none;
  line-height: 1.0;
 }

.top-nav:after {
  clear: both;
  content: "\00a0";
  display: block;
  height: 0;
  font: 0px/0 serif;
  overflow: hidden;
}

.nav-brand {
  float: left;
  margin: 0;
}

.nav-brand a {
  display: block;
  padding: 10px 10px 10px 20px;
  color: #55565a;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: normal;
  line-height: 29px;
  text-decoration: none;
}

#top-menu {
  clear: both;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

@media (min-width: 768px) {
  #top-menu {
/*     float: right; */
    clear: none;
  }
}


/* Mobile menu top separator */

#top-menu:before {
  content: '';
  display: block;
  height: 1px;
  font: 1px/1px sans-serif;
  overflow: hidden;
  background: #e4e1d9;
}

@media (min-width: 768px) {
  #top-menu:before {
    display: none;
  }
}


/* Mobile menu toggle button */

.top-menu-btn {
  float: left;
  margin: 10px;
  position: relative;
  display: inline-block;
  width: 29px;
  height: 29px;
  text-indent: 29px;
  white-space: nowrap;
  /*overflow: hidden;*/
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/* hamburger icon */

.top-menu-btn-icon,
.top-menu-btn-icon:before,
.top-menu-btn-icon:after {
  position: absolute;
  top: 50%;
  left: 2px;
  height: 2px;
  width: 24px;
  background: #55565a;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}

.top-menu-btn-icon:before {
  content: '';
  top: -7px;
  left: 0;
}

.top-menu-btn-icon:after {
  content: '';
  top: 7px;
  left: 0;
}

/* menu text */
.top-menu-btn-text {
    line-height: 2em;
    padding-left: 10px;
}

/* x icon */

#top-menu-state:checked ~ .top-menu-btn .top-menu-btn-icon {
  height: 0;
  background: transparent;
}

#top-menu-state:checked ~ .top-menu-btn .top-menu-btn-icon:before {
  top: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#top-menu-state:checked ~ .top-menu-btn .top-menu-btn-icon:after {
  top: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* hide menu state checkbox (keep it visible to screen readers) */

#top-menu-state {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}


/* hide the menu in mobile view */

#top-menu-state:not(:checked) ~ #top-menu {
  display: none;
}

#top-menu-state:checked ~ #top-menu {
  display: block;
}

@media (min-width: 768px) {
  /* hide the button in desktop view */
  .top-menu-btn {
    position: absolute;
    top: -99999px;
  }
  /* always show the menu in desktop view */
  #top-menu-state:not(:checked) ~ #top-menu {
    display: inline-block;
  }
  

  }
}



/* END TOP NAV */



/* LEFT NAV MOBILE */

.left-nav-mobile {
  background: #e4e1d9;
/*   background-image: -webkit-gradient(linear, to bottom, to top, color-stop(0%, #3298c8), color-stop(100%, #2e8cb8));
  background-image: -webkit-linear-gradient(to bottom, #3298c8, #2e8cb8);
  background-image: -moz-linear-gradient(to bottom, #3298c8, #2e8cb8);
  background-image: -o-linear-gradient(to bottom, #3298c8, #2e8cb8);
  background-image: linear-gradient(to bottom, #3298c8, #2e8cb8);
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  border-radius: 8px;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
 */
  text-align: center;
 }

.left-nav-mobile:after {
  clear: both;
  content: "\00a0";
  display: block;
  height: 0;
  font: 0px/0 serif;
  overflow: hidden;
}

#left-menu-mobile {
  clear: both;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

@media (min-width: 768px) {
  #left-menu-mobile {
/*     float: right; */
    clear: none;
  }
}


/* Mobile menu top separator */

#left-menu-mobile:before {
  content: '';
  display: block;
  height: 1px;
  font: 1px/1px sans-serif;
  overflow: hidden;
  background: #e4e1d9;
}

@media (min-width: 768px) {
  #left-menu-mobile:before {
    display: none;
  }
}


/* Mobile menu toggle button */

.left-menu-mobile-btn {
  float: left;
  margin: 10px;
  position: relative;
  display: inline-block;
  width: 29px;
  height: 29px;
  text-indent: 29px;
  white-space: nowrap;
  /*overflow: hidden;*/
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/* hamburger icon */

.left-menu-mobile-btn-icon,
.left-menu-mobile-btn-icon:before,
.left-menu-mobile-btn-icon:after {
  position: absolute;
  top: 50%;
  left: 2px;
  height: 2px;
  width: 24px;
  background: #55565a;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}

.left-menu-mobile-btn-icon:before {
  content: '';
  top: -7px;
  left: 0;
}

.left-menu-mobile-btn-icon:after {
  content: '';
  top: 7px;
  left: 0;
}

/* menu text */
.left-menu-mobile-btn-text {
    line-height: 2em;
    padding-left: 10px;
}

/* x icon */

#left-menu-mobile-state:checked ~ .left-menu-mobile-btn .left-menu-mobile-btn-icon {
  height: 0;
  background: transparent;
}

#left-menu-mobile-state:checked ~ .left-menu-mobile-btn .left-menu-mobile-btn-icon:before {
  top: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#left-menu-mobile-state:checked ~ .left-menu-mobile-btn .left-menu-mobile-btn-icon:after {
  top: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* hide menu state checkbox (keep it visible to screen readers) */

#left-menu-mobile-state {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}


/* hide the menu in mobile view */

#left-menu-mobile-state:not(:checked) ~ #left-menu-mobile {
  display: none;
}

#left-menu-mobile-state:checked ~ #left-menu-mobile {
  display: block;
}

@media (min-width: 768px) {
  /* hide the button in desktop view */
  .left-menu-mobile-btn {
    position: absolute;
    top: -99999px;
  }
  /* always show the menu in desktop view */
  #left-menu-mobile-state:not(:checked) ~ #left-menu-mobile {
    display: inline-block;
  }
  
  .top-nav {
    display: block;
  }

  }

