

@import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url(https://fonts.googleapis.com/css?family=Bree+Serif);

.menu-toggle,
	[id^=drop] {
	display: none;
}
.hamburger {
    position: relative;
    display: inline-block;
    width: 1.25em;
    height: 0.8em;
    margin-right: 0.3em;
    border-top: 0.2em solid #fff;
    border-bottom: 0.2em solid #fff;
}
.hamburger:before {
    content: "";
    position: absolute;
    top: 0.3em;
    left: 0px;
    width: 100%;
    border-top: 0.2em solid #fff;
}

/* Giving a background-color to the nav container. */
nav { 
	line-height: 22px;
	margin:0;
	padding: 0;
	background-color: #2B547E;
	z-index: 90;
}

#logo {
	display: block;
	padding: 0 30px;
	float: left;
	font-size:20px;
	line-height: 60px;
}

/* Since we'll have the "ul li" "float:left"
 *  * we need to add a clear after the container. */

nav:after {
	content:"";
	display:table;
	clear:both;
	flex-direction: row;
}

/* Removing padding, margin and "list-style" from the "ul",
 *  * and adding "position:reltive" */
nav ul {
	float: left;
	padding:0;
	margin:0;
	list-style: none;
	position: relative;
	z-index:90;
}

/* Positioning the navigation items inline */
nav ul li {
	margin: 0px;
	display:inline-block;
	float: left;
	background-color: #2B547E;
}

/* Styling the links */
nav a {
	display:block;
	padding:3px 8px;
	color:#FFF;
	font-size:12px;
	text-decoration:none;
}
nav .menu-user {
	display:block;
	padding:2px 8px;
	color:orange;
	background: white;
	font-size:12px;
	text-decoration:none;
	text-align: left;
	border: 1px solid #2B547E;
}
nav .menu-info {
	display:block;
	padding:2px 8px; 
	color:orange;
	background: white;
	font-size:12px;
	text-decoration:none;
	text-align: center;
	border: 1px solid #2B547E;
}


nav ul li ul li:hover {
	background: gray;
}

/* Background color change on Hover */
nav a:hover { 
	background-color: gray;
}

/* Hide Dropdowns by Default
 *  * and giving it a position of absolute */
nav ul ul, nav ul ul ul {
	display: none;
	position: absolute; 
	/* has to be the same number as the "line-height" of "nav a" */
	top: 27px; 
}
/* Display Dropdowns on Hover */
nav ul > li:hover > ul {
	display:inherit;
}
nav ul {
	height:2px;
}
nav > ul {
	height:28px;
}

/* Fisrt Tier Dropdown */
nav ul ul li {
	width:220px;
	float:none;
	display:list-item;
	position: relative;
}

/* Second, Third and more Tiers 
 *  * We move the 2nd and 3rd etc tier dropdowns to the left
 *   * by the amount of the width of the first tier.
 *   */
nav ul ul ul li {
	position: relative;
	top:-27px;
	/* has to be the same number as the "width" of "nav ul ul li" */ 
	left:220px; 
}

/* Change ' +' in order to change the Dropdown symbol */
li > a:after {
	content:  ' +';
}
li > a:only-child:after {
	content: '';
}


/* Media Queries
 * --------------------------------------------- */

@media all and (max-width : 1180px) {
	.non-essential {
		display:none !important;
	}
	.header-img-div {
		float:left;
	}
}

@media all and (max-width : 950px) {
	body {
		padding-left: 10px !important;
	}
	#logo {
		display: none;
		padding: 0;
		width: 100%;
		text-align: center;
		float: none;
	}
	nav {
		margin: 0;
	}

	/* Hide the navigation menu by default */
	/* Also hide the  */
	.menu-toggle + a, .menu {
		display: none;
	}

	/* Stylinf the menu-toggle lable */
	.menu-toggle {
		display: block;
		background-color: #2B547E;
		padding:2px 20px;
		color:#FFF !important;
		font-size:12px !important;
		text-decoration:none;
		border:none;
	}

	.menu-toggle:hover {
		background-color: #000000;
	}

	/* Display Dropdown when clicked on Parent Lable */
	[id^=drop]:checked + ul {
		display: block;
	}

	/* Change menu item's width to 100% */
	nav ul li {
		display: block;
		width: 100%;
	}

	nav ul ul .menu-toggle, nav ul ul a {
		padding: 0 40px;
	}

	nav ul ul ul a {
		padding: 0 80px;
	}

	nav a:hover, nav ul ul ul a {
		background-color: #000000;
	}
	  
	nav ul li ul li .menu-toggle, nav ul ul a, nav ul ul ul a{
		padding:2px 20px;
		color:#FFF;
		font-size:12px; 
	}

	nav ul li ul li .menu-toggle, nav ul ul a {
		background-color: #212121; 
	}

	/* Hide Dropdowns by Default */
	nav ul ul {
		float: none;
		position:static;
		color: #ffffff;
		/* has to be the same number as the "line-height" of "nav a" */
	}
	/* Hide menus on hover */
	nav ul ul li:hover > ul, nav ul li:hover > ul {
		display: none;
	}

	/* Fisrt Tier Dropdown */
	nav ul ul li {
		display: block;
		width: 100%;
	}
	#ticker {
		display: none;
	}
	nav ul ul ul li {
		position: static;
		/* has to be the same number as the "width" of "nav ul ul li" */ 
	}

}

@media all and (max-width : 664px) {
	#header-img-row {
		display:none !important;
	}
	#menudiv {
		display:block;
	}
	#header-ctl-div {
		display:block;
		margin-top: 4px;
	}
	#contentdiv {
		top:40px;
	}
}

@media all and (max-width : 330px) {
	nav ul li {
		display:block;
		width: 94%;
	}

}
