
.clearfix:after {
    display:block;
    clear:both;
}
 
/*----- Menu Outline -----*/
.menu-wrap {
	/* How much of the window it will take up */
    width:100%;
	top: 0px;
	text-align: center;
	background:#303030;
    box-shadow:0px 5px 5px rgba(0,0,0,0.2);
	position: fixed;
	z-index: 1;
}
 
.menu {
	/* overall width of the menu */
    width:100%;
	margin:-20px;
}
 
.menu li {
    margin:0px 0px 0px 0px;
    list-style:none;
    font-family:'Arial';
}
 
.menu a {
    transition:all linear 0.15s;
	/* color of the heading and menu words */
    color:#9e9e9e;
	text-decoration:none;
}
 
.menu li:hover > a, .menu .current-item > a {
    text-decoration:underline;
	/* green color */
	color:#33cc00;
	font-size:18px;
	border: 3px color #000000;
}

/* Added these two so hover works properly */
.menu li ul {
    display: none;
}
.menu li:hover ul {
    display: inline-table;
}
 
.menu .arrow {
    font-size:10px;
    line-height:0%;
}
 
/*----- Top Level -----*/
.menu > ul > li {
    float:center;
    display:inline-block;
    position:relative;
    font-size:18px;
}
 
.menu > ul > li > a {
	float:left;
	/* top right bottom left */
    padding:15px 15px 15px 15px;
    display:list-item;
    text-shadow:0px 1px 0px rgba(0,0,0,0.4);
}
 
.menu > ul > li:hover > a, .menu > ul > .current-item > a {
	/* background behind heading names */
	background:#585858; 
}
 
/*----- Bottom Level -----*/
.menu li:hover .sub-menu {
    z-index:1;
    opacity:1;
}
 
.sub-menu {
	/* width was a percent before, width of submenu */
    width:400px;
    padding:10px 30px;
    position:absolute;
    top:100%;
    left:0px;
    z-index:-1;
    opacity:0;
    transition:opacity linear 0.15s;
	background:#585858; /* medium grey */
}
 
.sub-menu li {
	/* spacing between lines, beside */
	text-align:left; 
	padding:5px 5px;
    display:block;
    font-size:14px;
	}
	.desc {
		display:inline;
		font-size:12px;
		color:#ffffff;
	}
}
 
.sub-menu li a {
    padding:5px 5px;
    display:block;
	float: left;
}
 
.sub-menu li a:hover, .sub-menu .current-item a {
    /* background hover color */
	background:#585858;
}
/* Add code so top menu bar doesn't hide text */
@media only screen and (max-width: 1100px) { 
  .menu-wrap { 
    display: none; 
  } 
  .footer {
	display: none;
  }
  #footer {
	display: none;
  }
  #leftnavigation {
	top : 0px;
  }
  #content {
	top: 0px;
  }
}
@media(max-width: 500px) { 
  .menu-wrap { 
    display: none; 
  } 
  .footer {
	display: none;
  }
  #footer {
	display: none;
  }
  #leftnavigation {
	display: none;
  }
  #content {
	top: 0px;
	margin: 0 0 0 0;
  }
}
