.clear {
	clear: both;
}
/***** Start of primary nav ******/
#menu-button {
	display: none;
}
nav.mobile {
	display: none;
}
nav.primary {
	padding: 0;
	display: block;
	margin: 0;
	width: 100%;
	position: relative;
}
nav.primary ul {
	margin: 0;
	padding: 0;
	display: flex;
}
nav.primary ul li {
	display: inline-block;
	margin: 0;
	list-style-type: none;
	transition: .2s ease-in;
}
nav.primary ul li a {
	font-size: clamp(11px, .9vw, 16px);
	color:#000!important;
	font-family: montserrat, sans-serif; 
	text-transform: uppercase;
	text-decoration: none;
	padding: 10px clamp(5px, .9vw, 12px);
	display: block;
	margin: 0;
	text-align: center;
	transition: .2s ease-in;
	font-weight:500;
	white-space: nowrap;
	cursor: pointer;
}
nav.primary ul li a:hover {
	background-color:#d39909;
}
nav.primary ul li:hover a {
	background-color:#d39909;
}
nav.primary ul li a i {
	display: none;
}
/* Appearance of the sub-level links */
nav.primary ul li li a {
	text-align: left;
	border-right: none;
	border-left: none;
	background:#fff;
	color: #000 !important;
	text-transform: uppercase;
	background-color: #d39909;
}
/* Appearance of the sub-level links on hover */
nav.primary ul li li a:hover {
	color: #fff!important;
	background-color: #000;
}
/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
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!important;
	z-index: 100;
}
nav.primary ul ul li {
	float: none;
	max-width: auto;
	min-width: 200px;
	position: relative;
	margin: 0;
	display: block;
}


@media screen and (max-width: 1050px) {
	/*==============================
		Mobile Nav Styles			
	================================*/
	nav.primary {
		display: none;
	}
	#menu-button {
		display: block;
		padding: 0 0 0 20px;
	}
	#menu-button a {
		color: #000;
		font-size:30px;
		text-decoration: none;
		font-weight: normal;
		text-align: left;
		cursor: pointer;
	}
	.menu-toggle span {
		font-size: 20px;
	}
	nav.mobile {
		display: block;
		position: fixed;
		text-align: left;
		top: 0;
		left: -250px;
		width: 250px;
		height: 100%;
		background:#352c1b;
		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: 10px;
		box-sizing: border-box;
		width: 100%;
	}
	/* 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;
	}
	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 {
		position: relative;
	}
	/* FIRST LEVEL */
	nav.mobile ul li a {
		position: relative;
		display: block;
		font-size: 14px;
		padding: 10px 10px 10px 15px;
		color: #fff;
		text-decoration: none;
		border-left: 4px #352c1b solid;
		cursor: pointer;
		text-transform: uppercase;
	}
	nav.mobile ul li a:hover {
		background: rgba(45, 45, 45, 0.5);
		color: #fff;
		border-left: 4px #d39909 solid;
		/* border highlight - Change to fit match site colors */
	}
	nav.mobile ul li a i {
		margin-left: 10px;
	}
	/* SECOND LEVEL */
	nav.mobile ul li li:last-child {
		border: none;
	}
	nav.mobile ul li li a {
		background: #f8f0da;
		position: relative;
		display: block;
		padding: 10px 10px 10px 15px;
		border-left: 4px #444 solid;
		color:#000;
		text-decoration: none;
	}
	nav.mobile ul li li a:hover {
		background:rgba(248,240,218,0.91);
		border-left: 4px #d39909 solid;
	}
	
	
	.mobilefooterlogo {
		text-align: center;
		margin: 0 auto;
		transform: scale(0.9);
	}
}
@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;
}