.menu *,.menu  *::before,.menu  *::after {
transition: all .3s ease-in-out;
}
#navmenu, #navmenu ul, #navmenu ul li, #navmenu ul li a, #navmenu #menu-button {
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
	line-height: 1;
	display: block;
	position: relative;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#navmenu:after, #navmenu > ul:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
#navmenu #menu-button {
	display: none;
}
#navmenu {
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	/*background: #fff;*/
}
#navmenu > ul > li {
	margin: 5px 0;
	float: left;
}
#navmenu.align-center > ul {
	font-size: 0;
	text-align: center;
}
#navmenu.align-center > ul > li {
	display: inline-block;
	float: none;
}
#navmenu.align-center ul ul {
	text-align: center;
}
#navmenu.align-right > ul > li {
	float: right;
}
#navmenu > ul > li > a {
	font-size: 17px;
	text-decoration: none;
	color: #ffffff;
	text-align:center;
	width:140px;
	/*padding:16px 0;*/
}
#navmenu > ul > li > a.last-list {
	border-right:none;
}
#navmenu > ul > li > a span {
	text-transform: uppercase;
	color:#869cc5;
	font-size:11px;
	display:block;
	padding-top:6px;
	font-weight:normal;
}
#navmenu > ul > li:hover > a,#navmenu > ul > li > a.active {
	/*border-bottom: 3px solid #FFFFFF;*/
	/*padding-bottom: 10px;*/
	box-sizing: border-box;
	color: #ecd832;
}

#navmenu > ul > li.has-sub > a:before {
	position: absolute;
	right: 14px;
 -webkit-transition: all .25s ease;
 -moz-transition: all .25s ease;
 -ms-transition: all .25s ease;
 -o-transition: all .25s ease;
 transition: all .25s ease;
}

#navmenu ul ul {
	position: absolute;
	left: -9999px;
	z-index:9;
	width:142px;
}
#navmenu.align-right ul ul {
	text-align: right;
}
#navmenu ul ul li {
	height: 0;
 -webkit-transition: all .25s ease;
 -moz-transition: all .25s ease;
 -ms-transition: all .25s ease;
 -o-transition: all .25s ease;
 transition: all .25s ease;
}
#navmenu li:hover > ul {
	left: auto;
}
#navmenu.align-right li:hover > ul {
	left: auto;
	right: 0;
}
#navmenu li:hover > ul > li {
	height: 45px;
}
#navmenu ul ul ul {
	margin-left: 100%;
	top: 0;
}
#navmenu.align-right ul ul ul {
	margin-left: 0;
	margin-right: 100%;
}
#navmenu ul ul li a {
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	padding: 16px 8px;
	font-size: 15px;
	text-decoration: none;
	color: #ffffff;
	font-weight: 500;
	line-height:.8;
	text-align:center;
}
#navmenu ul ul li:last-child > a, #navmenu ul ul li.last-item > a {
	border-bottom: 0;
}
#navmenu ul ul li:hover > a, #navmenu ul ul li a:hover {
	/*background: rgba(241, 241, 241, 0.5);*/
	color: #ecd832;
}
#navmenu ul ul li.has-sub > a:after {
	position: absolute;
	top: 16px;
	right: 11px;
	width: 8px;
	height: 2px;
	display: block;
	/*background: #ffffff;*/
	content: '';
}
#navmenu.align-right ul ul li.has-sub > a:after {
	right: auto;
	left: 11px;
}
#navmenu ul ul li.has-sub > a:before {
	position: absolute;
	top: 13px;
	right: 14px;
	display: block;
	width: 2px;
	height: 8px;
	/*background: #ffffff;*/
	content: '';
 -webkit-transition: all .25s ease;
 -moz-transition: all .25s ease;
 -ms-transition: all .25s ease;
 -o-transition: all .25s ease;
 transition: all .25s ease;
}
#navmenu.align-right ul ul li.has-sub > a:before {
	right: auto;
	left: 14px;
}
#navmenu ul ul > li.has-sub:hover > a:before {
	top: 17px;
	height: 0;
}
#navmenu.small-screen {
	width: 100%;
	display:inline-block;
	margin-top:5px;
}
#navmenu.small-screen ul {
	width: 100%;
	display: none;
}
#navmenu.small-screen.align-center > ul {
	text-align: left;
}
#navmenu.small-screen ul li {
	width: 100%;
	border-top: 1px solid #e8e8e8;
}
#navmenu.small-screen ul ul li, #navmenu.small-screen li:hover > ul > li {
	height: auto;

}
#navmenu.small-screen ul li a, #navmenu.small-screen ul ul li a {
	width: 100%;
	border-bottom: 0;
	border-right:0;
	text-align:left
}
#navmenu.small-screen ul li a span {
	display:none;
}
#navmenu.small-screen > ul > li {
	float: none;
}
#navmenu.small-screen ul ul li a {
	padding-left: 25px;
}
#navmenu.small-screen ul ul ul li a {
	padding-left: 35px;
}
#navmenu.small-screen ul ul li a {
	color: #ffffff;
	 background:-webkit-linear-gradient(left,#4561fc,#0ac9fe);/* Safari 5.1 - 6.0 */
     background:-o-linear-gradient(right,#4561fc,#0ac9fe);/* Opera 11.1 - 12.0 */
     background:-moz-linear-gradient(right,#4561fc,#0ac9fe);/* Firefox 3.6 - 15 */
     background:linear-gradient(to right,#4561fc,#0ac9fe);/* 标准*/
}
#navmenu.small-screen ul ul li:hover > a, #navmenu.small-screen ul ul li.active > a {
	color: #ffffff;
}
#navmenu.small-screen ul ul, #navmenu.small-screen ul ul ul, #navmenu.small-screen.align-right ul ul {
	position: relative;
	left: 0;
	width: 100%;
	margin: 0;
	text-align: left;
}
#navmenu.small-screen > ul > li.has-sub > a:after, #navmenu.small-screen > ul > li.has-sub > a:before, #navmenu.small-screen ul ul > li.has-sub > a:after, #navmenu.small-screen ul ul > li.has-sub > a:before {
	display: none;
}
#navmenu.small-screen #menu-button {
	display: block;
	padding: 10px 17px;
	color: #222;
	cursor: pointer;
	font-size: 15px;
	text-transform: uppercase;
	font-weight: 700;
}
#navmenu.small-screen #menu-button:after {
	position: absolute;
	top: 22px;
	right: 17px;
	display: block;
	height: 8px;
	width: 20px;
	border-top: 2px solid #222;
	border-bottom: 2px solid #222;
	content: '';
}
#navmenu.small-screen #menu-button:before {
	position: absolute;
	top: 16px;
	right: 17px;
	display: block;
	height: 2px;
	width: 20px;
	background: #222;
	content: '';
}
#navmenu.small-screen #menu-button.menu-opened:after {
	top: 23px;
	border: 0;
	height: 2px;
	width: 15px;
	background: #222;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}
