﻿
.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/wol0owk.css");
/***** Start of primary nav ******/
#menu-button{display: none;}
nav.mobile { display:none;}
.logo-mobile, .header-contact-mobile {display: none;}
.nav-background {background-color: var(--light-grey);}

.header-contact {position: absolute; top: 0; right: 0; width: 100%; max-width: 370px;}
.header-contact a {
	font-size: 20px!important;
	padding: 30px 0;
	display: inline-block;
	max-width: 370px;
	width: 100%;
	background: var(--red);
	color: #fff!important;
	text-align: center;
	transition: all .4s ease-out;
	font-family: 'neulis-sans', sans-serif;
}
.header-contact a i, .header-contact-mobile a i {margin-right: 15px;}
.header-contact > div:last-child a, .header-contact-mobile > div:last-child a {background: var(--dark-red)!important;}
.header-contact a:hover, .header-contact-mobile a:hover {background: var(--dark-red)!important;} 
.header-contact > div:last-child a:hover, .header-contact-mobile > div:last-child a:hover {background: var(--red)!important;}

nav.primary {
	display:flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 auto;
	}
	nav.primary ul {
		padding:0;
		float:right;
		margin:0 370px 0 0;
		}
		nav.primary ul li {
			display:inline-block;
			margin:0;
			list-style-type:none; 
			width:auto;
			}
			nav.primary ul li a {
				color: var(--dark-grey);
				font-size:20px !important;
				line-height:20px;
				text-decoration:none;
				position:relative;
				display:block;
				margin:0px 5px;
				text-align:center;
				-webkit-transition:.4s ease-in;  
				-moz-transition:.4s ease-in;  
				-o-transition:.4s ease-in;  
				transition:.4s ease-in;	
				font-weight:600;
				padding:20px;
				font-family: 'neulis-sans', sans-serif;
				cursor: pointer;
				border-radius: 10px;
				}	
			nav.primary ul li a:hover {
				background: var(--red);
				color:#fff;
				}
			/* 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;
				border-radius: 0px!important;
			}
			/* Appearance of the sub-level links on hover */
			nav.primary ul li li a:hover { 
				background-color:var(--red);
			}
/* 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: 390px; width: 100%;}
.logo-mobile, .logo-desktop{
	padding: 23px 0;
}
@media screen and (max-width: 1540px)  {
	.header-contact {max-width: 220px;}
	nav.primary ul {margin: 0 210px 0 0;}
	nav.primary ul li a {margin: 0;}
}

/******** End of primary Nav ***************/

@media screen and (max-width: 1320px)  {
	.logo-desktop, .header-contact {display: none;}
	.header-contact-mobile, .logo-mobile {display: inline-block;}
	
	.header-contact-mobile {display: flex; justify-content: center;}
	
	.header-contact-mobile a {
		font-size: 20px!important;
		padding: 30px 0;
		display: inline-block;
		width: 100%;
		background: var(--red);
		color: #fff!important;
		text-align: center;
		transition: all .4s ease-out;
		font-family: 'neulis-sans', sans-serif;
	}
	
	.header-contact-mobile div {width: 50%;}
/*==============================
	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;
	margin-bottom: -5px;
	margin-left: 40px;
	}
	#menu-button a{
		 color: var(--dark-grey);
		 text-decoration: none;
		 font-weight:700;
		 font-size: 40px;
		 cursor: pointer;
	  }
	
	.mobile-menu .flex {justify-content: space-between; align-items: center;}
	
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;
	color: #fff;
	text-decoration: none;
	top: 38px;
	right:13px;
	cursor: pointer;
}
nav.mobile .menu-toggle:hover { /* Menu close button on hoveer */
	color: #fff;
}

/* 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: 15px;
	color: #fff;
	text-decoration: none;
	text-align: left;
	font-family: 'neulis-sans', sans-serif;
	cursor: pointer;
}
nav.mobile ul li a:hover {
	background:var(--red); 
	color: #fff; 
}

/* 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;
	color: #fff;
	text-decoration: none;
}
nav.mobile ul li li a:hover {background:var(--red);}
	
/* FONT AWESOME ICONS */

	nav.mobile ul li .fa-chevron-down{color:#fff!important; margin-left: 20px;}
}

@media screen and (max-width: 500px)  {
	.mobile-menu .header-contact-mobile span {display: none;}
	.header-contact-mobile a i {margin-right: 0;}
	.header-contact-mobile a {padding: 20px 0;}
}