/* #RestCss
========================================== */
@charset "utf-8";
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/** 清除内外边距 **/

/* structural elements 结构元素 */
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote,
    /* list elements 列表元素 */
dl, dt, dd, ul, ol, li,
    /* text formatting elements 文本格式元素 */
pre,
    /* form elements 表单元素 */
form, fieldset, legend, button, input, textarea,
    /* table elements 表格元素 */
th, td {
    margin: 0;
    padding: 0;
}

/** 设置默认字体 **/
body, pre, button, input, select, textarea /* for ie */
{
    font: 14px/1.6 tahoma, arial, 'Microsoft YaHei', sans-serif;
}

/** 重置文档高度 **/
html, body {
    height: 100%;
}

body {
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal;
}

/* 将斜体扶正 */
address, cite, dfn, em, var {
    font-style: normal;
}

/* 统一等宽字体 */
code, kbd, pre, samp {
    font-family: courier new, courier, monospace;
}

/* 小于 12px 的中文很难阅读，让 small 正常化 */
small {
    font-size: 12px;
}

/** 重置列表元素 **/
ul, ol {
    list-style: none;
}

/** 重置文本格式元素 **/
a {
    text-align: center;
    text-decoration: none;
    color: inherit;
}

a:focus {
    outline: none;
}

/** 重置表单元素 **/
legend {
    color: #000;
}

/* for ie6 */
fieldset, img {
    border: 0;
    vertical-align: middle
}

/* 使得表单元素在 ie 下能继承字体大小 */
button, input, select, textarea {
    font-size: 100%;
}

/*表单元素字体*/
input, textarea, button {
    font: 14px/1.6 Helvetica, 'Hiragino Sans GB', 'Microsoft Yahei', 微软雅黑, Arial, sans-serif;
    outline: 0;
}

input[type='button'], input[type='submit'], button {
    cursor: pointer;
}

button:focus {
    outline: none;
}

input[type='button'], input[type='submit'], input[type='reset'], button { /*input[type="file"]::-webkit-file-upload-button,*/
    border: 1px solid transparent;
}

/*设置表单元素不可用的样式*/
select:disabled,
input[readonly],
input:disabled,
button:disabled,
button[readonly],
textarea:disabled {
    color: #575f72 !important;
    background-color: #ccc !important;
    cursor: not-allowed !important;
}

input[readonly]:hover,
input:disabled:hover,
button:disabled:hover,
button[readonly]:hover,
textarea:disabled:hover {
    cursor: not-allowed;
}

/** placeholder 重置 **/
[placeholder] {
    font-family: 'Microsoft yahei';
}

::-moz-placeholder {
    text-indent: 5px; /* 没有用 */
    opacity: 1 !important;
    color: #bbb;
}

:-ms-input-placeholder {
    text-indent: 5px;
    color: #bbb;
}

::-webkit-input-placeholder {
    text-indent: 5px;
    color: #bbb;
}

/** 重置表格元素 **/
table {
    border-spacing: 0;
    border-collapse: collapse;
}

/* #滚动条
=========*/
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track-piece {
    margin: -2px;
    background-color: #eee;
}

::-webkit-scrollbar-thumb {
    min-width: 150px;
    min-height: 150px;
    border-radius: 10px;
    background: #aaa;
}

::-webkit-scrollbar-thumb:vertical:hover {
    background: #555;
}

::-webkit-scrollbar-thumb:horizontal:hover {
    background: #555;
}

.layui-layer-btn .layui-layer-btn0 {
    border-color: #697dac;
    background-color: #697dac;
    color: #fff;
}



