@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');
@import url('switcher-resources/themes.css');
@import url('switcher-resources/theme-switcher.css');

@media(min-width:820px) {
    .pop-up-body {
        max-height: 570px !important;
    }
}

@media(min-width:768px) {
    .pop-up-body {
        max-height: 570px !important;
    }
}

@media(min-width:1080px) {
    .pop-up-body {
        max-height: 700px !important;
    }
}

@media(min-width:1280px) {
    .pop-up-body {
        max-height: 600px !important;
    }
}

.dx-scrollbar-horizontal {
    height: 15px !important;
}

.dx-scrollbar-vertical.dx-scrollbar-hoverable {
    width: 15px !important;
}

.dx-scrollbar-vertical > .dx-scrollable-scroll {
    width: 15px !important;
}

.dx-scrollbar-horizontal.dx-scrollbar-hoverable {
    height: 15px !important;
}

.dx-scrollbar-Horizontal > .dx-scrollable-scroll {
    width: 15px !important;
}

.dx-scrollable-scroll-content {
    background-color: rgba(143,145,147,1) !important;
}

.dx-scrollbar-horizontal .dx-scrollable-scroll {
    height: 15px !important;
}


/*.dx-scrollable-scroll dx-state-invisible {
    width: 25px !important;
}
.dx-scrollbar-vertical {
    width: 25px !important;
}*/
:root {
    --bs-bg-bars: #37353d;
    --first-month-color: rgb(253, 106, 47);
    --second-month-color: rgb(98, 162, 141);
    --third-month-color: #ffc107;
    --fulfilled-color: #4EA72E;
    --dot-color: #0DB821;
}

.dxbl-scroll-viewer > .dxbl-scroll-viewer-hor-scroll-bar > .dxbl-scroll-viewer-scroll-thumb {
    --dxbl-scroll-viewer-hor-scroll-bar-height: 15px;
    --dxbl-scroll-viewer-hor-scroll-bar-hover-height: 15px;
    display: flex !important;
}

.dxbl-scroll-viewer > .dxbl-scroll-viewer-vert-scroll-bar > .dxbl-scroll-viewer-scroll-thumb {
    --dxbl-scroll-viewer-vert-scroll-bar-width: 15px;
    --dxbl-scroll-viewer-vert-scroll-bar-hover-width: 15px;   
    display: flex !important;
}


.dxbl-scroll-viewer-hor-scroll-bar.dxbl-active {
    display: flex !important;
}

.dxbl-scroll-viewer-vert-scroll-bar.dxbl-active {
    display: flex !important;
}

dxbl-tree-list .dxbl-scroll-viewer-content {
    margin-bottom: 1em;
    margin-right: 1em;
}

dxbl-grid .dxbl-scroll-viewer-content {
    margin-bottom: 1em;
    margin-right: 1em;
}

.onePage-text-success {
    color: var(--fulfilled-color);
}

.onePage-text-danger {
    color: rgb(255, 105, 97);
}

.onePage-links {
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    text-decoration: none;
}

.min-width-200 {
    min-width: 200px;
}

.card-description {
    font-weight: 500;
    width: 30% !important;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow: auto;
}

.gap-10 {
    gap: 10px;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

#sideMenu > .dxbl-treeview-items-container {
    padding: 0 !important;
}

#sideMenu > .dxbl-treeview .dxbl-treeview-item > .dxbl-treeview-item-content > .dxbl-treeview-item-indent {
    display: none !important;
}

#sideMenu > .dxbl-treeview .dxbl-treeview-item > .dxbl-treeview-item-content {
    margin: 0 !important;
}

.level0 {
    background-color: inherit;
}

.level1 {
    background-color: rgba(250, 250, 250, 0.07);
}

.level2 {
    background-color: rgba(250, 250, 250, 0.1);
}

.dxbl-treeview-item-container > .dxbl-image {
    width: 30px;
}

.gap-20 {
    gap: 20px;
}

.rounded-5 {
    border-radius: .5rem !important;
}

.input {
    font-size: 18px;
    height: 36px;
    width: 280px;
}

.label {
    font-size: 20px;
}


.filter-territory {
    max-width: 200px !important;
    min-width: 50px !important;
}

.filter-invert {
    filter: invert(100%);
}

.dxbl-text {
    height: 40px;
}

.card-body {
    font-size: 14px;
}

.w-60 {
    width: 60%;
}

.bullet-icon {
    font-size: 0.8rem;
}

.top-25 {
    top: 25%;
}

@keyframes progress {
    0% {
        --percentage: 0;
    }

    100% {
        --percentage: var(--value);
    }
}

