.main-header {
	display: none;
}
.main-head {
	position: fixed;
	z-index: 99;
	top: 10px;
	left: 0;
	width: 100%;
	transition: all .5s cubic-bezier(0.1, 0.72, 0.23, 0.97);
	padding: 0 50px;
}
.main-head.menu-relative {
	position: relative;
	background: #ff7302;
	top: 0;
}
.main-head.menu-orange {
	background: #ff7302;
	top: 0;
}
.main-head.scrolled {
	background: #ff7302;
	top: 0;
}
.head-box {
	display: flex;
	justify-content: center;
	position: relative;
}
.head-box .ham-btn {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}
.head-logo {
	position: absolute;
	left: 0px;
	top: 50%;
	transform: translateY(-50%);
}
.head-logo img {
	max-width: 65px;
}
.head-search {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}
.head-search .icon {
	color: white;
	cursor: pointer;
}
.head-search form {
	width: 0px;
	overflow: hidden;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	transition: all .3s ease-in-out;
}
.head-search form.open {
	width: 250px;
}
.head-form-close {
	position: relative;
	height: 30px;
	width: 30px;
	background: rgba(0,0,0,.5);
	cursor: pointer;
}
.head-form-close:before, .head-form-close:after {
	position: absolute;
	content: '';
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(45deg);
	width: 15px;
	height: 2px;
	background: #ef8037;
}
.head-form-close:after {
	transform: translate(-50%, -50%) rotate(-45deg);
}
.head-search input {
	flex-grow: 1;
	background: rgba(0,0,0,.5);
	font-size: 15px;
	height: 30px;
	line-height: 30px;
	padding-left: 10px;
	color: white;
}
.head-search button {
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	color: white;
	background: rgba(0,0,0,1);
	border: none;
}
.ham-btn {
	display: block;
	width: 40px;
	height: 40px;
	position: relative;
	cursor: pointer;
}
.ham-btn > div {
	position: absolute;
	width: 30px;
	height: 3px;
	border-radius: 5px;
	background: white;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.ham-btn > div:before, .ham-btn > div:after {
	position: absolute;
	content: '';
	width: 30px;
	height: 3px;
	border-radius: 5px;
	background-color: white;
	top: 10px;
	left: 0;
	transition: all .3s ease-in-out;
}
.ham-btn > div:after {
	top: auto;
	bottom: 10px;
}
.ham-btn:hover > div:before {
	top: 7px;
}
.ham-btn:hover > div:after {
	bottom: 7px;
}
.ham-btn.active > div {
	background: none;
}
.ham-btn.active > div:before {
	top: 0;
	transform: rotate(45deg);
}
.ham-btn.active > div:after {
	top: 0;
	transform: rotate(-45deg);
}
/**/
.head-nav {
	display: flex;
}
.head-nav > li {
	position: relative;
}
.head-nav > li > a {
	display: block;
	color: white;
	padding: 20px;
	text-transform: uppercase;
	font-size: 15px;
	font-weight: 700;
	position: relative;
}
.head-nav > li > a > span {
	position: relative;
}
.head-nav > li > a > span:before {
	position: absolute;
	content: '';
	width: 100%;
	height: 175%;
	top: 48%;
	left: 0;
	border-top: 1px solid white;
	border-bottom: 1px solid white;
	opacity: 0;
	transition: all .3s ease-in-out;
	transform: translateY(-50%) scale(1, 0) ;
}

.head-nav .sub-nav {
	position: relative;
	display: none;
	width: 240px;
	transition: all .5s ease;
}
.head-nav .sub-nav > li {
	border-bottom: 1px solid #e0e0e0;
	transition: all .3s ease-in-out;
}
.head-nav .sub-nav > li:last-child {
	border-bottom: none;
}
.head-nav .sub-nav > li > a {
	display: block;
	box-sizing: border-box;
	padding: 8px 20px;
	font-size: 15px;
	line-height: 32px;
	font-weight: 400;
	color: #34363b;
	transition: all .3s ease-in-out;
}
.head-nav .sub-nav > li:hover {
	background: #ef8038;
}
.head-nav .sub-nav > li:hover > a {
	color: white;
}
@media (min-width: 992px) {
	.head-box .ham-btn {
		display: none;
	}
	.head-nav .sub-nav {
		display: block!important;
		position: absolute;
		top: 100%;
		left: 0;
		box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.05), -2px 0px 5px 1px rgba(0,0,0,0.05);
		background: white;
		border-top: 2px solid #ef8038;
		transform: translateY(20px);
		opacity: 0;
		pointer-events: none;
	}
	.head-nav > li:hover > a > span:before {
		opacity: 1;
		transform: translateY(-50%) scale(1, 1);
	}
	.head-nav > li:hover > .sub-nav {
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}
}

@media (max-width: 991px) {
	.head-box {
		justify-content: space-between;
		align-items: center;
	}
	.head-search {
		position: relative;
		transform: none;
	}
	.head-logo {
		position: relative;
		padding: 20px;
		top: 0;
		left: 0;
		transform: none;
		padding: 5px 0;
	}
	.head-nav-outer {
		position: absolute;
		top: 100%;
		width: 100%;
		/*display: none;*/
		left: 0;
		opacity: 0;
		transform: translateY(10px);
		transition: all .3s ease-in-out;
		pointer-events: none;
	}
	.head-nav-outer.mobile-show {
		opacity: 1;
		transform: none;
		pointer-events: auto;
	}
	.head-nav {
		flex-direction: column;
		background: white;
		box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.05), -2px 0px 5px 1px rgba(0,0,0,0.05);
		border-top: 2px solid #ef8038;
	}
	.head-nav > li > a {
		font-size: 13px;
		padding: 12px;
		color: #333;
		border-bottom: 1px solid rgba(0,0,0, .1);
		transition: all .3s ease-in-out;
	}
	.head-nav > li.li-hasChild > a {
		position: relative;
	}
	.head-nav > li.li-hasChild > a:before {
		width: 10px;
		height: 10px;
		border: 2px solid #e4e4e4;
		border-top-color: transparent;
		border-left-color: transparent;
		position: absolute;
		top: 50%;
		right: 20px;
		transform: translateY(-50%) rotate(-45deg);
		transform-origin: center;
		transition: all .3s ease-in-out;
		content: '';
	}
	.head-nav > li.li-hasChild:hover > a:before, .head-nav > li.li-hasChild.opened > a:before {
		border-bottom-color: #da6b25;
		border-right-color: #da6b25;
		transform: translateY(-50%) rotate(45deg);
	}
	.head-nav > li:hover > a, .head-nav > li.opened > a {
		color: white;
		background: #ef8038;
	}

	.head-nav .sub-nav {
		display: none;
		width: 100%;
		transition: none;
	}
}

@media (max-width: 575px) {
	.head-logo img {
		max-width: 45px;
	}
	.head-box .ham-btn {
		transform: translate(-50%, -50%) scale(.8);
	}
}

@media (max-width: 480px) {
	.main-head {
		padding: 0;
	}
	.head-box {
		padding: 0 15px;
	}
}