﻿
.clear{clear:both;}

/***** Start of primary nav ******/

.logo{
	max-width: 300px;
}

.logo img{
	max-width: 100%;
}


.top-nav{
	background-color: #F6EE23;
	color: #000;
	padding: 10px 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	z-index: 99999999999999999999999;
}

.top-nav i{
	font-size: 12px;
	padding-right: 5px;
}

nav.primary .top-nav ul li a{
	color: #000 !important;
	font-size: 14px !important;
}


nav.primary .top-nav ul li button a{
	color: #fff !important;
}

nav.primary .top-nav ul li button a:hover{
	background-color: #1D1D1D;
}

.right-menu{

}

.left-menu{

}

.bottom-nav{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding:25px 40px;
	gap: 25px;
	position: relative;
	z-index: 99999;
}


#menu-button{display: none;}
nav.mobile { display:none;}

/*
nav.primary {
	padding:0;
	display:block;
	margin:0;
	position: relative;
	top:0;
	background-color: black;
	z-index: 99999999999999999999999999999;
	}
*/

	nav.primary {
		background-color: black;
		display: block;
		}


	nav.primary ul {
		margin:0; 
		padding:0;
		}

		nav.primary ul li {
			display:inline-block;
			margin:0;
			list-style-type:none; 
			width:auto;
			}

	nav.primary ul li a {
				color:#000;
				font-size: 16px !important;
				text-decoration:none;
				display:block;
				color: #ffffff;
				margin:0;
				text-align:center;
				-webkit-transition:.4s ease-in;  
				-moz-transition:.2s ease-in;  
				-o-transition:.2s ease-in;  
				transition:.2s ease-in;	
				font-weight:500;
				padding:0 10px;
				}

			nav.primary ul li a:hover {
				z-index: 9999999999;
				color: #F6EE23;
				}

			/* Appearance of the sub-level links */
			nav.primary ul li li a { 
				font-size:16px;
				line-height:28px;
				padding:10px 35px;
				color:#000000;
				background-color: #FFFFFF;
				text-align:left;
				border-right:none;
				border-left:none;
				border-bottom: 1px solid #E5E5E5;
				transition: 0.30s;
			}
			/* Appearance of the sub-level links on hover */
			nav.primary ul li li a:hover { 
				background-color: #F6EE23;
				color: #000;
			}
/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
    display: none;
    position: absolute; 
}
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;
	top: 15px;
}

.activeheader{
    position: fixed;
	top: 0px;
	z-index: 9999999999999;
	width: 100%;
}

.activeheader .bottom-nav{
    padding: 15px 40px;
}


.activeheader .logo{
    max-width: 225px;
}

@media screen and (max-width: 1140px)  {
	nav.primary .bottom-nav ul li a:not(.bottom-nav ul li ul li a){
		padding: 0 5px !important;
	}

	nav.primary .logo{
		max-width: 225px;
	}
}


@media screen and (max-width: 1010px)  {
	nav.primary .logo{
		max-width: 200px;
	}

	nav.primary .bottom-nav ul li a{
		font-size: 14px !important;
	}
}


/******** End of primary Nav ***************/

@media screen and (max-width: 900px)  {

/*==============================
	Mobile Nav Styles			
================================*/	
nav.primary{display:none;}
#menu-button{ 
	display: block;
	
	
	
	z-index: 400; /* needs to be lower than nav.mobile, adjust as needed */
	text-align: right;	
	}

	.top-mobile{
		background-color: #F6EE23;
		font-size: 14px;
		padding: 10px 40px;
	}

	.top-mobile a{
		display: flex;
		gap: 5px;
		align-items: center;
		color: #000 !important;
	}

	.bottom-mobile{
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 20px 40px;
		font-size: 24px;
		background: black;
	}

	#menu-button .logo{
		max-width: 225px;
	}

	nav.mobile i{
		color: #F6EE23 !important;
	}

	#menu-button a{
		 color:#fff;
		 text-decoration: none;
		 font-weight:normal;
	  }
	
nav.mobile {
	display:block;
	position: fixed;
	top: 0;
	left: -300px;
	width: 300px;
	height: 100%;
	background: #000000;
	z-index: 500; /* needs to be higher than #menu-button, adjust as needed */
	overflow:hiden;
}
	
/* MENU HEADER SOCIAL MEDIA */
	nav.mobile .social-media {
		position: relative;
		text-decoration: none;
		display: inline-block;
		font-size:16px;
		word-spacing:13px;
		padding:0 0 0 15px;
		color: #ccc !important;
	}
	
	nav.mobile .social-media a:link, nav.mobile .social-media a:visited {color:#ccc; text-decoration:none;}
	nav.mobile .social-media a:hover, nav.mobile .social-media a:active {color:#fff; text-decoration:underline;}

/* MENU HEADER STYLES */
	
	nav.mobile .logo{
		width: 175px;
	}

nav.mobile .mobile_top {
	padding: 23px;
	text-align: right;
	font-size: 26px;
}
	


/* MENU CLOSE 'X' BUTTON */
	
	.mobile-top-menu{
		display: flex;
		justify-content: space-between;
		align-items: center;
		
	}
	
	nav.mobile .menu-toggle{
		color: #FFFFFF;
	}
	
	
	*/
nav.mobile .menu-toggle:hover { /* Menu close button on hoveer */
	color: #86C94A;
}

/* MENU LIST STYLE */
nav.mobile ul {
	list-style: none;
	font-weight: 300;
	margin:0;
	padding:0;
}
nav.mobile ul li {
	border-bottom: 1px solid #151515;
	position:relative;
}

/* FIRST LEVEL */
nav.mobile ul li a {
	position: relative;
	display: block;
	font-size:15px;
	padding: 15px 35px;
	color: #FFFFFF;
	text-decoration: none;
	text-align: left;
	font-weight: 500;
	transition: .25s;
}
nav.mobile ul li a:hover {
	color: #F6EE23; 
}

/* SECOND LEVEL */

nav.mobile ul li li a {
	position: relative;
	display: block;
	text-decoration: none;
}
nav.mobile ul li li a:hover {
	;
	}

/* THIRD LEVEL */
nav.mobile ul li li li:last-child {border:none;}
nav.mobile ul li li li a {
	background: #555;
	position: relative;
	display: block;
	padding: 10px 10px 10px 25px;
	color: #ccc;
	text-decoration: none;
	border-left:4px #555 solid;
}
nav.mobile ul li li li a:hover {background:rgba(85,85,85,0.5);}


	
		a.click {
		display: flex !important;
		justify-content: space-between !important;
		align-items: center !important;
	}


/* FONT AWESOME ICONS */
nav.mobile ul li a .fa{
	width:25px;
	font-weight:100;
	padding:8px 3px;
	margin:0 6px 0 0;
	text-align:center;
	background:#292929;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}


nav.mobile ul li .fa-chevron-down {
	color:#FFFFFF;
	}
	
	.mobile:not(.open) + .menu-toggle.exit-click {
display: none;
}
.mobile.open + .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.5);
opacity: 0;
transition: ease opacity 0.3s;

}
/******** End of Toggle Overlay ***************/
	
/******** Menu Overlay ***************/
	
.mobile.open + .menu-toggle.exit-click {
pointer-events: auto;
opacity: 1;
box-shadow: 0 0 10px 2px rgba(0,0,0,.4);
}

body.menu-toggle.exit-click{
	overflow: hiden !important;
}


}
