/* 字体大小 */

.font12 {
    font-size: 12px;
}

.font16 {
    font-size: 16px;
}

.font18 {
    font-size: 18px;
}

.font20 {
    font-size: 20px;
}

.font22 {
    font-size: 22px;
}

.font24 {
    font-size: 24px;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

/* 清除浮动 */
.clear {
    clear: both;
}

.clearfix:after {
    display: block;
    visibility: hidden;
    clear: both;
    height: 0;
    content: '';
}

.clearfix {
    position: relative;
    zoom: 1;
}

/* 弹性布局 */
.flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-column {
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
}

.space-around {
    justify-content: space-around;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 弹性布局右到左 */
.displayRight .el-form-item__content{
    display: flex;
    flex-direction:row-reverse
}
.displayRight .el-form-item__content button{
    margin-right: 10px;
}
.flex .flex-item {
    width: 100%;
}

.flex-grow {
    flex: 1;
}

/* 文字超出隐藏 */
.txt-ovehid {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.two-ovehid {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.three-ovehid {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* 鼠标小手 */
.pointer {
    cursor: pointer;
}

/* 定位 */
.parent {
    position: relative;
}

.vertical-center {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* input宽度自适应 */
.widthAuto .el-input {
    width: auto!important;
}
.success{
    color: #67C23A
}
.warn {
    color:#E6A23C
}
.danger {
    color:#F56C6C
}
/* 去除button按钮的选中效果 */
.el-button--primary.is-round.is-plain:focus{
     background: #FFF!important;
    border-color: #409EFF!important;
    color: #409EFF!important;
}
.el-button--primary.is-round.is-plain:hover {
    background:#409EFF!important;
    border-color: #409EFF!important;
    color: #FFF!important;
}
/* widthAuto类名下的时间日期选择器宽度自适应 */
.widthAuto .el-date-editor{
    width: auto;
}
/* 时间日期选择器样式调整 */
.time {
    border-radius: 20px;
    height: 30px;
    padding: 0 15px!important;
    margin-top: 4px;
}
/* 下选择器样式修改 */
.el-select-dropdown__wrap {
    margin-bottom: 0!important;
}
/* 时间起选择器中间的 '至' 宽度自适应 */
.el-date-editor .el-range-separator {
    width: auto;
}
/* .el-scrollbar__thumb {
    overflow-x: hidden;
    background-color: #fff;
} */