﻿
.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/bfz6gsc.css");
/***** Start of primary nav ******/
#menu-button{display: none;}
nav.mobile, .logo-mobile {display:none;}
.nav-background {background: var(--light-grey);}

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:var(--black);
				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: all .4s ease-in;	
				font-weight:600;
				padding:20px;
				font-family: 'figtree', sans-serif;
				cursor: pointer;
				}	
			nav.primary ul li a:hover {
				background: var(--blue);
				color:#fff;
				transform: scale(.9);
				}
.last-btn a {
	background: linear-gradient(180deg, #3D5D76 0%, #537A97 100%); 
	color: #fff!important; 
	transition: transform .4s!important; 
	margin-left: 10px!important; 
	padding: 20px 30px!important;
}
.last-btn a:hover {
	transform: scale(.9);
}
			/* Appearance of the sub-level links */
			nav.primary ul li li a { 
				font-size:20px;
				line-height:24px;
				padding:15px;
				color:#fff;
				background-color: var(--grey);
				text-align:left;
			}
			/* Appearance of the sub-level links on hover */
			nav.primary ul li li a:hover { 
				color: #fff;
				background-color:var(--blue);
			}
/* 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 **/
.logo-mobile img, .logo-desktop img{max-width: 120px; width: 100%;}
.logo-mobile, .logo-desktop {
	padding-top: 10px; padding-bottom: 10px;
}

.my-site-header {background: var(--grey);}
.my-site-header .flex {justify-content: flex-end; gap: 50px; padding-top: 30px!important; padding-bottom: 30px!important;}
.my-site-header i {margin-right: 20px;}
.my-site-header a {color: #fff; font-size: 20px; font-family: 'figtree', sans-serif; font-weight: 500;}
.my-site-header a:hover, .my-site-header a:hover i {text-decoration: underline;}

/******** End of primary Nav ***************/

@media screen and (max-width: 1220px)  {
	.logo-mobile {display: inline-block;}
	.mobile-menu {justify-content: space-between; align-items: center; gap: 30px;}
/*==============================
	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;
	cursor: pointer;
	}
	#menu-button a{
		 color:var(--black);
		 text-decoration: none;
		 font-weight:700;
		font-size: 40px;
	  }
nav.mobile {
	display:block;
	position: fixed;
	top: 0;
	left: -250px;
	width: 250px;
	height: 100%;
	background: var(--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: transparent;
	color: #fff;
	text-decoration: none;
	top: 38px;
	right:13px;
	cursor: pointer;
}
nav.mobile .menu-toggle:hover { /* Menu close button on hoveer */
	background: var(--blue);
}

/* 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;
	font-family: 'figtree', sans-serif;
	text-align: left;
	cursor: pointer;
	font-weight: 500;
	transition: transform .4s!important;
}
nav.mobile ul li a:hover {
	background:var(--blue); 
	color: #fff; 
	transform: scale(.9);
}

/* SECOND LEVEL */
nav.mobile ul li li:last-child {border:none;}
nav.mobile ul li li a {
	background: #fff;
	position: relative;
	display: block;
	padding: 20px;
	color: var(--black);
	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: 20px;}
}

@media screen and (max-width: 530px) {
	.my-site-header .flex {padding-top: 15px!important; padding-bottom: 15px!important;}
	.logo-mobile img {max-width: 100px;}
}

@media screen and (max-width: 440px) {
	.my-site-header a span {display: none;}
	.my-site-header i {margin-right: 0;}
}
