﻿.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;
	display:flex;justify-content: flex-end; align-items: stretch; 
}
nav.primary ul li {
	position: relative; 
	display:flex;justify-content: center; align-items: stretch; 
	margin:0;
	list-style-type:none; 
	width:auto;
}
nav.primary ul li a {
	position: relative; 
	color:#000;
	font-size:17px;
	text-decoration:none;
	display:flex;justify-content: center; align-items: center; 
	font-family: 'effra', sans-serif; 
	margin:0;
	text-align:center;
	text-transform:uppercase;
	-webkit-transition:.25s ease-in;  
	-moz-transition:.25s ease-in;  
	-o-transition:.25s ease-in;  
	transition:.25s ease-in;	
	font-weight:500;
	padding:0 20px;
}	
/*nav.primary > ul > li > a:before {
	position: absolute; content: ""; left: 16px; right: 16px; bottom: 6px; height: 2px; 
	opacity: 0; background: #fff200; transition: .4s ease-out all; 
}	*/	
nav.primary ul li a:hover {
	background: rgba(26, 83, 50, 1); color: #fff; 
}	
/*nav.primary > ul > li > a:hover:before {
	opacity: 1; bottom: 14px; 
}*/
/* Appearance of the sub-level links */
nav.primary ul li li a { 
	font-size:16px; justify-content: flex-start; 
	background: #262626;
	line-height:16px; min-height: 40px; 
	padding:10px;
	color:#fff;
	text-align:left;
	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: rgba(26, 83, 50, 1);
}

/* 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: 100%; left: 0; 
	width: unset;
}
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; 
    position: relative;
    margin:0;
	display: block;
}

@media only screen and (max-width: 1500px) {
	nav.primary ul li a { font-size: 16px; }
}

@media only screen and (max-width: 1350px) {
	nav.primary ul li a { padding: 0 18px; }
}

@media only screen and (max-width: 1300px) {
	nav.primary ul li a { padding: 0 16px; }
}

@media only screen and (max-width: 1230px) {
	nav.primary ul li a { padding: 0 14px; }
}

/******** End of primary Nav ***************/

@media screen and (min-width: 1141px)  {
		
	.menu-toggle.exit-click{
		display: none !important;
	}
}

@media screen and (max-width: 1140px)  {
	
	.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: stretch; align-items: stretch; 
		position: relative;
		z-index: 400; /* needs to be lower than nav.mobile, adjust as needed */
	}
	#menu-button a { height: 56px; 
		color:#000; border-top-left-radius: 12px; border-bottom-left-radius: 12px; 
		font-size: 23px; display: flex; justify-content: center; align-items: center; column-gap: 12px; 
		text-decoration: none; cursor: pointer; padding: 0 36px; background: #03a349; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); transition: .3s ease all; 
	}
	#menu-button a span {
		font-family: 'effra', sans-serif; font-size: 18px; font-weight: 500; text-transform: uppercase; 
	}
	#menu-button a:hover { background: rgba(26, 83, 50, 1); color: #fff; }
	
	nav.mobile {
		display: block;
		position: fixed;
		top: 0;
		left: -320px;
		width: min(100%, 320px);
		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;
		padding: 3px 8px 3px;
		font-family: Arial, sans-serif;
		font-size: 24px;
		font-weight: bold;
		line-height: 1;
		background: #161616;
		color: #bbb;
		text-decoration: none;
		top: -38px;
		right: 13px; cursor: pointer; 
	}
	nav.mobile .menu-toggle:not(.exit-click):hover { /* Menu close button on hoveer */
		background: #000;
		color: #fff;
	}

	/* MENU LIST STYLE */
	nav.mobile ul {
		list-style: none;
		margin:0;
		padding:0;
	}
	nav.mobile ul li {
		border-bottom: 1px solid #121212;
		position:relative; cursor: pointer; 
	}
	nav.mobile ul li li{
		border-bottom: 1px solid #444;
		position:relative; cursor: pointer; 
	}
	nav.mobile ul li li li{
		border-bottom: 1px solid #333;
		position:relative; cursor: pointer; 
	}
	nav.mobile ul li li:last-of-type {
		border-bottom: none; 
	}

	/* FIRST LEVEL */
	nav.mobile ul li a {
		position: relative;
		cursor: pointer; 
		padding: 10px 20px 10px 10px;
		color: #dfdfdf;
		text-decoration: none;
		border-left: 4px #262626 solid;
		text-align: left;
		
		letter-spacing: .25px; 
	font-size:17px;
	display:flex;justify-content: space-between; align-items: center; min-height: 50px; 
	font-family: 'effra', sans-serif; 
	margin:0;
	-webkit-transition:.25s ease-in;  
	-moz-transition:.25s ease-in;  
	-o-transition:.25s ease-in;  
	transition:.25s ease-in;	
	font-weight:400;
	}
	nav.mobile ul li a:hover {
		background: rgba(0,0,0,0.25); 
		color: #fff; 
		border-left: 4px #fff200 solid; /* border highlight - Change to fit match site colors */
	}
	
	nav.mobile ul li a span.is-listed {
		display: flex; justify-content: flex-start; align-items: center; column-gap: 12px; 
	}

	/* SECOND LEVEL */
	nav.mobile ul ul {background: #202020;}
	nav.mobile ul li li a {
		background: #1b1b1b;
		position: relative;
		padding: 10px 20px 10px 15px;
		border-left:4px #1b1b1b solid;
		color: #dfdfdf;
		text-decoration: none;
	display:flex;justify-content: space-between; align-items: center; min-height: 50px; 
	}
	nav.mobile ul li li a:hover {background:rgba(0,0,0,0.5);}

	/* THIRD LEVEL */
	nav.mobile ul ul ul {background: #121212;}
	nav.mobile ul li li li a {
	display:flex;justify-content: space-between; align-items: center; min-height: 50px; 
		background: #121212;
		position: relative;
		padding: 10px 20px 10px 25px;
		color: #dfdfdf;
		text-decoration: none;
		border-left: 4px #161616 solid;
	}
	nav.mobile ul li li li a:hover {background:#000;}
	
	nav.mobile ul li .click.open i:before{
		content: "\f068";
	}
	nav.mobile ul li i{
		 font-size: 14px; 
	}

	.nav-footer {
		font-family: 'effra', sans-serif; 
		color:#bbb; 
		position:relative; 
		text-align:center; 
		font-size:17px; 
		line-height:20px; 
		padding:24px 12px; letter-spacing: .5px; 
	}
}

@media only screen and (max-width: 350px) {
	#menu-button a span { display: none!important; }
}

@media only screen and (max-width: 260px) {
	#menu-button, #menu-button a { padding: 0; width: 100%; }
}
