@font-face {
    font-family: 'Montserrat';
    src: url('font/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 400 600;
    font-stretch: 75% 125%;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('font/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 400 600;
    font-stretch: 75% 125%;
    font-style: italic;
}

@font-face {
    font-family: 'Material Symbols Rounded';
    src: url("font/material-symbols-rounded.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 200, 'opsz' 32;
}

/* global styling for input fields, checkboxes etc. */

input[type=text], input[type=email]{
    /* width: 100%; */
    padding: 8px 14px;
    margin: 4px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    /* font-size: 1rem; */
}

input[type="checkbox"] {
    width: 1.5em;
    height: 1.5rem;
    accent-color: #0191AB;
}



.material-icons {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    /* font-size: 1.3rem; */
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* material icons are usually small and inline. use this class for large icons to introduce finer rounding details. */
.material-icons.large {
    font-size: 1.1rem;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 64;
}

/* material icons are usually bold and full in shape. use this class for icons that need more outline details. */
.material-icons.unfilled {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 200, 'opsz' 32;
}

.material-icons.large.unfilled {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 64;
}

:root {
    --grid-print-border-color: #aaa;
    --grey-darken-4: #212121;
    --ligthen-1-font: #fff;
    /*--menu-bg-color: var(--pallete-100);*/
    /*--header-bg-color: var(--pallete-800);*/
    /*--menu-font-color: var(--pallete);*/
    /*--header-font-color: var(--pallete);*/

    /*--app-bg-1: var(--blue-darken-1);*/
    /*--app-bg-2: var(--blue-darken-2);*/
    /*--app-bg-3: var(--blue-lighten-3);*/
    /*--app-f-1: var(--ligthen-1-font);*/
    /*--app-f-2: var(--ligthen-1-font);*/

    font-size: 1rem;
}

a.sidebar-link .material-icons {
    font-size: 2.05rem; position: relative; top: 0.35rem;
}
button.btn .material-icons {
    position: relative; top: 2pt;
}
a .material-icons {
    position: relative; top: 2pt;
}

body {
    /*font-family: Roboto, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;*/
    /*font-size: 1.4rem;*/
    /*-webkit-font-smoothing: antialiased;*/

    background-color: white;
    font-family: 'Montserrat' !important;

    margin: 0;
    height: 100vh;
    width: 100%;
}
#menuButton { display: none; }
#menuButton .material-icons { font-size: 4rem; }

app-body {
    display: grid;
    grid-template-areas: "header header"
        "sidebar-header  content"
        "sidebar  content";
    grid-template-rows: 5rem 12.5rem auto;
    grid-template-columns: 17rem auto;
}
nav-header {
    grid-area: header;
}
app-sidebar {
    grid-area: sidebar;
}
app-sidebar-header {
    grid-area: sidebar-header;
}
outlet {
    grid-area: content;
    padding: 1rem;
}
.widget-grid { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(85px, 1fr)); 
    grid-column-gap: 0.75rem; 
    grid-row-gap: 0.75rem;
 }
.widget-grid > * {
    width: 100%;
    min-height: 100%;
}
project-actions         { grid-column: span 2; grid-row: span 2; }
pile-doughnut-chart     { grid-column: span 3; grid-row: span 2; }
day-doughnut-chart      { grid-column: span 3; grid-row: span 2; }
pile-overview           { grid-column: span 4; grid-row: span 4; }
notification-list-widget       { grid-column: span 8; grid-row: span 2; }
admin-notification-list-widget { grid-column: span 8; grid-row: span 2; }
machine-status          { grid-column: span 3; grid-row: span 2; }
pile-per-day-chart      { grid-column: span 3; grid-row: span 2; }

h4 a { color: black; }
a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}
a:hover {
    cursor: pointer;
}
table * a:link, table * a:visited { /* hacky */
    color: #007bff;
}
span app-spinner {
    /* helps keep app-spinners vertically centered inside of spans, useful with labels */
    font-size: 33px;
}
button.btn app-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 1px));
}


