﻿.clear{clear:both;}

/***** Start of primary nav ******/
#menu-button{display: none;}
nav.mobile {display:none;}

nav.primary {
	padding:0;
	display:inline-block;
	margin:0;
	width:100%;
	position:relative;
}
nav.primary ul {
	margin:0; 
	padding:0; position: relative; 
	display: flex; justify-content: center; align-items: center; column-gap: min(1vw, 20px); 
}
nav.primary ul li {
	display:inline-block;
	margin:0;
	list-style-type:none; 
	width:auto; position: relative; 
}
nav.primary ul li a {
	color:#000; height: 60px; 
	font-family: 'industry', sans-serif; font-size: 17px; font-weight: 500; 
	text-transform: uppercase; letter-spacing: 1px; 
	text-decoration:none;
	display: flex; justify-content: center; align-items: center; 
	margin:0; 
	text-align:center;
	-webkit-transition:.2s ease-in;  
	-moz-transition:.2s ease-in;  
	-o-transition:.2s ease-in;  
	transition:.2s ease-in;	
	padding:0 20px;
}	
nav.primary ul li a:hover {
	color:#ed1f24;font-weight: 700; 
}
/* Appearance of the sub-level links */
nav.primary ul li li a { 
	min-height: 42px; display: flex; justify-content: center; align-items: center; 
	font-size:15px;
	line-height:16px; height: unset; 
	padding: 4px 10px;
	color:#fff;
	background: #202020; font-weight: 400; 
	text-align:center;
	border-right:none;
	border-left:none;
	border-bottom: #000 solid 1px;
}
/* Appearance of the sub-level links on hover */
nav.primary ul li li a:hover { 
	background: #101010;font-weight: 500; 
}

/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
    display: none;
    position: absolute; 
	width: unset;
	left: 50%; transform: translateX(-50%); 
}
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: 200px;
    position: relative;
    margin:0;
	display: block;
}

@media only screen and (max-width: 1100px) {
	nav.primary ul { column-gap: 0; }
}

/******** End of primary Nav ***************/

@media screen and (min-width: 981px)  {
		
	.menu-toggle.exit-click{
		display: none !important;
	}
}

@media screen and (max-width: 980px)  {
	
	.mobile + .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.33);
		opacity: 0;	
		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 { 
		display: inline-block;
		position: relative;
		z-index: 400; /* needs to be lower than nav.mobile, adjust as needed */
	}
	#menu-button a { height: 60px; display: flex; justify-content: center; align-items: center; width: 120px; 
		color:#000; cursor: pointer; 
		font-size: 22px;
		text-decoration: none;
		transition: .25s ease all; 
	}
	#menu-button a:hover { color: #ed1f24; }
	
	nav.mobile {
		display: block;
		position: fixed;
		top: 0;
		left: -350px;
		width: min(100%, 350px);
		height: 100%;
		background: #262626;
		z-index: 500; /* 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:50px 0 10px 0;
		color: #999;
		font-size: 18px;
		font-weight: 400;
	}

	/* MENU CLOSE 'X' BUTTON */
	nav.mobile .menu-toggle:not(.exit-click) {
		position: absolute; cursor: pointer; 
		padding: 3px 8px 3px;
		font-family: Arial, sans-serif;
		font-size: 24px;
		font-weight: bold;
		line-height: 1;
		background: #101010;
		color: #ddd;
		text-decoration: none;
		top: -38px;
		right: 13px;
	}
	nav.mobile .menu-toggle:not(.exit-click):hover { /* Menu close button on hoveer */
		background: #ed1f24;
		color: #000;
	}

	/* MENU LIST STYLE */
	nav.mobile ul {
		list-style: none;
		margin:0;
		padding:0;
	}
	nav.mobile ul li {
		border-bottom: 1px solid #151515;
		position:relative;
	}

	/* FIRST LEVEL */
	nav.mobile ul li a {
		position: relative; cursor: pointer; 
		display: flex; justify-content: flex-start; align-items: center; min-height: 50px; column-gap: 12px; 
		font-size: 15px;
		padding: 10px 14px 10px 10px; line-height: 20px; 
		font-family: 'industry', sans-serif; 
		color: #ccc;
		text-decoration: none;
		border-left: 4px #262626 solid;
		text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
		text-align: left;
	}
	nav.mobile ul li a:hover {
		background: rgba(0,0,0,0.25); 
		color: #fff; 
		border-left: 4px #ed1f24 solid; /* border highlight - Change to fit match site colors */
	}
	nav.mobile ul li a > span { display: flex; align-items: center; column-gap: 12px; }
	nav.mobile ul li a i { display: flex; justify-content: center; align-items: center; width: 20px; height: 20px; }

	/* SECOND LEVEL */
	nav.mobile ul li li {background: #202020; }
	nav.mobile ul li li a {
		background: none; 
		position: relative;
		display: flex; justify-content: space-between; align-items: center; min-height: 50px; 
		padding: 10px 19px 10px 15px;
		border-left:4px #202020 solid;
		color: #ccc;
		text-decoration: none;
	}
	nav.mobile ul li li a:hover {}

	/* THIRD LEVEL */
	nav.mobile ul li li li {background: #151515;}
	nav.mobile ul li li li a {
		background: none;
		position: relative;
		display: flex; justify-content: space-between; align-items: center; min-height: 50px; 
		padding: 10px 29px 10px 25px;
		color: #ccc;
		text-decoration: none;
		border-left: 4px #151515 solid;
	}
	nav.mobile ul li li li a:hover {}
	nav.mobile ul li .click.open i:before{
		content: "\f068";
	}

	.nav-footer {
		color:#ccc; font-family: 'industry', sans-serif; 
		position:relative; 
		text-align:center; 
		font-size:14px; 
		line-height:16px; 
		padding:24px 12px; letter-spacing: 1px; 
	}
}

@media only screen and (max-width: 750px) {
	#menu-button a { height: 50px; justify-content: flex-start; padding: 0 24px; }
}