/* 颜色 */
.default {
    color: #515a6e;
}

.primary {
    color: #00465b;
}

.info {
    color: #bfd732;
}

.success {
    color: #19be6b;
}

.warning {
    color: #ff9900;
}

.error {
    color: #ed4014;
}

/* 页面头部 */
.ivu-page-header {
    height: 150px;
    background: #00465b;
}

.ivu-page-header-title {
    color: #fff;
    margin-bottom: 0px;
}

.ivu-page-header-content {
    color: #fff;
}

.i-layout-page-header {
    margin-bottom: -80px;
}

/* 菜单 */
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item-active .i-layout-menu-side-title-text em {
    color: #fff;
}

.ivu-dropdown-item.i-layout-menu-side-collapse-item-selected .i-layout-menu-side-title-text em {
    color: #fff;
}

/* 表单标签 */
.ivu-form-item-label {
    font-weight: bold;
}

.ivu-form-item-label::before {
    /* position: absolute; */
    display: inline-block;
    margin-right: 4px !important;
    background-color: #bcd400;
    height: 4px;
    width: 8px;
    content: '' !important;
    left: 0;
    margin-bottom: 3px;
    border-radius: 3px;
}

.ivu-form-item-required .ivu-form-item-label::after {
    content: '*';
    display: inline-block;
    margin-right: 4px;
    line-height: 1;
    font-family: SimSun;
    font-size: 14px;
    color: #ed4014;
}

.ivu-form-item-content {
    margin-left: 20px;
    margin-right: 20px;
}

.ivu-form-item-content .label {
    min-height: 32px;
    border-bottom: dotted #999 1px;
}

/* 图片 */
.form-image-group {
    display: flex;
}

.form-image-group div + div {
    margin-left: 4px;
}

.form-image {
    display: flex;
    align-items: center;
    justify-content: center;
    border: solid 1px #ccc;
    margin-top: 8px;
}

.form-image img {
    max-height: 100%;
    max-width: 100%;
}

.form-image .action {
    /* display: block; */
    display: none;
    background-color: #000;
    opacity: 0.75;
    position: absolute;
    float: right;
}

.form-image:hover .action {
    display: block;
}

.form-image .action i {
    float: right;
    color: #fff;
    font-size: 30px;
    margin-top: 4px;
    margin-right: 4px;
    cursor: pointer;
}

/* 表格头部 */
.ivu-table-header {
    border-top: solid 1px #eee;
}

/* 表格筛选 */
.filter .ivu-form-item {
    margin-bottom: 0px;
}

.filter button + button {
    margin-left: 4px;
    margin-bottom: 0;
}

.ivu-dropdown {
    margin-right: 4px;
}

/* 表格内部按钮 */
.ivu-table-cell button + button {
    margin-left: 4px;
    margin-bottom: 0;
}

/* 弹出框 */
.ivu-modal {
    top: 4vh;
}

.ivu-modal-content {
    border-radius: 4px;
}

.ivu-modal-body {
    overflow: auto;
    max-height: 70vh;
    padding-top: 0;
}

.ivu-modal-header .title {
    margin-left: 10px;
    margin-top: 5px;
    margin-bottom: 0;
    font-weight: 700;
    font-size: 1.714em;
    line-height: 1.45em;
    color: #333;
}

.ivu-modal-header .title::before {
    background: #00465b;
    position: absolute;
    width: 4px;
    height: 21px;
    left: 14px;
    top: 21px;
    content: '';
}

.ivu-modal-header .description {
    color: #999;
    margin-top: 18px;
    margin-left: 10px;
    font-size: 1em;
    font-weight: 700;
    text-transform: uppercase;
}

/* 按钮图标 */
.ivu-btn > .ivu-icon + span,
.ivu-btn > span + .ivu-icon {
    margin-left: 0;
}

.ivu-btn > .ivu-icon {
    line-height: initial;
}

.ivu-btn-primary {
    background-color: #234292;
    border-color: #234292;
}

.ivu-btn-info {
    background-color: #bfd732;
    border-color: #bfd732;
}

/* 提示框被挡 */
.swal2-container {
    z-index: 999999 !important;
}

/* 遮罩层 */
.page-loader-wrapper {
    z-index: 99999999;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-align: center;
    opacity: 0.5;
    background: #000;
    /* display: none; */
}

.page-loader-wrapper p {
    margin-top: 10px;
    color: #fff;
}

.page-loader-wrapper .loader {
    position: relative;
    top: 40%;
}

.zmdi-hc-spin {
    -webkit-animation: zmdi-spin 1.5s infinite linear;
    animation: zmdi-spin 1.5s infinite linear;
}

.zmdi-hc-spin-reverse {
    -webkit-animation: zmdi-spin-reverse 1.5s infinite linear;
    animation: zmdi-spin-reverse 1.5s infinite linear;
}

@-webkit-keyframes zmdi-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes zmdi-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@-webkit-keyframes zmdi-spin-reverse {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(-359deg);
        transform: rotate(-359deg);
    }
}

@keyframes zmdi-spin-reverse {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(-359deg);
        transform: rotate(-359deg);
    }
}

/* 遮罩层淡入淡出 */
.loader-enter,
.loader-leave-to {
    opacity: 0;
}

.loader-enter-to,
.loader-leave {
    opacity: 0.5;
}

.loader-enter-active,
.loader-leave-active {
    transition: all 1s;
}

/* 控件禁用状态 */
.ivu-select-disabled .ivu-select-selection {
    background-color: initial;
    color: initial;
}

.ivu-switch-disabled.ivu-switch-checked {
    opacity: initial;
}

.ivu-checkbox-disabled.ivu-checkbox-checked .ivu-checkbox-inner {
    border-color: #00465b;
    background-color: #00465b;
}

.ivu-radio-disabled.ivu-radio-checked .ivu-radio-inner {
    border-color: #00465b;
}

.ivu-radio-disabled .ivu-radio-inner:after {
    background-color: #00465b;
}

.ivu-upload-select {
    display: initial;
}

/* 表格列高度 */
.ivu-table-small td {
    height: 32px;
}

/* 小控件字体 */
.ivu-input-small {
    font-size: 12px;
}

.ivu-select-small .ivu-select-single .ivu-select-selection .ivu-select-placeholder,
.ivu-select-single .ivu-select-selection .ivu-select-selected-value {
    font-size: 12px;
}

/* font awesome */
.fa,
.far,
.fas {
    font-family: 'Font awesome 5 Free' !important;
    font-weight: 900 !important;
}

.fab {
    font-family: 'Font Awesome 5 Brands' !important;
    font-weight: 400 !important;
}

.i-layout-header-user-name {
    margin-left: 0px;
}

.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item-active,
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu .ivu-menu-item-active:hover {
    background: #bfd732 !important;
}

.i-layout-tabs .ivu-tabs.ivu-tabs-card > .ivu-tabs-bar .ivu-tabs-tab-active {
    color: #234292;
}

.ivu-btn-ghost.ivu-btn-primary {
    color: #ffffff;
}

/* IE 关键词文本框宽度 fix */
.ivu-form-item-content {
    min-width: 100px;
}
