
.clear{clear:both;}


/***** START OF PRIMARY NAV ******/
#menu-button{display: none;}
nav.mobile { display:none;}

.nav-width {width: 90%; margin: 0 auto;}
nav.primary .fas {font-size: 10px;}
nav.primary p {float: left; color: #fff; text-transform: uppercase; font-size: 22px; line-height: 28px; letter-spacing: 1px; padding-top: 15px; display: inline-block;}
nav.primary a {color: #fff;}
nav.primary a:hover {color: #ddd;}
nav.primary p .fas {margin: 0 5px; font-size: 16px; vertical-align: middle;}

nav.primary {
	padding:0;
	display:inline-block;
	float: right;
	width:100%;
	position:relative;
	z-index: 2;
	text-align: center;
	background: #282871;
	box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
	border-bottom: 3px solid #a31e21;
	}
	nav.primary ul {
		margin:0; 
		font-family: 'Quantico', sans-serif;
		}
		nav.primary ul li {
			display:inline-block;
			margin:0;
			list-style-type:none; 
			width:auto;
			}
			nav.primary ul li a {
				color:#fff;
				letter-spacing: 1.5px;
				line-height: 55px;
				font-size: 13px;
				text-decoration:none;
				display:block;
				margin:0;
				text-align:center;
				text-transform:uppercase;
				padding: 0 .75vw;
				position: relative;
				-webkit-transition: .4s ease-in;
				-moz-transition: .2s ease-in;
				-o-transition: .2s ease-in;
				transition: .2s ease-in;
				text-shadow: 0px 1px 1px rgba(42,42,42,0.25);
				}	
			nav.primary ul li a:hover {
				background: #fff;	
				color: #282871;
				font-weight: bolder;
			}
			/* Appearance of the sub-level links */
			nav.primary ul li li a { 
				font-weight: 500;
				line-height:55px;
				letter-spacing: 1.5px;
				padding: 2px 10px;
				color:#eeeeee;
				background: rgba(16,26,89, .95);
				text-align:left;
				border-right:none;
				border-left:none;
				font-size: 14px;
				border-bottom: .5px solid #ddd;
			}
			/* Appearance of the sub-level links on hover */
			nav.primary ul li li a:hover { 
				color: #000;
				background: #ddd;
			}

/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too much */
nav.primary ul ul {
    display: none;
    position: absolute;
}
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: 230px;
    position: relative;
    margin:0;
	display: block;
}



@media screen and (max-width: 1500px) {
	nav.primary ul li a {font-size: 12px; padding: 0 .6vw;}
}


/*=======================
	END OF MAIN NAVIGATION
=========================*/

a#mobile-search {display: none;}

@media screen and (max-width: 1280px) {
	
a#mobile-search {display: inline-block;}

/*==============================
	Mobile Nav Styles			
================================*/	
nav.primary{display:none;}
#menu-button{ 
	width: 100%;
	display: block!important;
	font-size: 24px;
	position: relative;
	line-height:25px; 
	z-index: 2; /* needs to be lower than nav.mobile, adjust as needed */
	}
	a#menu-button {
		 color:#fff;
		 background: #282871;
		 text-decoration: none;
		 padding: 15px; 
		 font-weight: bold;
		 font-family: 'Quantico', sans-serif;
		 font-size: 30px;
		 display: inline-block!important;
		 z-index: 1;
		 width: 100%;
		 position: relative;
		 text-align: center;
		 vertical-align: middle;
		 margin: 0 auto;
		 border-bottom: 5px solid #a31e21;
	  }
		a:hover#menu-button {
			background: #000;
			color: #fff;
			-webkit-transition:.2s ease-in;  
			-moz-transition:.2s ease-in;  
			-o-transition:.2s ease-in;  
			transition:.2s ease-in;	
		}
nav.mobile {
	display:inline-block!important;
	position: fixed;
	top: 0;
	left: -250px;
	width: 250px;
	height: 100%;
	background: #282871;
	z-index: 1200; /* needs to be higher than #menu-button, adjust as needed */
	overflow:auto;
	box-shadow: 0px 3px 15px rgba(0,0,0,0.2);
}
/* 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: #ccc !important;
	}
	
	nav.mobile .social-media a:link, nav.mobile .social-media a:visited {color:#ccc; text-decoration:none;}
	nav.mobile .social-media a:hover, nav.mobile .social-media a:active {color:#fff; text-decoration:underline;}

/* MENU HEADER STYLES */
nav.mobile .mobile_top {
	position: relative;
	display:block;
	padding: 0;
	margin:50px 0 10px 0;
	color: #999;
	font-size: 18px;
	font-weight: 400;
}
	
	nav.mobile .mobile_top a .fab, nav.mobile .mobile_top a .fas {
		color: #ddd;
		font-size: 24px;
		margin-left: 10px;
		margin-top: 10px;
		-webkit-transition: all .3s ease-in-out;
		-moz-transition: all .3s ease-in-out;
		-ms-transition: all .3s ease-in-out;
		-o-transition: all .3s ease-in-out;
		transition: all.3s ease-in-out;
	}
	nav.mobile .mobile_top a:hover .fab, nav.mobile .mobile_top a:hover .fas {
		color: #fff;
	}

/* MENU CLOSE 'X' BUTTON */
nav.mobile .menu-toggle {
	position: absolute;
	padding: 3px 8px 3px;
	font-family: 'Quantico', sans-serif;
	font-size:30px;
	font-weight: bold;
	line-height: 1;
	color: #ddd;
	text-decoration: none;
	top:-38px;
	right:13px;
}
nav.mobile .menu-toggle:hover { /* Menu close button on hover */
	color: #fff;
}

/* MENU LIST STYLE */
nav.mobile ul {
	list-style: none;
	font-weight: 300;
	margin:0;
	padding:0;
}
nav.mobile ul li, nav.mobile ul li li {
	border-top: .5px solid #494a9e;
	position:relative;
	font-family: 'Quantico', sans-serif;
}
	nav.mobile ul li:last-child {
		border-bottom: .5px solid #494a9e;
	}

/* FIRST LEVEL */
nav.mobile ul li a {
	position: relative;
	display: block;
	padding: 15px;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
	font-family: 'Quantico', sans-serif;
	font-weight: 500;
	letter-spacing: 1.5px;
	font-size: 14px;
	border-left: 2px solid transparent;
}
nav.mobile ul li a:hover {
	background: #a31e21;
	border-left: 2px solid #fff;
}
	nav.mobile ul li a .fas {
		margin-right: 5px;
	}

/* SECOND LEVEL */
nav.mobile ul li li:last-child {border:none;}
nav.mobile ul li li:nth-child(2) {border-bottom: .5px solid rgba(232,232,232,.9);}
nav.mobile ul li li a {
	background: #ddd;
	position: relative;
	display: block;
	padding: 10px;
	color: #000;
	text-decoration: none;
	border-left: none;
	text-shadow: none;
}
nav.mobile ul li li a:hover	{border-left: none; background: #a31e21; color: #fff;}

/* THIRD LEVEL */
nav.mobile ul li li li:last-child {border:none;}
nav.mobile ul li li li a {
	background: #555;
	position: relative;
	display: block;
	padding: 8px;
	color: #eeeeee;
	text-decoration: none;
	border-left:3px #c0c0c0 solid;
}
nav.mobile ul 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:#ebebeb; position:relative; text-align:center; font-size:11px; line-height:16px; padding:20px; font-family: 'Quantico', sans-serif; letter-spacing: 2px; text-transform: uppercase;}

/* 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;}
}