#navmenu.small-screen #menu-button.menu-opened:before {
	top: 23px;
	background: #222;
	width: 15px;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
#navmenu.small-screen .submenu-button {
	position: absolute;
	z-index: 99;
	right: 0;
	top: 0;
	display: block;
	border-left: 1px solid rgba(30, 30, 220, 0.2);
	height: 48px;
	width: 48px;
	cursor: pointer;
}
#navmenu.small-screen .submenu-button.submenu-opened {
	 background:-webkit-linear-gradient(left,#4561fc,#0ac9fe);/* Safari 5.1 - 6.0 */
     background:-o-linear-gradient(right,#4561fc,#0ac9fe);/* Opera 11.1 - 12.0 */
     background:-moz-linear-gradient(right,#4561fc,#0ac9fe);/* Firefox 3.6 - 15 */
     background:linear-gradient(to right,#4561fc,#0ac9fe);/* 标准*/
	border-left: 1px solid #e8e8e8;
}
#navmenu.small-screen ul ul .submenu-button {
	height: 35px;
	width: 35px;
}
#navmenu.small-screen .submenu-button:after {
	position: absolute;
	top: 22px;
	right: 19px;
	width: 8px;
	height: 2px;
	display: block;
	background: #222;
	content: '';
}
#navmenu.small-screen ul ul .submenu-button:after {
	top: 15px;
	right: 13px;
}
#navmenu.small-screen .submenu-button.submenu-opened:after {
	background: #fff;
}
#navmenu.small-screen .submenu-button:before {
	position: absolute;
	top: 19px;
	right: 22px;
	display: block;
	width: 2px;
	height: 8px;
	background: #222;
	content: '';
}
#navmenu.small-screen ul ul .submenu-button:before {
	top: 12px;
	right: 16px;
}
#navmenu.small-screen .submenu-button.submenu-opened:before {
	display: none;
}

 @media only screen and (max-width: 768px) {
 #navmenu > ul > li > a {
 padding:17px 6px;
}
 #navmenu ul ul li a {
 border-top:none;
}
}
@media(max-width:1024px) {
#navmenu > ul > li > a {
 width:116px;
}
#navmenu > ul > li > a span {
 font-size:10px;
}
#navmenu ul ul {
 width:116px;
}
@media(min-width:1280px) {
}
}
