@charset "utf-8";

* {
    /**
   * 简单粗暴, 一劳永逸的写法
   */
    padding: 0;
    margin: 0;
    font: inherit;
    vertical-align: baseline;
}

* {
    /*
   * 这个属性只用于iOS, 当你点击一个链接或者通过Javascript定义的可点击元素的时候
   * 它就会出现一个半透明的灰色背景
  */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html,
body {
    padding: 0;
    margin: 0;
    font-size: 12px;
}

html {
    -webkit-text-size-adjust: 100%;
    /* 禁止字体变化 */
}

body {
    font-weight: 400;
    font-family: "Microsoft YaHei", Helvetica, Arial, sans-serif;
    line-height: 1;
    -webkit-overflow-scrolling: touch;
    /* 设置滚动容器的滚动效果 */
    -webkit-font-smoothing: antialiased;
    /* 字体抗锯齿渲染 */
}

a,
a:active,
a:hover {
    /**
   * 某些浏览器会给 a 设置默认颜色
   */
    color: unset;
    text-decoration: none;
}

ol,
ul,
li {
    /**
   * 去掉列表样式
   */
    list-style: none;
}

img {
    border: 0;
    vertical-align: middle
}

table {
    /**
   * 去掉 td 与 td 之间的空隙
   */
    border-collapse: collapse;
    border-spacing: 0;
}

input,
textarea,
select {
    border: 1px solid #ddd;
    outline: none;
    /*去掉fouce时边框高亮效果*/
    background: unset;
    /*去掉默认背景*/
    appearance: none;
    -webkit-appearance: none;
    /* 去除ios输入框阴影 */
    color: #161616;
}

table {
    border-collapse: collapse;
    margin: 0;
    padding: 0;
}

/* 禁止选中文本内容 */
/* *:not(input, select, textArea) {
    -webkit-user-select: none;
} */
.flex {
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
}

.flex_inline {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: -webkit-inline-flex;
    display: inline-flex;
}

/*伸缩流方向*/
.flex_direction_column {
    -webkit-box-orient: vertical;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.flex_direction_row {
    -webkit-box-orient: horizontal;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
}

/*主轴对齐*/
.justify-content_flex-center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.justify-content_flex-end {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
}

.justify-content_flex-justify {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

/*侧轴对齐*/
.align-items_flex-start {
    -webkit-box-align: start;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
}

.align-items_flex-end {
    -webkit-box-align: end;
    -ms-flex-align: end;
    -webkit-align-items: flex-end;
    align-items: flex-end;
}

.align-items_center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.align-items_baseline {
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    -webkit-align-items: baseline;
    align-items: baseline;
}

/*伸缩性*/
.flex_auto {
    -webkit-box-flex: 1;
    -ms-flex: auto;
    -webkit-flex: auto;
    flex: auto;
}

.flex_1 {
    width: 0;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    -webkit-flex: 1;
    flex: 1;
}

/*显示顺序*/
.order_2 {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
}

.order_3 {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 3;
    -webkit-order: 3;
    order: 3;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(130, 130, 130, .8);
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #f1404b;
    -webkit-border-radius: 4px;
    border-radius: 4px
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px
}

::-webkit-scrollbar-thumb:active {
    background-color: #f1404b;
    -webkit-border-radius: 4px;
    border-radius: 4px
}

::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0);
    border-radius: 0 0 8px 0
}

::-webkit-scrollbar-button {
    background-color: rgba(0, 0, 0, 0);
    height: 2px;
    width: 2px
}