@property --percentage {
    syntax: '<number>';
    inherits: true;
    initial-value: 0;
}

#cardProg [role="progressbar"] {
    --percentage: var(--value);
    --primary: var(--barColor);
    --secondary: #e4e5e5;
    --size: 75px;
    animation: progress 2s 0.5s forwards;
    width: var(--size);
    aspect-ratio: 1;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
}

    #cardProg [role="progressbar"]::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: conic-gradient(var(--primary) calc(var(--percentage) * 10%), var(--secondary) 0);
        mask: radial-gradient(white 55%, transparent 0);
        mask-mode: alpha;
        -webkit-mask: radial-gradient(#0000 55%, #000 0);
    }

    #cardProg [role="progressbar"]::after {
        content: attr(data-label);
        font-family: Helvetica, Arial, sans-serif;
        font-size: calc(var(--size) / 3);
        color: var(--primary);
    }



/*#components-reconnect-modal {
    display: none !important;
}

    #components-reconnect-modal.components-reconnect-show,
    #components-reconnect-modal.components-reconnect-failed,
    #components-reconnect-modal.components-reconnect-rejected {
        display: none !important;
    }*/

/*#reconnect-modal {
    height: 100%;
    position: fixed;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 999;
    display: none;
    justify-content: center;
    text-align: center;
    align-items: start;
    padding-top: 50px;
}
*/

.font-28 {
    font-size: 28px;
}

.bg-blue {
    background-color: #0d6efd !important;
}

.text-blue {
    color: #0d6efd !important;
}

.text-caution {
    color: #ff9100 !important;
}

.bg-caution {
    background-color: #ff9100 !important;
}

/*.dxbl-grid-action{
    pointer-events: none !important;
}*/

.dxbl-grid-filter-menu-funnel-btn {
    pointer-events: visible !important;
}

#btn-Logout, .pointer {
    cursor: pointer;
}

.dxbs-table {
    color: inherit !important;
}

.bg-gray {
    background-color: rgb(217, 217, 217);
}

.onePage-card {
    -webkit-box-shadow: -5px 10px 10px -2px rgba(0,0,0,0.4);
    -moz-box-shadow: -5px 10px 10px -2px rgba(0,0,0,0.4);
    box-shadow: -5px 10px 10px -2px rgba(0,0,0,0.4);
}

.h-45 {
    height: 45%;
}

.text-transparent {
    color: transparent;
    user-select: none;
}

.font-1-5em {
    font-size: 1.5em;
}

.text-color-first-month {
    color: var(--first-month-color);
}

.background-color-first-month {
    background-color: var(--first-month-color);
}

.text-color-second-month {
    color: var(--second-month-color);
}

.background-color-second-month {
    background-color: var(--second-month-color);
}

.text-color-third-month {
    color: var(--third-month-color);
}

.background-color-third-month {
    background-color: var(--third-month-color);
}

.h-10 {
    height: 10%;
}

.font-32 {
    font-size: 32px !important;
}


.progressBar {
    position: relative;
    margin: 4px;
    float: left;
    text-align: center;
}

.barOverflow {
    position: relative;
    overflow: hidden;
    width: 200px;
    height: 100px;
    margin-bottom: -65px;
}

.bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    box-sizing: border-box;
    border: 15px solid #eee;
    border-bottom-color: var(--fulfilled-color);
    border-right-color: var(--fulfilled-color);
}

.cardSpan {
    font-size: 32px;
    font-weight: bold;
}

.hierarchySpan {
    font-size: 0.9em;
}

.smallSpan {
    font-size: 0.8em;
}

.minCardHeight {
    min-height: 178px;
}

.highlight-links {
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    text-decoration: underline;
}


.bg-fulfilled {
    background-color: var(--fulfilled-color) !important;
}

.min-alert-card-height {
    min-height: 265.2px;
}

.font-2vw {
    font-size: 1.8vw;
}

@media screen and (min-width: 1200px) {
    .font-2vw {
        font-size: 18px;
    }
}

@media screen and (max-width: 799px) {
    .font-2vw {
        font-size: 16px;
    }
}

.padding-left-220px {
    padding-left: 220px;
}

.card-header-text {
    font-size: unset;
}

@media screen and (max-width: 991px) {
    .card-header-text {
        font-size: 12px;
    }
}

@media screen and (min-width: 1200px) {
    .container-xxl {
        max-width: 1200px !important;
    }
}

#brickPotChart > .dxbl-chart-with-legend-container > .dxbl-chart {
    padding-right: 0 !important;
}

.tag-box-width {
    width: 250px;
    max-width: 300px;
    /*max-height: 50px;*/
    overflow-x: auto;
}

