.clear {
	clear: both;
}
/***** Start of primary nav ******/
#menu-button {
	display: none;
}
nav.mobile {
	display: none;
}
nav.primary {
	padding: 0;
	display: block;
	margin: 0;
	width:calc(100% - 200px);
	position: relative;
}
nav.primary ul {
	margin: 0;
	padding: 0;
}
nav.primary > ul {
	display: flex;
	justify-content: space-between;
}
nav.primary ul li {
	display: inline-block;
	margin: 0;
	list-style-type: none;
	transition: .2s ease-in;
}
nav.primary ul li a {
	color: #000 !important;
	font-family: "Teko", sans-serif;
	text-transform: uppercase;
	line-height:1;
	text-decoration: none;
	padding:15px;
	display: block;
	margin: 0;
	text-align: center;
	transition: .2s ease-in;
	font-weight: 700;
	font-size: clamp(14px, 1.2vw, 20px);
	cursor: pointer;
	white-space: nowrap;
}
nav.primary ul li a span {
	margin-left: 5px;
}
nav.primary ul li a:hover {
	background:#333333;
	color:#fff!important;
}
nav.primary ul li:hover a {
	background:#333333;
	color:#fff!important;
}
/* Appearance of the sub-level links */
nav.primary ul li li a {
	background:#333333;
	color:#fff!important;
	text-align: left;
}
/* Appearance of the sub-level links on hover */
nav.primary ul li li a:hover {
	background: #000;
	color:#fff!important;
}
/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
	display: none;
	position: absolute;
	z-index: 100;
}
nav.primary ul ul ul {
	position: absolute;
	left: 100%;
	top: 0;
}
nav.primary ul li:hover>ul {
	display: block!important;
}
nav.primary ul ul li {
	float: none;
	width: auto;
	min-width: 250px;
	position: relative;
	margin: 0;
	display: block;
}



/******** 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: 1000px) {
	/*==============================
		Mobile Nav Styles			
	================================*/
	nav.primary {
		display: none;
	}
	#menu-button {
		display: block;
	}
	#menu-button a {
		font-size: 28px;
		color:#000;
	}
	nav.mobile {
		display: block;
		position: fixed;
		text-align: left;
		top: 0;
		left: -250px;
		width: 250px;
		height: 100%;
		background: #000;
		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: flex;
		justify-content: flex-end;
		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 {
		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;
		cursor: pointer;
	}
	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 {
		font-family: "Teko", sans-serif;
		font-size: 18px;
		cursor: pointer;
		position: relative;
		display: block;
		padding: 10px 10px 10px 15px;
		color: #fff;
		text-decoration: none;
		border-left: 4px #333 solid;
		text-transform: uppercase;
	}
	nav.mobile ul li a:hover {
		background: rgba(45, 45, 45, 0.5);
		color: #fff;
		border-left: 4px #d2d2d2 solid;
		/* border highlight - Change to fit match site colors */
	}
	/* SECOND LEVEL */
	nav.mobile ul li li:last-child {
		border: none;
	}
	nav.mobile ul li li a {
		background: #333333;
		position: relative;
		display: block;
		padding: 10px 10px 10px 15px;
		border-left: 4px #444 solid;
		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:#474747;
		position: relative;
		display: block;
		padding: 10px 10px 10px 25px;
		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-footer {
		font-family: "Sofia Sans", sans-serif;
		color:#d2d2d2;
		position: relative;
		text-align: center;
		font-size: 14px;
		line-height: 16px;
		padding: 15px 0;
	}

}
