.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;
	text-align: center;
}
nav.primary ul li {
	display: inline-block;
	margin: 0;
	list-style-type: none;
}

nav.primary ul li:after {content: "|"; font-weight: 500;opacity: .5;}
nav.primary ul li:last-child::after {content: none !important;}
nav.primary ul li a {
	color: #000 !important;
	cursor: pointer;
	font-family: var(--bold-header);
	text-transform: uppercase;
	line-height: 5;
	text-decoration: none;
	font-size: 16px;
	padding: 0 20px;
	display: inline-block;
	margin: 0;
	text-align: center;
	text-transform: uppercase;
	-webkit-transition: .4s ease-in;
	-moz-transition: .2s ease-in;
	-o-transition: .2s ease-in;
	transition: .2s ease-in;
	font-weight: 500;
}
nav.primary ul li a:hover {

}
/* Appearance of the sub-level links */
nav.primary ul li li a {
	font-size: 15px;
	line-height: 18px;
	padding: 5px 0 5px 20px;
	text-align: left;
	border-right: none;
	border-left: none;
	background:#fff;
	border-bottom: #0a2737 solid 1px;
	 color: #0a2737 !important;
	font-family: 'Open Sans', sans-serif;
	text-transform: uppercase;
	font-weight: 700;
    font-size: 18px;
}
/* Appearance of the sub-level links on hover */
nav.primary ul li li a:hover {
	color: #b3c618;
}
/* 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;
	line-height: 18px;
	z-index: 100;
}
nav.primary ul ul li {
	float: none;
	width: 310px;
	position: relative;
	margin: 0;
	display: block;
}
/******** Nav Resets ***************/
i.fas.fa-angle-down {
    padding-left: 3px;
    padding-top: 3px;
}


/******** End of primary Nav ***************/
@media screen and (max-width: 1480px) {
	nav.primary ul li a {
	  padding: 0 15px;
	}
}

@media screen and (max-width: 1360px) {
nav.primary ul li a {
    padding: 0 10px !important;
    font-size: 15px !important;
}
	
	.contact-header .red-round {font-size: 15px !important;}
}

@media screen and (max-width: 1060px) {
	nav.primary ul li a {
	 font-size: 15px;
	}
}
/********@media screen and (max-width: 1200px) {
	nav.primary ul li a {
		padding: 10px 5px;
		font-size: 14px;
	}
}***************/
@media screen and (min-width: 1025px) {
  .menu-toggle.exit-click {
    display: none !important;
  }
}
@media screen and (max-width: 1024px) {
	.mobile:not(.open) + .menu-toggle.exit-click {
    display: none;
  }
  .mobile.open + .menu-toggle.exit-click {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 499;
    pointer-events: none;
    background: rgba(36, 32, 33, 0.5);
    opacity: 0;
    transition: ease opacity 0.3s;
    -moz-backdrop-filter: blur(3px);
    -o-backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }
  .mobile.open + .menu-toggle.exit-click {
    pointer-events: auto;
    opacity: 1;
  }

	/*==============================
		Mobile Nav Styles			
	================================*/
	nav.primary {
		display: none;
	}
	#menu-button {
		width: fit-content;
		display: block;
		font-size: 28px;
		position: relative;
		line-height: 3;
		z-index: 1000;
	cursor:pointer;
		/* needs to be lower than nav.mobile, adjust as needed */
		text-align: right;
		padding: 0 20px;
	}
	#menu-button a {
		color: #000;
	cursor:pointer;
		text-decoration: none;
		font-weight: normal;
		text-align: left;
		font-weight: 900;    display: inline-block !important;
    vertical-align: middle;
	}
	.menu-toggle span {
		font-size: 20px;
	}
nav.mobile {
		display: block;
		position: fixed;
		text-align: left;
		top: 0;
		left: -250px;
		width: 250px;
		height: 100%;
		background: var(--darkgrey);
		z-index: 1001;
		/* needs to be higher than #menu-button, adjust as needed */
		overflow: auto;
	}
	
	/* 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: #fff !important;
    font-size: 32px !important;
    top: 20px !important;
		text-decoration: none;
		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-bottom: 1px solid #222;
		position: relative;
	}
	/* FIRST LEVEL */
	nav.mobile ul li a {
        position: relative;
        display: block;
        font-size: 16px;
        text-transform: normal;
        letter-spacing: 1px;
        font-weight: 500;
        line-height: 1.5;
        padding: 10px;
		font-family: var(--bold-header);
	text-transform: uppercase;
        color: var(--offwhite);
        text-decoration: none;
	}
	nav.mobile ul li a:hover {
		background:#333;
		/* 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: #333;
		position: relative;
		display: block;
		padding: 10px 10px 10px 20px;
		color:var(--offwhite);
		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: #ddd;
		position: relative;
		text-align: center;
		font-size: 14px;
		line-height: 16px;
		padding: 15px 0;
	}

	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);
	}
}

/* Hide the desktop menu item icons */
.primary li > i {
	display: none;
}
/* Position the mobile menu item icons */
.mobile li i {
    position: absolute;
    font-size: 24px;
    background: transparent;
    color: #fff;
    right: 5px;
    top: 5px !important;
    padding: 0 !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    border: none;
    justify-content: center;
}

@media screen and (max-width: 340px) {
	nav.primary ul li a {
	 padding: 0 10px;
	}
}
