﻿@charset "utf-8";

html, body {
    /*font-family: 'Microsoft YaHei UI',SimHei,'Helvetica Neue', Helvetica, Arial, sans-serif !important;*/
    margin: 0;
    padding: 0;
    font-size: 14px !important;
    user-select: none;
    -webkit-overflow-scrolling: touch;
    /*background-color: transparent;*/
    color: var(--neutral-foreground-rest);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.app, fluent-design-system-provider {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

@media print {
    body {
        height: auto !important;
    }

    input[type=checkbox] {
        width: 1rem;
        height: 1rem;
    }
}

.fw700 {
    font-weight: 700;
}

.w-100 {
    width: 100%;
}



svg {
    width: 100%;
    height: 100%;
}

.flexrow {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}

.rowstart {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-right: 10px;
}

.rowend {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 10px;
}

.fullcontent {
    overflow: hidden;
    height: 100%;
    flex: 1;
    padding-right: 3px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
/*
.box-out {
    flex: 1;
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
    flex-direction: column;
    justify-content: space-between;
}

.box-in {
    height: 100%;
    flex: 1;
    margin: 15px;
    overflow: hidden;
}*/
.flex-row {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    overflow: hidden;
    align-items: center;
}

.full {
    flex: 1;
    /*width: 100%;*/
    height: 100%;
    overflow: hidden;
}

.flex-row-h {
    display: flex;
    width: 100%;
    justify-content: space-between;
    overflow: hidden;
    align-items: center;
}

.flex-row-fix {
    display: flex;
    width: 100%;
    justify-content: space-between;
    overflow: hidden;
    align-items: center;
}

    .flex-row-fix div {
        flex: 1
    }

.flex-col {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}


.遮罩 {
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: grid;
    /*background-color: rgba(30,30,30,0.4);*/
    background-color: var( --neutral-stroke-control-rest);
    backdrop-filter: blur(30px);
    z-index: 100;
    grid-template-rows: 1fr;
    /*grid-template-columns:1fr;*/
    justify-content: center;
    align-items: center;
}

.业务弹窗 {
    z-index: 11;
    border-radius: 5px;
    max-width: 100vw;
    max-height: 100vh;
    justify-content: center;
    align-items: center;
    position: relative;
    width: min-content;
    height: min-content;
    display: grid;
    border: 1px solid #777;
    overflow: hidden;
    background-color: var(--neutral-layer-card-container);
}



.h5dialog {
    border-radius: 5px;
    max-width: 100vw;
    width: 480px;
    height: 297px;
    justify-content: center;
    align-items: center;
    position: relative;
    display: grid;
    grid-template-rows: 60px 1fr 70px;
    grid-template-columns: 1fr;
    border: 1px solid #777;
    background-color: var( --neutral-stroke-control-rest);
    background-color: var(--neutral-layer-card-container);
    color: #333333;
    z-index: 2000;
}

    .h5dialog.dark {
        background-color: #272727;
        color: #fbfbfb;
    }

.dialog-auto {
    --dialog-height: auto;
    --fill-color: var( --neutral-fill-input-active);
    /*background: rgba(0, 0, 0, 0.3);*/
    border-color: var(--neutral-foreground-rest);
}



.dialog-title {
    padding: 20px 10px;
    font-weight: 700;
    display: grid;
    grid-auto-flow: column;
    grid-column-gap: 10px;
    border-bottom: 1px solid #777;
    background: none;
}

.dialog-foot {
    display: grid;
    grid-auto-flow: column;
    grid-gap: 10px;
    justify-content: flex-end;
    padding: 20px 10px;
    /*margin-top: 10px;*/
    border-top: 1px solid #777;
}


.dialog-content {
    margin: 20px 0;
    padding: 20px;
    text-align: center;
    font-weight: 700;
    align-self: center;
}

::file-selector-button {
    display: none;
}

.file {
    position: relative;
    display: inline-block;
    /*background: #D0EEFF;*/
    /*border: 1px solid #99D3F5;*/
    padding: 4px 12px;
    overflow: hidden;
    color: #1E88C7;
    text-decoration: none;
    text-indent: 0;
    line-height: 20px;
    width: 5rem;
}

    .file input {
        position: absolute;
        right: 0;
        top: 0;
        opacity: 0;
    }

    .file:hover {
        /*background: #AADFFD;*/
        border-color: #78C3F3;
        color: var(--accent-foreground-active);
        text-decoration: none;
    }




.text-secondary {
    color: #5D5A58;
}

.bg-light {
    background-color: #EEE;
}

.p-2 {
    padding: 7px;
}

.p-5 {
    padding: 50px;
}

.pt-0 {
    padding-top: 0;
}

.pe-2 {
    padding-right: 7px;
}

.text-end {
    text-align: right;
}

.flexinput {
    display: flex;
    flex-grow: 1;
    flex-wrap: wrap;
    justify-content: start;
    padding: 10px;
    align-items: center;
}

.inputitem {
    flex: 1;
    min-width: 10rem;
    margin: 5px;
}



.tablebox {
    flex: 1;
    overflow: auto;
    border: 1px solid #777;
}


    .tablebox table {
        border-collapse: separate !important;
        border-spacing: 0;
        width: 100%;
        border: 0;
    }




.fixhead thead {
    position: sticky;
    top: 0;
    right: 0;
    backdrop-filter: blur(10px);
    z-index: 1;
}

tr {
    height: 50px;
}



th, td {
    border: 0;
    border-right: 1px solid #777;
    border-bottom: 1px solid #777;
    vertical-align: middle !important;
    padding: 0 .5rem;
}

.dx-pivotgrid table td {
    vertical-align: middle;
}


.col-fixed {
    position: sticky;
    left: 0;
    /*backdrop-filter: blur(3px);*/
    background-color: rgba(220,220,220,1);
}

.col-fixend {
    position: sticky;
    right: 0;
    /*backdrop-filter: blur(3px);*/
    background-color: rgba(220,220,220,1);
}


fluent-dialog {
    z-index: 100;
}

fieldset {
    border: 1px solid #555;
    padding: 10px;
    margin-bottom: 2px;
}

legend {
    font-size: 14px;
    width: unset;
    float: unset;
}


.border {
    border: 1px solid;
    border-color: transparent;
    background: none;
}

.border-warning {
    border-color: orange;
}

.border-primary {
    border-color: steelblue;
}

.border-dark {
    border-color: #777;
}

fluent-badge {
    background-color: #fffeee;
    border: 1px solid red;
    border-radius: 100%;
    width: 22px;
    text-align: center;
}

.bg-light {
    background-color: #fffffe;
}

.m-1 {
    margin: 3px;
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

    .row > div {
        flex: 1;
    }

/*.container {
    max-width: 1200px;
    align-self: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}*/

.p-3 {
    padding: 30px;
}

.overflow-auto {
    overflow: auto;
}

.text-center {
    text-align: center;
}


text, span {
    user-select: text;
}

.text-white {
    color: white !important;
}





.position-top {
    position: absolute;
    top: 10px;
    right: 10px;
}

.position-bottom {
    position: absolute;
    bottom: 10px;
    right: 10px;
}


@media screen and (orientation:portrait) {
    ::-webkit-scrollbar {
        display: none;
    }
}

@media screen and (orientation:landscape) {
    /*portrait*/

    ::-webkit-scrollbar {
        width: 1px !important;
        height: 0 !important;
    }

    ::-webkit-scrollbar-thumb {
        background-color: var(--presence-offline) !important;
    }
}

.gridinput {
    white-space: nowrap;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat( auto-fit, minmax(140px, 1fr) );
    height: auto;
    padding: 0 10px;
}

.node {
    fill: darkblue;
}

    .node:hover {
        stroke: red;
    }

.edge {
    fill: #555;
}

    .edge:hover {
        stroke: red;
    }

.cluster {
    fill: darkblue;
    font-weight: 700;
}

    .cluster:hover {
        fill: red;
    }

input {
    outline: none !important;
}

    input::-webkit-inner-spin-button {
        visibility: hidden;
    }

    input::-webkit-outer-spin-button {
        visibility: hidden;
    }






.printmain {
    width: 210mm;
    height: 297mm;
    border: 1px solid #777;
    max-width: 210mm;
    min-width: 210mm;
    min-height: 297mm;
    max-height: 297mm;
    align-self: center;
    padding: 10mm;
}

.设计 {
    display: none;
}



circle:hover {
    stroke: red !important;
    color: antiquewhite !important;
}

.节点 {
    fill: white;
    stroke: #777;
}

    .节点 rect:hover {
        stroke: red !important;
        color: antiquewhite !important;
    }

.label {
    pointer-events: none;
}

.分割图 path {
    stroke-width: 10px !important;
}

.文字 {
    font-size: 9px !important;
    /*width: 80px;*/
    height: 100%;
    width: 100%;
    text-align: center;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*word-break: break-word;*/
    white-space: pre;
}

    .文字 span {
        /*background-color: rgba(222,222,222,0.9);*/
        padding: 3px;
        border-radius: 4px;
        /*border: 1px solid #777;*/
        align-self: center;
    }

.分组框 {
    stroke: #aaa;
    stroke-width: 1;
    fill: rgb(255, 216, 0,0.05);
}

.标签 {
    pointer-events: none;
    display: flex;
    flex-direction: column;
    vertical-align: middle;
}

.链接文字框 {
    /*border:1px solid #777;*/
    text-align: right;
    font-size: 8px !important;
    /*background-color: white;*/
}

.链接文字 {
    background-color: white;
}



.dx-pivotgrid {
    background: none;
    color: var(--neutral-foreground-rest);
}

    .dx-pivotgrid .dx-grandtotal {
        background-color: var(--neutral-fill-layer-active);
        color: var(--neutral-foreground-rest);
    }

    .dx-pivotgrid .dx-pivotgrid-area-data tbody td {
        color: var(--neutral-foreground-rest);
    }

.dx-pivotgrid-fields-container .dx-area-field.dx-area-box {
    background-color: var(--neutral-fill-layer-active);
    color: var(--neutral-foreground-rest);
}

.dx-pivotgrid-action {
    background-color: var(--neutral-fill-layer-active);
    color: var(--neutral-foreground-rest);
}

.dx-popup-wrapper {
    /*background-color: var(--neutral-fill-layer-active);*/
    color: var(--neutral-foreground-rest);
    /*backdrop-filter: blur(11px);*/
    background-color: rgba(120,120,120,0.2);
}

    .dx-popup-wrapper > .dx-overlay-content {
    }

.dx-pivotgrid-export-button {
    background-color: darkgreen;
}

.dx-header-filter {
    margin-left: 10px;
    -webkit-text-fill-color: cornflowerblue;
    -webkit-text-stroke: 1px #777;
}

    .dx-header-filter:hover {
        color: orange;
        -webkit-text-fill-color: orange;
        margin-left: 10px;
    }

    .dx-header-filter.dx-header-filter-empty {
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 1px #555;
    }

        .dx-header-filter.dx-header-filter-empty:hover {
            -webkit-text-fill-color: orange;
            -webkit-text-stroke: 1px #555;
        }


.被选 {
    border-color: var(--accent-foreground-active);
    background-color: var(--neutral-layer-card-container);
}


.main {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 50px 1fr;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.maincontent {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    overflow:hidden;
}


.text-primary {
    color: var( --accent-foreground-rest );
}

.text-danger {
    color: #d13438;
}

.text-success {
    color: var( --success );
}

.bg-success {
    background-color: : var( --success );
}

.bg-primary {
    background-color: var(--accent-foreground-rest );
}

.bg-warning {
    /*background-color: rgb(255, 127, 36);*/
    background-color: var( --warning );
    /*color: var( --info );*/
}

.text-warning {
    color: var( --warning );
}


.主题色 {
    color: #742774;
}
