﻿.flex {
    display: flex;
}

    .flex.dir-col {
        flex-direction: column;
    }

    .flex.dir-row {
        flex-direction: row;
    }

.flex-a {
    flex: auto;
}

.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}

.flex-3 {
    flex: 3;
}

.flex-4 {
    flex: 4;
}

.flex-5 {
    flex: 5;
}

.flex-6 {
    flex: 6;
}

.flex-n {
    flex: none;
}

/* layui扩展样式 */
.layui-table-cell {
    padding: 0 5px;
}

.layui-layer-loading .layui-layer-content .loading-content {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
    width: max-content;
    background: #fff;
}

.layui-form .search {
    margin: 20px 15px 0px;
    padding: 15px 10px 10px;
}

input.layui-input:not(.layui-unselect)[readonly],
input.layui-input:not(.layui-unselect)[disabled] {
    background-color: #f0f0f0;
}

.layui-layer.layui-layer-loading .loading-content {
    position: absolute;
    bottom: 0;
    left: 50%;
    white-space: nowrap;
    transform: translate(-50%, 100%);
    background: #fff;
}

/* 颜色 */
.color-red {
    color: #FF5722 !important;
}

.color-orange {
    color: #FFB800 !important;
}

.color-green {
    color: #009688 !important
}

.color-blue {
    color: #1E9FFF !important
}

.color-gray {
    color: gray !important
}

/* 布局 */
.abs-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* 通用样式 */
.status_success {
    color: #70B603;
}

.status_error {
    color: #D9001B;
}

.status_warn {
    color: #F59A23;
}

.status_info {
    color: #02A7F0;
}

.w100 {
    width: 100px !important;
}

.w110 {
    width: 110px !important;
}

.w120 {
    width: 120px !important;
}

.w150 {
    width: 150px !important;
}

.w200 {
    width: 200px !important;
}

.w260 {
    width: 260px !important;
}

.w290 {
    width: 290px !important;
}

.w360 {
    width: 360px !important;
}

.select-width-100 {
    width: 100px !important;
    margin-right: unset !important;
}

.select-width-130 {
    width: 130px !important;
    margin-right: unset !important;
}

.ml130 {
    margin-left: 130px;
}

.ml140 {
    margin-left: 140px;
}

.ml150 {
    margin-left: 150px;
}

/* 列表页顶部通用样式 */
.search-state-box {
    min-height: 40px;
    height: auto;
    padding: 0px 10px 0px;
    background-color: #ffffff;
}

    .search-state-box .layui-tab {
        margin-bottom: 0px;
    }

    .search-state-box .layui-tab-title {
        height: 50px;
    }

    .search-state-box .layui-tab-brief > .layui-tab-more li.layui-this:after, .search-state-box .layui-tab-brief > .layui-tab-title .layui-this:after {
        height: 51px;
        border: none;
        border-radius: 0;
        border-bottom: 4px solid #1E9FFF;
    }

    .search-state-box .layui-tab-brief > .layui-tab-title .layui-this {
        color: #1E9FFF;
    }

    .search-state-box .layui-tab-title li {
        line-height: 50px;
        font-size: 16px;
        padding: 0px 20px;
    }
/* 列表页顶部通用样式 */
.layui-layer-page .layui-layer-content {
    border-bottom: 1px solid #ddd;
}

form .layui-disabled {
    background-color: #eee !important;
    color: #000 !important;
}

@media print {
    @page {
        size: portrait;
        margin: 0;
    }

    body {
        margin: 1cm;
    }
    button {
        display: none;
    }
}

.layui-layout-admin .layui-logo {
    font-size: 26px;
    color: #fff;
}

.layui-table .optBtn {
    color: blue;
    text-decoration: underline;
    cursor: pointer;
}