.flex {
    display: -webkit-box; /* 老版本 Safari, iOS, Android */
    display: -moz-box; /* 老版本 Firefox */
    display: -ms-flexbox; /* IE 10 */
    display: -webkit-flex; /* Chrome < 21, Safari 6.1+, iOS Safari 7+ */
    display: flex; /* 标准语法 */
}

.flex-column {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.items-center {
    /* 老版本 WebKit 浏览器 (Safari, iOS, Android) */
    -webkit-box-align: center;

    /* 老版本 Firefox */
    -moz-box-align: center;

    /* IE 10 */
    -ms-flex-align: center;

    /* 现代浏览器 */
    align-items: center;
}

.justify-between {
    /* 老版本 WebKit 浏览器 (Safari, iOS, Android) */
    -webkit-box-pack: justify;

    /* 老版本 Firefox */
    -moz-box-pack: justify;

    /* IE 10 */
    -ms-flex-pack: justify;

    /* 现代浏览器 */
    justify-content: space-between;
}

.justify-center {
    /* 标准语法 */
    justify-content: center;

    /* 老版本 WebKit 浏览器 (Safari, iOS, Android) */
    -webkit-box-pack: center;

    /* 老版本 Firefox */
    -moz-box-pack: center;

    /* IE 10 */
    -ms-flex-pack: center;
}

.flex-1 {
    /* 老版本 WebKit 浏览器 (Safari, iOS, Android) */
    -webkit-box-flex: 1;

    /* 老版本 Firefox */
    -moz-box-flex: 1;

    /* IE 10 */
    -ms-flex: 1;

    /* 现代浏览器 */
    flex: 1;
}

.flex-wrap {
    /* 换行 */
    -webkit-flex-wrap: wrap; /* 老版本 WebKit */
    -ms-flex-wrap: wrap; /* IE 10 */
    flex-wrap: wrap; /* 标准语法 */
}

.text-overflow {
    white-space: nowrap; /* 禁止换行 */
    overflow: hidden; /* 隐藏超出部分 */
    text-overflow: ellipsis; /* 超出部分用省略号代替 */
}

.multi-line-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 限制显示的行数 */
    overflow: hidden;
    text-overflow: ellipsis;
}

.rotate-90 {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
    transition: all 0.5s;
}

.shrink-0 {
    flex-shrink: 0;
}

.relative {
    position: relative;
}

.full-cover-link {
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 100;
    top: 0;
    left: 0;
}

.n-buttuon-danger {
    background: #d96565 !important;
}

.w-full {
    width: 100%;
}

.scroll-loading {
    color: #999;
    font-size: 12px;
    width: 100%;
    text-align: center;
}

/* 有滚动条时的样式 */
.scrollbar-container.has-scrollbar {
    padding-right: 15px; /* 滚动条宽度 */
}

/* 滚动条样式 begin */
body {
    scrollbar-face-color: #888 !important;
    scrollbar-track-color: #f1f1f1 !important;
    scrollbar-arrow-color: #555 !important;
    scrollbar-shadow-color: #666 !important;
    scrollbar-highlight-color: #777 !important;
    scrollbar-3dlight-color: #999 !important;
    scrollbar-darkshadow-color: #555 !important;
}

/* html {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
} */
::-webkit-scrollbar {
    width: 10px; /* 垂直滚动条宽度 */
    height: 10px; /* 水平滚动条宽度 */
}

/* 轨道 */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 8px;
}

/* 滑块 */
::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 8px;
    border: 2px solid transparent; /* 透明边框缩进滑块 */
    background-clip: content-box; /* 防止背景色溢出到边框区域 */
}

/* 悬停时滑块变深色 */
::-webkit-scrollbar-thumb:hover {
    background: #777;
    border-radius: 8px;
    border: 2px solid transparent; /* 透明边框缩进滑块 */
    background-clip: content-box; /* 防止背景色溢出到边框区域 */
}
/* 滚动条样式 end */

.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none; /* 防止iOS上的长按菜单 */
}
