.clear {
	clear: both;
}
/***** Start of primary nav ******/
#menu-button {
	display: none;
}
nav.mobile {
	display: none;
}
nav.primary {
	padding: 0;
	display: flex; flex-direction: row; justify-content: flex-end; align-items: stretch; 
	margin: 0;
	width: 100%;
	position: relative;
}
nav.primary ul {
	margin: 0;
	padding: 0;position: relative; 
	text-align: right;
	display: flex; flex-direction: row; justify-content: flex-end; align-items: stretch; 
}
nav.primary ul li {
	display: flex; flex-direction: row; align-items: stretch; 
	margin: 0; position: relative; 
	list-style-type: none;
}
nav.primary ul li a {
	color: #fff;position: relative; 
	font-family: 'fagun', sans-serif;
	line-height: 20px;
	text-decoration: none;
	padding: 10px 20px; min-height: 48px; 
	display: flex; justify-content: center; align-items: center; column-gap: 10px; 
	margin: 0; background: transparent; 
	text-align: center;
	-webkit-transition: .25s ease-in;
	-moz-transition: .25s ease-in;
	-o-transition: .25s ease-in;
	transition: .25s ease-in;
	font-weight: 500;border-radius: 0px!important; 
}
nav.primary ul li a:hover {
	color:#87a8cf;
}

nav.primary ul li.navbtnbtn a { margin-left: 10px; 
	position: relative; z-index: 3; padding: 10px 20px!important; min-height: 48px; 
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 10px; row-gap: 8px; 
	font-size: 16px; font-weight: 500; letter-spacing: .2px; background: #4474ab; color: #fff; 
	transition: .2s ease all; text-decoration: none; box-shadow: 0 2px 12px rgba(0, 0, 0, .3); 
}
nav.primary ul li.navbtnbtn a:hover { 
	background: #324a6b; color: #fff; transform: scale(1.05) rotate(-4.5deg); transition: .3s ease all; text-decoration: none; box-shadow: 0 2px 12px rgba(0, 0, 0, .5); 
}

/* Appearance of the sub-level links */
nav.primary ul li li a {
	font-size: 15px;
	line-height: 20px;
	padding: 5px 16px 5px 16px;
	text-align: right;justify-content: flex-end; 
	border-right: none;
	border-left: none; color: #fff;
	background:#324a6b;
	border-bottom: #202020 solid 1px;
	text-transform: uppercase;
	font-weight: 700;
}
nav.primary ul li li:last-child a { border-bottom: none; }
/* Appearance of the sub-level links on hover */
nav.primary ul li li a:hover {
	color: #fff; background: #4474ab; 
}
/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
	display: none;
	position: absolute; top: 100%; right: 0; left: unset; transform: none; 
	-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: 220px;
	position: relative;
	margin: 0;
	display: block;
}
/******** Nav Resets ***************/
i.fas.fa-angle-down {
    padding-left: 3px;
    padding-top: 3px;
}

@media only screen and (min-width: 1101px) {
	.mobile-only { display: none!important; }
}