.list-unstyled {
    padding-left: 0;
    list-style: none;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 0.5rem; }
.grid-2 label { text-align: right; }

#popupContainer {
    position: fixed; right: 1.5rem; bottom: 0rem;
}
popup-message {
    background-color: #0277BD; padding: 1.5rem; border: #01579B 0.1rem solid; width: 40vw; margin-bottom: 1.5rem;
    color: white;
    border-radius: 0.5rem;
    box-shadow: 0.5rem 0.5rem 2rem #00000055;
    transform: translateY(+20rem);
    transition: transform 0.8s ease;
}
dropdown-button {
    display: inline-block;
    position: relative;
}
#popupContainer .info { background-color: #226399; border-color: #1b365e; }
#popupContainer .success { background-color: #2E7D32; border-color: #1B5E20; }
#popupContainer .warn { background-color: #a38916; border-color: #8f7211; }
#popupContainer .error { background-color: #a51c1c; border-color: #861010; }

.slidein {
    transform: translateY(0rem);
}

.edit-view, .delete-view, .detail-view {
    max-width: 50vw;
}
/* from old: */

table {
    border-collapse: collapse;
}
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}
.table td, .table th {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}
.table-bordered {
    border: 1px solid #dee2e6;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0,0,0,.05);
}
.table-bordered td, .table-bordered th {
    border: 1px solid #dee2e6;
}


div:not(:last-child) > .gridjs-container {
    margin-bottom: 1rem;
}
.gridjs-container {
    min-width: 72rem;
}
.gridjs-table {
    width: 100%;
    table-layout: auto;
}
.gridjs-tr:nth-child(even) > .gridjs-td {
    background-color: rgba(0,0,0,.03);
}
.gridjs-tr-selected:nth-child(even) > .gridjs-td {
    background-color: #dcebfa;
}
.gridjs-th {
    color: #36383d;
}
.gridjs-td {
    overflow: hidden;
    word-wrap: break-word;
}
.gridjs-th[data-column-id="createdAt"] {
    max-width: 10.0rem !important;
}
.gridjs-th[data-column-id="download"],
.gridjs-th[data-column-id="edit"],
.gridjs-th[data-column-id="delete"] {
    min-width: 3.9rem !important;
    max-width: 3.9rem !important;
}
.gridjs-th[data-column-id="details"] {
    min-width: 8.2rem !important;
    max-width: 8.2rem !important;
}
.gridjs-td[data-column-id="details"] {
    word-wrap: inherit;
}
.gridjs-search {
    width: 350px;
}
.gridjs-search-input {
    width: 100%;
}

#gridjs-container-piles.pile-row-selectable .gridjs-tr {
    cursor: pointer;
}

#gridjs-container-machines.row-selectable .gridjs-tr {
    cursor: pointer;
}

/* #gridjs-container-piles .gridjs-tr > [data-column-id="selection"] {
    display: none;
} */
.gridjs-td .material-icons {
    font-size: 1.3em;
}
.gridjs-td .gridjs-checkbox, .gridjs-th .gridjs-checkbox {
    height: 16pt;
    width: 16pt;
}
.gridjs-td .gridjs-checkbox {
    pointer-events: none;
}

#file-drop-zone {
    position: relative;
}

#file-drop-zone::before {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background-color: transparent;
    border: transparent 3pt dashed;
    border-radius: 20px;
    box-sizing: border-box;
    transition-duration: 0.3s;
}

#file-drop-zone.dragging-over::before {
    background-color: #c9f8f596;
    border: #00AA9D 3pt dashed;
}


.h2, h2 { font-size: 2rem; }
.h3, h3 { font-size: 1.75rem; }
.h4, h4 { font-size: 1.5rem; }
.h5, h5 { font-size: 1rem; color: rgb(87, 87, 87); font-style: italic; }
.h6, h6 { font-size: 0.75rem; color: rgb(87, 87, 87); }
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: .5rem;
}
h2:not(:first-child) {
    margin-top: 1rem;
}