.switch-button {
    background-color: #7F7F7F !important;
    color: #FFFFFF;
}

.switch-button-active {
    background-color: #4EA72E !important;
    color: #FFFFFF;
}

.mt-negative {
    margin-top: -10px;
}

.bg-light-gray {
    background: #dedcdc !important;
    background-color: #dedcdc !important;
}

.bg-highlight-danger {
    background-color: #FF7F8C;
}

.bg-highlight-warning {
    background-color: #FBC884;
}

.bg-highlight-success {
    background-color: #AAD7A3;
}

.bg-highlight-overeach {
    background-color: #88BAF7;
}

.header-title-width {
    width: 194px;
}

.padding-6px {
    padding: 6px;
}

.font-1-2em {
    font-size: 1.2em;
}

.fa-arrow-up {
    color: green !important;
}

.fa-arrow-down {
    color: red !important;
}

.bg-light-gray > td.dxbl-grid-fixed-cell {
    background: #dedcdc !important;
    background-color: #dedcdc !important;
}

.dxbl-grid .dxbl-scroll-viewer .dxbl-grid-table > thead > .dxbl-grid-header-row > th {
    font-size: 9pt !important;
    border-right: 0;
}

.dxbl-grid .dxbl-grid-table > thead > tr, .dxbl-grid .dxbl-grid-table > tbody > tr, .dxbl-grid .dxbl-grid-table > tfoot > tr {
    border: 0;
}

    .dxbl-grid .dxbl-grid-table > thead > tr:last-child > td:not(:has(*)) {
        border: 0;
    }

    .dxbl-grid .dxbl-grid-table > thead > tr.dxbl-grid-filter-row.dxbl-grid-editor-inplace-container > td:has(*) {
        border: solid 1px #ced4da;
    }


.dxbl-grid .dxbl-grid-table > thead .dxbl-grid-header-row > th:not(.dxbl-grid-empty-cell)::before {
    opacity: 0%;
}

.dxbl-grid {
    border: solid #ced4da !important;
    border-width: 0 1px 0 1px !important;
}

.panel-border {
    border: solid #ced4da !important;
    border-width: 0 1px 0 1px !important;
}

.panel-left-border {
    border: solid #ced4da !important;
    border-width: 0 0 0 1px !important;
}

.bg-primary-darker {
    background-color: #0c304a !important;
}

.mt-22px {
    margin-top: 22px;
}

.container-mgmnt > .dxbl-grid {
    --dxbl-grid-font-size: 12px;
}

    .container-mgmnt > .dxbl-grid .dxbl-scroll-viewer .dxbl-grid-table > thead > .dxbl-grid-header-row > th {
        font-size: 10px !important;
    }

.fs-14 {
    font-size: 14px !important;
}

.product-tag-box-width {
    width: 250px;
    max-height: 50px;
    overflow-x: auto;
}

.col-xxl-2.col-xl-3.col-lg-4.col-md-5.col-sm-6.col-6 {
    flex-grow: 1 !important;
}

dxbl-check > label.dxbl-text {
    height: unset !important;
}

.dxbl-list-box {
    height: 300px !important;
    overflow-x: auto;
}

.chart-height {
    height: 2500px;
}

.height-450px {
    height: 450px;
}

.dxbl-btn.dxbl-grid-filter-menu-funnel-btn.dxbl-grid-filter-menu-funnel-btn-filled {
    --dxbl-btn-hover-color: #ffff !important;
    --dxbl-btn-color: #ffff !important;
}

.detail-grid-width {
    width: 1262px;
}

.dx-pivotgrid .dx-icon-xlsxfile:before {
    content: url(../images/file-arrow-down-solid.png) !important;
}

.dx-pivotgrid .dx-icon-columnchooser:before {
    content: url(../images/filter-solid.png) !important;
}

.dx-button.dx-button-has-icon:not(.dx-button-has-text):not(.dx-shape-standard) {
    border-radius: 0 !important;
    box-shadow: none;
}

.dx-row-total{
    font-weight: bold;
}

.dx-scrollable-content{
    margin-bottom: 15px;
}

.grid-height {
    max-height: 570px;
}

/*.has-badge span::after {
    content: "NOVO";
    display: inline-block;
    border-radius: 4px;
    padding: 0px 2px;*/
    /*width: 12px;
    height: 12px;
    border-radius: 50%;*/
    /*background-color: var(--dot-color, #32A852);
    margin-left: 0.3rem;
    animation: pulse 1.5s infinite;
    vertical-align: super;
    font-size: 0.75em;
    color: #FFFF;
}*/

.dx-pivotgrid.dx-overflow-hidden {
    overflow: visible !important;
}