/******** End of primary Nav ***************/
@media screen and (max-width: 1480px) {
	nav.primary ul li a {
		font-size: 15px;
	}
	nav.primary ul ul li {
		width: 240px;
	}
	nav.primary ul li li a {
		font-size: 13px;
	}
}
@media screen and (max-width: 1200px) {
	nav.primary ul li a {
		padding: 10px 5px;
		font-size: 14px;
	}
}
@media screen and (max-width: 1100px) {
	/*==============================
		Mobile Nav Styles			
	================================*/
	nav.primary {
		display: none;
	}
	#menu-button {
		display: flex; justify-content: flex-end; align-items: stretch; 
		font-size: 24px;
		position: relative;
		z-index: 1000;
		/* needs to be lower than nav.mobile, adjust as needed */
		text-align: right;
	}
	#menu-button a {
		color: #fff;
		text-decoration: none; padding: 0 24px; 
		display: flex; justify-content: flex-end; align-items: center; column-gap: 10px; 
		transition: .25s ease all; 
	}
	.menu-toggle span {
		font-size: 20px;
	}
	#menu-button a:hover { color: #87a8cf; }
	
	
	nav.mobile {
		display: block;
		position: fixed;
		text-align: left;
		top: 0;
		right: -350px;
		width: 320px;
		height: 100%;
		background: #151f2e;
		z-index: 1001;
		/* needs to be higher than #menu-button, adjust as needed */
		overflow: auto;
	}
	/* MENU HEADER SOCIAL MEDIA */
	nav.mobile .social-media {
		position: relative;
		text-decoration: none;
		display: inline-block;
		font-size: 16px;
		word-spacing: 13px;
		padding: 0 0 0 15px;
		color: #0a2737 !important;
	}
	nav.mobile .social-media a:link,
	nav.mobile .social-media a:visited {
		color: #2383b7;
		text-decoration: none;
	}
	nav.mobile .social-media a:hover,
	nav.mobile .social-media a:active {
		color: #0a2737;;
		text-decoration: underline;
	}
	.mobiletitle {
		padding-left: 20px;
		color: #0a2737;
	}
	/* MENU HEADER STYLES */
	nav.mobile .mobile_top {
		position: relative;
		display: block;
		padding: 0;
		margin: 15px 0 50px 0;
		/*margin:40px 0 10px 0;*/
		color: #999;
		font-size: 18px;
		font-weight: 400;
	}
	/* MENU CLOSE 'X' BUTTON */
	nav.mobile .menu-toggle {
		position: absolute;
		padding: 3px 8px 3px;
		font-family: Arial, sans-serif;
		font-size: 24px;
		font-weight: bold;
		line-height: 1;
		background: #000;
		color: #fff;
		text-decoration: none;
		top: -4px;
		/*top:-35px;*/
		right: 13px; transition: .15s ease all; 
	}
	nav.mobile .menu-toggle:hover {
		/* Menu close button on hoveer */
		color: #fff; background: #4474ab; transform: scale(1.05) rotate(-4.5deg); transition: .3s ease all;
	}
	/* MENU LIST STYLE */
	nav.mobile ul {
		list-style: none;
		font-weight: 300;
		margin: 0;
		padding: 0;border-top: 1px solid #575e6b;
	}
	nav.mobile ul ul { background: rgba(0, 0, 0, .2); }
	nav.mobile ul li {
		border-bottom: 1px solid #575e6b;
		position: relative;
	}
	/* FIRST LEVEL */
	nav.mobile ul li a {
		position: relative;
		display: flex; justify-content: space-between; align-items: center; min-height: 48px; column-gap: 10px; 
		font-size: 16px; font-weight: 500; 
		padding: 10px;
		color: #fff;
		text-decoration: none;
		border-left: 4px #151f2e solid;
	}
	nav.mobile ul li a:hover {
		background: #2a2d33;
		color: #87a8cf;
		border-left: 4px #87a8cf solid;
		/* border highlight - Change to fit match site colors */
	}
	
	nav.mobile ul li a i { position: relative; top: unset; right: unset; left: unset; }
	/* SECOND LEVEL */
	nav.mobile ul li li:last-child {
		border: none;
	}
	nav.mobile ul li li a {
		
		position: relative;
		display: flex; justify-content: space-between; align-items: center; min-height: 48px; column-gap: 10px; 
		padding: 10px 10px 10px 15px;
		border-left: 4px rgba(0, 0, 0, 0) solid;
		color:#fff;
		text-decoration: none;
	}
	nav.mobile ul li li a:hover {
		background: #2a2d33;
	}
	/* THIRD LEVEL */
	nav.mobile ul li li li:last-child {
		border: none;
	}
	nav.mobile ul li li li a {
		
		position: relative;
		display: flex; justify-content: space-between; align-items: center; min-height: 48px; column-gap: 10px; 
		padding: 10px 10px 10px 25px;
		color: #fff;
		text-decoration: none;
	}
	nav.mobile ul li li li a:hover {
		
	}
	/* FOURTH LEVEL */
	nav.mobile ul li li li li:last-child {
		border: none;
	}
	nav.mobile ul li li li li a {
		
		position: relative;
		display: flex; justify-content: space-between; align-items: center; min-height: 48px; column-gap: 10px; 
		padding: 10px 10px 10px 25px;
		color: #fff;
		text-decoration: none;
	}
	nav.mobile ul li li li li a:hover {
		
	}
	nav.mobile ul li .click {
		/* dropdown menu idicator arrow be sure to include this image with your image files */
		/*position:absolute;
		display:block;
		cursor:pointer;
		z-index: 12399994;
		top:0;
		right:0;
		width:auto;
		height:auto;
		padding: 17px 20px;
		color:#fff;*/
	}
	.nav-footer {
		color: #fff; opacity: .6; letter-spacing: 1px; 
		position: relative;
		text-align: center;
		font-size: 14px;
		line-height: 20px;
		padding: 24px 12px;
	}
	/* 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;
		text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	}
	nav.mobile ul li .fa-chevron-down {
		color: #999;
	}
	.more {
		position: absolute;
		right: 5%;
	}
	.mobilefooterlogo {
		text-align: center;
		margin: 0 auto;
		transform: scale(0.9);
	}
}
@media only screen and (max-width: 500px) {
	nav.mobile { right: -520px!important; width: min(100%, 500px); transition: .5s ease all; }
	nav.mobile.open { right: 0px!important; transition: .5s ease all; }
}
@media only screen and (max-width: 320px) {
	#menu-button, #menu-button a { width: 100%!important; }
	#menu-button a { justify-content: center; }
}
/* Hide the desktop menu item icons */
.primary li > i {
	display: none;
}