.clearfix {
    clear: both;
}

.breadcrumb {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: .75rem 1rem;
    margin-bottom: 1rem;
    list-style: none;
    background-color: #e9ecef;
    border-radius: .25rem;
}
.breadcrumb-item+.breadcrumb-item::before {
    float: left;
    padding-right: .5rem;
    color: #6c757d;
    content: "/";
}
.breadcrumb-item+.breadcrumb-item {
    padding-left: .5rem;
}
dl, ol, ul {
    padding-left: 1.5em;
    margin-top: 0;
    margin-bottom: 0;
}

/*contents
import
1. general
2. login
3. navigation
4. Projects
5. FAQs
6. Administration
7. Service
8. Help
*/

/******************************************************************************************** 1. general */

.bottomLine{
    border-bottom: 1px solid #a0a0a0 !important;
    padding-bottom: 4px;
}

.mod-no-common-ligatures {
    font-variant-ligatures: no-common-ligatures;
}


.dot {
    height: 15px;
    width: 15px;
    margin-left: 2px;
    margin-right: 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}
.dot.green {
    background-color: lawngreen;
}
.dot.orange {
    background-color: darkorange;
}
.dot.red {
    background-color: red;
}

.siteCard{
    background-color: #FAFAFA;
    padding: 1em;
    padding-bottom: 1.5em;
    border: 2px solid #FAFAFA;
    border-radius: 20px;
    box-shadow: 1px 2px 8px 2px #efefef;
    margin-bottom: 2em;
    box-sizing: border-box;
}

.siteCardLayer2{
    background-color: #F2F2F2;
    padding: 1.0rem 1.5rem;
    border: 0 solid #F2F2F2;
    border-radius: 10px;
    margin: 0.5rem;
    /*height: 100%;*/
    box-shadow: 0.3em 0.3em 5px #cfcfcf;
    box-sizing: border-box;
}

.expand-card-header {
    display: flex;
    justify-content: space-between; /* 🔥 Ensures left & right alignment */
    align-items: center;
    padding: 10px;
}

.header-left {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.header-right {
    display: flex;
    align-items: center;
    cursor: pointer;
    white-space: nowrap;
}

.btn {
    display: inline-block;
    /*color: #212529;*/
    color: #fff;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-family: 'Montserrat';
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn:disabled {
    cursor: default;
}

.btn.btn-link {
    font-weight: 400;
    color: #007bff;
    text-decoration: none;
}

.expand-button {
    color: #777777;
}

.buttonBlue{
    background-color: #0191AB;
    color: white;
}
.buttonBlue:hover{
    background-color: #00AA9D;
}
.buttonBlue:disabled,
.buttonBlue[disabled]{
    background-color: #87bdc5;
}
.buttonBlue.inverted {
    background-color: white;
    color: #0191AB;
}

.buttonGreen{
    background-color: #00AA9D;
    position: relative;
}
.buttonGreen:hover{
    background-color: #0191AB;
}
.buttonGreen:disabled,
.buttonGreen[disabled]{
    background-color: #8dd6cc;
}
.buttonGreen.inverted {
    background-color: white;
    color: #00AA9D;
}

.buttonGreenProgress{
    background-color: #00AA9D;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    transition: 0.3s;
}

.buttonRed{
    background-color: #c73333;
}
.buttonRed:hover{
    background-color: #a50d0d;
}
.buttonRed:disabled,
.buttonRed[disabled]{
    background-color: #c58787;
}
.buttonRed.inverted {
    background-color: white;
    color: #c73333;
}

.buttonLink{
    color: white;
}

.lds-dual-ring {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-left: auto;
    margin-right: auto;
  }
  .lds-dual-ring:after {
    content: " ";
    display: block;
    width: 32px;
    height: 32px;
    margin: 4px;
    border-radius: 50%;
    border: 3px solid #222;
    border-color: #222 transparent #222 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
  }
  @keyframes lds-dual-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

/* CC0 Lizenz https://loading.io/css/ */
  

/* TODO: do we need overlays? this code is currently unused */
/*.overlay{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
}

.overlayCard{
    background-color: #ECECEC;
    border: 2px solid #ECECEC;
    border-radius: 5px;
    padding: 3% !important;
    margin-top: 10em;
}
 */


/******************************************************************************************** 2. login*/
#loginBody{
    background-image: linear-gradient(90deg, #0191AB,#00AA9D);
    height: 100%;

}

#welcomeTitleLogoBlock{
    margin-bottom: 1em !important;
}

#welcomeHeadline{
    color: white;
    display: inline-block;
    vertical-align: bottom !important;
    margin-top: 0.5em !important;
    margin-bottom: 0 !important;
}

