﻿
.clear{clear:both;}
@import url("https://use.typekit.net/edz0wnu.css");
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@100;200;300;400;500;600;700;800&display=swap');
/***** Start of primary nav ******/
#menu-button{display: none;}
nav.mobile, .logo-mobile { display:none;}

nav.primary {
	display:flex;
	justify-content: flex-start;
	align-items: center;
	margin: 0 auto;
	gap: 60px;
	}
.first-red a {color: #ff2d37!important;}
	nav.primary ul {
		margin:0; 
		padding:0;
		float:right;
		min-width: 800px;
		}
		nav.primary ul li {
			display:inline-block;
			margin:0;
			list-style-type:none; 
			width:auto;
			}
			nav.primary ul li a {
				color:#000;
				font-size:14px !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:600;
				padding:8px;
				font-family: 'dm-sans', sans-serif;
				}	
			nav.primary ul li a:hover {
				color:#ff2d37;
				}
			
/* 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 {width: 100%;}
.logo-desktop{
	max-width: 300px; width: 100%; height: auto;
	margin-top: 30px; margin-bottom: 30px; margin-left: 40px;
}


/******** End of primary Nav ***************/

@media screen and (max-width: 1080px)  {
	.logo-mobile {display: flex; max-width: 150px; width: 100%; height: auto;
		margin-top: 30px; margin-bottom: 30px; margin-left: 40px;}
	.logo-mobile img {width: 100%;}
	
	.mobile-menu {align-items: center; gap: 50px;}
/*==============================
	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:#000;
		 text-decoration: none;
		 font-weight:700;
		font-size: 30px;
	  }
nav.mobile {
	display:block;
	position: fixed;
	top: 0;
	left: -300px;
	width: 300px;
	height: 100%;
	background: #fff;
	z-index: 500; /* needs to be higher than #menu-button, adjust as needed */
	overflow:auto;
}

/* MENU CLOSE 'X' BUTTON */
	.close-btn {background: #fafafa; border-bottom: 1px solid #e4e4e4; padding: 15px 0;}
	.menu-heading {font-family: 'dm-sans', sans-serif; color: #000; border-bottom: 1px solid #e4e4e4; padding: 10px; font-size: 14px;text-transform:uppercase;}
	.menu-heading span {margin-right: 10px;}
	
nav.mobile .menu-toggle {
	position: absolute;
	padding: 3px 4px 3px;
	font-family: Arial, sans-serif;
	font-size:24px;
	font-weight: 400;
	line-height: 1;
	background: #fafafa;
	color: #000;
	text-decoration: none;
	top: 0px;
	right:0px;
	cursor: pointer;
}
nav.mobile .menu-toggle:hover { /* Menu close button on hoveer */
	background: #ff2d37;color: #fff;
}

/* MENU LIST STYLE */
nav.mobile ul {
	list-style: none;
	font-weight: 300;
	margin:0;
	padding:0;
}
nav.mobile ul li {
	position:relative;
	margin: 0 15px;
}
	

/* FIRST LEVEL */
nav.mobile ul li a {
	position: relative;
	display: block;
	font-size:14px;
	padding: 12px 0;
	border-bottom: 1px solid #e4e4e4;
	color: #000;
	text-decoration: none;
	font-family: 'dm-sans', sans-serif;
	text-transform:uppercase;
	text-align: left;
}
nav.mobile ul li a:hover {
	color: #ff2d37; 
}
	
}

.mobile + .menu-toggle.exit-click{
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 499;
        pointer-events: none;
        background: rgba(0, 0, 0, 0.7);
        opacity: 0;    
        transition: ease opacity 0.3s;
    }
    .mobile.open + .menu-toggle.exit-click{
        pointer-events: auto;
        opacity: 1;
    }

@media screen and (max-width: 730px)  {
	.mobile-menu {justify-content: space-between;}
}
