﻿/* Shared between WebCA proper, Overview and login.aspx */

:root {
    --page-font: Roboto, system-ui,-apple-system,"Segoe UI","Helvetica Neue", Arial;
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 300;
    src: url(roboto-v18-latin_latin-ext-300.ee0d0fbb5031710c.eot);
    src: local("Roboto Light"),local("Roboto-Light"),url(roboto/roboto-v18-latin_latin-ext-300.ee0d0fbb5031710c.eot?#iefix) format("embedded-opentype"),url(roboto/roboto-v18-latin_latin-ext-300.811951ee412684c6.woff2) format("woff2"),url(roboto/roboto-v18-latin_latin-ext-300.ee73c5c8b09d8759.woff) format("woff"),url(roboto/roboto-v18-latin_latin-ext-300.2937bc7ebe691b65.ttf) format("truetype"),url(roboto/roboto-v18-latin_latin-ext-300.c04373d2476a3e36.svg#Roboto) format("svg")
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 400;
    src: url(roboto-v18-latin_latin-ext-regular.413574a5bf73ceb2.eot);
    src: local("Roboto"),local("Roboto-Regular"),url(roboto/roboto-v18-latin_latin-ext-regular.413574a5bf73ceb2.eot?#iefix) format("embedded-opentype"),url(roboto/roboto-v18-latin_latin-ext-regular.83b5a9cea595849b.woff2) format("woff2"),url(roboto/roboto-v18-latin_latin-ext-regular.d212a36adf659825.woff) format("woff"),url(roboto/roboto-v18-latin_latin-ext-regular.c4b1f27a7d36648c.ttf) format("truetype"),url(roboto/roboto-v18-latin_latin-ext-regular.31e415866b919b32.svg#Roboto) format("svg")
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    src: url(roboto-v18-latin_latin-ext-500.d049ff2996437a40.eot);
    src: local("Roboto Medium"),local("Roboto-Medium"),url(roboto/roboto-v18-latin_latin-ext-500.d049ff2996437a40.eot?#iefix) format("embedded-opentype"),url(roboto/roboto-v18-latin_latin-ext-500.211c73040a97cc35.woff2) format("woff2"),url(roboto/roboto-v18-latin_latin-ext-500.b5fcc69512d57fee.woff) format("woff"),url(roboto/roboto-v18-latin_latin-ext-500.e1fdfbc5e1f42ad0.ttf) format("truetype"),url(roboto/roboto-v18-latin_latin-ext-500.a64a40f7f051a436.svg#Roboto) format("svg")
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 700;
    src: url(roboto-v18-latin_latin-ext-700.53950ed05f8532ac.eot);
    src: local("Roboto Bold"),local("Roboto-Bold"),url(roboto/roboto-v18-latin_latin-ext-700.53950ed05f8532ac.eot?#iefix) format("embedded-opentype"),url(roboto/roboto-v18-latin_latin-ext-700.9d541330b4ce7057.woff2) format("woff2"),url(roboto/roboto-v18-latin_latin-ext-700.c52f983fe85258f7.woff) format("woff"),url(roboto/roboto-v18-latin_latin-ext-700.8d9b6be89e992a10.ttf) format("truetype"),url(roboto/roboto-v18-latin_latin-ext-700.4cf5420d5ce6b793.svg#Roboto) format("svg")
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body, textarea {
    font-family: var(--page-font);
    font-size: 12px;
    line-height: normal;
    margin: 0;
}

option {
    /* Heads up here: Firefox shows option list of <select> element different 
     * than chromium based browsers
     */
    font-family: var(--page-font);
    font-size: 1.2em;
}

input {
    border-radius: 3px;
    border: solid 1px rgb(204, 204, 204);
    padding: 4px;
}

.tabulator-header-filter input:focus, .tabulator-header-filter input:focus-visible {
    outline: none;
    border-color: #888;
}


.tabulator-header-filter > input:focus {
    background-color: aliceblue;
}

.high-contrast .tabulator-header-filter > input:focus {
    background-color: white;
}


[class^="icon-"]:before, [class*=" icon-"]:before {
    line-height: 1.2em;
}

.dps-hover {
    outline: none;
}

.dps-hover:not(:disabled) {
    cursor: pointer;
}

.dps-hover:not(:disabled):hover {
    background-color: #bbb;
    border-color: #bbb;
}

.high-contrast dps-hover:not(:disabled):hover {
    background-color: #bbb;
    border-color: #bbb;
}

.high-contrast .dps-icon-button.dps-hover:not(:disabled):hover:not(:focus) {
    background-color: white;
    filter:invert(1);
}


.dps-hover:focus {
    background-color: #c0d5f2;
    border-color: #c0d5f2;
}

.high-contrast div.dps-dropdown.dps-hover:hover {
    background-color: black;
    border-color: transparent;
    filter: invert(1);
}


.high-contrast .dps-hover:not(:disabled):focus {
    background-color:darkblue;
    border-color: darkblue;
    color: white;
}

.low-contrast .dps-hover:not(:disabled):hover:focus {
    background-color: #769BCC;
    border-color: #769BCC;
}

/* Bootstrap-like classes */
.form-group {
    margin-bottom: 5px;
}

.form-control {
    height: 28px;
    padding: 4px 7px;
    width: 100%;
}

.form-control, .btn, select {
    font-size: 12px;
}

.btn {
    display: inline-block;
    padding: 4px 10px;
    margin-bottom: 0;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 3px;
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn:hover {
    background-color: #bbb;
}

.btn:focus {
    outline: -webkit-focus-ring-color auto 1px;
}

.btn-primary {
    color: #fff;
    background-color: #428bca;
    border-color: #357ebd;
}

.high-contrast .btn-primary {
    background-color:darkblue;
    border-color: darkblue;
}

.high-contrast .btn-primary:focus {
    background-color: white;
    border-color: black;
    color: black;
}

.btn-block {
    width: 100%;
}

.btn-block + .btn-block {
    margin-top: 5px;
}

.dps-hide {
    display: none !important;
}

a.dps-icon-button {
    user-select: none;
    color: dimgray;
    max-height: 28px;
    vertical-align: middle;
    display: inline-block;
    width: 28px;
    text-align: center;
    text-decoration: none;
    border-radius: 3px;
    border: 1px solid #ccc;
    background-color: white;
}

.row .dps-icon-button {
    height: unset;
    margin: 1px;
}

.high-contrast a.dps-icon-button {
    color: black;
}

a.dps-icon-button:before {
    margin: 0;
    vertical-align: sub;
    margin-top: 2px;
    margin-left: 3px;
    margin-right: 3px;
    font-size: 19px;
}

/* fight Bootstrap */
a.dps-icon-button:focus, a.dps-icon-button:hover {
    outline: none;
    text-decoration: none;
    color: inherit;
}

/* Tiny date picker - begin */
.dp-below {
    z-index: 10000000;
}

.dp-below .dp-cal {
    min-height: 240px;
}

.dp-below .dp-col-header {
    padding: 4px 0;
}

.dp-below .dp:before {
    height: 0px;
}

body .dp-below {
    width: 320px;
}

.dp-below .dp-day {
    padding: 4px;
}

.dp-below .dp-next, .dp-below .dp-prev {
    top: 5px;
}

.dp-below .dp-cal-header {
    padding-bottom: 7px;
}

.dp-below .dp-close, .dp-below .dp-clear, .dp-below .dp-today, .dp-now {
    width: 25%;
    margin: 4%;
    padding: 0;
    height: 25px;
    border-radius: 3px;
    border: 1px solid darkgray;
}

.high-contrast .dp-col-header {
    color: darkblue;
    font-size: 1em;
}

.high-contrast .dp-current {
    background: darkblue;
}

.high-contrast .dp-day-today {
    border: 1px solid darkblue;
}

.high-contrast .dp-day-today:after {
    border-width: 0;
}
/* Tiny date picker - end */

.tabulator {
    border: none;
}

.tabulator-col-title {
    position: relative;
}

.tabulator-col-title-text {
    overflow:hidden;
}

.tabulator-col-select, #load-next-select {
    margin: 2px 10px;
}

.tabulator-col-group, .load-next-span {
    float: left;
}

.tabulator .tabulator-header .tabulator-col, .tabulator .tabulator-tableholder .tabulator-table, .tabulator-footer  {
    color: #333;
    background-color: white;
    font-size: 12px;
}

.tabulator-table {
    width: 100%;
    border-bottom: 1px solid #eee;
}

.tabulator .tabulator-header .tabulator-col.tabulator-sortable {
    --menuDisplay: none;
}

.tabulator .tabulator-header [role=columnheader][data-filter] {
    --filter-color: orange;
    --filter-scale: 1.0;
    --menuDisplay: inline-block;
    --filter-text-decoration: overline;
}

.tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover,
.tabulator .tabulator-header .tabulator-col.tabulator-sortable:focus-within {
    --menuDisplay: inline-block;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button {
    display: var(--menuDisplay); /* show the filter icon only if column has focus or mouse is hovering over the specific column */
    padding: 0;
    color: var(--filter-color);
    transform: scale(var(--filter-scale, 1.2)); /* make the icon a little bit bigger but without inflating parent node */
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button .icon-filter:hover {
    color: black;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button .icon-filter:before {
    text-decoration: var(--filter-text-decoration);
}

/**
* The following style is used to hide simple filter values.
* Instead of coloring foreground and selection with same color as background, to clear value would be better,
* but this interferes with tabulator.js logic which would raise an unwanted data fetch event.
*/
.tabulator [role=columnheader][data-filter] .tabulator-header-filter > input {
    background-color: #eee;
    color: transparent;
    cursor: default;
    border-color: transparent;
}

.tabulator [role=columnheader][data-filter] .tabulator-header-filter > input::selection {
    background: transparent;
    color: transparent;
}

.tabulator .tabulator-header .complex-filter {
    background-color: white;
    position: fixed;
    z-index: 1;
    cursor: default;
    padding: 8px;
    border: solid 1px #aaa;
    border-radius: 3px;
    outline: none;
    display: none;
    box-shadow: 0 0 3px 1px rgba(0,0,0,.3);
    color: black;
    flex-direction: column;
    gap: 5px;
    text-align: initial;
}

.tabulator .tabulator-header .complex-filter:focus,
.tabulator .tabulator-header .complex-filter:focus-visible,
.tabulator .tabulator-header .complex-filter:focus-within {
    display: flex;
}

.tabulator .tabulator-header .complex-filter-conditions-area {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    /* this gives some gap to the scrollbar, if scrollbar visible 
        which looks more nicely than sticky scrollbar next to the element itself */
    width: calc(100% + 4px);
    padding-right: 4px;
}

.tabulator .tabulator-header .complex-filter-conditions-area::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.tabulator .tabulator-header .complex-filter-conditions-area::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 5px;
}

.tabulator .tabulator-header .complex-filter-condition-block {
    display: flex;
    align-items: center;
    border: solid 1px lightgrey;
    border-radius: 3px;
    padding: 3px;
    margin: 3px 0;
    gap: 4px;
}

.tabulator .tabulator-header .complex-filter-condition-block > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tabulator .tabulator-header .complex-filter-condition-block > div:first-child {
    flex-basis: 100%;
}

.tabulator .tabulator-header .complex-filter-search-field-group {
    display: flex;
    gap: 3px;
}

.tabulator .tabulator-header .complex-filter-search-field-group input {
    flex-basis: 100%;
}

.tabulator .tabulator-header .complex-filter-search-field-group input:invalid {
    background-size: 1em;
    background-position: calc(100% - 0.25em) center;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" enable-background="new 0 0 64 64"><path d="m32 2c-16.568 0-30 13.431-30 30 0 16.569 13.432 30 30 30s30-13.432 30-30c0-16.569-13.432-30-30-30m13.475 34.291c.377.162.549.477.523.943-.027.469-.35 1.223-.967 2.264-.617 1.072-1.121 1.725-1.51 1.967-.389.24-.744.24-1.066 0l-8.574-6.215 1.129 10.508c.078.398-.096.707-.525.92-.428.215-1.262.322-2.495.322-1.236 0-2.066-.107-2.496-.322-.43-.213-.604-.521-.523-.92l1.127-10.508-8.533 6.215c-.322.24-.686.24-1.088 0-.402-.242-.912-.895-1.529-1.967-.617-1.041-.934-1.795-.945-2.264-.016-.467.168-.781.543-.943l9.701-4.29-9.701-4.252c-.375-.188-.559-.516-.543-.984.012-.467.328-1.223.945-2.264.617-1.045 1.127-1.686 1.529-1.926s.766-.24 1.088 0l8.533 6.176-1.127-10.467c-.08-.428.094-.748.523-.963s1.26-.321 2.496-.321c1.232 0 2.066.107 2.494.322.43.215.604.535.525.963l-1.129 10.467 8.574-6.176c.322-.24.678-.24 1.066 0s.893.896 1.51 1.965c.617 1.018.939 1.758.967 2.225.025.469-.146.797-.523.984l-9.701 4.252 9.702 4.289" fill="red"/></svg>');
    background-repeat: no-repeat;
}

.tabulator .tabulator-header .complex-filter-search-field-group input.complex-filter-number:invalid {
    background-position: 0.25em center;
}

.tabulator .tabulator-header .complex-filter-search-field-group input.invalid-date {
    text-decoration: underline;
    text-decoration-style: wavy;
    text-decoration-color: red;
}


.tabulator .tabulator-header .complex-filter-search-field-group input[type=number] {
    text-align: right;
}

.tabulator .tabulator-header .complex-filter-search-field-group button {
    padding: initial;
    border: none;
    background: none;
    cursor: pointer;
    margin: 2px 0;
    border-radius: 2px;
}

.tabulator .tabulator-header .complex-filter-search-field-group button:hover,
.tabulator .tabulator-header .complex-filter-search-field-group button:focus {
    background: #eee;
}

.tabulator .tabulator-header .complex-filter-condition-block:first-child:last-child {
    --removeButtonDisplay: none;
}

.tabulator .tabulator-header .complex-filter-fixed-values-presentation-block {
    display: flex;
    gap: 5px;
    border-radius: 3px;
    border-width: 1px;
    border-color: var(--invalid-border-color, transparent);
    border-style: dashed;
    padding: 2px;
    align-items: center;
}

.tabulator .tabulator-header .complex-filter-fixed-values-presentation-block:hover {
    background-color: #bbb;
}

.tabulator .tabulator-header .complex-filter-fixed-values-presentation-block label {
    flex-basis: 100%;
    cursor: pointer;
}

.tabulator .tabulator-header .complex-filter-summary-commands-block {
    display: flex;
    gap: 4px;
    border-top: solid 1px darkgrey;
    padding-top: 4px;
}

.tabulator .tabulator-header .complex-filter-command-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tabulator .tabulator-header .complex-filter-summary-commands-block > :first-child {
    flex-basis: 100%;
    display: flex;
}

.tabulator .tabulator-header .complex-filter input,
.tabulator .tabulator-header .complex-filter select {
    outline: initial;
    border-radius: 3px;
    border: solid 1px rgb(204, 204, 204);
    padding: 4px;
}

.tabulator .tabulator-header .complex-filter input[type=checkbox] {
    padding: initial;
    margin: initial;
    height: 18px;
    width: 18px;
    cursor: pointer;
}

.tabulator .tabulator-header .complex-filter input.complex-filter-number {
    text-align: right;
}

    .tabulator .tabulator-header .complex-filter input.complex-filter-number.invalid-number {
        text-decoration: underline;
        text-decoration-style: wavy;
        text-decoration-color: red;
    }


.tabulator .tabulator-header .complex-filter input:focus,
.tabulator .tabulator-header .complex-filter select:focus {
    outline: initial;
    border-color: #888;
}

.tabulator .tabulator-header .complex-filter .complex-filter-conditions-area > select:not(:first-of-type) {
    border: none;
    appearance: none;
    background-color: transparent;
}

.tabulator .tabulator-header .complex-filter .text-only-button {
    padding-left: 0;
    padding-right: 0;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
}

.tabulator .tabulator-header .complex-filter .text-only-button:hover {
    color: darkgray;
}

.tabulator .tabulator-header .complex-filter .remove-condition {
    display: var(--removeButtonDisplay);
}

.complex-filter .dp-below {
    position: static;
    width: inherit;
}

.complex-filter .dp {
    border-radius: 3px;
    padding: unset;
}

.dp button {
    font-family: var(--page-font);   
}

.dp button:not(:disabled) {
    cursor:pointer;
}

.complex-filter .dp-cal {
    position: relative;
    min-height: unset;
}

.complex-filter .dp-days {
    display: grid;
    grid-template-columns: repeat(7, calc(100% / 7));
    padding: 3px;
}

.complex-filter .dp-day,
.complex-filter .dp-col-header {
    width: initial
}

.complex-filter .dp-cal-header {
    display: flex;
    padding: initial !important;
    gap: 3px;
}

.complex-filter .dp-prev,
.complex-filter .dp-next {
    position: relative;
    top: unset !important;
    left: unset;
    right: unset;
    padding: unset;
    padding-left: 5px;
    padding-right: 12px;
}

.complex-filter .dp-cal-month,
.complex-filter .dp-cal-year {
    padding: initial;
    padding: 0 5px;
}

.complex-filter .dp-cal-month {
    flex-basis: 50%;
}

.complex-filter .dp-months {
    display: grid;
    grid-template-columns: 50% 50%;
    padding: 3px;
}

.complex-filter .dp-month {
    width: initial;
}

.complex-filter .dp-years {
    max-height: 200px;
}

.complex-filter .dp-time {
    display: flex;
    gap: 2px;
    border-top: solid 1px lightgrey;
    padding: 2px 4px;
    align-items: center;
    font-size: 13px;
}

.complex-filter .dp-time > div {
    display: flex;
    align-items: center;
    justify-content: right;
    flex-basis: 100%;
}


.complex-filter .dp-time select {
    border: none !important;
}

.complex-filter .dp-time label {
    cursor: pointer;
}

.complex-filter .dp-time input[type=number] {
    width: 35px;
    text-align: right;
    border: none !important;
    padding: 0 1px !important;
    margin-bottom: 1px;
}

.complex-filter .dp-time input[type=number]:not(:focus):not(:focus-visible) {
    width: 20px;
    /*
     hide the up/down arrows in number input
     This is currently not supported by pure CSS, so we trick whenever possible.
     When not supported, the spinners are shown, no problem.
    */
    -moz-appearance: textfield;
}

.complex-filter .dp-time input[type=number]:not(:focus):not(:focus-visible)::-webkit-outer-spin-button,
.complex-filter .dp-time input[type=number]:not(:focus):not(:focus-visible)::-webkit-inner-spin-button {
    /*
     hide the up/down arrows in number input
     This is currently not supported by pure CSS, so we trick whenever possible.
     When not supported, the spinners are shown, no problem.
    */
    -webkit-appearance: none;
    margin: 0;
}

.complex-filter .dp-now {
    box-sizing: border-box;
    display: inline-block;
    width: 25%;
    margin: 4%;
    padding: 0px;
    height: 25px;
    border-radius: 3px;
    border: 1px solid darkgray;
    text-decoration: none;
    color: inherit;
    background: transparent;
}

.complex-filter footer {
    display: flex;
    gap: 4px;
    padding: 4px;
}

.complex-filter footer button {
    box-sizing: border-box;
    display: inline-block;
    width: initial !important;
    margin: initial !important;
    padding: 0px 2px;
    height: 25px;
    flex-basis: 100%
}


.complex-filter .dp-now:active {
    background: #75BCFC;
    color: white;
}

@media screen and (min-device-width: 1200px) {
    .complex-filter .dp-now:hover,
    .complex-filter .dp-now:focus {
        background: #75BCFC;
        color: white;
    }
}

.complex-filter-add-multiple-values-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.complex-filter-add-multiple-values-textarea {
    flex-basis: 100%;
}


.complex-filter-add-multiple-values-button-container {
    display: inline-flex;
    justify-content: end;
    gap: 5px;
}

.complex-filter-add-multiple-values-behavior-container {
    display: inline-flex;
    gap: 10px;
}

.complex-filter-add-multiple-values-splitter-container,
.complex-filter-add-multiple-values-options-container,
.complex-filter-add-multiple-values-operators-container {
    display: inline-flex;
    flex-direction: column;
}

.complex-filter-add-multiple-values-splitter-container > label,
.complex-filter-add-multiple-values-options-container > label,
.complex-filter-add-multiple-values-operators-container > label {
    font-weight: bold;
    margin-bottom: 3px;
}


.complex-filter-add-multiple-values-splitter-container > div,
.complex-filter-add-multiple-values-options-container > div {
    display: inline-flex;
    gap: 3px;
    align-items: center;
}

.complex-filter-invalid-condition {
    padding: 8px 6px;
    border-radius: 3px;
    border: solid 1px #e0e0e0;
    margin-right: 10px;
}

.complex-filter-invalid-condition:not(:last-child) {
    margin-bottom: 10px;
}

.complex-filter-invalid-condition:hover {
    border-color: lightgrey;
    background-color: #f3f3f3;
}

.complex-filter-invalid-condition-remediation {
    margin-top: 5px;
}

.high-contrast .tabulator .tabulator-header .tabulator-col,
.high-contrast .tabulator .tabulator-tableholder .tabulator-table,
.high-contrast .tabulator .tabulator-footer .tabulator-page,
.high-contrast .tabulator-footer {
    color: black;
}

.high-contrast .tabulator .tabulator-footer .tabulator-page.active {
    background-color: darkblue;
    color: white;
}

.tabulator .tabulator-footer  {
    border: none;
    background-color: white ;
    font-weight: normal !important;
    min-height: 30px;
}

.tabulator .tabulator-cell {
    padding-top: 4px;
    padding-bottom: 4px;
    line-height: 14px;
}

/* SLA warnings: */
.tabulator .tabulator-cell.icon-bell-alt:before {
    font-size: 11px;
}

.tabulator-row {
    width: fit-content;
    min-width: 100%;
}

.tabulator-row.tabulator-group:hover {
    cursor: unset; 
}

.tabulator-row.tabulator-group .tabulator-group-toggle {
    cursor: pointer;
}

.low-contrast .tabulator .tabulator-row.tabulator-row[row-sla-status='r'] .icon-bell-alt,
.high-contrast .tabulator .tabulator-row.tabulator-row[row-sla-status='r'] .icon-bell-alt:before {
    color: red
}

.low-contrast .tabulator .tabulator-row.tabulator-row[row-sla-status='y'] .icon-bell-alt,
.high-contrast .tabulator .tabulator-row.tabulator-row[row-sla-status='y'] .icon-bell-alt:before {
    color: darkorange;
}

.icon-data-group:before {
    overflow:hidden;
}

.tabulator {
    font-size: inherit;
}

.tabulator .tabulator-header .tabulator-col, .tabulator .tabulator-row .tabulator-cell, .tabulator .tabulator-header {
    border-color: #d4d4d4;
}

.tabulator .tabulator-header .tabulator-header-filter {
    font-weight: normal;
    color: red;
}

.tabulator .tabulator-cell:active {
    border: solid 1px dimgray;
    border-radius: 2px;
    padding-top: 3px;
    padding-left: 3px;
    cursor: text;
}

.high-contrast .tabulator .tabulator-header .tabulator-header-filter {
    color: darkred;
}

.tabulator {
    background-color: white;
}

.tabulator .tabulator-header {
    background-color: #eee;
    border-bottom: 1px #ccc solid;
}

.tabulator .tabulator-footer {
    background-color: #eee;
    border-top: 1px #ccc solid;
}

.tabulator .tabulator-header .tabulator-col {
    background-color: unset;
}

.tabulator .tabulator-tableholder.no-vert-scrollbar {
    overflow-y: hidden;
}

.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg {
    border-width: 0px;
    background-color: transparent;
}

.tabulator .tabulator-alert {
    background-color: white;
    opacity: 0.4;
}

.dps-tabulator-spinner {
    background-image: url("../images/ajax-loader.gif");
    opacity: 0.5;
    height: 31px;
    width: 31px;
}

.tabulator .tabulator-footer .tabulator-page {
    height: 26px;
    width: 26px;
    border-radius: 2px;
    background-color: white;
    border-color: lightgrey;
    color: gray;
    font-size: 90%;
}

.tabulator-page[data-page="first"], .tabulator-page[data-page="prev"],
.tabulator-page[data-page="next"], .tabulator-page[data-page="last"], 
.tabulator-page.tabulator-export {
    font-family: "fontello";
}

.tabulator .tabulator-footer .tabulator-page.tabulator-export {
    margin-right: 15px;
}

.tabulator-row.tabulator-selected {
    background-color: #c1d2dd;
    font-weight: bold;
}

.high-contrast .tabulator-row.tabulator-selected {
    background-color: darkblue;
    color: white;
}

.low-contrast .tabulator-tableholder:not(:focus) .tabulator-row.tabulator-selected:hover {
    background-color: #769BCC;
}

.tabulator-menu {
    font-size: 12px;
    z-index: 1000001;
}

.dropdown {
    position: relative;
    width: 200px;
}

.dropdown select {
    width: 100%;
}

.dropdown > * {
    box-sizing: border-box;
}

.dropdown input {
    position: absolute;
    width: calc(100% - 19px);
    height: calc(100% - 2px);
    top: 1px;
    left: 1px;
    border-style: none;
}

.dropdown input:focus {
    border-right-style: solid;
}

.view-buttons {
    display:inline-block;
}

/* WorkItemGroupingDialog */
.form-control {
    box-sizing: border-box;
}

.column-sel {
    margin: 5px;
    width: 100%;
}

/* PopupToConfirm */

.dps-popup-message {
    padding-top: 10px;
    padding-bottom: 10px;
    white-space: pre-line;
}

.dps-popup-button {
    margin: 3px;
    min-width: 50px;
}

.popup-value, .popup-value:focus {
    margin: 10px;
    background-color: unset;
    border: 1px solid #ccc;
    border-radius: 3px;
    outline: unset;

}

/* Popup */

.dps-popup-footer {
    position: absolute;
    right: 14px;
    bottom: 10px;
    width: calc(100% - 25px);
}

.dps-popup {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000000;
}

.dps-popup.popup-level2 {
    z-index: 1000020;
}

.popup-dialog {
    display: none;
    min-width: 18em;
    z-index: 99999999;
    position: relative;
    background-color: #fefefe;
    border: 1px solid #888;
    box-shadow: 1px 1px 5px black;
    border-radius: 6px;
}

.popup-header {
    font-size: 120%;
    color: #555;
    padding: 6px;
    padding-left: 10px;
    border-bottom: 1px solid lightgrey;
    background-color: #f6f6f6;
    border-radius: 6px 6px 0 0;
}

.popup-header, .popup-dialog { user-select: none; }
.popup-header, .popup-dialog { -webkit-user-select: none; }
.popup-header, .popup-dialog { -ms-user-select: none; }

.popup-content {
    padding: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
    overflow-y: auto;
    height: calc(100% - 65px);
}

.popup-content span {
    display:inline-block;
}

.popup-content td, .popup-content th {
    padding-right: 10px;
    padding-top: 8px;
}

.popup-buttons {
    float: right;
}

.popup-buttons-only-one {
    float: unset;
    text-align: center;
}

.popup-buttons div {
    color: #555;
    float: none;
    display: inline-block;
}

.high-contrast .popup-buttons div {
    color: black;
}

.popup-buttons [class*="icon-"]:before {
    font-size: 14px;
}
    
.popup-buttons div:hover, .popup-buttons div:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.high-contrast .popup-buttons div:hover, .popup-buttons div:focus {
    color: #000;
    background-color: white;
    filter:invert();
    border-radius: 2px;
}

.dps-resize {
    position: absolute;
    display: block;
}

.dps-resize-n {
    top: -3px;
    left: 0;
    width: 100%;
    height: 6px;
    cursor: n-resize;
}

.dps-resize-e {
    top: 0;
    right: -3px;
    width: 6px;
    height: 100%;
    cursor: e-resize;
}

.dps-resize-s {
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 6px;
    cursor: s-resize;
}

.dps-resize-w {
    top: 0;
    left: -3px;
    width: 6px;
    height: 100%;
    cursor: w-resize;
}

.dps-resize-se {
    bottom: -3px;
    right: -3px;
    width: 6px;
    height: 6px;
    cursor: se-resize;
}

.dps-resize-sw {
    bottom: -3px;
    left: -3px;
    width: 6px;
    height: 6px;
    cursor: sw-resize;
}

.dps-resize-ne {
    top: -3px;
    right: -3px;
    width: 6px;
    height: 6px;
    cursor: ne-resize;
}

.dps-resize-nw {
    top: -3px;
    left: -3px;
    width: 6px;
    height: 6px;
    cursor: nw-resize;
}

.dps-lightbox, .popup-lightbox {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    top: 0;
    left: 0;
    opacity: 0.8;
    background: rgba(0,0,10,0.2);
}

#toast-container {
    z-index: 9999999;
}

.high-contrast .dps-lightbox, .high-contrast .popup-lightbox {
    background: rgba(0,0,10,0.8);
}

.popup-lightbox.popup-level1 { z-index: 999999; }
.popup-lightbox.popup-level2 { z-index: 1000001; }
.dps-lightbox { z-index: 2000000; }
.dps-lightbox.lightbox-partial { z-index: 9999; /* menu over lightbox */ }

.dps-lightbox.fadedin, .popup-lightbox.fadein {
    animation: fadein linear 0.5s;
    opacity: 0.3;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 0.3;
    }
}

#button-help {
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
}

#button-errors:not(.understated):before {
    color: red;
}

#error-table-controls {
    margin-bottom: 5px;
    padding: 5px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 3px;
}

#error-table {
    height: calc(100% - 50px);
    font-family: monospace;
    overflow: auto;
}


#error-table td {
    vertical-align: text-top;
    padding: 5px;
}

