/* 页面初始化 */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td { margin: 0; padding: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
html { width: 100%; height: auto; font-size: 14px; background: #fff; line-height: 24px; }
body { width: 100%; height: auto;overflow: auto;background: #fff; color: #5e6172; font-size: 14px; line-height: 24px; font-family: "Microsoft YaHei", 微软雅黑, "Microsoft JhengHei", 华文细黑, STHeiti, MingLiu; }
h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: bold; }
h1 { font-size: 36px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }
@media (max-width:767px) {
    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }
    h4 { font-size: 16px; }
    h5 { font-size: 14px; }
}
p {  /* font-size: .19rem; */ }
address, caption, cite, code, dfn, em, strong, th, var { /*font-style: normal; font-weight: normal;*/ }
a { color: #5e6172; text-decoration: none; cursor: pointer; }
a:hover { text-decoration: none; color: #0961eb; }
fieldset, img { border: none; }
img { max-width: 100% }
ol, ul, li { list-style: none; }
input, textarea, select, button { outline: none; }
table { border-collapse: collapse; }

/*禁用了文本的拖拉，尤其在谷歌下*/
textarea { resize: none; }
textarea::-webkit-input-placeholder { color: #acacac; font-size: 16px; }
textarea::-moz-placeholder { color: #acacac; font-size: 16px; }
textarea:-ms-input-placeholder { color: #acacac; font-size: 16px; }
textarea:-moz-placeholder { color: #acacac; font-size: 16px; }
input::-webkit-input-placeholder { color: #a0a0a0; }
input::-moz-placeholder { color: #a0a0a0; }
input:-ms-input-placeholder { color: #a0a0a0; }
input:-moz-placeholder { color: #a0a0a0; }

/* 去掉记住密码淡黄色底色 */
input:-webkit-autofill { background-color: rgb(250, 255, 189); background-image: none; color: rgb(0, 0, 0); }
input:-webkit-autofill { -webkit-box-shadow: 0 0 0px 1000px #eff1f7 inset; }

/*文本段落左右两边对齐*/
p { text-align: justify; text-justify: distribute; }

/* 清除浮动 */
.clearfloat:after { content: ""; display: block; height: 0; clear: both; visbility: hidden; }
.clearfloat { *zoom: 1; }

/**清楚面包屑 向下的margin**/
.margin-none { margin-bottom: 0; }

/* 版心样式 */
.main { max-width: 1280px; margin: 0 auto; width: 100%; }
.margin-top { margin-top: 20px; }
.nowrap { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line-clamp { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 29px !important; min-height: 58px; overflow: hidden;margin-bottom: 10px!important;}
.italic { font-style: italic; }
img { -webkit-transition: all 0.6s; -o-transition: all 0.6s; transition: all 0.6s; }

/* 阴影 */
.box-shadow, .box-shadow-layout { box-shadow: 0 3px 10px rgba(4, 30, 69, .2); -webkit-transition: all 0.6s; -o-transition: all 0.6s; transition: all 0.6s; }
.box-shadow:hover { box-shadow: 0 3px 20px rgba(4, 30, 69, .5); }

/* 渐变色背景 */
.on-blue-bg { background-color: #00a8ff; background-image: -moz-linear-gradient(-140deg, #00a8ff, #3153fd); background-image: -webkit-linear-gradient(-140deg, #00a8ff, #3153fd); background-image: -ms-linear-gradient(-140deg, #00a8ff, #3153fd); background-image: -o-linear-gradient(-140deg, #00a8ff, #3153fd); background-image: linear-gradient(-140deg, #00a8ff, #3153fd); }
.on-blue-bg a { color: #fff !important; }

/* 滚动条 */
html::-webkit-scrollbar, body::-webkit-scrollbar, .scrollbar::-webkit-scrollbar { width: 6px; height: 6px; background-color: #ccc; }
html::-webkit-scrollbar-button:start:increment, body::-webkit-scrollbar-button:start:increment, .scrollbar::-webkit-scrollbar-button:start:decrement, html::-webkit-scrollbar-button:end:increment, body::-webkit-scrollbar-button:end:increment, .scrollbar::-webkit-scrollbar-button:end:increment { display: block; }
html::-webkit-scrollbar-button:start:increment, body::-webkit-scrollbar-button:start:increment, .scrollbar::-webkit-scrollbar-button:start:increment, html::-webkit-scrollbar-button:end:decrement, body::-webkit-scrollbar-button:end:decrement, .scrollbar::-webkit-scrollbar-button:end:decrement { display: none; }
html::-webkit-scrollbar-button:end:increment, body::-webkit-scrollbar-button:end:increment, .scrollbar::-webkit-scrollbar-button:end:increment { height: 0; width: 0; background-color: rgb(3, 100, 179); }
html::-webkit-scrollbar-button:start:decrement, body::-webkit-scrollbar-button:start:decrement, .scrollbar::-webkit-scrollbar-button:start:decrement { height: 0; width: 0; background-color: rgb(3, 100, 179); }
html::-webkit-scrollbar-track-piece:start, body::-webkit-scrollbar-track-piece:start, .scrollbar::-webkit-scrollbar-track-piece:start { background-color: #f2f1fe; }
html::-webkit-scrollbar-track-piece:end, body::-webkit-scrollbar-track-piece:end, .scrollbar::-webkit-scrollbar-track-piece:end { background-color: #f2f1fe; }
html::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb, .scrollbar::-webkit-scrollbar-thumb { border-radius: 5px; background-color: #ccc; }

/* flex布局 */
.flex { display: -webkit-box; display: -moz-box;  display: -webkit-flex;  display: -moz-flex;  display: -ms-flexbox;  display: flex;}
.flex-1 {-webkit-box-flex: 1;  -moz-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1;}
