.ant-modal div[aria-hidden="true"] {
    display: none !important
}

.app-content {
    padding: 0px 8px 0px 8px;
    height: 100%;
    width: 100%;
    position: relative;
    overflow: auto;

    .ant-tabs-bar {
        margin: 0 0 10px 0 !important;
    }

    .ant-table {
        font-size: 13px;
    }

    .ant-table-scroll {
        ::-webkit-scrollbar-track-piece {
            background-color: #fff
        }
    }

    .ant-table .ant-table-content .ant-table-body {
        margin: 0 !important;
    }

    .ant-table-body .ant-table-thead {
        background-color: #f8fafc;
        background: linear-gradient(to top, #e8e8e8 0, #ffffff 85%);
    }

    .ant-table-thead>tr>th {
        padding: 6px 6px !important;
        text-align: center !important;
    }

    .ant-table-tbody>tr>td {
        padding: 6px 6px !important;
    }

    .ant-table-thead>tr>th,
    .ant-table-tbody>tr>td {
        overflow-wrap: break-word;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .ant-table .ant-table-content .ant-table-scroll .ant-table-row-cell-break-word {
        max-width: 200px;
    }

    .ant-table-body .ant-table-row .ant-btn {
        margin-left: 5px;
    }

    .ant-divider-horizontal {
        margin: 3px 0px !important;
    }

    .ant-spin-blur {
        opacity: 0.3 !important;
    }
}

.font-line-space {

    .ant-row-flex,
    .ant-row {
        .ant-col {
            line-height: 180% !important;
        }
    }
}

.from-table {
    .from-table {
        border-left: 0px !important;
        border-top: 0px !important;
    }

    // .ant-row>.ant-col:first-child {
    //     border-top: 1px solid #f0f0f0;
    //     border-left: 1px solid #f0f0f0;
    // }

    // >.ant-row:first-child {
    //     border-top: 1px solid #f0f0f0;
    // }

    >div:first-child {
        border-top: 1px solid #f0f0f0;
    }

    .ant-spin-nested-loading .ant-spin-container>.ant-row:first-child {
        border-top: 1px solid #f0f0f0;
    }

    .ant-row-flex,
    .ant-row {
        border-right: 1px solid #f0f0f0;

        .ant-col {
            padding: 0px 5px;
            min-height: 40px;
            line-height: 39px;
            border-left: 1px solid #f0f0f0;
            border-bottom: 1px solid #f0f0f0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: normal;

            .ant-row .ant-col {
                border: 0;
            }

            .ant-form-item {
                padding: 0;
                border: 0;
                margin-bottom: 0px !important;
            }
        }
    }


    .ant-form-explain {
        margin-left: 5px;
        display: inline-block;
    }

    .bg-gray {
        background-color: #f8fafc;
    }

    .bg-light_blue {
        background-color: #f8fafc;
    }

    .row_center .ant-col {
        text-align: center;
    }

    // 内容垂直居中
    .special-middle {
        padding-right: 3px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }

    // 项目组成员操作栏
    .special-action {
        height: 65px;
        line-height: 1.5;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    // 附件上传
    .file-box {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;

        >div:nth-child(1) {
            width: 90%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
    }

    .visually-hidden {
        display: none !important;
    }

    textarea {
        /* 禁用右下角的拖动 */
        resize: none;
    }

    .tb-title {
        color: #0079fe;
        font-weight: 400;
        font-size: 14px;
        display: flex;
        text-align: center;
        line-height: 40px;

        &::after {
            content: "";
            flex-grow: 1;
            border-top: 1px dashed #d9d9d9;
            transform: translateY(50%);
            margin-left: 10px;
        }
    }

    .main-title {
        color: #106ad8;
        font-weight: 600;
        font-size: 15px;
        display: flex;
        text-align: center;
        line-height: 40px;

        &::after {
            content: "";
            flex-grow: 1;
            border-top: 1px dashed #d9d9d9;
            transform: translateY(50%);
            margin-left: 10px;
        }

        &::before {
            content: "";
            flex-grow: 1;
            border-top: 1px dashed #d9d9d9;
            transform: translateY(50%);
            margin-left: 10px;
        }
    }


    .flex-layout {
        display: flex;
    }

    .required::before {
        display: inline-block;
        margin-right: 4px;
        color: #f5222d;
        font-size: 14px;
        font-family: SimSun, sans-serif;
        line-height: 1;
        content: "*";
    }
}

.ant-modal-root .ant-modal .ant-modal-content {
    .ant-modal-header {
        padding: 8px 15px !important;
    }

    .ant-modal-body {
        padding: 8px !important;
    }
}

.ant-modal-confirm .ant-modal .ant-modal-content {
    .ant-modal-header {
        padding: 16px 24px !important;
    }

    .ant-modal-body {
        padding: 24px !important;
    }
}

// 搜索框样式
.search_form {
    padding: 2px 0px !important;

    .ant-form-item {
        margin-right: 4px !important;
    }

    .ant-form-item .ant-form-item-label {
        line-height: 36px !important;
    }

    .ant-form-item .ant-form-item-control-wrapper .ant-form-item-control {
        line-height: 36px !important;
    }

    .ant-form-item .ant-form-item-control-wrapper .ant-form-item-control .ant-form-item-children {
        min-height: 36px !important;
        line-height: 36px !important;
        display: flex;
        justify-content: center;
        align-items: center;

    }

    .ant-input {
        border-radius: 0px;
    }


    .ant-input,
    .ant-btn {
        height: 30px;
        font-size: 13px;
    }

    .ant-form-item .ant-select:first-child {
        margin-left: 0px !important;
    }


    .ant-select {
        font-size: 13px;
        display: inline-block !important;
        margin-left: -1px;
    }

    .ant-select .ant-select-selection--single {
        height: 30px;
        border-radius: 0px;

        .ant-select-selection__rendered {
            line-height: 30px;
        }
    }
}

.submit-btn {
    margin: 5px 0 !important;

    .ant-btn {
        height: 30px;
        margin-right: 6px;
    }

    >span {
        display: inline-block;
    }

    .ant-upload-list-text {
        display: inline-block;

        >div>span {
            .ant-upload-list-item {
                margin: 0 !important;

                .ant-upload-list-item-info {
                    position: relative;

                    >span {
                        height: 30px;
                        display: block;
                    }
                }
            }
        }
    }
}

.form-description {
    display: block;
    font-size: 13px;
    color: rgb(219, 53, 47);
    margin: 0 0 5px 5px;
    // font-style: oblique;
}

.btn-group {
    clear: both;
    white-space: nowrap;
    display: inline-flex;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 5px 5px 5px 5px;

    .group-item {
        font-size: 14px;
        list-style: none;
        white-space: nowrap;
        display: inline-flex;
        text-align: left;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 5px 5px 5px 5px;
    }

    .group-item>li {
        display: inline-block;
        border-top: 1px solid #e8e8e8;
        border-bottom: 1px solid #e8e8e8;
        border-right: 1px solid #e8e8e8;
        line-height: 32px;
        padding: 0px 15px 0px 15px;
        position: relative;
        color: #999;
        list-style: none;
        cursor: pointer;
        user-select: none;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    .group-item>li.active {
        color: #fff;
        background-color: #0079FE;
    }

    .group-item>li:last-child {
        border-radius: 0 5px 5px 0;
    }

    .group-item>li:first-child {
        border-left: 1px solid #e8e8e8;
        border-radius: 5px 0 0 5px;
    }
}

.header_layout {
    background: #fff;
    width: 100%;
    height: 50px;
    line-height: 50px;
    position: relative;
    border-bottom: 1px solid #e8e8e8;

    .logo {
        top: -1px;
        left: 12px;
        width: 40px;
        height: 50px;
        line-height: 50px;
        position: absolute;
    }

    .logo img {
        width: 36px;
        height: 36px;
    }

    .title {
        height: 50px;
        line-height: 46px;
        position: absolute;
        top: 0px;
        left: 50px;
        max-width: 500px;
        color: #595959;
        text-align: left;
        font-size: 22px;
    }

    .header_btn {
        position: absolute;
        top: 0px;
        right: 10px;
        text-align: right;
        max-width: 350px;
        line-height: 46px;

        .toolbar-items {
            display: inline-block;
            padding: 0 2px;
            height: 50px;
            vertical-align: top;
            max-width: 280px;
            overflow-wrap: break-word;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .toolbar-icon {
            top: 2px;
            position: relative;
            padding: 0 3px;
        }

        .icon_f {
            font-size: 18px;
            color: #595959;
        }

        .title_f {
            color: #595959;
        }

        .ava-img {
            width: 26px;
            height: 26px;
            margin: -5px 5px 0px 5px;
        }
    }
}

#nprogress .bar {
    background: rgb(236, 234, 234) !important; //自定义颜色
}

.modal-layout-root {
    .modal-container {
        height: 800px;
        width: 800px;
        transform-origin: 873px 63px;

        z-index: 999;
        min-width: 250px;
        min-height: 180px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        border: none;
        border-radius: 4px;
        transition: 0.5s;
        // box-shadow: 5px 5px 5px #e4e4e4, 5px -5px 5px #e4e4e4, -5px 5px 5px #e4e4e4, -5px -5px 5px #e4e4e4;
        // 不需要知道宽高 水平垂直居中
        position: fixed;
        top: 20%;
        left: 50%;
        transform: translate(-50%, -50%);

        background-color: #fff;

        // 头部标题
        .modal-header {
            width: 100%;
            height: 50px;
            border: none;
            border-bottom: 1px solid #e8e8e8;
            padding: 20px 30px;
            display: flex;
            align-items: center;
            justify-content: space-between;

            // background-color: aquamarine;
            .modal-title {
                color: #262626;
                font-weight: 600;
                font-size: 17px;
            }

            .close-icon {
                color: #4d4d4d;
                cursor: pointer;
                width: 80px;
                text-align: right;
            }
        }

        // 内容
        .modal-content {
            width: 100%;
            min-height: 100px;
            border: none;
            padding: 20px 30px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            overflow: auto;
            height: calc(100% - 100px);
        }

        // 底部按钮
        .modal-footer {
            width: 100%;
            height: 50px;
            border: none;
            border-top: 1px solid #e8e8e8;
            padding: 0 25px;
            display: flex;
            align-items: center;
            justify-content: flex-end;

            .modal-btn {
                width: 150px;
                display: flex;
                justify-content: space-between;

                .cancel {
                    border: 1px solid #d9d9d9;
                    background-color: #fff;
                    color: #595959;
                    width: 70px;
                    height: 32px;
                    border-radius: 4px;
                    font-size: 14px;
                    transition: 0.5s;

                    &:hover {
                        border: 1px solid #40a9ff;
                        color: #40a9ff;
                    }
                }

                .ok {
                    border: 1px solid #1890ff;
                    background-color: #1890ff;
                    color: #ffffff;
                    width: 70px;
                    height: 32px;
                    border-radius: 4px;
                    font-size: 14px;
                    transition: 0.5s;

                    &:hover {
                        border: 1px solid #40a9ff;
                        background-color: #40a9ff;
                    }
                }
            }
        }
    }

    // 遮罩层
    .mask {
        z-index: 998;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        // opacity: 0.4 !important;
        // background: #000000 !important;
        background-color: rgba(0, 0, 0, 0.3);
    }

    // 模态框展示隐藏的动画
    .modal-fade-enter-active {
        transition: all 0.3s ease;
    }

    .modal-fade-leave-active {
        transition: all 0.3s ease;
    }

    .modal-fade-enter-from,
    .modal-fade-leave-to {
        transform: translateX(-400px);
        opacity: 0;
    }

    @font-face {
        font-family: "iconfont";
        /* Project id 3147059 */
        src: url("//at.alicdn.com/t/font_3147059_ypw5b7teii.woff2?t=1648289780095") format("woff2"),
            url("//at.alicdn.com/t/font_3147059_ypw5b7teii.woff?t=1648289780095") format("woff"),
            url("//at.alicdn.com/t/font_3147059_ypw5b7teii.ttf?t=1648289780095") format("truetype");
    }

    .iconfont {
        font-family: "iconfont" !important;
        font-size: 18px;
        font-style: normal;
        -webkit-font-smoothing: antialiased;
        -webkit-text-stroke-width: 0.2px;
        -moz-osx-font-smoothing: grayscale;
    }
}
.spac_comp {
    .spac-comp-title {
      color: rgba(0, 0, 0, 0.65);
    }
  }