#menu_container {
	float:right;
}

#menu {
	list-style: none;
	padding:0px;
	margin:0px;
}

#menu .submenu{
	list-style: none;
	display:none;
}

#menu li {
    float: left;
    position: relative;
    padding:10px;
    cursor:hand;
}

#menu a {
    display: block;
    padding: 5px;
    color: #888;
    text-transform: uppercase;
    text-decoration: none;
}
#menu a:hover {
    color: #000;
}

#menu ul {
	margin:0px;
	padding:0px;
	top:30px;
    left: 0; /* Bring back on-screen when needed */
    background-color: #fff;
    list-style: none;
    position: absolute;
    z-index: 999999;
}
#menu ul li {
    cursor:hand;
    margin:1px;
    padding:10px;
    float: none;
}

#menu ul a {
    white-space: nowrap; /* Stop text wrapping and creating multi-line dropdown items */
    text-transform: capitalize;
    text-decoration: none;
}

#menu li:hover ul { /* Display the dropdown on hover */
	margin:0px;
	padding:0px;
	top:50px;
    left: 0; /* Bring back on-screen when needed */
    background-color: #ddd;
    display:inline;
}
#menu li:hover a { /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
    color: #000;
}
#menu li:hover ul a { /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
    text-transform: capitalize;
    text-decoration: none;
}

#menu li:hover ul li:hover { /* Here we define the most explicit hover states--what happens when you hover each individual link. */
    background-color: #999;
}

#mobile_menu_container {
	display:none;
}

#header_container {
	width:100%;
	margin:0px auto;
	height:53px;
}
 

@media only screen and (max-width: 840px) /* Mobile Phone */ {
	#header_container {
		width:100%;
		margin:0px auto;
	}

	#header_logo {
		width:100px;
		height:23.5px;
	}

	#menu_container {
		display:none;
	}

	#mobile_menu_container {
		display:inline;
		text-align: right;
		float:right;
		margin-right:-25px;
		width:250px;
	}

	#mobile_menu_button {
		display: block;
		padding: 5px;
		color: #888;
		text-transform: uppercase;
		text-decoration: none;
		padding:10px;
	}

	#mobile_menu {
		display: none;
		list-style: none;
		padding:0px;
		margin:0px;
		right:0px;
		float:left;
		position:absolute;
		z-index: 999999;

	}

	#mobile_menu .submenu{
		list-style: none;
		display:none;
	}

	#mobile_menu li {
		text-align: left;
		position: relative;
		padding:10px;
		cursor:hand;
		background-color:#ddd;
	}

	#mobile_menu a {
		display: block;
		padding: 5px;
		color: #888;
		text-transform: uppercase;
		text-decoration: none;
	}

}

/*---------- Nav Bar Elements ----------*/

.site-wide-banner {
	background-color: #ff0000;
	color: white;
	text-align: center;
	padding: 5px 0;
	font-size: 16px;
}

.site-wide-banner a {
	color: #fff;
	text-decoration: underline;
}
