﻿.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: space-between; 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; align-items: stretch; pointer-events: all; 
}

nav.primary ul li.nav-splitter { width: 350px; margin-left: auto; pointer-events: none; }

nav.primary ul li a {
	color: #fff;
	text-align: center;
	width: 100%; 
	text-decoration:none; 
	-webkit-transition: .2s ease-in; 
	-moz-transition: .2s ease-in; 
	-o-transition: .2s ease-in; 
	transition: .2s ease-in;
	cursor: pointer; margin: 0; 
	position: relative; height: 50px; pointer-events: all!important; 
	display: flex; justify-content: center; align-items: center; gap: 12px;
	padding: 12px 20px; 
	font-family: "Roboto Condensed", sans-serif; 
	font-size: 17px; 
	font-weight: 600; 
	text-transform: uppercase; 
}	
nav.primary ul li a:hover { color: #676767; }

nav.primary ul li a i { font-size: 12px; }

.navright, nav.primary ul li a.navright, nav.mobile ul li a.navright { padding: 12px 18px; }

.navbtnbtn, nav.primary ul li a.navbtnbtn, nav.mobile ul li a.navbtnbtn { position: relative; height: 50px; display: flex; justify-content: center; align-items: center; padding: 12px 20px; font-family: "Roboto Condensed", sans-serif; font-size: 17px; font-weight: 600; text-transform: uppercase; background: #c0c0c0; color: #000; }

.navbtnbtn:hover, nav.primary ul li a.navbtnbtn:hover, nav.mobile ul li a.navbtnbtn:hover { color: #000!important; background: #fff!important; }

/* Appearance of the sub-level links */
nav.primary ul li li a { 
	justify-content: flex-start; 
	text-align: left; height: 38px!important; 
	font-size: 14px;
	padding: 10px 20px;pointer-events: all!important; 
	color: #fff;
	background: #333;
	border-right: none; border-left: none;
}
nav.primary ul li li:last-child a { border-bottom: none; }

/* Appearance of the sub-level links on hover */
nav.primary ul li li a:hover { color: #676767; }

/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul { display: none; width: unset; position: absolute; top: 100%; left: 0; }
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: 200px; position: relative; display: block; float: none; margin: 0; }

@media only screen and (max-width: 1280px) {
	nav.primary ul li a { padding: 12px 15px; }
	.navright, nav.primary ul li a.navright, nav.mobile ul li a.navright { padding: 12px; }
}

@media only screen and (max-width: 1220px) {
	.navright, nav.primary ul li a.navright, nav.mobile ul li a.navright { padding: 12px 8px; }
}

@media only screen and (max-width: 1180px) {
	nav.primary ul { margin-right: -18px; width: calc(100% + 18px); }
}

@media only screen and (max-width: 1140px) {
	nav.primary ul li.nav-splitter { width: 300px; }
}

/******** End of primary Nav ***************/

@media screen and (min-width: 1101px) {
	.menu-toggle.exit-click { display: none !important; }
}

@media screen and (max-width: 1100px) {
	.mobile + .menu-toggle.exit-click{
		position: fixed !important; z-index: 402; pointer-events: none; opacity: 0; 
		top: 0 !important;left: 0 !important;right: 0 !important;bottom: 0 !important; 
		background: rgba(0,0,0,0.1); transition: ease opacity 0.3s; 
	}
	.mobile.open + .menu-toggle.exit-click{
		pointer-events: auto; opacity: 1;
		-webkit-backdrop-filter: blur(.5px);
		backdrop-filter: blur(.5px);
	}
/*==============================
	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;pointer-events: all!important; 
		font-size: 18px; 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 i { transform: scaleX(1.2); }
	#menu-button a span { font-size: 17px; text-transform: uppercase; font-family: "Roboto Condensed", sans-serif; font-weight: 800; }
	
	#menu-button a:hover { color: #c0c0c0; }
	#menu-button a:hover span {}
	
	
	nav.mobile {
		position: fixed; z-index: 500; /* needs to be higher than #menu-button, adjust as needed */
		top: 0; right: -360px; display: block; overflow: visible; height: 100vh; padding-top: 8%; box-sizing: border-box; 
		width: min(calc(100% - 70px), 265px); 
		background: #0a0a0a;
	}

	/* MENU CLOSE 'X' BUTTON */
	nav.mobile .menu-toggle:not(.exit-click) {
		position: absolute; z-index: 2; display: flex; justify-content: center; align-items: center; 
		font-family: Arial, sans-serif; text-decoration: none; cursor: pointer; pointer-events: all; 
		width: 70px; height: 65px; top: 0; right: 100%; 
		font-size: 54px; /*font-weight: bold; */
		background: #000; color: #fff;
	}

	/* 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 #ff0000;
	}
	/*nav.mobile > ul > li:first-child { border-top: 1px solid #181818; }*/
	nav.mobile ul ul li:first-child {border-top: 1px solid #ff0000;}
	nav.mobile ul ul li:last-child {border-bottom:none;}

	/* FIRST LEVEL */
	nav.mobile ul li a {
		position: relative; padding: 10px 20px;
		display: flex; justify-content: center; align-items: center; min-height: 60px; 
		font-size: 17px; text-align: center; font-family: "Roboto Condensed", sans-serif;
		color: #fff;pointer-events: all!important; 
		text-decoration: none; cursor: pointer; transition: .25s ease all; 
	}
	nav.mobile ul li .click {
		pointer-events: all!important; font-size: 12px; color: #fff; cursor: pointer; 
		position: absolute; top: 0; right: 0; width: 60px; height: 60px; display: flex; justify-content: center; align-items: center; 
	}
	nav.mobile ul li a:hover, nav.mobile ul li a.active, nav.mobile ul li .click:hover {
		color: #676767; 
	}

	/* SECOND LEVEL */
	nav.mobile ul li li a {
		background: #333;font-size: 14px; 
		position: relative;
		display: flex; justify-content: center; align-items: center; min-height: 38px;  text-align: center; 
		color: #fff;
		text-decoration: none;
	}
	nav.mobile ul li li a:hover { background: #000; color: #fff; }

	nav.mobile ul li i.click.open:before { transform: rotateX(180deg); /*content: "\f068";*/ }

	.nav-footer {
		position:relative; text-align:center; 
		color:#bbb; 
		font-size:15px; 
		padding:24px 12px;
	}
}

@media only screen and (max-width: 650px) {
	/*#menu-button a { padding: 0 5vw; }*/
	/*#menu-button a span { display: none!important; }*/
}