.clear {
	clear: both;
}
/***** Start of primary nav ******/
#menu-button {
	display: none;
}
nav.mobile {
	display: none;
}
nav.primary {
	padding: 0;
	display: block;
	width: 100%;
	position: relative;
	margin: 1em 0;
}
nav.primary ul {
	margin: 0;
	padding: 0;
	text-align: right;
}
nav.primary ul li {
	display: inline-block;
	margin: 0;
	list-style-type: none;
}
nav.primary ul li a {
	font-family: 'Open Sans', sans-serif;
	text-transform: uppercase;
	text-decoration: none;
	display: block;
	margin: 0;
	text-align: center;
    color: #000!important;
    font-weight: 600;
    font-size: 13.5px;
    padding: 0 9px;
    line-height: 22px;
    -webkit-transition: .3s all;
    transition: .3s all;
    -moz-transition: .3s all;
}
nav.primary ul li a:hover {color: #001933;}

/* Appearance of the sub-level links */
nav.primary ul li li a {
	padding: 5px 12px;
	text-align: left;
	background:#f1f1f1;
	border-bottom: #aaa solid 1px;
	line-height: 18px;
	color: #000;
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
    font-size: 13.5px;
}
/* Appearance of the sub-level links on hover */
nav.primary ul li li a:hover {
	color: #fff!important;
	background: #001933;
}
/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
	display: none;
	position: absolute;
	-moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
	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;
	line-height: 18px;
	z-index: 100;
}
nav.primary ul ul li {
	float: none;
	width: 222px;
	position: relative;
	margin: 0;
	display: block;
}
/******** Nav Resets ***************/
i.fas.fa-angle-down {
    padding-left: 3px;
    padding-top: 3px;
	display: none;
}
/* Hide the desktop menu item icons */
.primary li > i {
	display: none;
}
/* Position the mobile menu item icons */
.mobile li i {
	position: absolute;
	top: 13px;
}

/******** End of primary Nav ***************/
@media screen and (max-width: 1500px) {
	nav.primary ul li a, nav.primary ul li li a {font-size: 13px;}
}

@media screen and (max-width: 1400px) {
	nav.primary ul li a {padding: 0 7px; font-size: 12px;}
}

@media screen and (max-width: 1200px) {
	i.fas.fa-angle-down {display: block;}
	
	/*==============================
		Mobile Nav Styles			
	================================*/
	nav.primary {display: none;}
	#menu-button {
		width: auto;
		display: block;
		font-size: 24px;
		position: relative;
		line-height: 40px;
		z-index: 1000;
		/* needs to be lower than nav.mobile, adjust as needed */
		text-align: right;
		padding-top: 10px;
	}
	#menu-button a {
		color: #001933;
		text-align: left;
		font-weight: 600;
	}
	.menu-toggle span {
		font-size: 16px;
		font-weight: 700;
	}
	nav.mobile {
		display: block;
		position: fixed;
		text-align: left;
		top: 0;
		left: -260px;
		width: 260px;
		height: 100%;
		background: #001933;
		z-index: 1001;
		/* needs to be higher than #menu-button, adjust as needed */
		overflow: auto;
		box-shadow: 6px 0px 13px -5px rgb(0 0 0 / 35%);
	}
	/* MENU HEADER SOCIAL MEDIA */
	nav.mobile .social-media {
		position: relative;
		word-spacing: 10px;
		padding: 5px 15px;
	}
	.mobiletitle {
		padding-left: 20px;
		color: #001933;
		display: none;
	}
	/* MENU HEADER STYLES */
	nav.mobile .mobile_top {
		position: relative;
		display: block;
		padding: 0;
		margin: 40px 0 10px 0;
	}
	/* MENU CLOSE 'X' BUTTON */
	nav.mobile .menu-toggle {
		position: absolute;
		padding: 3px 8px;
		font-family: 'Open Sans', sans-serif;
		font-size: 24px;
		font-weight: bold;
		line-height: 1;
		background: #111;
		color: #aaa;
		top: -25px;
		right: 10px;
	}
	nav.mobile .menu-toggle:hover {
		color: #fff;
		background: none;
	}
	/* MENU LIST STYLE */
	nav.mobile ul {
		list-style: none;
		margin: 0;
		padding: 0;
	}
	nav.mobile ul li:first-child {
		border-top: .5px solid #3D5166;
	}
	nav.mobile ul li {
		border-bottom: .5px solid #3D5166;
		position: relative;
	}
	/* FIRST LEVEL */
	nav.mobile ul li a {
		position: relative;
		display: block;
		font-size: 15px;
		padding: 12px 15px;
		color: #fff;
		font-weight: 600;
	}
	nav.mobile ul li a:hover {
		background: #e02a2d;
		color: #fff;
	}
	/* SECOND LEVEL */
	nav.mobile ul li li:last-child {
		border: none;
	}
	nav.mobile ul li li a {
		position: relative;
		display: block;
		padding: 10px 20px;
		color:#fff;
		font-size: 14px;
		background: #0051a3;
	}
	/* THIRD LEVEL */
	nav.mobile ul li li li:last-child {
		border: none;
	}
	nav.mobile ul li li li a {
		position: relative;
		display: block;
		padding: 10px 25px;
		color: #fff;
		background: #aaa;
	}
	/* FOURTH LEVEL */
	nav.mobile ul li li li li a {
		position: relative;
		display: block;
		padding: 10px 30px;
		color: #fff;
	}
	nav.mobile ul li .click i {
		position:absolute;
		cursor:pointer;
		z-index: 12399994;
		right:18px;
		top: 15px;
	}
	.nav-footer {
		color: #dedede;
		position: relative;
		text-align: center;
		font-size: 12px;
		line-height: 16px;
		padding: 15px;
	}
	/* FONT AWESOME ICONS */
	nav.mobile ul li a .fa {
		width: 25px;
		font-weight: 100;
		padding: 8px 3px;
		margin: 0 6px 0 0;
		text-align: center;
		background: #292929;
		-webkit-border-radius: 30px;
		-moz-border-radius: 30px;
		border-radius: 30px;
	}
}

@media screen and (max-width: 1080px) {
	#menu-button {text-align: left; padding-top: 0;}
	.list{display: none;}
}

@media screen and (max-width: 500px) {
}