.error-hint {
    flex-grow: 1;
    border: solid 1px red;
    border-radius: 3px;
    padding: 3px;
}

.error-hint:before {
    color: red;
    font-size: 1.2em;
}


/* Menu */

.dps-dropdown-title {
    display: inline-block;
}

.dps-dropdown-title.has-text {
    vertical-align: middle;
}

.dps-dropdown {
    border: 3px solid transparent;
    border-radius: 3px;
    display: inline-block;
    font-size: 19px;
    vertical-align: sub;
}

.high-contrast .dps-dropdown.dps-hover:not(:disabled):focus:not(:hover) {
    border-color: white;
}

.dps-dropdown-button {
    display: inline-block;
    font-size: 15px;
}

.dps-dropdown-button::before {
    margin-left: 0px;
    font-size: 13px;
}

.dps-menu {
    position: absolute;
    background-color: white;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.8);
    z-index: 10000;
    padding: 2px 2px;
    border-radius: 5px;
    border : 1px solid #ccc;
}

.dps-menu [class^="icon-"]:before, .dps-menu [class*=" icon-"]:before {
    text-align: left;
    margin-left: 0;
}

.dps-menu-button {
    color: #555;
    border: 6px solid transparent;
    border-left-width: 15px;
    border-right-width: 15px;
    display: block;
    border-radius: 3px;
    cursor:pointer;
}