#welcomeLogo{
    display: inline-block;
    margin-bottom: 0.5em !important;
}

.welcomeRow{
    margin-top: 7em;
}

.welcomeCard{
    background-color: white;
    border: 2px solid white;
    border-radius: 20px;
    padding: 10%;
    min-height: 600px;
    box-shadow: 1px 2px 12px 2px #777777;
}

.welcomeCard a{
    color: #333333;
}

.loginInput{
    margin-bottom: 0.5em;
    border: 1px solid !important;
    border-bottom-color: #707070 !important;
    border-top-color: white !important;
    border-left-color: white !important;
    border-right-color: white !important;
}

.loginButton{
    color: white !important;
    font-size: 16pt;
}

.signInFontBold{
    font-weight: 700 !important;
}

.welcomeCard form label{
    font-size: 14pt;
}

.welcomeCard form input{
    font-size: 14pt;
}

.signInMargin{
    margin-bottom: 3em;
}

.signInTitleMargin{
    margin-bottom: 2em;
}

.user-avatar {
    width: 120px;
    height: 120px;
}


/******************************************************************************************** 3. navigation*/
/*Navbar*/
.navbar{
    background-image: linear-gradient(90deg, #0191AB,#00AA9D);
    color: white;
    padding: 0.5em 1em 0.5em 2em !important;
}

.navbar-title{
    color: white !important;
    font-size: 27pt;
    margin-top: 20px;
    margin-left: 15px;
}

#navbar-env {
    font-size: 14pt;
    font-weight: bold;
}

.navbar-brand {
    display: inline-block;
    padding-top: .3125rem;
    padding-bottom: .3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}
.nav-link {
    padding: .5rem 1rem;
}

.nav-link.nav-logout-link, 
.nav-link.nav-login-link {
    font-family: 'Montserrat';
    float: right;
    font-size: x-large;
    color: white;
    border: 2px solid white;
    cursor: pointer;
    padding: 4px 12px;
    margin: .45rem 4px 8px 4px;
}

.nav-logout-link:hover, .nav-login-link:hover {
    background-color: #fff4;
}

.admin-only-section {
    outline: 4px solid #efefef;
    border-radius: 0 23px 23px 0;
    padding: 10px 0 1px 0;
    margin: 10px 10px 12px 0;
}

.admin-only-section > ul {
    margin-bottom: 0;
}

.admin-only-header {
    color: #888;
    margin-left: 10pt;
}

.admin-only-header h4 {
    margin-bottom: 0;
    font-weight: normal;
}


/*BreadCrumbs*/
.breadcrumb{
    background-color: white !important;
}

#breadcrumb-descr{
    display: inline-block !important;
    float: left !important;
    margin-bottom: 0px !important;
    padding: .75rem 0 .75rem 1rem !important;
    margin-top: 0;
}

/*Sidebar*/

.sidebar-li{
    font-size: 1.4rem;
    width: 81%;
    margin-bottom: 0.3em;
    padding: 0.2em 1em 0.2em 1em;
    background: #efefef;
    border-bottom-right-radius: 25px;
    border-top-right-radius: 25px;
    display: block;
}

.sidebar-li:hover{
    background-color: #1994a5;
}

.sidebar-header{
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    padding: 0.5em 0 0 0.5em;
    text-align: center !important;
}

