@CHARSET "utf-8";

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}

html {
	/* IE浏览器 */
	-ms-text-size-adjust: 100%;
	/* Chrome浏览器 */
	-webkit-text-size-adjust: 100%;
}

body {
	/* 字体样式 */
	font-family: Helvetica, 'Microsoft YaHei', '微软雅黑', STXihei, '华文细黑',
		Arial, sans-serif;
	/* 字体大小 */
	font-size: 14px;
	/* 字体阴影 */
	text-shadow: 1px 1px 1px rgba(0, 0, 0, .1);
	/* 字体抗锯齿 */
	-webkit-font-smoothing: antialiased;
	/* 背景颜色 */
	background-color: gainsboro;
}

a, button, input, textarea {
	/* 去除移动端元素被触摸时产生的半透明灰色遮罩 */
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a {
	color: #337ab7;
	/* 去除默认下划线 */
	text-decoration: none;
}

a:hover {
	color: #999;
}

a:focus {
	/* 外框线 */
	outline: 5px auto -webkit-focus-ring-color;
	/* 外框线偏移 */
	outline-offset: -2px;
}

input, textarea {
	border: 1px solid #ccc;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

input:focus, textarea:focus {
	outline: none;
	border-color: #66afe9;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px
		rgba(102, 175, 233, .6);
}

header, #content, footer {
	margin: 0 5%;
	width: 90%;
	min-width: 300px;
	text-align: center;
}

/** 页眉 */
header {
	top: 0;
	height: 48px;
	position: fixed;
	background-color: #3a5795;
	box-shadow: 2px 2px 10px rgba(100, 100, 100, .5);
	z-index: 90;
}

header a {
	color: #fff;
	padding: 16px 20px;
	line-height: 20px;
}

header a:hover, header a:focus {
	background-color: rgb(47, 71, 122);
}

header ul {
	padding: 0;
	list-style: none;
}

header ul li {
	position: relative;
	float: left;
}

header ul li:hover>ul {
	opacity: 1;
}

header ul li:hover>ul li {
	height: 30px;
	margin-top: 8px;
}

header ul ul {
	position: absolute;
	top: 34px;
	width: 68px;
	background: #3a5795;
	border-radius: 0 0 3px 3px;
	opacity: 0;
	transition: opacity .25s ease .1s;
}

header ul ul li {
	height: 0;
	transition: all .25s ease .1s;
}

header ul ul li a {
	padding: 10px 18px;
	margin-left: 2px;
	border-radius: 2px;
}

/** 主体 */
#content {
	margin-top: 56px;
	margin-bottom: 30px;
	padding: 15px 0;
	background: ghostwhite;
	border-radius: 0 0 2px 2px;
	box-shadow: 2px 2px 10px rgba(100, 100, 100, .5);
}

/** 页脚 */
footer {
	position: fixed;
	bottom: -0;
	z-index: -1;
	padding: 10px 0;
	color: #c0c0c0;
}

/** 适配小屏幕 */
@media screen and (max-width: 600px) {
	header, #content, footer {
		width: 94%;
		margin-left: 3%;
		margin-right: 3%;
	}
}

@media screen and (max-width: 400px) {
	header>ul>li:nth-child(2) {
		width: 0;
		overflow: hidden;
	}
}

#snow {
	pointer-events: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 95;
}
