﻿
.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/stz7xpp.css");
/***** Start of primary nav ******/
#menu-button{display: none;}
nav.mobile, .mobile-languages, .mobile-menu { display:none;}

nav.primary > div:last-child {background-color: rgba(44, 42, 41, .01);}

nav.primary p {color: #fff!important; text-align: right; font-weight: 500; margin-bottom: 20px;}

nav.primary .contact-languages {gap: 30px; margin-bottom: 20px;justify-content: flex-end;}

nav.primary .contact-languages .languages, .mobile-languages .languages {background: var(--cream); padding: 15px 25px; gap: 50px; border-radius: 10px;}
nav.primary .contact-languages .contact, .mobile-menu .mobile-contact {background: var(--cream); padding: 15px 25px; gap:30px; border-radius: 10px;}
nav.primary .contact-languages .contact .social-media {gap: 10px;}

nav.primary .contact-languages .languages a, nav.primary .contact-languages .contact a, .mobile-menu .mobile-contact a, .mobile-languages .languages a {
	font-family: 'bio-sans', sans-serif;
	color: var(--dark-grey);
	font-size: 20px;
	font-weight: 700;
}
.mobile-menu .mobile-contact a i {transition: all .4s ease-out;}
nav.primary .contact-languages .contact a i {transition: all .4s ease-out; font-size: 20px;margin-right: 20px;}

nav.primary .contact-languages .languages a:hover, nav.primary .contact-languages .contact a:hover, .mobile-languages .languages a:hover {text-decoration: underline;}
nav.primary .contact-languages .contact a:hover i, .mobile-menu .mobile-contact a:hover i {color: var(--orange);}

nav.primary {
	display:flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 auto;
	position: absolute; top: 30px; left: 0; right: 0; z-index: 4;
	}
	nav.primary .navigation {
		margin:0; 
		padding:0;
		float:right;
		}
		nav.primary .navigation li {
			display:inline-block;
			margin:0;
			list-style-type:none; 
			width:auto;
			}
			nav.primary .navigation li a {
				color:#fff;
				font-size:20px !important;
				letter-spacing: .5px;
				line-height:20px;
				text-decoration:none;
				position:relative;
				display:block;
				margin:0px 4px;
				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:700;
				padding:20px;
				font-family: 'bio-sans', sans-serif;
				text-shadow: 0 4px 4px rgba(0, 0, 0, 0.35);
				cursor: pointer;
				border-radius: 10px;
				}	
			nav.primary .navigation li a:hover {
				background: var(--orange);
				color:var(--dark-grey);
				 text-shadow: none;
				}
			/* Appearance of the sub-level links */
			nav.primary .navigation li li a { 
				font-size:20px;
				line-height:24px;
				padding:20px;
				color:#fff;
				background-color: var(--dark-grey);
				text-align:left;
				border-radius: 0;
				text-shadow: none!important;
			}
			/* Appearance of the sub-level links on hover */
			nav.primary .navigation li li a:hover { 
				color:var(--dark-grey);
				background-color:var(--orange);
				border-radius: 20px;
			}
/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary .navigation ul {
    display: none;
    position: absolute; 
}
nav.primary .navigation ul ul {
    position: absolute; 
    left: 100%;
    top:0; 
}
nav.primary .navigation li:hover > ul {  
    display: block;
    line-height:18px; 
    z-index: 1000;
}
nav.primary .navigation ul li {
    float: none; 
	width: 220px;
    position: relative;
    margin:0;
	display: block;
}

/** header styles **/

.logo-desktop img, .logo-mobile img{max-width: 300px; width: 100%}
.logo-mobile, .logo-desktop {
 margin-right: 20px;
}

@media screen and (max-width: 1490px)  {
	nav.primary .contact-languages .contact a span {display: none;}
}

@media screen and (max-width: 1400px)  {
	nav.primary .navigation li a {margin: 0; padding: 20px 15px;;}
}

/******** End of primary Nav ***************/

@media screen and (max-width: 1300px)  {
	.mobile-position {position: absolute; top: 0px; left: 0; right: 0; z-index: 4;}
	.mobile-menu {display: flex; justify-content: space-between; align-items: center; margin-top: 30px;}
	nav.primary {display: none;}
	.mobile-languages {display: flex; justify-content: center;}
/*==============================
	Mobile Nav Styles			
================================*/	
nav.primary{display:none;}
#menu-button{ 
	font-size: 24px;
	position: relative;
	line-height:60px; 
	z-index: 400; /* needs to be lower than nav.mobile, adjust as needed */
	text-align: right;
	justify-content: flex-end;
    display: flex;
	margin-top: 10px;
	cursor: pointer;
	}
	#menu-button a{
		 color:#fff;
		 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(--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: var(--orange);
}

/* 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;
	cursor: pointer;
	font-family: 'bio-sans', sans-serif;
}
nav.mobile ul li a:hover {
	background:var(--orange); 
	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: 20px;
	color: #fff;
	text-decoration: none;
	font-family: 'bio-sans', sans-serif;
}
nav.mobile ul li li a:hover {background:var(--orange); color: var(--dark-grey);}

/* FONT AWESOME ICONS */
	nav.mobile ul li .fa-chevron-down{color:#fff!important; margin-left: 20px;}
	nav.mobile ul li a:hover i.fa-chevron-down {color: var(--dark-grey)!important;}
}

@media screen and (max-width: 390px)  {
	.mobile-languages .languages {gap: 15px;}
}
