﻿.clear{clear:both;}

/***** Start of primary nav ******/
#menu-button{display: none;}
nav.mobile {display:none;}

nav.primary {
	padding:0;
	display: flex; justify-content: flex-end; align-items: stretch; 
	margin:0;
	width:100%;
	position:relative;
}
nav.primary ul {
	margin:0; 
	padding:0;position: relative; 
	display: flex; justify-content: flex-end; align-items: stretch; 
}
nav.primary ul li {
	display:flex;align-items: stretch; 
	margin:0; position: relative; 
	list-style-type:none; 
	width:auto;
}
nav.primary ul li a {
	color:#fff;position: relative; 
	font-size:18px;
	border-radius: 6px; 
	text-decoration:none;
	display:flex; justify-content: center; align-items: center; column-gap: 8px; 
	margin:0;
	font-family: 'trade-gothic-next-condensed', sans-serif; 
	text-align:center;
	-webkit-transition:.2s ease-in;  
	-moz-transition:.2s ease-in;  
	-o-transition:.2s ease-in;  
	transition:.2s ease-in;	
	font-weight:700; letter-spacing: .5px; 
	padding: 0px 20px;
	cursor: pointer; 
}	
nav.primary ul li a:hover {
	color:#948eec;
}
nav.primary > ul > li > a:before { background: rgba(255, 255, 255, 0); -webkit-transition:.2s ease-in;  -moz-transition:.2s ease-in;  -o-transition:.2s ease-in;  transition:.2s ease-in; position: absolute; content: ""; z-index: -1; width: calc(100% - 8px); height: calc(100% - 16px); top: 10px; left: 4px;  pointer-events: none; border-radius: 6px; }
nav.primary > ul > li > a:hover:before { background: rgba(255, 255, 255, .04); }

nav.primary ul li a i { font-size: 11px; transition: .3s ease all; }
nav.primary ul li:hover a i { transform: rotate(180deg); color:#948eec; }

/* Appearance of the sub-level links */
nav.primary ul li li a { 
	font-size:17px;letter-spacing: .5px; 
	padding:10px 12px 12px 12px; min-height: 44px; 
	color:#fff;justify-content: flex-end; 
	background: #0d0d0d; border-radius: 0; 
	text-align:right;
	border-right:none;
	border-left:none;
	border-bottom: #303030 solid 1px;
}
/* Appearance of the sub-level links on hover */
nav.primary ul li li a:hover { 
	background: #151515; 
}

nav.primary ul li li:first-child a { border-top-left-radius: 6px; border-top-right-radius: 6px; }
nav.primary ul li li:last-child a { border-bottom-left-radius: 6px; border-bottom-right-radius: 6px; border-bottom: none; }

/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
    display: none;
    position: absolute; top: calc(100% - 4px); right: 0; 
	width: unset;
}
nav.primary ul ul ul {
    position: absolute; 
    right: 100%;
    top:0; 
}
nav.primary ul li:hover > ul {  
    display: block;
    line-height:18px; 
    z-index: 100;
}
nav.primary ul ul li {
    float: none; 
	min-width: 160px;
    position: relative;
    margin:0;
	display: block;
}

@media only screen and (max-width: 1600px) {
	nav.primary ul li a { padding: 0 16px; }
	nav.primary > ul > li > a:before { left: 0; width: 100%; }
}

@media only screen and (max-width: 1540px) {
	nav.primary ul li a { font-size: 17px; }
}

@media only screen and (max-width: 1480px) {
	nav.primary ul li a { font-size: 16px; }
}

@media only screen and (max-width: 1420px) {
	nav.primary ul li a { padding: 0 12px; }
}

@media only screen and (max-width: 1420px) {
	nav.primary ul li a { font-size: 15.5px; padding: 0 10px; }
}

/******** End of primary Nav ***************/

@media screen and (min-width: 1251px)  {
		
	.menu-toggle.exit-click{
		display: none !important;
	}
}

