/*公共样式--开始*/



/* 复位样式 */

html,

body,

ul,

ol,

li,

h1,

h2,

h3,

h4,

h5,

h6,

strong,

i,

p,

dl,

dt,

dd,

form,

label,

input,

button,

select,

option,

textarea,

table,

th,

td {

    margin: 0;

    padding: 0;

}



/* 把所有盒子的盒模型转化为IE盒模型 */

* {

    -webkit-box-sizing: border-box;

    -moz-box-sizing: border-box;

    box-sizing: border-box;

}

*:focus {outline: none;}

html,

body {

    max-width: 1920px;

    min-height: 100%;

    margin: 0 auto;

    

    -webkit-text-size-adjust: 100%;

    /* 在移动设备上如手机和平板横屏会导致字体变大，-webkit-text-size-adjust: 100% 可以禁止字体变化。 */

    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

    /* 高亮色 */

}



body {

    font-family: '微软雅黑';

    /* 默认字体 微软雅黑 */

    color: #333;

    /* 默认字体颜色 */

    font-size: 16px;

    /* 默认字体大小 */

    -webkit-font-smoothing: antialiased;

    /*文字抗锯齿*/

    -moz-osx-font-smoothing: grayscale;

    /*文字抗锯齿*/

}

strong,

h1,

h2,

h3,

h4,

h5,

h6 {

    /* 标题标签清除默认样式 */

    font-weight: normal;

    font-size: inherit;

}



ul,

ol {

    list-style: none;

}



i {

    font-style: normal;

    display: inline-block;

}



img {

    border: none;

    max-width: 100%;

    max-height: 100%;

    vertical-align: middle;

}



a {

    text-decoration: none;

    display: block;

    color: inherit;

}



table {

    table-layout: fixed;

    border-collapse: collapse;

}



input,

textarea,

button {

    border: none;

    outline: none;

    color: inherit;

    font-size: 14px;

    background: none;

    font-family: inherit;

}



textarea {

    resize: none;

    overflow: auto;

}



/* 去除input默认样式 */

input {

    -webkit-appearance: none;

}



input {

    background: none;

    outline: none;

    border: none;

}



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;

}



/* 去除IE浏览器器下输入框叉叉 */

input:-internal-autofill-previewed,

input:-internal-autofill-selected {

    -webkit-text-fill-color: #999 !important;

    transition: background-color 99999999s ease-in-out 0s !important;

}



input,

textarea {

    -webkit-appearance: none;

}







/* flex布局兼容 START */

.flex {

    /* 设置为flex盒子 */

    display: box;

    display: -webkit-box;

    display: -moz-box;

    display: -ms-flexbox;

    display: -webkit-flex;

    display: flex;

}



.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_center {

    /* 设置为flex盒子 */

    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_row_center {

    /* 水平方向上居中 */

    -ms-flex-pack: 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_justify {

    /* 水平方向上等间距排列 */

    -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 {

    /* 占据1份大小 */

    -webkit-box-flex: 1;

    -moz-box-flex: 1;

    -webkit-flex: 1;

    -ms-flex: 1;

    flex: 1;

}



.flex_rank_1 {

    /* 排列等级 */

    -webkit-box-ordinal-group: 1;

    -moz-box-ordinal-group: 1;

    -ms-flex-order: 1;

    -webkit-order: 1;

    order: 1;

}



.flex_rank_2 {

    /* 排列等级 */

    -webkit-box-ordinal-group: 2;

    -moz-box-ordinal-group: 2;

    -ms-flex-order: 2;

    -webkit-order: 2;

    order: 2;

}



.flex_rank_3 {

    -webkit-box-ordinal-group: 3;

    -moz-box-ordinal-group: 3;

    -ms-flex-order: 3;

    -webkit-order: 3;

    order: 3;

}



/* flex END */







/* 清除浮动 */

.clear_float::after {

    content: ' ';

    display: block;

    clear: both;

    font-size: 0px;

}





/* 浮动 */

.float_left {

    float: left;

}



.float_right {

    float: right;

}





/* 过度 */

.transition {

    -webkit-transition: all 0.5s;

    -moz-transition: all 0.5s;

    -o-transition: all 0.5s;

    transition: all 0.5s;

}





/* 单行文本溢出隐藏 */

.one_row_text {

    text-overflow: ellipsis;

    white-space: nowrap;

    overflow: hidden;

}





/* 多行文本溢出隐藏 */

.two_row_text {

    overflow: hidden;

    text-overflow: ellipsis;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

}





/* 字体图标 */

.iconfont {

    color: inherit;

    font-size: inherit;

    display: inline-block;

    -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;

    background: none;

}



.picture_container img {

    display: block;

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    margin: auto;

    -webkit-transition: all 1s linear;

    -moz-transition: all 1s linear;

    -o-transition: all 1s linear;

    transition: all 1s linear;

}





/* 禁止双击选中文字 */

.no_select_text {

    -webkit-touch-callout: none;

    -webkit-user-select: none;

    -khtml-user-select: none;

    -moz-user-select: none;

    -ms-user-select: none;

    user-select: none;

}





/* 文字方向 */

.text_direction_vertical {

    -webkit-writing-mode: vertical-lr;

    -moz-writing-mode: vertical-lr;

    -ms-writing-mode: tb-lr;

    writing-mode: vertical-lr;

}



.text_direction_default {

    -webkit-writing-mode: horizontal-tb;

    -moz-writing-mode: horizontal-tb;

    -ms-writing-mode: lr-tb;

    writing-mode: horizontal-tb;

}









[class*=animate_] {

    /* 动画时间，动画开始前的状态 */

    -webkit-animation-duration: 1.5s;

    -moz-animation-duration: 1.5s;

    -o-animation-duration: 1.5s;

    animation-duration: 1.5s;



    opacity: 0;

    -webkit-animation-fill-mode: forwards;

    -moz-animation-fill-mode: forwards;

    -o-animation-fill-mode: forwards;

    animation-fill-mode: forwards;

}



[class*=animate_nav_] {

    /* 动画时间，动画开始前的状态 */

    -webkit-animation-duration: .5s;

    -moz-animation-duration: .5s;

    -o-animation-duration: .5s;

    animation-duration: .5s;



    opacity: 0;

    -webkit-animation-fill-mode: forwards;

    -moz-animation-fill-mode: forwards;

    -o-animation-fill-mode: forwards;

    animation-fill-mode: forwards;

}