/* 复位样式 */
html,
body,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
strong,
em,
i,
p,
dl,
dt,
dd,
form,
label,
input,
button,
select,
option,
textarea,
table,
th,
td {
    margin: 0;
    padding: 0;
}

/* 把所有盒子的盒模型转化为IE盒模型 */
* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    max-width: 1920px;
    min-height: 100%;
    margin: 0 auto;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    font-family: "Microsoft YaHei";
    font-size: 14px;
    color: #333;
    /*文字抗锯齿*/
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
    list-style: none;
}

img {
    border: none;
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: inherit;
}

table {
    width: 100%;
    overflow: hidden;
    text-align: center;
    border-collapse: collapse;
    font-family: "Microsoft YaHei";
}

table td, table th {
    word-wrap: break-word;
    word-break: break-word;
    font-family: inherit;
    font-weight: inherit;
    font-size: 14px;
    color: #333;
}

input,
textarea,
button {
    font-family: "Microsoft YaHei";
    color: #333;
    border: none;
    outline: none;
    color: inherit;
    font-size: 14px;
    background: none;
    vertical-align: middle;
    -moz-appearance: none !important;
    appearance: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

textarea {
    resize: none;
    overflow: auto;
}

/* 去除input默认样式 */
input,
textarea {
    -webkit-appearance: none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
input[type="number"] {
    -moz-appearance: textfield;
}

a,
button,
input,
optgroup,
select,
textarea {
    /* 移动端点击后会出现"暗色"的背景 */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

input::-ms-clear {
    display: none;
}

/* 去除IE浏览器器下输入框叉叉 */
input::-ms-reveal {
    display: none;
}

/* 解决输入框记忆功能改变输入框背景色问题 */
input:-internal-autofill-previewed,
input:-internal-autofill-selected {
    -webkit-text-fill-color: #666 !important;
    transition: background-color 99999999s ease-in-out 0s !important;
}

/* 字体图标 */
.iconfont {
    color: inherit;
    display: inline;
    font-size: inherit;
    line-height: inherit;
    vertical-align: middle;
    /* 文字抗锯齿 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 背景图 */
.background-img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

/* 图片居中 */
.picture-container {
    position: relative;
    overflow: hidden;
}
.picture-container img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

/* flex布局 */
.flex {
    display: box;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.flex-center {
    display: box;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    -o-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
}

.flex-column {
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
}

.flex-wrap {
    -webkit-box-lines: multiple;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
}

.flex-row-center {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    -o-justify-content: center;
    justify-content: center;
}

.flex-row-start {
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -moz-justify-content: flex-start;
    -ms-justify-content: flex-start;
    -o-justify-content: flex-start;
    justify-content: flex-start;
}

.flex-row-end {
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -moz-justify-content: flex-end;
    -ms-justify-content: flex-end;
    -o-justify-content: flex-end;
    justify-content: flex-end;
}

.flex-row-between {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    -o-justify-content: space-between;
    justify-content: space-between;
}

.flex-column-center {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
}

.flex-column-start {
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    -ms-align-items: flex-start;
    -o-align-items: flex-start;
    align-items: flex-start;
}

.flex-column-end {
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -moz-align-items: flex-end;
    -ms-align-items: flex-end;
    -o-align-items: flex-end;
    align-items: flex-end;
}

.flex1 {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}