#sidebar-machine-icon{
    background-image: url("../img/machine_30px.png");
    width: 30px;
    height: 27px;
    display: inline-block;
}

.sidebar-machine-icon-class{
    width: 30px;
    height: 27px;
    display: inline-block;
}

#sidebar-customer {
    color: #5a6268;
    font-size: 16pt;
    margin: 0;
}

#sidebar-company-name {
    margin: 0.75rem 0 0 0;
}

#sidebar-user{
    margin: 0.75rem 0 0 0;
    font-weight: normal;
}

.sidebar-link{
    color: #333333;
}

.sidebar-link:hover{
    text-decoration: none;
    color: #FFFFFF;
}
.sidebar-link:hover img {
    filter: invert(1);
}

.sitebar-dropdown-element{
    background-color: #ffffff !important;
    color: #444444;
    width: 270px !important;
}

.sitebar-dropdown-element:hover{
    background-color: #00AA9D !important;
    color: white;
}
/******************************************************************************************** 4. Projects */


/******************************************************************************************** 5. FAQs */

.accordionFAQs{
    margin: 5em 0 5em 0 !important;
}

/******************************************************************************************** 6. Administration */


/******************************************************************************************** 7. Service*/

.serviceIconToggle{
    font-size: 35pt;
    margin: 0.5em 0 0 0;
}

.serviceActivation{
    margin: 2em 0 2em 0;
}

/******************************************************************************************** 8. Help*/

.helpBox{
    background-color: white;
    border: 2px solid white;
    border-radius: 5px;
    box-shadow: 1px 2px 8px 2px #c4c4c4;
    padding: 5% 8% 5% 8%;
}

.helpIconBox{
    background-color: #0191AB;
    border: 2px solid #0191AB;
    border-radius: 5px;
    color: white;
    padding: 1%;
    margin: 0 0.5em 0 0.5em;
    width: 150px;
    display: inline-block;
}

.helpIcon{
    font-size: 45pt;
    margin: 0.5em 0 0.5em 0;
}

.helpContainer{
    position: fixed;
    bottom:0px
}

.helpHeadline{
    color: #5a6268;
}

.helpHeadline:hover{
    text-decoration: underline;
    color: #333333;
}

table.mobile-aware tr td, table.mobile-aware tr th{ display: table-cell; }
table.mobile-aware tr td.mobile, table.mobile-aware tr th.mobile { display: none; }

.detail-modify-links { float: right; }

.desktop-hidden {
    display: none;
}

@media print {
    .siteCardLayer2, .siteCard {
        background-color: transparent;
        border: none;
        box-shadow: none;
        margin: 0;
        padding: 0;
    }

    /* keeps page content together on print */
    .siteCard:not(:first-child) {
        break-before: auto;
    }
    /* prevent table from leaving the header and jumping to the next page */
    .siteCard.siteCard-print-together {
        display: inline-block;
        break-inside: avoid;
    }

    body { display: block; }
    output { padding: 0; }
    body > :not(output) { display: none; }
    app-breadcrumb { display: none; }
    .siteCard .detail-modify-links { display: none; }
    .btn { display: none; }

    /*** PRINT FRIENDLY GRID.JS TABLES ***/

    /* create an inline-block that prevents the cell content from being cut in half down the page */
    td.gridjs-td {
        position: relative;
        border: 0px;
    }
    td.gridjs-td::after {
        content: '';
        display: inline-block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;

        break-inside: avoid;
    }

    /* remove column sorting arrows and fix content width */
    th.gridjs-th-sort .gridjs-th-content { width: 100%; }
    button.gridjs-sort { display: none; }
}

