/*
---------------------------------------------------------------
  Note that styles you apply to the main menu items are inherited by the sub menus items too.
  If you'd like to avoid this, you could use child selectors (not supported by IE6) - for example:
  .sm-huaxun > li > a { ... } instead of .sm-huaxun a { ... }
---------------------------------------------------------------*/


/* Menu box
===================*/

	.sm-huaxun {
	}
	.sm-huaxun ul {
		padding:5px 0;
		background: #fff;
		color:#fff;
		-moz-box-shadow:0 4px 3px rgba(0,0,0,0.25);
		-webkit-box-shadow:0 4px 3px rgba(0,0,0,0.25);
		box-shadow:0 4px 3px rgba(0,0,0,0.25);
	}
	.sm-huaxun ul ul {
	}


/* Menu items
===================*/

	.sm-huaxun a {
		padding:8px 30px;
		color:#fff;
		font-size:1.2em;
		letter-spacing: 0.02em;
		text-decoration:none;
	}
	.sm-huaxun a:hover, .sm-huaxun a:focus, .sm-huaxun a:active {
		background:#fff;
		color:rgb(7, 37, 95);
	}
	.sm-huaxun a.highlighted {
		background:#fff;
		color:rgb(7, 37, 95);
		-moz-box-shadow:0 4px 3px rgba(0,0,0,0.25);
		-webkit-box-shadow:0 4px 3px rgba(0,0,0,0.25);
		box-shadow:0 4px 3px rgba(0,0,0,0.25);
	}
	.sm-huaxun ul a {
		background:#fff;
		color:rgb(7, 37, 95);
		padding:10px 20px;
		font-size:1.0em;
		line-height:normal;
		-moz-border-radius:0;
		-webkit-border-radius:0;
		border-radius:0;
	}
	.sm-huaxun ul a:hover, .sm-huaxun ul a:focus, .sm-huaxun ul a:active,
	.sm-huaxun ul a.highlighted {
		background:#fff;
		color:rgb(7, 37, 95);
		-moz-box-shadow:none;
		-webkit-box-shadow:none;
		box-shadow:none;
	}
	/* current items - add the class manually to some item or check the "markCurrentItem" script option */
	.sm-huaxun a.current, .sm-huaxun a.current:hover, .sm-huaxun a.current:focus, .sm-huaxun a.current:active {
		border-bottom-color:#638db8;
	}
	.sm-huaxun ul a.current, .sm-huaxun ul a.current:hover, .sm-huaxun ul a.current:focus, .sm-huaxun ul a.current:active {
		border-right:0;
		border-bottom:0;
		font-weight:bold;
	}
	.sm-huaxun a.has-submenu {
		padding-right:32px;
	}


/* Sub menu indicators
===================*/

	.sm-huaxun a span.sub-arrow {
		position:absolute;
		right:17px;
		top:50%;
		margin-top:-3px;
		/* we will use one-side border to create a triangle so that we don't use a real background image, of course, you can use a real image if you like too */
		width:0;
		height:0;
		overflow:hidden;
		border-top:6px solid #638db8; /* tweak size of the arrow */
		border-left:4px dashed transparent;
		border-right:4px dashed transparent;
	}
	.sm-huaxun a:hover span.sub-arrow, .sm-huaxun a:focus span.sub-arrow, .sm-huaxun a:active span.sub-arrow {
		border-top-color:#F6FFED;
	}
	.sm-huaxun a.highlighted span.sub-arrow {
		border-top-color:#638db8;
	}
 	.sm-huaxun ul a span.sub-arrow {
		right:15px;
		margin-top:-4px;
		border-left:6px solid #638db8; /* tweak size of the arrow */
		border-top:4px dashed transparent;
		border-bottom:4px dashed transparent;
	}
 	.sm-huaxun ul a:hover span.sub-arrow, .sm-huaxun ul a:focus span.sub-arrow, .sm-huaxun ul a:active span.sub-arrow,
 	.sm-huaxun ul a.highlighted span.sub-arrow {
		border-left-color:#F6FFED;
		border-top-color:transparent;
	}


