/*
  YUI 3.6.0 (build 5521)
  Copyright 2012 Yahoo! Inc. All rights reserved.
  Licensed under the BSD License.
  http://yuilibrary.com/license/
  */
* {
  outline: none;
  -webkit-overflow-scrolling: touch;
}

html {
  background: #FFF;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

a {
  text-decoration: none;
  color: inherit;
}

fieldset,
img {
  border: 0
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
  font-weight: normal
}

ol,
ul {
  list-style: none
}

caption,
th {
  text-align: left
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal
}

q:before,
q:after {
  content: ''
}

abbr,
acronym {
  border: 0;
  font-variant: normal
}

sup {
  vertical-align: text-top
}

sub {
  vertical-align: text-bottom
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit
}

input,
textarea,
select {
  *font-size: 100%
}

button {
  outline: none;
}

legend {
  color: #000
}


.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0
}

.clearfix {
  *zoom: 1;
}

/* ====================================自定義系統通用樣式 ==============================*/

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-size: 14px;
  line-height: 1.5;
  color: #414042;
  font-style: normal;
}

body,
pre {
  font-family: "Noto Sans HK", "Noto Sans TC", "Noto Sans SC", "Microsoft JhengHei", "PingFang TC", "Montserrat", "Arial", sans-serif;
}

pre {
  word-break: break-all;
  white-space: pre-wrap;
}

input,
textarea,
select,
button {
  font-family: "Noto Sans HK", "Noto Sans TC", "Noto Sans SC", "Microsoft JhengHei", "PingFang TC", "Montserrat", "Arial", sans-serif;
}

textarea {
  resize: none;
  height: 74px;
}

/* flexbox 布局样式 */

.flexbox {
  display: -webkit-flex;
  display: flex;
}

.mlauto {
  margin-left: auto;
}

.flex-item {
  -webkit-flex: 1;
  flex: 1;
}

.flex-start {
  -webkit-align-items: flex-start;
  align-items: flex-start;
}

.flex-end {
  -webkit-align-items: flex-end;
  align-items: flex-end;
}

.items-center {
  -webkit-align-items: center;
  align-items: center;
}

.flex-wrap {
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

.flex-between {
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.flex-jc-center {
  -webkit-justify-content: center;
  justify-content: center;
}

.text-center{
  text-align: center;
}

.ellipsis {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden
}
/* 超出2行隐藏 */
.text-ellipsis {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden; 
  text-overflow: ellipsis;
  word-break: break-all;
  line-height: 1.3;
}

/* 滚动条设置 */

::-webkit-scrollbar {
  /*滚动条整体部分，其中的属性有width,height,background,border等（就和一个块级元素一样）（位置1）*/
  width: 14px;
  height: 16px;
}

::-webkit-scrollbar-button {
  /*滚动条两端的按钮，可以用display:none让其不显示，也可以添加背景图片，颜色改变显示效果（位置2）*/
  display: none;
}

::-webkit-scrollbar-track {
  /*外层轨道，可以用display:none让其不显示，也可以添加背景图片，颜色改变显示效果（位置3）*/
  background-clip: padding-box;
  border: solid transparent;
  border-width: 0px 0px 0px 7px;
  border-radius: 8px;
  background: transparent;
}

::-webkit-scrollbar-track:hover {
  background-clip: padding-box;
  background-color: #dcdcdc;
  border: solid transparent;
}

::-webkit-scrollbar-track-piece {
  /*内层轨道，滚动条中间部分（位置4）*/
  background: transparent;
}

::-webkit-scrollbar-thumb {
  /*滚动条里面可以拖动的那部分（位置5）*/
  background-color: rgba(0, 0, 0, .25);
  background-clip: padding-box;
  border: solid transparent;
  min-height: 28px;
  padding: 100px 0 0;
  box-shadow: inset 1px 1px 0 rgba(0, 0, 0, .1), inset -1px -1px 0 rgba(0, 0, 0, .07);
  border-radius: 8px;
}

/* placeholder */

::-webkit-input-placeholder {
  /* WebKit browsers */
  color: #868e96;
}