/* Navigation Menu - Background */
.sidebar {
  /* critical sizing and position styles */
  width: 100%;
  height:100%;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  overflow-y:auto;
  /* non-critical appearance styles */
  list-style: none;
  margin-top:6em;
 }

@media (min-width: 1024px) {
.sidebar {
  display: none;
 }
}

/* Navigation Menu - List items */
.sidebar-item {
  /* non-critical appearance styles */
  width: 300px;
  font-weight: 500;
}

.sidebar-item a {
  /* non-critical appearance styles */
  clear: left;
  display: block;
  color: #000000;
  font-size: 1.6em;
  text-decoration: none;
  font-weight: 300;
}

.sidebar-item-small {
  /* non-critical appearance styles */
  float:none;
}


.sidebar-item-small a {
  /* non-critical appearance styles */
  float:left;
  color: #333333;
  font-size: 1.2em;
  text-decoration: none;
}

.sidebar-item-small-sub a  {
  /* non-critical appearance styles */
  float:left;
  color: #EEEEEE;
  font-size: 0.9em;
  text-decoration: none;
}

.sidebar-item a:hover,
.sidebar-item-small a :hover {
  color: #EEEEEE;
  
}

/* Site Wrapper - Everything that isn't sidebar */
.site-wrap {
  /* Critical position and size styles */
  min-height: 100%;
  min-width: 100%;
/*  background-color: white; /* Needs a background or else the nav will show through */
  position: relative;
  top: 0;
  bottom: 100%;
  left: 0;
  z-index: 1;
}

/* Nav Trigger */
.nav-trigger {
  /* critical styles - hide the checkbox input */
  position: absolute;
  clip: rect(0, 0, 0, 0);
}


label[for="nav-trigger"] {
  /* critical positioning styles */
  position: fixed;
  top: 5px;
  z-index: 955;
  /* non-critical apperance styles */
  height: 50px;
  width: 360px;
  repeat-x: no-repeat;
  cursor: pointer;
  padding-bottom: 10px;
  background-image: url("../img/logo_mobile.png");
  /*background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' x='0px' y='0px' width='30px' height='30px' viewBox='0 0 30 30' enable-background='new 0 0 30 30' xml:space='preserve'><rect width='30' height='6'/><rect y='24' width='30' height='8'/><rect y='12' width='30' height='6'/></svg>");
  background-size: contain;*/
}

@media (min-width: 1024px) {
label[for="nav-trigger"] {
	display:none;
	}
}


/* Make the Magic Happen */
.nav-trigger + label, .site-wrap {
  transition: left 2s;
}

.nav-trigger:checked + label {
  left: 1px;
}

.nav-trigger:checked ~ .site-wrap {
  left: 90%;
}

body {
    /* Without this, the body has excess horizontal scroll when the menu is open */
  overflow-x: hidden;
}
 