.clear {clear: both;}

/***** Start of primary nav ******/
#menu-button {display:none;}
nav.mobile {display:none;}

nav.primary {display:block; position: relative; margin:0; padding:0; width:100%;}
nav.primary ul {display:flex; flex-flow:row wrap; align-items:center; justify-content:space-between; margin:0; padding:0;}
nav.primary ul li {margin:0; padding:0; list-style-type:none;}
nav.primary ul li a {
	display: block; position:relative; margin:0; padding: 15px 6px 13px 6px;
	font-size:21px; line-height:1; font-weight:400; text-align:center; text-decoration:none; text-transform:uppercase;
	color: #fff; font-family: address-sans-pro, sans-serif;
	-webkit-background-clip: text; -webkit-text-fill-color: transparent;
	background-image: linear-gradient(to left, #fff, #fff 50%, #ff2222 50%); background-size: 200% 100%; background-position: 100%; transition: all 0.5s ease-in-out;
}
nav.primary ul li a:after{
	display:block;
	content:'';
	width:0;
	height:3px;
	right:0;
	bottom:-3px;
	z-index:0;
	position:absolute;
	background:#ff2222;
	transition: all 0.5s ease-in-out;
  }

nav.primary ul li a:hover {background-position: 0%;}
nav.primary ul li a:hover:after {width:100%;}

nav.primary ul li li a {
	padding: 15px 20px; font-size: 16px; line-height: 18px; letter-spacing:1px; font-weight: 500; text-align: left; text-transform: uppercase;
	color: #fff; -webkit-text-fill-color:#fff; border-right: none; border-bottom: #333 solid 1px; border-left: none; background: #000;
	-webkit-transition:.8s ease; -moz-transition:.8s ease; -o-transition:.8s ease; transition:.8s ease;
}
nav.primary ul li li:last-child a {border:0;}
nav.primary ul li li a:hover {
	color:#fff; background:#373737;
}

/* 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 !important;
	line-height: 18px;
	z-index: 100;
}
nav.primary ul ul li {
	float: none;
	width: auto;
	position: relative;
	margin: 0;
	display: block;
}
nav.primary ul ul li:hover>ul {
	display: block;
	line-height: 18px;
	z-index: 100;
}
nav.primary ul ul ul li {
	min-width:250px;
	width: auto;
}
/******** Nav Resets ***************/

i.fas.fa-angle-down {
    display:none; margin:0; padding:0; 
}


/******** End of primary Nav ***************/






@media screen and (max-width: 1700px) {
	nav.primary ul li a {padding: 15px 6px 13px 6px; font-size:19px;}
}



@media screen and (max-width: 1575px) {
	nav.primary ul li a {padding: 15px 6px 13px 6px; font-size:18px;}
}


@media screen and (max-width: 1400px) {
	nav.primary ul li a {padding: 15px 4px 13px 4px; font-size:17px;}
}



@media screen and (max-width: 1300px) {
	/*==============================
		Mobile Nav Styles			
	================================*/
	nav.primary {display: none;}
	
	#menu-button {
		/*width: 100%;*/
		display: block;
		position: relative;	
		z-index: 1005;
		/* needs to be lower than nav.mobile, adjust as needed */
		text-align: left;
	}
	#menu-button a {
		display: block;
		color: #fff;
		text-decoration: none;
		text-align: left;
		font-weight: 500;
		font-size:18px;
		line-height: 1;
		padding:15px 0;
		cursor: pointer;
		font-family: 'Montserrat', sans-serif;
	}
	.menu-toggle .fas {color:#d80000;}
	
	nav.mobile {
		display: block;
		position: fixed;
		text-align: left;
		top: 0;
		left: -260px;
		width: 260px;
		height: 100%;
		z-index: 2025;
		/* needs to be higher than #menu-button, adjust as needed */
		overflow: auto;
		
		background: rgb(255,255,255);
		background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(224,224,224,1) 100%);		
	}
	/* 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: #d80000 !important;
	}
	nav.mobile .social-media a:link,
	nav.mobile .social-media a:visited {
		color: #d80000;
		text-decoration: none;
	}
	nav.mobile .social-media a:hover,
	nav.mobile .social-media a:active {
		color: #000;
		text-decoration: underline;
	}
	.mobiletitle {
		font-size:12px; 
		padding-left: 20px;
		color: #8B8B8B;
	}
	/* MENU HEADER STYLES */
	nav.mobile .mobile_top {
		position: relative;
		display: block;
		padding: 0;
		margin: 15px 0 10px 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: #222;
		color: #999;
		text-decoration: none;
		top: -4px;
		/*top:-35px;*/
		right: 13px;
	}
	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 #454545;
		border-bottom: 1px solid #151515;*/
		position: relative;
	}
	/* FIRST LEVEL */
	nav.mobile ul li a {
		position: relative;
		display: block;
		font-size: 16px;
		padding: 18px 10px 16px 15px;
		color: #000;
		text-decoration: none;
		/*border-left: 4px #333 solid;*/
		
		text-transform:uppercase;
		
	}
	nav.mobile ul li a:hover {
		background: rgba(45, 45, 45, 0.4);
		color: #fff;
		border-left: 4px #d80000 solid;
	}
	/* SECOND LEVEL */
	nav.mobile ul li li:last-child {
		border: none;
	}
	nav.mobile ul li li a {
		/*background: white;*/
		position: relative;
		display: block;
		padding: 16px 10px 14px 25px;
		/*border-left: 4px #444 solid;*/
		font-weight:300;
		font-size: 13px;
		color:#000;
		text-decoration: none;

	}
	nav.mobile ul li li a:hover {
		background: rgba(65, 65, 65, 0.5);
	}
	/* 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: 10px 10px 10px 25px;
		color: #ccc;
		text-decoration: none;
		
		border-left: 4px #555 solid;
	}
	nav.mobile ul li li li a:hover {
		background: rgba(85, 85, 85, 0.5);
	}
	/* FOURTH LEVEL */
	nav.mobile ul li li li li:last-child {
		border: none;
	}
	nav.mobile ul li li li li a {
		background: #777;
		position: relative;
		display: block;
		padding: 10px 10px 10px 25px;
		color: #ccc;
		text-decoration: none;
		border-left: 4px #555 solid;
	}
	nav.mobile ul li li li li a:hover {
		background: rgba(85, 85, 85, 0.5);
	}
	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: #7b7b7b;
		position: relative;
		text-align: center;
		font-size: 14px;
		line-height: 16px;
		padding: 15px 0;
	}
	/* 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 screen and (max-width: 1000px) {
	#menu-button,
	#menu-button a {text-align: center;}
}


@media screen and (max-width: 500px) {
	#menu-button {
		text-align: center;
	}
}


/* Hide the desktop menu item icons */
.primary li > i {
	display: none;
}
/* Position the mobile menu item icons */
.mobile li i {
	position: absolute;
	top: 13px;
}

@media screen and (max-width: 320px) {
	#menu-button {width:100%;}
}