@media screen and (max-width: 1250px)  {
	
	.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: flex; justify-content: flex-end; align-items: stretch; 
		position: relative;
		z-index: 400; /* needs to be lower than nav.mobile, adjust as needed */
	}
	#menu-button a {
		color:#fff;
		font-size: 24px; 
		text-decoration: none;
		cursor: pointer; border-radius: 6px; display:flex; justify-content: center; align-items: center; column-gap: 12px; 	-webkit-transition:.2s ease-in;  
	-moz-transition:.2s ease-in;  
	-o-transition:.2s ease-in;  
	transition:.2s ease-in;	padding: 0px 20px;
	}
	#menu-button a span {margin-bottom: 2px; font-size:20px;font-family: 'trade-gothic-next-condensed', sans-serif; font-weight:700; letter-spacing: .5px; }
	
	
	#menu-button a:hover {
	color:#948eec;
}
#menu-button a:before { background: rgba(255, 255, 255, 0); -webkit-transition:.2s ease-in;  -moz-transition:.2s ease-in;  -o-transition:.2s ease-in;  transition:.2s ease-in; position: absolute; content: ""; z-index: -1; width: 100%; height: min(56px, calc(100% - 16px)); top: 50%; transform: translateY(-50%); left: 0; pointer-events: none; border-radius: 6px; }
#menu-button a:hover:before { background: rgba(255, 255, 255, .04); }
	
	
	nav.mobile {
		display: block;
		position: fixed;
		top: 0;
		right: -320px;
		width: min(100%, 300px);
		height: 100%;
		background: #111;
		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:flex;
		padding: 0; height: 15px; 
		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;
		display: flex; justify-content: center; align-items: center; width: 50px; height: 50px; 
		font-family: Arial, sans-serif;
		font-size: 32px;
		line-height: 1;
		background: #11116b;
		color: #fff;
		text-decoration: none;
		top: -38px;
		right: 13px;border-radius: 6px; 
		cursor: pointer; transition: .2s ease all;
	}
	nav.mobile .menu-toggle:not(.exit-click):hover { /* Menu close button on hoveer */
		background: #303030;
		color: #fff;
	}

	/* MENU LIST STYLE */
	nav.mobile ul {
		list-style: none;
		margin:0;
		padding:0;
	}
	nav.mobile ul li {
		border-bottom: 1px solid #303030;
		position:relative;
	}
	nav.mobile ul li:first-child {
		border-top: 1px solid #303030;
	}

	/* FIRST LEVEL */
	nav.mobile ul li a {
		position: relative;
		cursor: pointer; 
		font-size: 18px;
		padding: 10px;display:flex; justify-content: flex-start; align-items: center; column-gap: 8px; min-height: 50px; 
		font-family: 'trade-gothic-next-condensed', sans-serif; 
		color: #fff;
		text-decoration: none;
		border-left: 4px #111 solid;
		text-align: left;
	}
	nav.mobile ul li a:hover {
		color: #948eec; background: #202020; 
		border-left: 4px #948eec solid; /* border highlight - Change to fit match site colors */
	}
	nav.mobile ul i { font-size: 12px; transition: .25s ease all; }
	nav.mobile ul .open i { transform: rotate(180deg); color:#948eec; }

	/* SECOND LEVEL */
	nav.mobile ul li li a {
		background: #0d0d0d;
		position: relative;
		display:flex; justify-content: flex-start; align-items: center; column-gap: 8px; min-height: 50px; 
		padding: 10px 10px 10px 15px;
		border-left:4px #0d0d0d solid;
		color: #fff;
		text-decoration: none;
	}
	nav.mobile ul li li a:hover {}

	/* THIRD LEVEL */
	nav.mobile ul li li li a {
		background: #000;
		position: relative;
		display:flex; justify-content: flex-start; align-items: center; column-gap: 8px; min-height: 50px; 
		padding: 10px 10px 10px 25px;
		color: #fff;
		text-decoration: none;
		border-left: 4px #000 solid;
	}
	nav.mobile ul li li li a:hover {}

	.nav-footer {
		color:#bbb; font-family: 'trade-gothic-next', sans-serif; letter-spacing: .5px; 
		position:relative; 
		text-align:center; 
		font-size:14px; 
		line-height:16px; 
		padding:24px 16px;
	}
}

@media only screen and (max-width: 650px) {
	nav.mobile { right: -780px; width: 100%; }
}