﻿html,
body,
#root,
#app,
app {
    height: 100%;
}

.colorWeak {
    filter: invert(80%);
}

.ant-layout {
    min-height: 100vh;
}

canvas {
    display: block;
}

body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: Arial, Helvetica, sans-serif, 微软雅黑;
    min-width: 1300px;
}
/* 垂直居中 */
.flex_c {
    display: flex;
    align-items: center;
}

/* 垂直居中,水平左对齐 */
.flex_cl {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* 垂直居中,水平居中 */
.flex_cc {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 垂直居中,水平右对齐 */
.flex_cr {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* 垂直居中,水平两端对齐 */
.flex_csb {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 垂直排列,左对齐 */
.flex_cs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* 垂直排列,右对齐 */
.flex_ce {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.mt5 {
    margin-top: 5px;
}
.mt8 {
    margin-top: 8px;
}
.mt10 {
    margin-top: 10px;
}

.mt-8 {
    margin-top: -8px;
}

.mtb6 {
    margin-top: 6px;
    margin-bottom: 6px;
}

.ml5 {
    margin-left: 5px;
}

.mtb-68 {
    margin-top: -8px;
    margin-bottom: 6px;
}

.logotext {
    color: #30506D;
    font-weight: bold;
    font-size: 24px;
    padding-top: 3px;
}

.num {
    font-size: 36px;
    color: #1890FF;
}

.zw {
    visibility: hidden;
}

.red {
    color: red;
}
.orange {
    color: orange;
}
.darkred {
    color: darkred;
}
.blue {
    color: #1890FF;
}
.gray {
    color: gray;
}
.diff {
    color: #D4380D;
}
.pointer {
    cursor: pointer;
}
.split_tab {
    margin-top: -8px;
    background-color: white;
    height: calc(100vh - 160px);
}

.split_tab_drawer {
    margin-top: -8px;
    background-color: white;
    height: calc(100vh - 95px);
}

.ant-pro-global-header-layout-mix {
    background-color: white;
}

    .ant-pro-global-header-layout-mix .ant-pro-global-header-logo h1 {
        color: #115997;
    }

/*.ant-layout {
    background-color: white;
}*/
.ant-layout-content {
    margin: 10px 10px 0 10px;
}



/*.ant-tabs-nav {
    border-bottom: 1px solid #E2E4E7;
}*/


.ant-tabs-top > .ant-tabs-nav::before, .ant-tabs-bottom > .ant-tabs-nav::before, .ant-tabs-top > div > .ant-tabs-nav::before, .ant-tabs-bottom > div > .ant-tabs-nav::before {
    border-bottom: 1px solid #BEC0C3;
}

.ant-tabs-card > .ant-tabs-nav .ant-tabs-tab, .ant-tabs-card > div > .ant-tabs-nav .ant-tabs-tab {
    border: 1px solid #BEC0C3;
}

.ant-table-pagination.ant-pagination {
    margin: 5px 0;
}


ul,
ol {
    list-style: none;
}

.ant-table-thead > tr > th,
.ant-table-tbody > tr > td,
.ant-table tfoot > tr > th,
.ant-table tfoot > tr > td {
    padding: 8px 10px;
}

.ant-tree {
    font-size: 12px;
}

    .ant-tree .ant-tree-node-content-wrapper {
        min-height: 18px;
        line-height: 18px;
    }

    .ant-tree .ant-tree-treenode-draggable .ant-tree-draggable-icon {
        line-height: 18px;
    }

.ant-tree-switcher {
    line-height: 18px;
}

@media (max-width: 480px) {
    .ant-table {
        width: 100%;
        overflow-x: auto;
    }

    .ant-table-thead > tr > th,
    .ant-table-tbody > tr > th,
    .ant-table-thead > tr > td,
    .ant-table-tbody > tr > td {
        white-space: pre;
    }

        .ant-table-thead > tr > th > span,
        .ant-table-tbody > tr > th > span,
        .ant-table-thead > tr > td > span,
        .ant-table-tbody > tr > td > span {
            display: block;
        }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    body .ant-design-pro > .ant-layout {
        min-height: 100vh;
    }
}

h2 {
    border-bottom: 1px solid #EEEEEE;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 16px;
    padding-bottom: 5px;
}

    h2 span {
        font-size: 14px;
        font-weight: normal;
    }

.red {
    color: red;
}

.gray {
    color: gray;
}

.green {
    color: green;
}

.orange {
    color: orange;
}

.volcano {
    color: #D4380D;
}

.primary {
    color: #1890FF;
}
.back_green {
    background-color: green;
}
.back_red {
    background-color: red;
}
.tips {
    color: gray;
    padding: 10px;
}

.upload {
    width: 60px;
    height: 24px;
    position: relative;
    color: #fff;
    background-color: #1890FF;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .upload:hover {
        background-color: #40A9FF;
    }

    .upload .txt {
        float: left;
        position: absolute;
        left: 0px;
        top: 0px;
        width: 60px;
        height: 24px;
        text-align: center;
        line-height: 24px;
        color: white;
    }

    .upload .file {
        width: 60px;
        height: 22px;
        opacity: 0.0;
        filter: alpha(opacity=0);
        cursor: pointer;
    }

.min_upload {
    width: 30px;
}

    .min_upload .txt {
        width: 30px;
    }

    .min_upload .file {
        width: 30px;
    }

#components-reconnect-modal {
    display: none;
}

.form {
    background-color: white;
    border: 1px solid #F0F0F0;
    padding: 30px 0 10px 15px;
}

.autocomplete-desc {
    position: absolute;
    color: #999;
    right: 16px;
}

.spin {
    text-align: center;
}
.nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.link {
    cursor: pointer;
    color: #1890FF;
}

    .link:hover {
        color: orange;
    }

.main {
    width: 100%;
    overflow: auto;
}

.foot_fixed {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 45px;
    text-align: center;
    padding: 5px 10px 0 218px;
}

.tip {
    display: flex;
    flex-direction: column;
    color: white;
}

.tag {
    margin: 5px 0 0 5px;
    font-size: 12px;
}
.tag1 {
    margin-right: 0;
    font-size: 12px;
}

.tag2 {
    margin-top: -20px;
    margin-right: 0;
    float: left;
}

.tag3 {
    margin-right: 0;
    font-size: 12px;
    cursor: pointer;
}

.editable-cell-value-wrap {
    padding: 5px 12px;
    cursor: pointer;
}

.c-calendar1 {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: repeat(7, 1fr);
    grid-row-gap: 12px;
    grid-column-gap: 12px;
    height: 30px;
    text-align: center;
    font-weight: bold;
}

.c-calendar {
    display: grid;
    grid-template-rows: repeat(6, 1fr);
    grid-template-columns: repeat(7, 1fr);
    grid-row-gap: 12px;
    grid-column-gap: 12px;
    min-height: 600px;
}

.c-calendar4 {
    grid-template-rows: repeat(4, 1fr);
}

.c-calendar5 {
    grid-template-rows: repeat(5, 1fr);
}

.c-calendar6 {
    grid-template-rows: repeat(6, 1fr);
}

.c-calendar .item {
    background-color: #FAFAFA;
    border-radius: 5px;
    padding: 8px;
    cursor: pointer;
}

    .c-calendar .item:hover {
        background-color: #F5F5F5;
    }

.inv {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.invgrid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.c-kd {
    color: white;
    background-color: #87d068;
}

.pagenav {
    display: flex;
    justify-content: space-between;
    padding-bottom: 8px;
    margin-top: -8px;
}

.mtb8 {
    margin-top: -8px;
    margin-bottom: 8px;
}

.mb3 {
    margin-bottom: 3px;
}

.p3 {
    padding: 3px;
}

.columnTree .ant-tree-switcher {
    display: none;
}
.tab {
    border-collapse: collapse;
    background-color: #FFFFFF;
    width: 100%;
}

.tab th {
    padding: 2px;
    border: 1px solid #F0F0F0;
    background-color: #FAFAFA;
    padding: 5px;
    font-weight: normal;
    font-size: 12px;
}
.tab th.c {
    text-align: center;
}
.tab td {
    border: 1px solid #F0F0F0;
    padding: 5px;
    font-weight: normal;
    font-size: 12px;
}
.tab td.c {
    text-align: center;
}
.tab td:hover {
    background-color: #FAFAFA;
}

.tab1 th {
    text-align: left;
    font-weight: initial;
}
.tab2 th {
    text-align: right;
    font-weight: initial;
}
.tabc3 {
   margin-top:5px;
}
.tabc3 th {
    font-weight:bold;
}
.tabc3 th, .tabc3 td {
    text-align: center;
}
.tabc th, .tabc td {
    text-align: center;
}
.cwh-table-container {
    overflow-y: auto;
    border-top: 1px solid #F0F0F0;
    background-color: white;
}

.cwh-table-container table {
    border-collapse: collapse;
    width: 100%;
    background-color: white;
}

.cwh-table-container th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    text-align: left;
    border-right: 1px solid #F0F0F0;
    border-left: 1px solid #F0F0F0;
    border-bottom: 1px solid #F0F0F0;
    background-color: #FAFAFA;
    padding: 5px;
    z-index: 1;
    min-width: 35px;
    font-weight: normal;
    font-size: 12px;
}

    .cwh-table-container th.bc-01 {
        background-color: #FFF2F0;
    }

    .cwh-table-container th.bc-02 {
        background-color: #FFFBE6;
    }

    .cwh-table-container th.c {
        text-align: center;
    }

.cwh-table-container td {
    text-align: left;
    border: 1px solid #F0F0F0;
    padding: 3px 5px;
    word-break: break-all;
    word-wrap: break-word;
    font-size: 12px;
    font-weight: 400;
}

    .cwh-table-container td.c {
        text-align: center;
    }

    .cwh-table-container td.bl {
        text-align: left;
        font-weight: bold;
    }

.cwh-table-container tr:hover {
    background-color: #FAFAFA;
}

.cwh-table-container .rowselected {
    background-color: #E6F7FF;
}

    .cwh-table-container .rowselected:hover {
        background-color: #DCF4FF;
    }

.cwh-table-container .checked {
    width: 20px;
    min-width: 20px;
}

.cwh-table-container .ant-table-row-indent + .ant-table-row-expand-icon {
    margin: 0px;
}

.cwh-table-container .ant-switch-checked {
    background-color: #5AC725;
}

.cwh-table-container-center th, .cwh-table-container-center td {
    text-align: center;
}

.cwh-table-container .ht td {
    border-top: 2px solid #1890FF;
    background-color: #E6F7FF;
}

.cwh-table-container .hb td {
    border-bottom: 2px solid #1890FF;
}

.cwh-table-container .ht td:first-child, .cwh-table-container .lr td:first-child {
    border-left: 1px solid #1890FF;
}

.cwh-table-container .ht td:last-child, .cwh-table-container .lr td:last-child {
    border-right: 1px solid #1890FF;
}

.cwh-table-container .hr {
    background-color: #E6F7FF;
}

    .cwh-table-container .hr td {
        font-weight: bold;
        color: red;
    }
.cwh-table-container th.or, .cwh-table-container td.or {
    border-right: 1px solid #BEC0C3;
}
.cwh-table-container .innertable {
    padding: 10px;
    background-color: #FEF7F8;
}
.pointer {
    cursor: pointer;
}
.btn-green {
    background-color: #5AC725;
    border: 1px solid #5AC725;
    color: white;
}

.btn-green:hover {
    background-color: #71DB3E;
    border: 1px solid #71DB3E;
    color: white;
}

.btn-orange {
    background-color: #F9AE3D;
    border: 1px solid #F9AE3D;
    color: white;
}

.btn-orange:hover {
    background-color: #FBCD86;
    border: 1px solid #FBCD86;
    color: white;
}

.btn-sh {
    background-color: #FF5500;
    border: 1px solid #FF5500;
    color: white;
}

.btn-sh:hover {
    background-color: #EF5000;
    border: 1px solid #EF5000;
    color: white;
}

.btn-black {
    background-color: #545454;
    border: 1px solid #545454;
    color: white;
}

.btn-black:hover {
    background-color: #929292;
    border: 1px solid #929292;
    color: white;
}

.btn-ql {
    background-color: #4669B4;
    border: 1px solid #4669B4;
    color: white;
}

.btn-ql:hover {
    background-color: #3B5999;
    border: 1px solid #3B5999;
    color: white;
}
.btn-pi {
    background-color: #722ED1;
    border: 1px solid #4669B4;
    color: white;
}

.btn-pi:hover {
    background-color:#9766DD;
    border: 1px solid #3B5999;
    color: white;
}
.cwh-small {
    font-size: 12px;
}

    .cwh-small input {
        font-size: 12px;
    }

.cplm {
    font-size: 13px;
    padding: 10px 8px;
}

.cwhtab {
    background-color: white;
}

.ant-tabs-content-holder {
}

.cwhtab .ant-tabs-top > .ant-tabs-nav, .ant-tabs-bottom > .ant-tabs-nav, .ant-tabs-top > div > .ant-tabs-nav, .ant-tabs-bottom > div > .ant-tabs-nav {
    margin: -16px 0 16px 0;
    background-color: white;
}

.ant-tabs-tab {
    margin-left: 5px;
}

.cwhsel .ant-select-selection-item {
    font-size: 12px;
}

.cwh_drawer .ant-drawer-body {
    padding: 5px 5px 0 5px;
}

.cwh_drawer .ant-drawer-header {
    padding: 5px;
}
/* 隐藏原生的checkbox */
.cwh-checkbox input[type="checkbox"] {
    display: none;
}

/* 创建自定义checkbox的外观 */
.cwh-checkbox .checkmark {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: white;
    position: relative;
    cursor: pointer;
    border: 1px solid #D9D9D9;
    transition: background 0.2s;
    border-radius: 1px;
}

/* 当checkbox被选中时改变外观 */
.cwh-checkbox input[type="checkbox"]:checked + .checkmark {
    background-color: #1890FF;
    border: 1px solid #1890FF;
}

    /* 创建选中后的对勾 */
    .cwh-checkbox input[type="checkbox"]:checked + .checkmark::after {
        content: "";
        position: absolute;
        left: 4px;
        top: 1px;
        width: 6px;
        height: 10px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

.cwh-table-print_t {
    width: 1280px;
    color: #000000;
    line-height: 28px;
}

.cwh-table-print {
    overflow-y: auto;
    background-color: white;
}

    .cwh-table-print table {
        border-collapse: collapse;
        width: 1280px;
        background-color: white;
    }

    .cwh-table-print td {
        text-align: left;
        border: 1px solid #000000;
        padding: 3px 5px;
        word-break: break-all;
        word-wrap: break-word;
        font-size: 12px;
        font-weight: 400;
        color: #000000;
    }

.star-rating {
/*    display: inline-flex;
    font-size: 0;*/
    unicode-bidi: bidi-override;
}

.star-rating span {
    display: inline-block;
    position: relative;
    width: 20px;
    font-size: 22px;
}

.star-rating .full:before,
.star-rating .half:before,
.star-rating .empty:before {
    content: "★";
    /*position: absolute;*/
}

.star-rating .full:before {
    color: #ffc107; /* 金色实星 */
}
.star-rating .half:before {
    color: #EFEFEF; /* 灰色背景 */
}
.star-rating .half:after {
    content: "★";
    position: absolute;
    color: #ffc107; /* 金色半星 */
    width: 50%;
    overflow: hidden;
    left: 0;
}
.star-rating .empty:before {
    color: #EFEFEF; /* 灰色空星 */
}

@media print {
    body * {
        visibility: hidden;
    }

    #printArea, #printArea * {
        visibility: visible;
    }

    #printArea {
        position: absolute;
        left: 0;
        top: 20px;
    }

    @page {
        margin-top: 0;
        margin-bottom: 0;
        size: auto; /* 或者使用特定的尺寸，如 A4, A5 */
    }

    /*@page :first {
        margin-top: 0;
        margin-bottom: 0;
        size: auto;*/ /* 或者使用特定的尺寸，如 A4, A5 */
    /*}

    @page :left {
        margin-left: 0;
    }

    @page :right {
        margin-right: 0;
    }*/
}

.allotment-calendar .ant-picker-calendar-date-content {
    display:none;
}
.datecard {
    width: 100%;
    padding:10px 0px;
}
.datecard span{
    display:block;
    width: 100%;
    text-align:center;
    line-height:30px;
}
.datecard1 span {
    margin-top:3px;
    line-height: 24px;
}
.datecard .y {

    background-color:#52C41A;
    color:white;
}
.datecard .o {

    background-color:#FA8C16;
    color:white;
}
.datecard .n {

    background-color: #F5222D;
    color:white;
}
.datecard .date{
    font-size:16px;
    font-weight:bold;
}
.datecard .date1{
    font-size:16px;
    font-weight:bold;
    line-height:60px;
}
.datecard1 .date1 {
    line-height: 81px;
}
.datecard .date_y {
    font-size: 16px;
    font-weight: bold;
    background-color: #52C41A;
    color: white;
    padding: 3px 0;
}
.datecard .date_y {
    font-size: 16px;
    font-weight: bold;
    background-color: #52C41A;
    color: white;
    padding:3px 0;
}
.datecard .date_n {
    font-size: 16px;
    font-weight: bold;
    background-color: #F5222D;
    color: white;
    padding: 3px 0;
}
.footer-fixed-bottom {
    position: fixed;
    bottom: 0;
    width: calc(100% - 230px);
    z-index: 1000;
    background-color: white;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
    height:48px;
    padding:10px;
}

.scrollable-div {
    flex: 1;
    min-width: 300px;
    height: calc(100vh - 160px);
    overflow-y: auto;
}

/*抖动效果*/
.shake-animation {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% {
        transform: translateX(-2px);
    }

    20%, 80% {
        transform: translateX(4px);
    }

    30%, 50%, 70% {
        transform: translateX(-6px);
    }

    40%, 60% {
        transform: translateX(6px);
    }
}
.slider_div {
    display: flex;
    width: 100%;
}
.slider_div .left {
    flex: none;
    padding-top:5px;
    padding-right:10px;
}

.slider_div .middle {
    flex: 1;
}

.slider_div .right {
    flex: none;
    padding-top:5px;
    padding-left:10px;
}
.eha-div {
    flex: 1;
    width: 100%;
    height: calc(100vh - 215px);
    overflow-y: auto;
}
.scrol_img {
    flex: 1;
    width: 100%;
    height: calc(100vh - 190px);
    overflow-y: auto;
}
.scrol_room_add {
    flex: 1;
    width: 100%;
    height: calc(100vh - 300px);
    overflow-y: auto;
    overflow-x: hidden;
}