.clear {clear: both;}
body.down nav.primary:before {border-width: 0 65px 54px 0;}
body.down nav.primary ul li a {padding: 1em 0; font-size: 14px;}
body.down nav.primary ul ul li a {padding: .75em 1em; font-size: 14px;}

/***** Start of primary nav ******/
#menu-button {display: none;}
nav.mobile {display: none;}
nav.primary {
	display: flex;
	justify-content: flex-end;
	position: relative;
	font-family: 'Barlow', sans-serif;
	text-transform: uppercase;
	font-weight: 700;
	width: 100%;
	z-index: 99;
}
nav.primary ul {
	margin: 0;
	padding: 0;
	position: relative;
}
nav.primary ul li {
	display: inline-block;
	margin: 0;
	list-style-type: none;
}
nav.primary ul li a {
	color: #000;
	padding: 1.5em 0;
	display: block;
	margin: 0 .75vw;
	text-align: center;
	transition: .2s ease;
	font-weight: 700;
	font-size: 16px;
}
nav.primary ul li a:hover {
	
}
nav.primary ul li li a:hover {
	border-bottom: none;
}
/* Appearance of the sub-level links */
nav.primary ul li li a {
	font-size: 14px;
	padding: 10px;
	margin: 0;
	text-align: left;
	background:#333;
	letter-spacing: .5px;
	color: #fff;
	font-weight: 700;
}

/* Appearance of the sub-level links on hover */
nav.primary ul li li a:hover {
	background: #027840;
	color: #fff;
}

/* 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);
	padding: 10px;
	background: #333;
}
nav.primary ul ul ul {
	position: absolute;
	left: 100%;
	top: 0;
}
nav.primary ul li:hover>ul {
	display: block;
	z-index: 999;
}
nav.primary ul ul li {
	float: none;
	width: 275px;
	position: relative;
	margin: 0;
	display: block;
}
/******** Nav Resets ***************/
nav.primary i.fas.fa-angle-down {padding-left: 3px; display: none;}

nav.primary ul li li a i.fas.fa-angle-down {
    padding-top: 10px;
	position: absolute;
	right: 20px;
	transform: rotate(270deg);
}


/******** End of primary Nav ***************/
@media screen and (max-width: 1700px) {
	nav.primary ul li a {font-size: 14px; margin: 0 0.5vw;}
}

@media screen and (max-width: 1400px) {
	i.fas.fa-angle-down {padding-left: 0;}
	body.down #menu-button a.menu-toggle {padding: .15em 0 .15 1em!important;}	
		
	/*==============================
		Mobile Nav Styles			
	================================*/
	nav.primary {display: none;}
	#menu-button {
		display: flex;
		position: relative;
		align-items: center;
		justify-content: flex-end;
		top: 0;
		right: 0;
		font-size: 36px;
		/*z-index: 1000;*/		
		font-family: 'Barlow', sans-serif;
		text-transform: uppercase;
		font-weight: 900;
		width: auto;
	}
	#menu-button a.menu-toggle {color: #000!important; padding: 0 0 0 1em!important; margin: 0; position: relative;}
	#menu-button a.menu-toggle:hover {color: #333; transition: 0.2s ease-in;}
	.menu-toggle span {
		font-size: 14px;
		top: -3px;
		position: relative;
	}
	nav.mobile {
		display: block;
		position: fixed;
		text-align: left;
		top: 0;
		left: -250px;
		width: 250px;
		height: 100%;
		z-index: 1002;
		/* needs to be higher than #menu-button, adjust as needed */
		overflow: auto;
		font-family: 'Barlow', sans-serif;
		text-transform: uppercase;
		background: #fff;
		box-shadow: 0px 15px 40px rgb(26 30 43 / 13%);
	}
	/* 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: #fff !important;
	}
	nav.mobile .social-media a:link,
	nav.mobile .social-media a:visited {
		color: #fff;
		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:70px 0 0 0;
	}
	/* MENU CLOSE 'X' BUTTON */
	nav.mobile .menu-toggle {
		position: absolute;
		padding: 3px 8px 3px;
		font-family: 'Roboto', sans-serif;
		font-size: 24px;
		font-weight: bold;
		line-height: 1;
		background: #000;
		color: #fff;
		text-decoration: none;
		top:-40px;
		right: 12px;
	}
	nav.mobile .menu-toggle:hover {
		background: #027840;
		color: #fff;
	}
	/* MENU LIST STYLE */
	nav.mobile ul {
		list-style: none;
		font-weight: 300;
		margin: 0;
		padding: 0;
	}
	nav.mobile ul li {
		position: relative;
	}
	/* FIRST LEVEL */
	nav.mobile .cta-btn4 a {background: none!important; color: #000!important; text-align: left; border-radius: 0; font-size: 15px; padding: 20px!important;}
	nav.mobile ul li a {
		position: relative;
		display: block;
		font-size: 15px;
		padding: 18px 20px;
		font-weight: 600;
		letter-spacing: 1px;
		color: #000;
		transition: ease all 0.2s;
		border-bottom: 1px solid #aaa;
	}
	nav.mobile ul li a:hover, nav.mobile .cta-btn4 a:hover {
		color: #fff!important;
		background: #027840!important;
	}
	/* SECOND LEVEL */
	nav.mobile ul li li:last-child {
		border: none;
	}
	nav.mobile ul li li a {
		background: #f5f5f5;
		position: relative;
		font-size: 14px;
		display: block;
		padding: 12px 25px;
		color:#333;
		font-weight: 600;
	}
	nav.mobile ul li li a:hover {
		background: #333;
		color: #fff;
	}
	/* 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 10px 10px 25px;
		background: #ebebeb;
	}
	nav.mobile ul li li li a:hover {
		background: #fd5b1a;
		color: #fff;
	}
	/* FOURTH LEVEL */
	nav.mobile ul li li li li:last-child {
		border: none;
	}
	nav.mobile ul li li li li a {
		position: relative;
		display: block;
		padding: 10px 10px 10px 30px;
		background: #fff;
	}
	nav.mobile ul li li li li a:hover {
		background: #fd5b1a;
		color: #fff;
	}
	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: #999;
		text-transform: none;
		position: relative;
		text-align: center;
		font-size: 11px;
		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: #919191;
		border-radius: 30px;
		text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	}
	nav.mobile ul li .fa-chevron-down {
		color: #aaa;
	}
	nav.mobile ul li a:hover i {color: #fff;}
}

/* Hide the desktop menu item icons */
.primary li > i {display: none;}

/* Position the mobile menu item icons */
.mobile li i {
	position: absolute;
    top: 22px;
    right: 20px;
    width: 60px;
    height: auto;
    color: #aaa;
    padding: 3px;
    text-align: right;
}
.mobile li li i {
	position: absolute;
    top: 15px;
    right: 18px;
    width: 60px;
    height: auto;
    color: #aaa;
    padding: 3px;
    text-align: right;
}

@media screen and (max-width: 480px) {
	#menu-button a.menu-toggle {padding: .5em .75em;}
}