/* Scrolling arrows containers for tall sub menus - test sub menu: "Sub test" -> "more..." in the default download package
===================*/

	.sm-huaxun span.scroll-up, .sm-huaxun span.scroll-down {
		position:absolute;
		display:none;
		visibility:hidden;
		overflow:hidden;
		background:#F6FFED;
		height:20px;
		/* width and position will be automatically set by the script */
	}
	.sm-huaxun span.scroll-up-arrow, .sm-huaxun span.scroll-down-arrow {
		position:absolute;
		top:6px;
		left:50%;
		margin-left:-8px;
		/* we will use one-side border to create a triangle so that we don't use a real background image, of course, you can use a real image if you like too */
		width:0;
		height:0;
		overflow:hidden;
		border-bottom:8px solid #638db8; /* tweak size of the arrow */
		border-left:6px dashed transparent;
		border-right:6px dashed transparent;
	}
	.sm-huaxun span.scroll-down-arrow {
		border-top:8px solid #638db8; /* tweak size of the arrow */
		border-bottom:0;
	}


/*
---------------------------------------------------------------
  Responsiveness
  These will make the sub menus collapsible when the screen width is too small.
---------------------------------------------------------------*/


/* decrease horizontal main menu items left/right padding to avoid wrapping */
@media screen and (max-width: 991px) {
	.sm-huaxun:not(.sm-huaxun-vertical) > li > a {
		padding-left:20px;
		padding-right:20px;
	}
	.sm-huaxun:not(.sm-huaxun-vertical) > li > a.has-submenu {
		padding-right:24px;
	}
	.sm-huaxun:not(.sm-huaxun-vertical) a span.sub-arrow {
		right:9px;
	}
}
@media screen and (max-width: 767px) {

	/* The following will make the sub menus collapsible for small screen devices (it's not recommended editing these) */
	ul.sm-huaxun{width:auto !important;}
	ul.sm-huaxun ul{display:none;position:static !important;top:auto !important;left:auto !important;margin-left:0 !important;margin-top:0 !important;width:auto !important;min-width:0 !important;max-width:none !important;}
	ul.sm-huaxun>li{float:none;}
	ul.sm-huaxun>li>a,ul.sm-huaxun ul.sm-nowrap>li>a{white-space:normal;}
	ul.sm-huaxun iframe{display:none;}

	/* Uncomment this rule to disable completely the sub menus for small screen devices */
	/*.sm-huaxun ul, .sm-huaxun span.sub-arrow, .sm-huaxun iframe {
		display:none !important;
	}*/


/* Menu box
===================*/

	.sm-huaxun {
		border-right:0;
	}
	.sm-huaxun ul {
		border:0;
		padding:0;
		/* darken the background of the sub menus */
		background:rgba(99,141,184,0.2);
		-moz-border-radius:0 !important;
		-webkit-border-radius:0 !important;
		border-radius:0 !important;
		-moz-box-shadow:none;
		-webkit-box-shadow:none;
		box-shadow:none;
	}


/* Menu items
===================*/

	.sm-huaxun a {
		border:0 !important;
		padding:13px 23px !important;
		background:transparent !important;
		color:#FFF !important;
		-moz-border-radius:0 !important;
		-webkit-border-radius:0 !important;
		border-radius:0 !important;
		-moz-box-shadow:none !important;
		-webkit-box-shadow:none !important;
		box-shadow:none !important;
	}
	.sm-huaxun a.current {
		font-weight:bold;
	}
	/* add some text indentation for the 2+ level sub menu items */
	.sm-huaxun ul a {
		border-left:8px solid transparent !important;
	}
	.sm-huaxun ul ul a {
		border-left:16px solid transparent !important;
	}
	.sm-huaxun ul ul ul a {
		border-left:24px solid transparent !important;
	}
	.sm-huaxun ul ul ul ul a {
		border-left:32px solid transparent !important;
	}
	.sm-huaxun ul ul ul ul ul a {
		border-left:40px solid transparent !important;
	}


/* Sub menu indicators
===================*/

	.sm-huaxun a span.sub-arrow {
		right:auto !important;
		margin-top:-7px !important;
		margin-left:-16px !important;
		border-left:9px solid #638db8 !important; /* tweak size of the arrow */
		border-top:6px dashed transparent !important;
		border-bottom:6px dashed transparent !important;
	}
	/* Hide sub indicator when item is expanded - we enable the item link when it's expanded */
	.sm-huaxun a.highlighted span.sub-arrow {
		display:none !important;
	}




/* Items separators
===================*/

	.sm-huaxun li {
		border-top:1px solid rgba(99,141,184,0.2);
	}
	.sm-huaxun li:first-child {
		border-top:0;
	}

}

/* Mega menu
===================*/

 .sm-huaxun .mega-menu .row {
	font-size: 0.9em;
	width: 992px;
	max-width: 100%;
}
 .sm-huaxun .mega-menu .row  a{
	padding-top: 5px;
	padding-bottom: 5px;
}
@media (max-width: 991px){
 .sm-huaxun .mega-menu .row {
	width: 768px;
	max-width: 100%;
}

}

