.clear {
	clear: both;
}

/***** Start of primary nav ******/
#menu-button {
	display: none;
}
nav.mobile {
	display: none;
}
nav.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  box-sizing: border-box;
}
nav.primary ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
nav.primary ul li {
  display: inline-block;
  position: relative;
  transition: 0.3s;
  height: 100%;
  min-width: inherit;
}
nav.primary ul li a {
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  text-decoration: none;
  margin: 0;
  text-align: center;
  -webkit-transition: 0.2s ease-in;
  -moz-transition: 0.2s ease-in;
  -o-transition: 0.2s ease-in;
  transition: 0.2s ease-in;
  -ms-transition: 0.2s ease-in;
  padding: 2.5em 2vw;
  display: block;
}
nav.primary ul li a:hover{color: #fff!important; background: #eb9700!important;}

nav.primary ul li.main-logo a {padding: 1em 2vw!important;}
nav.primary ul li.main-logo a:hover {background: none!important;}
nav.primary ul li.main-logo img {width: 100%; max-width: 300px; height: auto;}

/* Appearance of the sub-level links */
nav.primary ul li li a {
  color: #fff !important;
  font-size: 16px!important;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px!important;
  background: #000;
  font-weight: 600;
  font-family: 'Open Sans', sans-serif;
  text-align: left;
  font-style: normal;
  width: 100%;
}

/* Appearance of the sub-level links on hover */
nav.primary ul li li a:hover {
	color: #fff;
	background: #333!important;
}
/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
	display: none;
	position: absolute;
	z-index: 5;
	-webkit-box-shadow: 0px 2px 8px rgb(0 0 0 / 20%);
	-moz-box-shadow: 0px 2px 8px rgb(0 0 0 / 20%);
	box-shadow: 0px 2px 8px rgb(0 0 0 / 20%);
}
nav.primary ul ul ul {
	position: absolute;
	left: 100%;
	z-index: 5;
	top: 0;
}
nav.primary ul li:hover>ul {
	display: block;
	line-height: 18px;
	z-index: 100;
	white-space: nowrap;
	position: absolute;
}
nav.primary ul li:hover > a {color: #fff; background: #eb9700;}
nav.primary ul ul li {
	float: none;
	width: 280px;
	position: relative;
	margin: 0;
	display: block;
	font-size: 12px;
	border-left: none;
}

/******** Nav Resets ***************/
i.fas.fa-angle-down {
    padding-left: 3px;
    padding-top: 3px;
}

/******** End of primary Nav ***************/

@media screen and (max-width: 1300px) {
	nav.primary ul li a {padding: 2.5em 1vw;}
}

@media screen and (max-width: 991px) {	
	/*==============================
		Mobile Nav Styles			
	================================*/
	nav.primary {
		display: none;
	}
	#menu-button {
		display: flex;		
		align-items: center;
		justify-content: flex-end;
		font-size: 36px;
		font-weight: 900;
		position: relative;
		z-index: 600;
		color: #fff;
		box-sizing: border-box;
		width: 30%!important;
	}
	#menu-button a.menu-toggle {color: #fff; display: block; text-decoration: none;}
	
	nav.mobile .main-logo {display: none!important;}

	nav.mobile {
		display: block;
		position: fixed;
		top: 0;
		left: -300px;
		width: 300px;
		height: 100%;
		background: linear-gradient(#222, #111)!important;
		z-index: 9999;
		overflow: auto;
	}
	/* MENU HEADER SOCIAL MEDIA */
	nav.mobile .social-media {
		position: relative;
		text-decoration: none;
		display: inline-block;
		font-size: 22px;
		padding: 0;
		color: #fff !important;
		text-align: left;
		width: 100%;
	}
	nav.mobile .social-media a:link,
	nav.mobile .social-media a:visited {
		color: #fff;
		text-decoration: none;
	}
	nav.mobile .social-media a:hover,
	nav.mobile .social-media a:active {
		color: #fff;;
		text-decoration: underline;
	}
	.mobiletitle {
		padding-left: 20px;
		color: #999;
	}
	/* MENU HEADER STYLES */
	nav.mobile .mobile_top {
		position: relative;
		display: flex;
		justify-content: flex-start;
		color: #999;
		font-size: 18px;
		font-weight: 400;
		padding-bottom: 50px;
	  }
	  /* MENU CLOSE 'X' BUTTON */
	  nav.mobile .menu-toggle {
		position: absolute;
		top: 15px;
		right: 15px;
		padding: 3px 8px 3px;
		font-family: 'Open Sans', sans-serif;
		font-size: 24px;
		font-weight: bold;
		line-height: 1;
		color: #ddd;
		background: #000;
		text-decoration: none;
	  }
	  nav.mobile .menu-toggle:hover {
		color: #fff;
		background: #eb9700;
	  }
	/* MENU LIST STYLE */
	nav.mobile ul {
		list-style: none;
		font-weight: 300;
		margin: 0;
		padding: 0;
	}
	nav.mobile ul li {
		border-bottom: 1px solid #343434;
    	position: relative;
	}
	nav.mobile ul ul li {
		border-bottom: 1px solid #555;
		position: relative;
	  }
	/* FIRST LEVEL */
	nav.mobile ul li a {
		position: relative;
		display: inline-flex;
		justify-content: space-between;
		font-size: 16px;
		line-height: 26px;
		font-weight: 600;
		width: 100%;
		padding: 15px 30px 15px 25px;
		color: #ddd;
		text-decoration: none;
		text-align: left;
		box-sizing: border-box;
		transition: .3s ease-in-out all;
	}
	nav.mobile ul li a:hover {
		background: #eb9700;
		color: #fff;
	}
	/* SECOND LEVEL */
	nav.mobile ul li li:last-child, nav.mobile ul li li li:last-child {
		border: none;
	  }
	nav.mobile ul li li a {
		background: #333;
		position: relative;
		display: block;
		letter-spacing: normal;
		font-weight: 500;
		padding: 15px 30px;
		line-height: 1.5;
		text-transform: capitalize;
		transition: .3s ease-in-out all;
	}
	nav.mobile ul li li a:hover {
		background: #eb9700;
		color: #fff;
	}
	/* THIRD LEVEL */
	nav.mobile ul li li li:last-child {
		border: none;
	}
	nav.mobile ul li li li a {
		background: #444;
		position: relative;
		display: block;
		padding: 12px 32px;
		color: #fff;
		text-decoration: none;
		text-transform: capitalize;
		transition: .3s ease-in-out all;
	}
	nav.mobile ul li li li a:hover {
		background: #eb9700;
		color: #fff;
	}
	/* FOURTH LEVEL */
	nav.mobile ul li li li li:last-child {
		border: none;
	}
	nav.mobile ul li li li li a {
		background: #444;
		position: relative;
		display: block;
		padding: 12px 32px;
		color: #fff;
		text-decoration: none;
		text-transform: capitalize;
		transition: .3s ease-in-out all;
	}
	nav.mobile ul li li li li a:hover {
		background: #eb9700;
		color: #fff;
	}
	nav.mobile ul li .click {
		position: relative;
		display: block;
		cursor: pointer;
		color: #d2d2d2;
	}
	.nav-footer {
		color: #777;
		position: relative;
		text-align: center;
		font-size: 11.5px;
		line-height: 16px;
		padding: 20px;
		font-weight: 500;
	}
	/* FONT AWESOME ICONS */
	nav.mobile ul li a .fa {
		width: 25px;
		font-weight: 100;
		padding: 8px 3px;
		margin: 0 6px 0 0;
		text-align: center;
		background: #292929;
		-webkit-border-radius: 30px;
		-moz-border-radius: 30px;
		border-radius: 30px;
		text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	}
	nav.mobile ul li .fa-chevron-down {
		color: #999;
	}
	.more {
		position: absolute;
		right: 5%;
	}
	.mobilefooterlogo {
		text-align: center;
		margin: 0 auto;
		transform: scale(0.9);
	}
}
/* Hide the desktop menu item icons */
.primary li > i {
	display: none;
}
/* Position the mobile menu item icons */
.mobile li i {
	position: absolute;
	top: 15px;
	right: 20px;
}