﻿
.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/amr7szs.css");
/***** Start of primary nav ******/
#menu-button{display: none;}
nav.mobile { display:none;}
.logo-mobile {display: none;}
.nav-background {background: #2C2C2C;}

nav.primary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width:100%;
	margin: 0 auto;
	box-sizing: border-box;
	
	}
	nav.primary ul {
		margin:0; 
		padding:0;
		float:right;
		justify-content: flex-end;
		}
		nav.primary ul li {
			display:inline-block;
			margin:0;
			list-style-type:none; 
			width:auto;
			position: relative;
			}
			nav.primary ul li a {
				color:#fff;
				font-size:19px !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:700;
				padding:15px;
				font-family: 'neulis-sans', sans-serif;
				cursor: pointer;
				}	
			nav.primary ul li a:hover {
				background: #FF904B;
				color:#2C2C2C;
				}
			/* Appearance of the sub-level links */
			nav.primary ul li li a { 
				font-size:19px;
				line-height:24px;
				padding:15px;
				color:#2C2C2C;
				background-color: #F4F4F4;
				text-align:left;
			}
			/* Appearance of the sub-level links on hover */
			nav.primary ul li li a:hover { 
				color: #2C2C2C;
				background-color:#FF904B;
			}

.end-of-nav {right: 0;}

/* 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-desktop img, .logo-mobile img {max-width: 250px;}
.logo-desktop, .logo-mobile{
	padding: 20px 0;
}

nav.primary > .flex {justify-content: flex-end; gap: 30px; width: 100%;}

.search-form-mobile {display: none;}
.search-form-desktop {display: flex!important; max-width: 270px; width: 100%;}

.search-form-desktop form, .search-form-mobile form {position: absolute;}
.search-form-desktop input, .search-form-mobile input{
	display: block !important;
    background: #F4F4F4;
    width: 100% !important;
    padding: 12px !important;
    font-family: 'neulis-sans', sans-serif!important;
    border: none !important;
    line-height: 24px !important;
    font-size: 20px !important;
    box-sizing: border-box !important;
    height: auto !important;
}

.search-form-desktop button, .search-form-mobile button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 13px 20px !important;
    background: #FF904B !important;
    border: none !important;
    outline: none !important;
    line-height: 24px !important;
    font-size: 25px !important;
    transition: .4s ease-in;
    cursor: pointer;
}

.search-form-desktop button:hover, .search-form-mobile button:hover {background: #6A6A6A!important;}

.search-form-desktop i, .search-form-mobile i {color: #2C2C2C;}
.search-form-desktop i:hover,.search-form-mobile i:hover {color: #fff!important;}

@media screen and (max-width: 1380px) {
	nav.primary ul li a {margin: 0px 2px;}
	nav.primary > .flex {gap: 20px;}
}

@media screen and (max-width: 1300px) {
	nav.primary ul li a {padding: 15px 10px;}
	nav.primary > .flex {gap: 10px;}
}

/******** End of primary Nav ***************/

@media screen and (max-width: 1240px)  {
	.logo-mobile {display: block;}
.search-form-desktop {display: none;}
.search-form-mobile {display: inline-block!important; max-width: 270px; width: 100%;margin: 0!important; padding: 0!important;}
/*==============================
	Mobile Nav Styles			
================================*/	
nav.primary{display:none;}
	
	.mobile-menu > .flex {justify-content: space-between; align-items: center;}
	.search-background {
		background: #2C2C2C; 
		width: 100%; 
		height: 100px;
		display: flex;
		justify-content: flex-end;
		padding-right: 15px;
		box-sizing: border-box;
	}
	.search-background .search-form-mobile {margin: 0 auto;}
#menu-button{ 
	width: 100%;
	display: inline-block;
	font-size: 40px;
	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:normal;
	  }
nav.mobile {
	display:block;
	position: fixed;
	top: 0;
	left: -250px;
	width: 250px;
	height: 100%;
	background: #2C2C2C;
	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: 22px;
	right:13px;
	cursor: pointer;
}
nav.mobile .menu-toggle:hover { /* Menu close button on hoveer */
	color: #F37120;
}

	.top-ul {margin-top: 70px!important;}
/* MENU LIST STYLE */
nav.mobile ul {
	list-style: none;
	font-weight: 300;
	margin:0;
	padding:0;
}
nav.mobile ul li {
	position:relative;
}

/* FIRST LEVEL */
nav.mobile ul li a {
	position: relative;
	display: block;
	font-size:18px;
	padding: 15px;
	color: #fff;
	text-decoration: none;
	text-align: left;
	cursor: pointer;
	font-family: 'neulis-sans', sans-serif;
}
nav.mobile ul li a:hover {
	background:#F37120; 
	color: #2C2C2C; 
}

/* SECOND LEVEL */
nav.mobile ul li li:last-child {border:none;}
nav.mobile ul li li a {
	background: #3F3F3F;
	position: relative;
	display: block;
	padding: 15px;
	color: #fff;
	text-decoration: none;
}
nav.mobile ul li li a:hover {background:#F37120;}

	
nav.mobile ul li .fa-chevron-down {color:#fff; margin-left: 10px;}
}nav.mobile ul li a:hover .fa-chevron-down {color: #2C2C2C;}

@media screen and (max-width: 1020px)  {
	#menu-button{width:100%;}
}

@media screen and (max-width:450px){
	#menu-button{width:100%;}
}

@media screen and (max-width: 400px) {
	.search-background {justify-content: center!important;padding: 0 15px;}
}