﻿.clear{clear:both;}

/***** Start of primary nav ******/
#menu-button{display: none;}
nav.mobile {display:none;}

nav.primary { 
	position: relative; width: 100%; padding: 0; margin: 0; 
	display: flex; justify-content: stretch; align-items: stretch; 
}
nav.primary ul { 
	position: relative; width: 100%; padding: 0; margin: 0; 
	display: flex; justify-content: space-between; align-items: stretch; 
}
nav.primary ul li { 
	position: relative; padding: 0; margin: 0; list-style-type: none;
	display: flex; justify-content: stretch; align-items: stretch; 
}
nav.primary ul li a {
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	padding: 0 20px; letter-spacing: .25px; 
	position: relative; width: 100%; 
	display: flex; justify-content: center; align-items: center; column-gap: 6px;
	text-decoration:none; text-transform: uppercase;
	-webkit-transition: .2s ease-in; 
	-moz-transition: .2s ease-in; 
	-o-transition: .2s ease-in; 
	transition: .2s ease-in;
	cursor: pointer; margin: 0; 
}	
nav.primary ul li a:hover { background: #0f0f0f; color: var(--orange); }
nav.primary ul li a.txt-orange:hover { background: var(--orange); color: #000; }

nav.primary ul li a i { font-size: 11px; transform: rotate(90deg); transition: .0s ease all; }

nav.primary ul li:hover > a > i { transform: rotate(180deg); transition: .2s ease all; }
nav.primary ul li:hover > a > i:before { content: "\f068"; }

/* Appearance of the sub-level links */
nav.primary ul li li a { 
	justify-content: flex-start; 
	text-align: left; 
	font-size: 16px;
	padding: 12px;
	color: #fff;
	background: #191919;
	border-bottom: #303030 solid 1px;
	border-right: none; border-left: none;
}
nav.primary ul li li:last-child a { border-bottom: none; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; }

/* Appearance of the sub-level links on hover */
nav.primary ul li li a:hover { background: #0f0f0f; color: var(--orange); }

/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul { display: none; width: 100%; position: absolute; top: 100%; left: 0; box-shadow: 0 1px 8px rgba(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 { width: 100%; position: relative; display: block; float: none; margin: 0; }

@media only screen and (max-width: 1320px) {
	nav.primary ul li a { padding: 0 15px; }
}

@media only screen and (max-width: 1250px) {
	nav.primary ul li a { padding: 0 10px; }
}

@media only screen and (max-width: 1220px) {
	nav.primary ul li a { padding: 0 10px; font-size: 15px; }
}

@media only screen and (max-width: 1080px) {
	nav.primary ul li a { padding: 0 5px; }
}

/******** End of primary Nav ***************/

@media screen and (min-width: 1021px) {
	.menu-toggle.exit-click { display: none !important; }
}

@media screen and (max-width: 1020px) {
	.mobile + .menu-toggle.exit-click{
		position: fixed !important; z-index: 499; pointer-events: none; opacity: 0; 
		top: 0 !important;left: 0 !important;right: 0 !important;bottom: 0 !important; 
		background: rgba(36,32,33,0.33); transition: ease opacity 0.3s; 
	}
	.mobile.open + .menu-toggle.exit-click{
		pointer-events: auto; opacity: 1;
		-webkit-backdrop-filter: blur(4px);
		backdrop-filter: blur(4px);
	}
/*==============================
	Mobile Nav Styles			
================================*/	
	nav.primary{display:none;} 
	
	#menu-button { 
		position: relative; display: flex; justify-content: flex-end; align-items: stretch; 
		z-index: 400; /* needs to be lower than nav.mobile, adjust as needed */
	}
	#menu-button a {
		color: #fff; min-width: 50px; 
		font-size: 20px; padding: 0 24px;
		position: relative; display: flex; justify-content: center; align-items: center; column-gap: 12px; 
		cursor: pointer; text-decoration: none; transition: .25s ease all; 
	}
	#menu-button a span { font-size: 16px; text-transform: uppercase; }
	
	#menu-button a:hover { background: #0f0f0f; color: var(--orange); }
	#menu-button a:hover span {}
	
	
	nav.mobile {
		position: fixed; z-index: 500; /* needs to be higher than #menu-button, adjust as needed */
		top: 0; left: -340px; display: block; overflow: auto; height: 100%; 
		width: min(100%, 320px); 
		background: #000;
	}
	/* MENU HEADER STYLES */
	nav.mobile .mobile_top {
		position: relative; display: flex; align-items: center; height: 84px; padding: 15px; 
	}
	
	.mobilenav-logo, .mobilenav-logo img { height: 60px; }
	.mobilenav-logo { width: calc(100% - 70px); }

	/* MENU CLOSE 'X' BUTTON */
	nav.mobile .menu-toggle:not(.exit-click) {
		position: absolute; display: flex; justify-content: center; align-items: center; 
		font-family: Arial, sans-serif; text-decoration: none; cursor: pointer; 
		width: 50px; height: 50px; top: 16px; right: 15px; 
		font-size: 32px; font-weight: bold; 
		background: var(--blue); color: #fff;
		transition: .25s ease all; border-radius: 8px; 
	}
	nav.mobile .menu-toggle:not(.exit-click):hover { /* Menu close button on hover */
		background: #131313; color: var(--orange);
	}

	/* MENU LIST STYLE */
	nav.mobile ul {list-style:none;padding:0;margin:0;}
	nav.mobile ul li {
		position:relative;
		/*border-top: 1px solid #454545;*/
		border-bottom: 1px solid #181818;
	}
	nav.mobile > ul > li:first-child { border-top: 1px solid #181818; }
	nav.mobile ul ul li:last-child {border-bottom:none;}

	/* FIRST LEVEL */
	nav.mobile ul li a {
		position: relative; padding: 12px;
		display: flex; justify-content: flex-start; align-items: center; min-height: 50px; gap: 8px; 
		font-size: 19px; text-transform: uppercase; letter-spacing: .5px; 
		color: #fff!important;
		border-left: 4px #000 solid;
		text-align: left; text-decoration: none; cursor: pointer; transition: .25s ease all; 
	}
	nav.mobile ul li a:hover {
		color: var(--orange)!important; background: #181818; 
		border-left: 4px var(--orange) solid; /* border highlight - Change to fit match site colors */
	}
	
	nav.mobile ul li a i { font-size: 12px; transform: rotate(90deg); transition: .0s ease all; }
	nav.mobile ul li a.open > i { transform: rotate(180deg); transition: .2s ease all; }
	nav.mobile ul li a.open > i:before { content: "\f068"; }
	
	nav.mobile ul li a.listed, nav.mobile ul li a.listed i, nav.mobile ul li a.listed span { color: #fff!important; }
	nav.mobile ul li a.listed > i { transform: none; font-size: 18px!important; }
	nav.mobile ul li a.listed:hover, nav.mobile ul li a.listed:hover i, nav.mobile ul li a.listed:hover span { color: var(--orange)!important; }
	
	nav.mobile ul li a.listed.is-phone, nav.mobile ul li a.listed.is-phone span { font-size: 20px!important; font-weight: 900!important; }

	/* SECOND LEVEL */
	nav.mobile ul li li a {
		background: #202020;
		border-left: 4px #202020 solid;
		position: relative;
		display: flex; justify-content: space-between; align-items: center; min-height: 50px; 
		padding: 12px 12px 12px 20px;
		color: #fff;
		text-decoration: none;
	}
	nav.mobile ul li li a:hover {}

	/* THIRD LEVEL */
	nav.mobile ul li li li a {
		position: relative; text-decoration: none;
		color: #fff;
		background: #303030;
		border-left: 4px #303030 solid;
		display: flex; justify-content: space-between; align-items: center; min-height: 50px; 
		padding: 12px 12px 12px 28px;
	}
	nav.mobile ul li li li a:hover {}
}

@media only screen and (max-width: 400px) {
	#menu-button a { padding: 0 5vw; }
	#menu-button a span { display: none!important; }
}