@import '../assets/css/_variable';
@import '../assets/css/animate';
@import '../assets/css/util';
@import '../assets/fonts/iconfont.css';

html,
body,
#root {
    @include content-width;
    height: 100%;
    margin: 0 auto;
    font-size: $global-font-size!important;
    font-family: $body-font-family!important;
    font-variant: tabular-nums;
    line-height: 1.5;
    color: rgba(0,0,0,.65);
    background-color: #fff;
    overflow: hidden;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

h2 {
    font-size: 20px;
    color: $global-font-color;
    font-weight: 400;
    margin-left: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    transition: color 0.3s;
    color: $global-link-red;
    &:hover,
    &:focus {
        color: $main-color;
    }
}

#app {
    overflow: hidden;
    height: 100%;
}

.main-body {
    @include content-width;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 0 auto;
    min-height: 100vh;
    background-color: $body-bg-color;
    overflow: hidden;
    height: 100%;
    min-width: 1330px;

    .body-warp{
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        overflow: hidden;
        order: 1;
    }

    .content {
        position: relative;
        margin: 12px 5px 32px 12px;
        padding-right: 15px;
        min-height: 300px;
        overflow: hidden auto;
    }

    .section{
        padding: 12px 16px;
        @include box;
    }
}

.panel{
    @include box;
    .panel-header{
        background-color: $white;
        font-weight: 700;
    }
}


.tag {
    display: inline-block;
    color: $main-color;
    font-size: 12px;
    line-height: 1;
    margin: 0 5px;
    padding: 1px 2px;
    border: 1px solid $main-color;
    border-radius: $global-radius;
    cursor: pointer;
}

.red-dot {
    &:after {
        @include red-dot;
        margin-left: 5px;
    }
}

.loading-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 120px;
    font-size: 32px;
    text-align: center;
    color: $main-color;

    span {
        //color: $global-font-color-desc;
        font-size: 0.65em;
        margin-top: 20px;
    }
}

.no-result {
    margin-top: 20px;
}

.no-result-card {
    height: 140px;
    width: 100%;
    border: 1px solid $global-border-color;
    color: #666666;
    font-size: 16px;
    text-align: center;
    line-height: 140px;
}

/* 初始化无数据 */
.no-result-init {
    position: relative;
    margin: 56px auto 0;
    width: 130px;
    height: 121px;
    background: url('../assets/img/common/no-result.png') center no-repeat;
    span {
        position: absolute;
        left: 50%;
        bottom: -36px;
        transform: translateX(-50%);
        color: $global-font-color-inactive;
        white-space: nowrap;
    }
}

.form-confirm + .ne-switch-base-label-text{
    font-size: 12px;
}

.page {
    float: right;
    padding: 25px 0;
}

/* 红色字体 */
.red-font {
    color: #f15c75;
}


.ne-form-item-input {
    line-height: 32px;
}
.ne-menu{
    width: 100px;
}

/* 弹窗 */
.ne-modal-content-desc, .ne-confirm-content-desc {
    line-height: 1.6;
    word-break: break-all;
}

.ne-table-tbody td a {
    text-decoration: underline wavy #36c2aa;
    color: #333;
}

.ne-table-tbody td a:hover,
.ne-table-tbody td a:focus {
    color: #36c2aa;
}

.field-layout {
    margin-bottom: 24px;
}

.required {
    color: red;
}