@charset "utf-8";
/* CSS Document */

/* Navigation Menu - Background */
.navigation {
  /* critical sizing and position styles */
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  overflow: scroll;   /* JOSH ADDED */
  /*-webkit-overflow-scrolling: touch;*/
  
  /* non-critical appearance styles */
  list-style: none;
  background: #D1D1C6;
}

/* Navigation Menu - List items */
.nav-item {
  /* non-critical appearance styles */
  width: 200px;
  border-top: 1px solid #F8F8F8;
  border-bottom: 1px solid ##F8F8F8;
}

.nav-item a {
  /* non-critical appearance styles */
  display: block;
  padding: 1em;

  font-size: 1.2em;
  text-decoration: none;
  transition: color 0.2s, background 0.5s;
}

.nav-item a:hover {
	color: #0066CC;
	background-color: #D1D1C6;
	background-position: 0%;
}

/* Site Wrapper - Everything that isn't navigation */
.index-wrapper {
  /* 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;
  overflow: hidden;  /* ADDED BY CHRIS TO GET THE WRAPPER TO GO TO THE BOTTOM OF THE PAGE */
  
}

/* 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;
	left: 15px;
	top: 15px;
	z-index: 2;
	/* non-critical apperance styles */
  height: 30px;
	width: 30px;
	cursor: pointer;
	background-image: url(../images/sitewide-images/hamburger-white-30x30.png);
	background-size: contain;
}

/* Make the Magic Happen */
.nav-trigger + label, .index-wrapper {
  transition: left 0.2s;
}

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

.nav-trigger:checked ~ .index-wrapper {
  left: 200px;
  box-shadow: 0 0 5px 5px rgba(0,0,0,0.5);
}

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

/* Additional non-critical styles */

h1, h3, p {
  max-width: 600px;
  margin: 0 auto 1em;
}

code {
    padding: 2px;
    background: #ddd;
}
.nav-white-text {
	color: #FFF;
	font-size: 20px;
	font-weight: bold;
}

/* Micro reset */
*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;}
html, body { height: 100%; width: 100%; font-family: Helvetica, Arial, sans-serif; }

