﻿
.clear{clear:both;}
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@100;200;300;400;500;600;700;800&display=swap');
 @import url("https://use.typekit.net/nzv5wup.css");
/***** Start of primary nav ******/
#menu-button{display: none;}
nav.mobile { display:none;}
.mobile-menu {display: none!important;}
.nav-background {background: var(--blue);}
nav.primary .my-btn, .mobile-menu .my-btn {margin-top: 10px; margin-bottom: 10px;}
.btns-mobile {display: none!important;}

nav.primary {
	display:flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 auto;
	}
	nav.primary ul {
		margin:0; 
		padding:0;
		float:right;
		}
		nav.primary ul li {
			display:inline-block;
			margin:0;
			list-style-type:none; 
			width:auto;
			}
			nav.primary ul li a {
				color:#fff;
				font-size:20px !important;
				line-height:20px;
				text-decoration:none;
				position:relative;
				display:block;
				margin:0px 2px;
				text-align:center;
				text-transform:uppercase;
				-webkit-transition:.4s ease-in;  
				-moz-transition:.4s ease-in;  
				-o-transition:.4s ease-in;  
				transition:.4s ease-in;	
				font-weight:700;
				padding:20px;
				font-family: 'Bahnschrift', sans-serif;
				cursor: pointer;
				}	
			nav.primary ul li a:hover {
				background: var(--yellow);
				color: var(--dark-grey);
				}
			/* Appearance of the sub-level links */
			nav.primary ul li li a { 
				font-size:20px;
				line-height:24px;
				padding:20px;
				color:#fff;
				background-color: var(--blue);
				text-align:left;
			}
			/* Appearance of the sub-level links on hover */
			nav.primary ul li li a:hover { 
				color: var(--dark-grey);
				background-color:var(--yellow);
			}

nav.primary ul li i {margin-left: 5px; font-size: 18px;}

/* 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: 1000;
}
nav.primary ul ul li {
    float: none; 
	width: 220px;
    position: relative;
    margin:0;
	display: block;
}

/** header styles **/
.my-site-header .flex {gap: 10px;}
.my-site-header {justify-content: space-between; gap: 20px; align-items: center; padding-top: 20px!important; padding-bottom: 30px!important;}
.header-logo img{max-width: 350px; width: 100%;}

/******** End of primary Nav ***************/

@media screen and (max-width: 1150px)  {
	.mobile-menu {display: flex!important; justify-content: space-between; align-items: center;}
/*==============================
	Mobile Nav Styles			
================================*/	
nav.primary{display:none;}
#menu-button{ 
	display: inline-block;
	font-size: 24px;
	position: relative;
	line-height:60px; 
	z-index: 400; /* needs to be lower than nav.mobile, adjust as needed */
	text-align: right;
	}
	#menu-button a{
		 color:#fff;
		 text-decoration: none;
		 font-weight:700;
		font-size: 40px;
		cursor: pointer;
	  }
nav.mobile {
	display:block;
	position: fixed;
	top: 0;
	left: -280px;
	width: 280px;
	height: 100%;
	background: var(--dark-grey);
	z-index: 500; /* needs to be higher than #menu-button, adjust as needed */
	overflow:auto;
}

/* MENU CLOSE 'X' BUTTON */
nav.mobile .menu-toggle {
	position: absolute;
	padding: 3px 8px 3px;
	font-family: Arial, sans-serif;
	font-size:20px;
	font-weight: bold;
	line-height: 1;
	color: #fff;
	text-decoration: none;
	top: 38px;
	right:13px;
	cursor: pointer;
}
nav.mobile .menu-toggle:hover { /* Menu close button on hoveer */
	color: var(--yellow);
}

/* MENU LIST STYLE */
nav.mobile ul {
	list-style: none;
	font-weight: 300;
	margin:0;
	padding:0;
}
nav.mobile ul li {
	position:relative;
}
	
	.top-ul {margin-top: 100px!important;}

/* FIRST LEVEL */
nav.mobile ul li a {
	position: relative;
	display: block;
	font-size:20px;
	padding: 20px;
	color: #fff;
	text-decoration: none;
	text-align: left;
	font-family: 'Bahnschrift', sans-serif;
	text-transform:uppercase;
}
nav.mobile ul li a:hover {
	background:var(--yellow); 
	color: var(--dark-grey); 
}

/* SECOND LEVEL */
nav.mobile ul li li:last-child {border:none;}
nav.mobile ul li li a {
	background: #404040;
	position: relative;
	display: block;
	padding: 20px;
	color: #fff!important;
	text-decoration: none;
}
nav.mobile ul li li a:hover {background:var(--blue);}

	nav.mobile ul li i {color:#fff; margin-left: 10px; font-size: 18px;}
	nav.mobile ul li a:hover i {color: var(--dark-grey);}
}

@media screen and (max-width: 800px)  {
	.btns-desktop {display: none!important;}
	.btns-mobile {display: flex!important;}
}

@media screen and (max-width: 450px)  {
	.my-site-header {flex-direction: column;}
}
