html, body {
  height: 100%;
}

body {
  position: relative;
  margin: 0 auto;
  overflow-y: hidden;
}

header a, header a:visited {
	color: #FFF;
}

header {
  color: #fff;
  background-color: #005a9b;
  overflow: hidden;
  height: 50px;
}

header h1 {
  font-weight: normal;
  margin: 0;
  padding: 0 20px;
  position: relative;
  transition: all 0.3s ease-out;
}

.sidebar, .main {
  transition: all 0.3s ease-out;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  position: absolute;
  bottom: 0;
  height: Calc(100vh - 80px);
  top: 50px;
}

.main img { max-width: 100%; }

.sidebar {
  width: 260px;
  background-color: #f5f5f5;
  left: 0;
  padding: 4px;
}

footer {
	position: absolute;
	bottom: 0;
	width: 100%;
}

.sidebar a { color: #005a9b; }

.main {
  background-color: #FFF;
  position: absolute;
  left: 260px;
  right: 0;
  padding: 20px;
}

.toggle-menu {
  color: #ccc;
  text-decoration: none;
  float: left;
  display: block;
  position: absolute;
  left: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}
.toggle-menu:hover {
  color: #fff;
}
.toggle-menu:before {
  height: 50px;
  width: 50px;
  display: block;
  text-align: center;
  line-height: 50px;
  font-size: 24px;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #444;
}
nav ul li {
  padding: 20px;
  color: #ccc;
  background-color: #333;
  margin-bottom: 1px;
  border-left: 10px solid transparent;
}
nav ul li.active {
  border-color: #e35205;
}

.help-header { font-weight: bold; }

ul li {
	line-height:1.5em;
	list-style:disc;
}
ol li {
	line-height:2em;
	list-style: decimal;
}
img {
	border: 1px solid #999;
	padding: 3px;
	border-radius: 5px;
}
#helpContainer {
	width: 100%;
	height: 100%;
	overflow: hidden;
	padding: 0;
	margin: 0;
}
#helpContainerContentNav {
	position: absolute;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 3.2em;
	overflow: hidden;
}
#helpContent {
	position: absolute;
	top: 0px;
	left: 224px;
	right: 0px;
	bottom: 0px;
	overflow-y: scroll;
	padding: 10px;
}
#helpNav {
	padding: 10px;
	position: absolute;
}
#helpNav p {
	line-height: 1.5em;
}
#helpNavContainer {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 200px;
	bottom: 0px;
	overflow-y: scroll;
}
#footer {
	z-index: 10000;
	position: absolute;
	bottom: 0;
	height: 3em;
	text-align: center;
	width: 100%;
}
#hideNavImg, #showNavImg {
	cursor: pointer;
	border: none;
}
.bold {
	font-weight: bold;	
}

@media all and (max-width: 1024px) {
  .sidebar.toggled {
    left: 0;
    z-index: 10;
    box-shadow: 3px 1px 10px rgba(0, 0, 0, 0.4);
  }
  .sidebar.toggled + .main {
    overflow: hidden;
  }

  .sidebar {
    left: -260px;
  }

  .main {
    left: 0;
  }

  .toggle-menu {
    z-index: 1;
    opacity: 1;
  }

  h1 {
    left: 40px;
  }
}
