﻿/* 初始化css */

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
legend,
button form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
    padding: 0;
    margin: 0;
}

/* 酌情修改 */
body {
    background: #fff;
    /*color: #333;
    font-size: 14px;*/
    /* margin-top: 5px; */
    font-family: PingFangSC-Regular, sans-serif;
    font-size: 16px;
    color: #26272B;
}

/* 短引用的内容可取值：''或"" */
q:before,
q:after {
    content: ”;
}

/* 缩写，图片等无边框 */
fieldset,
img,
abbr,
acronym {
    border: 0 none;
}

abbr,
acronym {
    font-variant: normal;
}

legend {
    color: #000;
}

/* 清除特殊标记的字体和字号 */
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-weight: normal;
    font-style: normal;
}

/* 上下标 */
sup {
    vertical-align: text-top;
}

sub {
    vertical-align: text-bottom;
}

/* 设置表格的边框被合并为一个单一的边框, 指定分隔边框模型中单元格边界之间的距离为0*/
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 表格标题及内容居左显示 */
caption,
th {
    text-align: left;
}

input,
img,
select {
    vertical-align: middle;
}

/* 清除列表样式 */
ol,
ul {
    list-style: none;
}

/* 输入控件字体 */
input,
button,
textarea,
select,
optgroup,
option {
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
}

/* 标题元素样式清除 */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    font-size: 100%;
}

/* 链接样式，颜色可酌情修改 */
del,
ins {
    text-decoration: none;
}

/* 鼠标样式 */
input[type="submit"] {
    cursor: pointer;
}

input {
    border: 0;
    outline: none
}

button {
    cursor: pointer;
}

input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.clear {
    clear: both;
}


a {
    text-decoration: none;
    color: #333;
}

a:hover,
a:visited,
a:link,
a:active {
    color: #333333;
}

/*去除*/
input {
    border-radius: 0;
}

/*去除Chrome等浏览器文本框默认发光边框*/
input:focus,
textarea:focus {
    outline: none;
}

/*去掉高光样式*/
input:focus {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-user-modify: read-write-plaintext-only;
}

/*去除IE10+浏览器文本框后面的小叉叉*/
input::-ms-clear {
    display: none;
}

/*禁止多行文本框textarea拖拽*/
textarea {
    resize: none;
}

input,
button,
select,
textarea {
    outline: none
}

input,
button,
select,
textarea {
    outline: none
}

textarea {
    resize: none
}


/************************************************************ 新加 ************************************************************/
/*单行超出以...结尾*/
.text-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/*两行超出以...结尾*/
.text-ellipsis-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
/****************************** 弹性布局 ******************************/
.r-fs-s {
    display: flex;
}
.r-fs-fs{
    display: flex;
    align-items: flex-start;
}
.r-fs-c{
    display: flex;
    align-items: center;
}
.r-fs-fe{
    display: flex;
    align-items: flex-end;
}
.r-c-c{
    display: flex;
    justify-content: center;
    align-items: center;
}
.r-sb-s{
    display: flex;
    justify-content: space-between;
}
.r-sb-fs{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.r-sb-c{
    display: flex;
    justify-content:space-between;
    align-items: center;
}
.r-sb-fe{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.c-sb-s{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/****************************** 加载动画 ******************************/
[load].ui-loading-block {
    background: rgba(255,255,255,0);
}
[load].ui-loading-block .ui-loading-cnt {
    width: auto;
    height: auto;
    background: rgba(255,255,255,0);
}
#load-undo {
    width: 24px;
    height: 24px;
    animation-name: rotate3d;
    animation-duration: 1s;
    animation-timing-function: steps(12);
    animation-iteration-count: infinite;
}
@keyframes rotate3d {
    0% {
        transform: rotate3d(0, 0, 1, 0deg);
    }
    100% {
        transform: rotate3d(0, 0, 1, 360deg);
    }
}
/****************************** 提示信息 ******************************/
[title].ui-loading-block {
    background: rgba(255,255,255,0);
}
[title].ui-loading-block .ui-loading-cnt {
    padding: 10px;
    height: auto;
    width: calc(100% - 20px);
    text-align:center;
}

/****************************** 对话框提示弹窗 ******************************/
[dialog].ui-dialog {
    z-index: 999999;
    background: rgba(0,0,0,0.1);
}
[dialog].ui-dialog .ui-dialog-no {
    color: #C5C6CA;
}
[dialog].ui-dialog .ui-dialog-yes {
    color: #FE610D;
}
