.clear {
	clear: both;
}
/***** Start of primary nav ******/
#menu-button {
	display: none;
}
nav.mobile {
	display: none;
}
nav.primary {
	padding: 0;
	display: block;
	margin: 0;
	width: 100%;
	position: relative;
}
nav.primary ul {
	margin: 0;
	padding: 0;
	text-align: right;
}
nav.primary ul li {
	display: inline-block;
	margin: 0;
	list-style-type: none;
	transition: .2s ease-in;
}
.header-overlay nav.primary ul li a {
	color: #fff;
	text-shadow: 0 0 5px rgba(0,0,0,0.5);
}
.header-overlay nav.primary ul li li a {
	color: #fff;
	text-shadow: 0 0 5px rgba(0,0,0,0.0);
}
nav.primary ul li a {
	color: #000;
	font-size: clamp(12px, 1.2vw, 17px);
	font-family: "Roboto", sans-serif;
	text-transform: uppercase;
	text-decoration: none;
	padding: 10px 12px;
	display: block;
	margin: 0;
	text-align: center;
	transition: .2s ease-in;
	font-weight:500;
	white-space: nowrap;
	cursor: pointer;
	text-shadow: 0 0 0 rgba(0,0,0,0.0);
}
nav.primary ul li a:hover {
	opacity: 0.5;
}
nav.primary ul li:hover a {
	opacity: 0.5;
}
nav.primary ul li a i {
	margin-left: 5px;
}
/* Appearance of the sub-level links */
nav.primary ul li li a {
	text-align: left;
	background-color:#fff;
	color:#000!important;
	text-transform:none;
	text-shadow: 0 0 0 rgba(0,0,0,0.0);
}
/* Appearance of the sub-level links on hover */
nav.primary ul li li a:hover {
	opacity: 0.5!important;
}
/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
	display: none;
	position: absolute;
	background:#fff;
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
}
nav.primary ul ul ul {
	position: absolute;
	left: 100%;
	top: 0;
}
nav.primary ul li:hover>ul {
	display: block!important;
	z-index: 100;
}
nav.primary ul ul li {
	float: none;
	width: auto;
	min-width: 200px;
	position: relative;
	margin: 0;
	display: block;
}



/******** End of primary Nav ***************/

@media screen and (max-width: 1000px) {
	/*==============================
		Mobile Nav Styles			
	================================*/
	nav.primary {
		display: none;
	}
	#menu-button {
		display: block;
		margin-left: 10px;
	}
	#menu-button a {
		font-size:24px;
		color: #0a2737;
		padding:5px;
	}
	.header-overlay #menu-button a {
		color: #fff;
	}
	.menu-toggle span {
		font-size: 20px;
	}
	nav.mobile {
		display: block;
		position: fixed;
		text-align: left;
		top: 0;
		left: -250px;
		width: 250px;
		height: 100%;
		background: #061228;
		z-index: 1001;
		/* needs to be higher than #menu-button, adjust as needed */
		overflow: auto;
	}

	/* MENU HEADER STYLES */
	nav.mobile .mobile_top {
		position: relative;
		display: flex;
		justify-content: flex-end;
		padding:10px;
		box-sizing: border-box;
		width: 100%;
	}
	/* MENU CLOSE 'X' BUTTON */
	nav.mobile .menu-toggle {
		padding: 3px 8px 3px;
		font-family: Arial, sans-serif;
		font-size: 24px;
		font-weight: bold;
		line-height: 1;
		background: #222;
		color: #fff;
		text-decoration: none;
	}
	nav.mobile .menu-toggle:hover {
		/* Menu close button on hoveer */
		color: #fff;
	}
	/* MENU LIST STYLE */
	nav.mobile ul {
		list-style: none;
		font-weight: 300;
		margin: 0;
		padding: 0;
	}
	nav.mobile ul li {
		border-top: 1px solid rgba(255,255,255,0.5);
		border-bottom: 1px solid rgba(255,255,255,0.5);
		position: relative;
	}
	/* FIRST LEVEL */
	nav.mobile ul li a {
		font-family: "Roboto", sans-serif;
		position: relative;
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-size: 16px;
		font-weight: 600;
		padding: 16px 32px;
		color: #fff;
		text-decoration: none;
	}
	nav.mobile ul li a i {
		font-size: 12px;
	}
	nav.mobile ul li a:hover {
		opacity: 0.7;
	}
	/* SECOND LEVEL */
	nav.mobile ul li li:last-child {
		border: none;
	}
	nav.mobile ul li li a {
		font-weight: 400;
		position: relative;
		display: block;
		font-size: 16px;
		padding: 16px 32px 16px 40px;
	}
	/* THIRD LEVEL */
	nav.mobile ul li li li:last-child {
		border: none;
	}
	nav.mobile ul li li li a {
		padding: 16px 0px 16px 44px;
	}
	/* FOURTH LEVEL */
	nav.mobile ul li li li li:last-child {
		border: none;
	}
	nav.mobile ul li li li li a {
		padding: 16px 0px 16px 48px;
	}
	
}