header {
	position: relative;
	position: sticky;
	position: -webkit-sticky;
	top: 0;
	z-index: 20;
	box-shadow: 0px 2px 8px rgba(0,0,0,0.2);
	background-color: #FFF;
	height: 90px;
	font-size: 16px;
}


header a { color: #1F1F1F; text-decoration: none; }

header .maxwidth { position: relative; }

#logo {
	position: absolute;
	top: -30px;
	left: 70px;
	width: 158px;
	transition: top 250ms, width 250ms;
}

#logo img { width: 100%; height: auto; }

body.scrolled #logo {
	top: 10px;
	width: 65px;
}

header .header-inner {
	margin: 0 0 0 320px;
}

header .header-inner .top {
	padding: 18px 0 9px 0;
}

header .header-inner .slogan { font-size: 18px; }

header .header-inner .quicklinks {
	position: absolute;
	top: 18px;
	right: 0;
}

header .header-inner .quicklinks > a {
	display: inline-block;
	margin: 0 0 0 20px;
	position: relative;
	padding: 0 0 0 30px;
}

header .header-inner .quicklinks > a i {
	position: absolute;
	top: -5px;
	left: 0;
	font-size: 22px;
}

header .header-inner .bottom {
	position: relative;
}



#body nav ul li {
	margin: 0 20px 0 0;
}

#body nav ul li:last-child { margin-right: 0; }

nav ul li a { font-size: 22px; text-decoration: none; color: #1F1F1F; }

#favorites-container .a.color {
	color: var(--primarycolor);
}#nav_icon_wrapper { display: none; }
#nav_icon_wrapper:after { display: block; content: ""; clear: left; }
#nav_icon_wrapper {
	position: absolute;
	top: 49px;
	left: 286px;
}
#nav_icon {
	position: relative;
	cursor: pointer;
	width: 18px;
	height: 12px;
	margin: 7px 10px 0 0;
}

#nav_icon .nav_line {
	position: absolute;
	left: 0px;
	width: 18px;
	height: 2px;
	background-color: #1F1F1F;
}

#nav_icon .nav_line1 {
	top: 0px;
	-webkit-transition: all 1s 0.2s ease, top 0.2s 0.4s linear, -webkit-transform 0.4s ease;
	transition: all 1s 0.2s ease, top 0.2s 0.4s linear, transform 0.4s ease;
}

#nav_icon .nav_line2 {
	top: 5px;
	-webkit-transition: opacity 0.4s 0.4s ease;
	transition: opacity 0.4s 0.4s ease;
}

#nav_icon .nav_line3 {
	top: 10px;
	-webkit-transition: all 1s 0.2s ease, top 0.2s 0.4s linear, -webkit-transform 0.4s ease;
	transition: all 1s 0.2s ease, top 0.2s 0.4s linear, transform 0.4s ease;
}

#nav_icon_wrapper > .label {
	display: none;
}

/* Clicked */

body.header-state-openmenu a.menu #nav_icon .nav_line1 {
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
	top:4px;
	-webkit-transition: all 0.8s 0.2s ease, top 0.2s linear;
	transition: all 0.8s 0.2s ease, top 0.2s linear;
}

body.header-state-openmenu a.menu #nav_icon .nav_line2 {
	opacity:0;
	-webkit-transition: opacity 0.4s ease;
	transition: opacity 0.4s ease;
}

body.header-state-openmenu a.menu #nav_icon .nav_line3 {
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	top:4px;
	-webkit-transition: all 0.8s 0.2s ease, top 0.2s linear;
	transition: all 0.8s 0.2s ease, top 0.2s linear;
}@media all and (min-width: 1024px) and (max-width: 1279px) {
	header {
		height: 80px;
		font-size: 15px;
	}
	
	#logo {
		top: -33px;
		left: 60px;
		width: 140px;
	}

	#nav_icon_wrapper {
	    top: 46px;
	    left: 248px;
	}

	header .header-inner { margin: 0 0 0 275px; }

	header .header-inner .top { padding: 16px 0 5px 0; }
	header .header-inner .slogan { font-size: 17px; }
	header .header-inner .quicklinks > a {
		padding: 0 0 0 25px;
		margin: 0 0 0 17px;
	}
	header .header-inner .quicklinks > a i {
		font-size: 20px;
		top: -3px;
	}

	#body nav ul li { margin: 0 13px 0 0; }
	#body nav ul li a { font-size: 20px; }
}