/*
---------------------------------------------------------------
sm-huaxun-vertical
---------------------------------------------------------------*/


/* Menu box
===================*/

	.sm-huaxun-vertical {
	}
	.sm-huaxun-vertical ul {
		padding:5px 0;
		background: #fff;
		-moz-box-shadow:0 4px 3px rgba(0,0,0,0.25);
		-webkit-box-shadow:0 4px 3px rgba(0,0,0,0.25);
		box-shadow:0 4px 3px rgba(0,0,0,0.25);
	}
	.sm-huaxun-vertical ul ul {
	}


/* Menu items
===================*/

	.sm-huaxun-vertical a {
		padding:7px 23px;
		font-size:1.1em;
		text-decoration:none;
	}
	.sm-huaxun-vertical a:hover, .sm-huaxun-vertical a:focus, .sm-huaxun-vertical a:active {
		background:#fff;
		color:rgb(19, 99, 255);
	}
	.sm-huaxun-vertical a.highlighted {
		background:#fff;
		color:rgb(7, 37, 95);
		-moz-box-shadow:0 4px 3px rgba(0,0,0,0.25);
		-webkit-box-shadow:0 4px 3px rgba(0,0,0,0.25);
		box-shadow:0 4px 3px rgba(0,0,0,0.25);
	}
	.sm-huaxun-vertical a.highlighted:hover {
		color:rgb(19, 99, 255);
	}
	.sm-huaxun-vertical ul a {
		background:#fff;
		color:rgb(7, 37, 95);
		padding:5px 23px;
		font-size:1.0em;
		line-height:normal;
		-moz-border-radius:0;
		-webkit-border-radius:0;
		border-radius:0;
	}
	.sm-huaxun-vertical ul a:hover, .sm-huaxun-vertical ul a:focus, .sm-huaxun-vertical ul a:active
	{
		background:#fff;
		color:rgb(19, 99, 255);
		-moz-box-shadow:none;
		-webkit-box-shadow:none;
		box-shadow:none;
	}
	/* current items - add the class manually to some item or check the "markCurrentItem" script option */
	.sm-huaxun-vertical a.current, .sm-huaxun-vertical a.current:hover, .sm-huaxun-vertical a.current:focus, .sm-huaxun-vertical a.current:active {
		border-bottom-color:#638db8;
	}
	.sm-huaxun-vertical ul a.current, .sm-huaxun-vertical ul a.current:hover, .sm-huaxun-vertical ul a.current:focus, .sm-huaxun-vertical ul a.current:active {
		border-right:0;
		border-bottom:0;
		font-weight:bold;
	}
	.sm-huaxun-vertical a.has-submenu {
		padding-right:32px;
	}


/* Sub menu indicators
===================*/

	.sm-huaxun-vertical a span.sub-arrow {
		position:absolute;
		right:17px;
		top:50%;
		margin-top:-3px;
		/* we will use one-side border to create a triangle so that we don't use a real background image, of course, you can use a real image if you like too */
		width:0;
		height:0;
		overflow:hidden;
		border-top:6px solid #638db8; /* tweak size of the arrow */
		border-left:4px dashed transparent;
		border-right:4px dashed transparent;
	}
	.sm-huaxun-vertical a:hover span.sub-arrow, .sm-huaxun-vertical a:focus span.sub-arrow, .sm-huaxun-vertical a:active span.sub-arrow {
		border-top-color:#F6FFED;
	}
	.sm-huaxun-vertical a.highlighted span.sub-arrow {
		border-top-color:#638db8;
	}
 	.sm-huaxun-vertical ul a span.sub-arrow {
		right:15px;
		margin-top:-4px;
		border-left:6px solid #638db8; /* tweak size of the arrow */
		border-top:4px dashed transparent;
		border-bottom:4px dashed transparent;
	}
 	.sm-huaxun-vertical ul a:hover span.sub-arrow, .sm-huaxun-vertical ul a:focus span.sub-arrow, .sm-huaxun-vertical ul a:active span.sub-arrow,
 	.sm-huaxun-vertical ul a.highlighted span.sub-arrow {
		border-left-color:#F6FFED;
		border-top-color:transparent;
	}


