﻿
.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/udz3fec.css");
/***** Start of primary nav ******/
#menu-button{display: none;}
nav.mobile, .mobile-menu { display:none;}
.nav-background {z-index: 1; 
	position: absolute;
    top: 102px;
    left: 0;
    right: 0;
}

nav.primary {
	display:flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 auto;
	padding-right: 1.7%;
	}
	nav.primary ul {
		margin:0; 
		padding:0;
		float:right;
		background-color: rgba(29, 30, 32, .01);
		}
		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;
				-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: 'neulis-sans', sans-serif;
				cursor: pointer;
				}	
			nav.primary ul li a:hover {
				background: var(--yellow);
				color:var(--dark-grey);
				border-radius: 50px;
				}
			/* 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(--dark-grey);
				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);
			}
/* 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 {background: var(--dark-grey);}
.my-site-header .wrapper {justify-content: space-between; padding-top: 20px; padding-bottom: 20px; align-items: center; gap: 40px;}
.my-site-header .wrapper .flex {align-items: center; gap: 40px;}
.my-site-header .text-link {color: #fff; font-family: 'neulis-sans', sans-serif; font-size: 17px; transition: all .4s ease-out;}
.my-site-header .text-link:hover {color: var(--yellow);}
.my-site-header i {margin-right: 15px;}

.logo-desktop img, .logo-mobile img{max-width: 200px; width: 100%;}
.logo-desktop, .logo-mobile{
	background: rgba(255, 255, 255, .9);
	border-radius: 0 0 50px 0;
	padding: 20px 60px 20px 45px;
}

@media only screen and (min-width: 1936px) {
    nav.primary {
        margin-left: auto;
        margin-right: auto;
		max-width: 1830px;
    }
}

@media screen and (max-width: 1670px)  {
	nav.primary {padding-right: 15px;}
}

/******** End of primary Nav ***************/

@media screen and (max-width: 1050px)  {
	.mobile-menu {display: flex; align-items: center; justify-content: space-between; padding-right: 15px; gap: 40px;}
/*==============================
	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: -250px;
	width: 250px;
	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:24px;
	font-weight: bold;
	line-height: 1;
	background: none;
	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: 'neulis-sans', sans-serif;
	cursor: pointer;
}
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: var(--grey);
	position: relative;
	display: block;
	padding: 15px 20px;
	color: var(--dark-grey);
	text-decoration: none;
}
nav.mobile ul li li a:hover {background:var(--blue); color: #fff;}

	nav.mobile ul li .fa-chevron-down{color:#fff!important; margin-left: 15px;}
	nav.mobile ul li a:hover .fa-chevron-down {color: var(--dark-grey)!important;}
}

@media screen and (max-width: 980px)  {
	.my-site-header .text-link span {display: none;}
	.my-site-header i {margin-right: 0;}
}

@media screen and (max-width: 430px)  {
	.my-site-header .btn-yellow {width: 140px;}
}

@media screen and (max-width: 360px)  {
	.my-site-header .wrapper .flex, .my-site-header .wrapper {gap: 25px;}
}