@media all and (min-width: 768px) and (max-width:1023px) {

	header {
		height: 70px;
		font-size: 14px;
	}
	
	#logo {
		top: -23px;
		left: 50px;
		width: 120px;

	}

	#nav_icon_wrapper {
	    top: 39px;
	    left: 212px;
	}

	header .header-inner { margin: 0 0 0 205px; }

	header .header-inner .top { padding: 13px 0 4px 0;}
	header .header-inner .slogan { font-size: 16px; }

	header .header-inner .quicklinks > a {
		padding: 0 0 0 22px;
		margin: 0 0 0 15px;
	}
	header .header-inner .quicklinks > a i {
		font-size: 17px;
		top: -3px;
	}

	#body nav ul li { margin: 0 9px 0 0; }
	#body nav ul li a { font-size: 17px; }

}

@media all and (min-width: 568px) and (max-width: 767px) {

	header {
		position: relative;
		top: 0;
		height: auto;
		max-height: 60px;
		font-size: 13px;
		transition: max-height 300ms; 
	}

	#body.header-open header {
		max-height: 500px;
		transition: max-height 300ms; 
	}

	#logo {
		top: -18px;
		left: auto;
		right: 20px;
		width: 90px;

	}


	#nav_icon_wrapper {
	    top: 15px;
	    left: 20px;
	    display: block; 
	}

	#nav_icon { float: left; }
	#nav_icon_wrapper .label { float: left; display: block;  font-size: 20px; }

	header .header-inner { 
		max-height: 0;
		margin: 0px 0 0 20px; 
		padding: 50px 0 0 0;
		transition: max-height 300ms; 
		overflow: hidden;
	}

	#body.header-open header .header-inner {
		max-height: 500px;
		transition: max-height 300ms; 
	}

	header .header-inner .top { padding: 0 0 0 0;}
	header .header-inner .slogan { font-size: 15px; margin: 0 0 15px 0; }

	header .header-inner .quicklinks {
		position: static;
		top: auto;
		right: auto;
		margin: 20px 0;
	}
	header .header-inner .quicklinks > a {
		padding: 0 0 0 22px;
		margin: 0 0 0 15px;
	}
	header .header-inner .quicklinks > a.fav { margin-left: 0; }
	header .header-inner .quicklinks > a i {
		font-size: 18px;
		top: -3px;
	}

	#body nav ul li { margin: 0 0 5px 0; float: none; }
	#body nav ul li a { font-size: 18px; }

}

@media all and (max-width: 567px) {
	header {
		position: relative;
		top: 0;
		height: auto;
		max-height: 50px;
		font-size: 12px;
		transition: max-height 300ms; 
	}

	#body.header-open header {
		max-height: 500px;
		transition: max-height 300ms; 
	}

	#logo {
		top: -11px;
		left: auto;
		right: 20px;
		width: 70px;

	}


	#nav_icon_wrapper {
	    top: 15px;
	    left: 10px;
		display: block;
	}

	#nav_icon { float: left; }
	#nav_icon_wrapper .label { float: left; display: block;  font-size: 19px; }

	header .header-inner { 
		max-height: 0;
		margin: 0px 0 0 10px; 
		padding: 50px 0 0 0;
		transition: max-height 300ms; 
		overflow: hidden;
	}

	#body.header-open header .header-inner {
		max-height: 500px;
		transition: max-height 300ms; 
	}

	header .header-inner .top { padding: 0 0 0 0;}
	header .header-inner .slogan { font-size: 14px; margin: 0 0 12px 0; }

	header .header-inner .quicklinks {
		position: static;
		top: auto;
		right: auto;
		margin: 18px 0;
	}
	header .header-inner .quicklinks > a {
		padding: 0 0 0 22px;
		margin: 0 0 0 15px;
	}
	header .header-inner .quicklinks > a.fav { margin-left: 0; }
	header .header-inner .quicklinks > a i {
		font-size: 18px;
		top: -3px;
	}

	#body nav ul li { margin: 0 0 4px 0; float: none !important; }
	#body nav ul li a { font-size: 17px; }
}

