@CHARSET "utf-8";

html {
	/* 在用户调整窗口大小时，字体大小做相应调整。 */
	text-size-adjust: 100%;
	/* 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;
	margin: auto;
}

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);
}

/** 主体 */
#player {
	margin: auto;
	background: ghostwhite;
	border-radius: 0 0 2px 2px;
	box-shadow: 2px 2px 10px rgba(100, 100, 100, .5);
}

#side-nav {
	left: auto;
	right: -240px;
	width: 220px;
	transition: all .4s;
	opacity: 0.9;
	z-index: 90;
}

.layui-side-scroll {
	overflow-y: scroll;
}

.layui-side-scroll::-webkit-scrollbar {
	width: 6px;
	background-color: #F5F5F5;
}

.layui-side-scroll::-webkit-scrollbar-track {
	box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

.layui-side-scroll::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background-color: #AAA;
}

#site-shade {
	opacity: 0;
	transition: all .3s;
}

.site-shade-show {
	opacity: 1;
	content: '';
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, .5);
	z-index: 80;
}

#resize {
	display: block;
	padding: 5px 0;
	margin: auto;
	width: 384px;
}

#resize .layui-btn-group {
	margin: 5px 10px;
}

/** 搜索框 */
#search {
	margin: 25px 10px 5px;
}

#search input {
	max-width: 116px;
	height: 28px;
	padding: 0 8px;
	color: #555;
	border-radius: 4px 0 0 4px;
	/** 解决IOS端placeholder属性设置的文字向上偏移问题 */
	line-height: 28px;
}

#search button {
	margin-left: -4px;
	min-width: 60px;
	min-height: 30px;
	color: #fff;
	background-color: #337ab7;
	border: 1px solid transparent;
	border-color: #2e6da4;
	border-radius: 0 4px 4px 0;
	vertical-align: bottom;
}

#search button:hover, #search button:focus, #search button:active {
	background-color: #286090;
	border-color: #204d74;
}

#search button:active {
	color: #f5f5f5;
	box-shadow: inset 1px 1px 5px #143c64;
}

#title {
	margin: 10px;
	font-size: 18px;
}

#result {
	margin: 15px 5px;
	min-height: 100px;
}

#quick {
	margin: auto;
	width: 640px;
}

#quick-content {
    padding: 10px 0;
}

#quick-content .layui-btn-default {
    margin-left: 11px;
    margin-right: 1px;
}

/** 页脚 */
footer {
	position: fixed;
	bottom: -0;
	z-index: -1;
	padding: 10px 0;
	color: #c0c0c0;
}

/** 适配小屏幕 */
@media screen and (max-width: 400px) {
	#resize {
		width: 360px;
	}
	#resize .layui-btn+.layui-btn {
	    margin-left: 4px;
	}
}