/* Scrolling arrows containers for tall sub menus - test sub menu: "Sub test" -> "more..." in the default download package
===================*/

	.sm-huaxun-vertical span.scroll-up, .sm-huaxun-vertical span.scroll-down {
		position:absolute;
		display:none;
		visibility:hidden;
		overflow:hidden;
		background:#F6FFED;
		height:20px;
		/* width and position will be automatically set by the script */
	}
	.sm-huaxun-vertical span.scroll-up-arrow, .sm-huaxun-vertical span.scroll-down-arrow {
		position:absolute;
		top:6px;
		left:50%;
		margin-left:-8px;
		/* we will use one-side border to create a triangle so that we don't use a real background image, of course, you can use a real image if you like too */
		width:0;
		height:0;
		overflow:hidden;
		border-bottom:8px solid #638db8; /* tweak size of the arrow */
		border-left:6px dashed transparent;
		border-right:6px dashed transparent;
	}
	.sm-huaxun-vertical span.scroll-down-arrow {
		border-top:8px solid #638db8; /* tweak size of the arrow */
		border-bottom:0;
	}


/*
---------------------------------------------------------------
  Responsiveness
  These will make the sub menus collapsible when the screen width is too small.
---------------------------------------------------------------*/


/* decrease horizontal main menu items left/right padding to avoid wrapping */

	/* The following will make the sub menus collapsible for small screen devices (it's not recommended editing these) */
	ul.sm-huaxun-vertical{width:auto !important;}
	ul.sm-huaxun-vertical ul{display:none;position:static !important;top:auto !important;left:auto !important;margin-left:0 !important;margin-top:0 !important;width:auto !important;min-width:0 !important;max-width:none !important;}
	ul.sm-huaxun-vertical>li{float:none;}
	ul.sm-huaxun-vertical>li>a,ul.sm-huaxun-vertical ul.sm-nowrap>li>a{white-space:normal;}
	ul.sm-huaxun-vertical iframe{display:none;}

	/* Uncomment this rule to disable completely the sub menus for small screen devices */
	/*.sm-huaxun-vertical ul, .sm-huaxun-vertical span.sub-arrow, .sm-huaxun-vertical iframe {
		display:none !important;
	}*/


/* Menu box
===================*/

	.sm-huaxun-vertical {
		border-right:0;
		border-top: 1px solid rgba(99,141,184,0.2);
	}

	.sm-huaxun-vertical .current a{
		font-weight: bold;
	}

	.sm-huaxun-vertical .current ul a{
		font-weight: normal;
	}
	
	.sm-huaxun-vertical ul {
		border:0;
		padding:0;
		/* darken the background of the sub menus */
		background:rgba(99,141,184,0.05);
		-moz-border-radius:0 !important;
		-webkit-border-radius:0 !important;
		border-radius:0 !important;
		-moz-box-shadow:none;
		-webkit-box-shadow:none;
		box-shadow:none;
	}


/* Menu items
===================*/

	.sm-huaxun-vertical a {
		border:0 !important;
		background:transparent !important;
		-moz-border-radius:0 !important;
		-webkit-border-radius:0 !important;
		border-radius:0 !important;
		-moz-box-shadow:none !important;
		-webkit-box-shadow:none !important;
		box-shadow:none !important;
	}
	.sm-huaxun-vertical a.current {
		font-weight:bold;
	}
	/* add some text indentation for the 2+ level sub menu items */
	.sm-huaxun-vertical ul a {
		border-left:8px solid transparent !important;
	}
	.sm-huaxun-vertical ul ul a {
		border-left:16px solid transparent !important;
	}
	.sm-huaxun-vertical ul ul ul a {
		border-left:24px solid transparent !important;
	}
	.sm-huaxun-vertical ul ul ul ul a {
		border-left:32px solid transparent !important;
	}
	.sm-huaxun-vertical ul ul ul ul ul a {
		border-left:40px solid transparent !important;
	}


/* Sub menu indicators
===================*/

	.sm-huaxun-vertical a span.sub-arrow {
		margin-top:-7px !important;
		margin-left:-16px !important;
		border-left:9px solid #638db8 !important; /* tweak size of the arrow */
		border-top:6px dashed transparent !important;
		border-bottom:6px dashed transparent !important;
	}
	/* Hide sub indicator when item is expanded - we enable the item link when it's expanded */
	.sm-huaxun-vertical a.highlighted span.sub-arrow {
		display:none !important;
	}




/* Items separators
===================*/

	.sm-huaxun-vertical li {
		border-top:1px solid rgba(99,141,184,0.2);
	}
	.sm-huaxun-vertical li:first-child {
		border-top:0;
	}

