@charset "UTF-8";
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  /*设置滚动条颜色*/
  scrollbar-color: #ccc #eee;
  /*去掉三角(滚动条宽度为8px)*/
  scrollbar-width: thin;
  /*隐藏滚动条（可以滚动）*/
  /* scrollbar-width: none; */
}

::-webkit-scrollbar {
  /*Chrome下隐藏滚动条（宽度设为0即可）*/
  width: 8px;
  height: 8px;
  background: #eee;
}

::-webkit-scrollbar-thumb {
  background-color: #ccc;
  opacity: 0.5;
  -webkit-box-shadow: inset 0 0 2px 2px #ccc;
  box-shadow: inset 0 0 2px 2px #ccc;
}

::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body,
html {
  width: 100%;
  height: 100%;
  /* font-family字体规范，来自于https://segmentfault.com/a/1190000006110417 */
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  color: #333333;
  position: relative;
}

input[type=submit],
input[type=reset],
input[type=button],
input,
button {
  resize: none;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  /*用box-shadow改变(挡住)表单自动填充后的黄色*/
  -webkit-box-shadow: inset 0 0 0 1000px #fff;
  box-shadow: inset 0 0 0 1000px #fff;
}

input[type=submit],
input[type=reset],
input[type=button],
button {
  border: none;
  outline: none;
}

button:not(:disabled) {
  cursor: pointer;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

img {
  max-width: 100%;
  border: none;
  vertical-align: middle;
  -ms-interpolation-mode: bicubic;
}

body,
div,
ul,
li,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
input,
textarea,
select,
p,
dl,
dt,
dd,
a,
img,
button,
form,
table,
th,
tr,
td,
tbody,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

em,
i {
  font-style: normal;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
}

a:hover,
a:focus,
a:active,
a:visited {
  text-decoration: none;
}

ul,
ol,
li,
dl,
dt,
dd {
  list-style: none;
}

iframe,
canvas {
  /* 清空底部会出现的空白（或者用display:block;） */
  vertical-align: bottom;
}

table {
  border-collapse: collapse;
}

textarea {
  max-width: 100%;
}

.clearfix:after {
  content: "";
  display: block;
  visibility: hidden;
  height: 0;
  clear: both;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.container {
  width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  max-width: 100%;
}

.posi {
  display: block;
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.posi > img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

@media screen and (max-width: 768px) {
  pre {
    overflow-x: auto;
  }
}