@media only screen and (max-width: 768px) {
    body {
        grid-template-areas: "header header"
                         "sidebar  sidebar"
                         "content  content";
        grid-template-rows: 6.3rem auto auto;
    }
    app-sidebar-header { display: none; }
    app-sidebar {
        background: linear-gradient(90deg, #0191AB,#00AA9D);
    }
    .sidebar-li {
        width: 100%;
        margin-bottom: 0;
        background: #efefef55;
        border-bottom-right-radius: 0;
        border-top-right-radius: 0;
        border-bottom: 0.1rem solid darkgray;
    }
    #menuButton { display: initial; border: none; padding: 0; }
    .mobile-hidden { display: none; }
    .desktop-hidden { display: initial;}
    th.desktop-hidden, td.desktop-hidden { display: table-cell;}

    .widget-grid { grid-template-columns: repeat(6, 1fr); }

    table.mobile-aware tr td, table.mobile-aware tr th{ display: none; }
    table.mobile-aware tr td.mobile, table.mobile-aware tr th.mobile { display: table-cell; }
}

.notification-list-widget-item:not(:last-child) {
    margin-bottom: 24px;
}

.notification-list-widget-header, .notification-list-widget-item > p {
    margin-top: 0px;
    margin-bottom: 8px;
}

.notification-list-widget-item .material-icons {
    font-size: 10pt;
}

.notification-list-widget-header, .notification-list-widget-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.notification-list-widget-header { flex-wrap: wrap-reverse; }
.notification-list-widget-footer { flex-wrap: wrap; }

.notification-list-widget-priority {
    /* borders and spacing */
    width: max(75px, 20%);
    overflow: hidden;

    margin-right: 12px;
    border-radius: 0px 12px 0px 0px;
    padding: 8px 24px 4px 18px;

    /* formatting */
    background-color: #666;
    color: white;
    font-weight: bold;
}

.notification-list-widget-header {
    border-bottom: 3px solid #666;
}

.flair {
    color: white;
    background-color: #444;
    font-weight: bold;

    border: #444 3px solid;
    padding: 2px 7px;
    border-radius: 5px;
}

.flair.inverted { color: #444; background-color: transparent; }

.flair.info, .flair.supported { border-color: #007896; background-color: #007896; }
.flair.info.inverted, .flair.supported.inverted { color: #007896; background-color: transparent; }

.flair.trace, .flair.latest { border-color: #008563; background-color: #008563; }
.flair.trace.inverted, .flair.latest.inverted { color: #008563; background-color: transparent; }

.flair.debug { border-color: #af9006; background-color: #af9006; }
.flair.debug.inverted { color: #af9006; background-color: transparent; }

.flair.warn { border-color: #ad6608; background-color: #ad6608; }
.flair.warn.inverted { color: #ad6608; background-color: transparent; }

.flair.error, .flair.unsupported { border-color: #a01b1b; background-color: #a01b1b; }
.flair.error.inverted, .flair.unsupported.inverted { color: #a01b1b; background-color: transparent; }

.notification-list-widget-header.info { border-color: #007896; }
.notification-list-widget-header.trace { border-color: #008563; }
.notification-list-widget-header.debug { border-color: #af9006; }
.notification-list-widget-header.warn { border-color: #ad6608; }
.notification-list-widget-header.error { border-color: #a01b1b; }

.notification-list-widget-priority.info { background-color: #007896; }
.notification-list-widget-priority.trace { background-color: #008563; }
.notification-list-widget-priority.debug { background-color: #af9006; }
.notification-list-widget-priority.warn { background-color: #ad6608; }
.notification-list-widget-priority.error { background-color: #a01b1b; }

.notification-list-widget-time, .notification-list-widget-source {
    color: #444;
    margin-bottom: 4px;
}

.notification-list-widget-time { margin-bottom: 6px; }
.notification-list-widget-source, .notification-list-widget-visibility { margin-bottom: 3px; }

.notification-list-widget-visibility {
    color: #888;
    font-style: italic;
}

.modal-box {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  width: 80%; /* Could be more or less, depending on screen size */
  box-shadow: none;
}

.modal-top-bar {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.modal-bottom-bar {
    display: flex;
    flex-flow: row nowrap;
    justify-content: end;
}

.modal-bottom-bar app-timer {
    justify-self: start;
}

.modal-bottom-bar :not(:last-child) {
    margin-right: 8px;
}