@CHARSET "UTF-8";

html, body {
	height: 100%;
}

body, div, ul, li, h1, h2, h3, h4, h5, h6, form, input, button, textarea,
	select, p, td, article, header, footer {
	margin: 0;
	padding: 0;
}

body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #444;
	background: url(../images/defaultbg.jpg);
	background-size: cover;
	background-attachment: fixed;
}

div, td, form, input, textarea, select, ul, li, header, article, footer
	{
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
}

a {
	color: #444;
	text-decoration: none;
	cursor: pointer;
}

a:hover {
	color: red;
	text-decoration: none;
}

img {
	border: none;
}

ul, li {
	list-style: none;
}

table {
	border-collapse: collapse;
}

html {
	overflow-y: scroll;
}

select, input {
	-moz-appearance: none;
	-webkit-appearance: none;
	-o-appearance: none;
	appearance: none;
}
/**
select::-ms-expand{
	display:none;
}
*/
.clr {
	clear: both;
	height: 1px;
	width: 1px;
}

.fl {
	float: left;
}

.fr {
	float: right;
}

header, nav, article, footer {
	width: 1200px;
	margin: auto;
}

header {
	height: 230px;
	overflow: hidden;
}

#siteLogo {
	padding: 30px 0 0 30px;
	float: left;
	overflow: hidden;
}

#siteLogo img {
	max-height: 80px;
	vertical-align: middle;
	margin-right: 10px;
}

#welcome {
	width: 450px;
	height: auto;
	float: right;
	font-size: 14px;
	text-align: right;
	margin: 60px 20px 0 0;
	color: #fff;
}

#welcome a {
	color: #fff;
}

#welcome a:hover {
	color: #ff0000;
}

#welcome img {
	width: 24px;
	height: 24px;
	cursor: pointer;
}

#welcome2 {
	width: 100%;
	height: 60px;
	line-height: 60px;
	margin-top: 30px;
	font-size: 28px;
	text-align: center;
	color: #fff;
	text-shadow: 5px 5px 5px #000;
}

#welcome2 span {
	color: red;
	font-size: 30px;
	font-weight: bold;
}

h1 {
	padding: 20px 0 0 40px;
	font-size: 48px;
	color: #fff;
	-webkit-text-stroke: 2px black; /*描边的像素*/
	text-stroke: 2px black;
	text-shadow: 5px 5px 5px #000;
}

#searchForm input {
	width: 250px;
	height: 32px;
	border: 1px #444 solid;
	border-radius: 5px 0 0 5px;
	margin: 100px 0 0 900px;
	padding: 0 5px;
	font-size: 14px;
}

#searchForm button {
	width: 36px;
	height: 30px;
	border-radius: 0 5px 5px 0;
}

nav {
	background: #0080c0;
}

nav ul {
	width: 1200px;
	line-height: 40px;
	margin: auto;
	display: flex;
	text-align: left;
}

nav ul li {
	flex: 1; /**宽度相等**/
	height: 40px;
	line-height: 40px;
	position: relative;
	text-align: center;
}

nav ul li:hover {
	background: #ffc862;
}

nav ul a {
	width: 100%;
	height: 100%;
	color: #fff;
	display: block;
	white-space: nowrap;
	text-transform: none;
}

nav ul a:hover {
	color: #ff0000;
}

nav ul li:hover>ul {
	display: block;
}
/***************************** Sub-menu ********************************/
nav ul ul {
	width: 100%;
	display: none;
	position: absolute;
	top: 24px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9;
	border-top: 0;
	border-right: 1px solid #c0c0c0;
	border-bottom: 1px solid #c0c0c0;
	border-left: 0;
}

nav ul ul li {
	min-width: 100px;
	padding: 3px 0;
	display: block;
	background: #e6e6e6;
	border-bottom: 1px #c0c0c0 solid;
}

nav ul ul li a {
	color: #666;
	text-align: center;
	width: 100%;
}

nav ul ul li a:hover {
	color: #ff0000;
}

nav ul ul li:hover {
	border-bottom: 4px solid #ff0000;
}

nav ul ul li:last-child {
	border-bottom: 0;
}

nav ul ul li:nth-child(1) a:before {
	content: '';
	position: absolute;
	left: 30px;
	top: -8px;
	width: 0;
	height: 0;
	/**三角**/
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 8px solid #ff0000;
}
/*********************************** Third Grade Menu *********************************/
nav ul ul ul {
	position: absolute;
	top: -15px;
	left: 150%;
	z-index: 10;
}

nav ul ul ul li:first-child a:before {
	content: '';
	position: absolute;
	left: -13px;
	top: 16px;
	width: 0;
	height: 0;
	/**三角**/
	border-top: 5px solid transparent;
	border-right: 8px solid #ff0000;
	border-bottom: 5px solid transparent;
}
/* Clear floated elements */
nav ul:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: "";
	clear: both;
	height: 0;
}

article {
	min-height: 600px;
	background: #fff;
	border-radius: 0 0 5px 5px;
}

h3 {
	font-weight: normal;
	margin-bottom: 30px;
}

.page {
	width: 650px;
	font-size: 14px;
	padding: 0;
	margin: 40px auto;
	text-align: center;
}

.page input[type=button] {
	padding: 5px; 0;
	margin: 0 5px;
	border: 0;
	background: transparent;
}

.page input[type=button]:hover {
	color: red;
}

.page select {
	border: 0;
	padding: 0 10px;
	margin: 0;
}

footer {
	padding: 40px 0 120px;
}

footer p {
	text-align: center;
	padding-bottom: 10px;
	font-size: 12px;
}