body {
  font-family: "Lato", sans-serif;
  max-width:1000px;
   margin: auto;
   background: #ebebe0;
}
.main {
  margin-left: 180px; /* Same as the width of the sidenav */
  font-size: 18px; /* Increased text to enable scrolling */
  padding: 15px 10px 0px;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 16px;}
}

#nav {
	list-style: none inside;
	margin: 0;
	padding: 0;
	text-align: center;

}

#nav li {
	display: block;
	position: relative;
	float: left;
	background: #24af15;
	/* menu background color */
	font-family: "Lato", sans-serif;
	font-size: 14pt;
	text-align: left;
	padding-left:5px;
}

#nav li a {
	display: block;
	padding: 0;
	text-decoration: none;
	width: 195px;
	/* this is the width of the menu items */
	line-height: 35px;
	/* this is the hieght of the menu items */
	color: #ffffff;
	/* list item font color */
}

#nav li li a {
	font-size: 80%;
}

/* smaller font size for sub menu items */

#nav li:hover {
	background: #003f2f;
}

/* highlights current hovered list item and the parent list items when hovering over sub menues */

#nav ul {
	position: absolute;
	padding: 0;
	left: 0;
	display: none;
	/* hides sublists */
}

#nav li:hover ul ul {
	display: none;
}

/* hides sub-sublists */

#nav li:hover ul {
	display: block;
}

/* shows sublist on hover */

#nav li li:hover ul {
	display: block;
	/* shows sub-sublist on hover */
	margin-left: 195px;
	/* this should be the same width as the parent list item */
	margin-top: -35px;
	/* aligns top of sub menu with top of list item */
}

.sidenav {
  height: 100%;
  width: 180px;
  position: relative;
  z-index: 1;
  top: 2px;
  left: 10;
  background-color: #80dfff;
  overflow-x: hidden;
   padding-top: 20px;
  float:left;
}

.sidenav a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 20px;
  color: #818181;
  display: block;
}

.sidenav a:hover {
  color: #f1f1f1;
}