.dps-menu-button:not(:last-child) {
    margin-bottom: 1px;
}

.high-contrast .dps-menu-button {
    color: black;
}

.dps-menu-button[class*="icon-check"]:before {
    font-size: 1.4em;
    line-height: 1em;
    margin-left: 0;
    transform: translate(0px, 0.1em);
}

#username {
    display: inline-block;
    font-size: 14px;
    vertical-align: middle;
}

#username.is-menu {
    vertical-align: top;
}

.div-inactive {
    opacity: 0.5;
}

.div-disabled {
    pointer-events: none;
    opacity: 0.5;
}

.multi-select {
    position: relative;
    border: 1px solid black;
    border-radius: 4px;
    height: 27px;
    border-color: #ccc;
    overflow: hidden;
    background-color: white;
}

.multi-select .combobox-button {
    position: absolute;
    right: 2px;
    top: 0;
    bottom: 0;
    width: 16px;
    color: grey;
    cursor: pointer;
    line-height: 24px;
    text-align: center;
    font-size: 10px;
    outline: none;
    border: none;
}

.multi-select:focus {
    outline: -webkit-focus-ring-color auto 1px;
}

.high-contrast .multi-select .combobox-button {
    color: black;
}

.multi-select-text {
    line-height: 27px;
    margin-left: 10px;
    color: #555;
    margin-right : 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.high-contrast .multi-select-text {
    color: black;
}

.multi-select-menu > .dps-menu-button {
    margin-bottom: 2px;
}

.multi-select-menu > .dps-menu-button:last-child {
    margin-bottom: inherit;
}



.multi-select-menu .dps-menu-button {
    border-left-width: 5px;
    border-right-width: 5px;
    line-height: 10px;
    user-select: none;
}

.dps-heading {
    font-size: 14px;
    font-weight: bold;
    line-height: 28px;
}

.tcg-logo {
    height: 34px;
    width: 45px;
    padding: 6px;
    position: absolute;
    left: 10px;
    top: 0;
}

.logo-bar {
    height: 100%;
    width: 5px;
    margin-left: 1px;
    display: inline-block;
}

.logo-bar1 {
    background-color: #777;
}

.logo-bar2 {
    background-color: #aaa;
}

.logo-bar3 {
    background-color: #eee;
}

