﻿@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 300;
    src: local(''), url('../fonts/barlow-v12-thin.woff2') format('woff2'), url('../fonts/barlow-v12-thin.woff') format('woff');
}

@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    src: local(''), url('../fonts/barlow-v12-regular.woff2') format('woff2'), url('../fonts/barlow-v12-regular.woff') format('woff');
}

@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    src: local(''), url('../fonts/barlow-v12-bold.woff2') format('woff2'), url('../fonts/barlow-v12-bold.woff') format('woff');
}

@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 400;
    src: local(''), url('../fonts/barlow-condensed-v12-regular.woff2') format('woff2'), url('../fonts/barlow-condensed-v12-regular.woff') format('woff');
}

[hide=true] {
    display: none !important;
}

body[readonly=True] .hide-readonly {
    display: none !important;
}

* {
    font-family: 'Barlow', sans-serif;
    font-weight: 300;
    margin: 0;
}

.condensed {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400;
    color: #444444;
}

h1, h2, h3, h4, .heading1, .heading2, .heading3, .heading4 {
    font-weight: 700;
    line-height: normal;
    padding: 2px 0;
    color: #444444;
}

h1, .heading1 {
    font-size: 22pt;
    padding: 48px 0 32px 0;
}

h2, .heading2 {
    padding: 32px 0 24px 0;
    font-size: 18pt;
}

h3, .heading3 {
    padding: 24px 0 16px 0;
    font-size: 14pt;
}

h4, .heading4 {
    padding: 16px 0 9px 0;
    font-size: 12pt;
}

p {
    font-size: 12pt;
    line-height: 22px;
    /*min-height: 24px;*/
    padding: 2px 0;
    color: black;
}

    p > strong {
        font-family: inherit;
        font-size: inherit;
        font-weight: inherit;
        text-decoration: underline black;
    }

    p.fineprint {
        font-size: 10pt;
        line-height: normal;
    }

    p > el-button, p > el-text {
        display: inline-block;
    }

span {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

a {
    text-decoration: none;
}

ul, ol {
    padding-inline-start: 1.05em;
}

    ul ul, ol ol {
        padding-inline-start: 1.75em;
    }

li {
    list-style-type: '\0025A0\002002';
    position: relative;
    bottom: 2px;
}

    li > * {
        position: relative;
        bottom: -0.07em;
    }

    li::marker {
        color: #2e82be;
        margin-bottom: 0.07em;
    }

el-button::part(label), el-checkbox::part(label), el-radiobutton::part(label) {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400;
    font-size: 12pt;
    line-height: 22px;
    text-align: start;
}

el-text {
    min-height: 24px;
    padding: 2px 0;
}

    el-text::part(text) {
        font-family: 'Barlow', sans-serif;
        font-weight: 400;
        font-size: 12pt;
        font-variant-numeric: tabular-nums;
        line-height: 22px;
        color: black;
        color: #2e82be;
    }

    el-text::part(label) {
        font-family: 'Barlow Condensed', sans-serif;
        font-weight: 400;
        font-size: 12pt;
        white-space: nowrap;
    }

el-tabs > button[tab] {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 300;
    font-size: 12pt;
    text-align: left;
    color: black;
    background: none;
    border: none;
    border-bottom: 5px solid #b7b7b7;
    padding: 2px 0;
    min-width: 200px;
    margin-right: 20px;
}

    el-tabs > button[tab][selected] {
        font-weight: 400;
        border-bottom-color: #2e82be;
        border-bottom-color: #36b3e0;
    }

/*.tab-dialog {
    margin: 10px 0;
    padding: 10px 0;
    background-color: #36b3e02e;
}*/

[sticky=true] > [slot=header] {
    background: white;
}

dialog {
    display: block;
    position: relative;
    width: 100%;
    background: none;
    border: none;
    margin: 0;
    padding: 0;
}

.dialogs:not(.dialogs-redirect) > :not(:last-child) {
    display: none !important;
}

.dialogs-standalone {
    background-color: #f4f6f8;
    background-color: #36b3e02e;
    border-top: 1px dashed #d0d0d0;
    padding: 2px 0;
}

    .dialogs-standalone:empty {
        display: none;
    }

.input {
    padding-left: 5px;
    padding-right: 5px;
}

.input-tiny {
    width: 3em;
}

.input-date {
    width: 5.75em;
}

.input-small {
    width: 8em;
}

.input-medium {
    width: 12em;
}

.input-large {
    width: 20em;
}

.input-huge {
    width: 40em;
}

.input-full {
    width: 100%;
}

.status, .confirmation {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 400;
    color: #2e82be;
    margin-right: 4px;
}

.confirmation {
    font-size: 12pt;
}

.buttons-left, .buttons-right {
    display: flex;
    flex-direction: row;
    margin: 12px 0;
    min-height: 32px;
}

    .buttons-left > :not(:last-child) {
        margin-right: 10px;
    }

    .buttons-right > :not(:first-child) {
        margin-left: 10px;
    }

.buttons-left {
    justify-content: flex-start;
}

.buttons-right {
    justify-content: flex-end;
}

.buttons-no-spacing {
    margin: 0 !important;
}

.buttons-small-spacing {
    margin: 6px 0 !important;
}

.buttons-large-spacing {
    margin: 18px 0 !important;
}


div.separator, span.separator {
    margin: 4px 0 6px 0;
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: #d0d0d0;
}

.buttons-left .separator {
    margin-right: 10px;
}

.buttons-right .separator {
    margin-left: 10px;
}

div.spacer {
    height: 48px;
}

div.half-spacer {
    height: 24px;
}

div.quarter-spacer {
    height: 12px;
}

.spacing-minimal {
    padding-top: 2px;
    padding-bottom: 2px;
    margin-top: 0;
    margin-bottom: 0;
}

.spacing-top {
    margin-top: 12px;
}

.spacing-bottom {
    margin-bottom: 12px;
}

.spacing-between {
    flex: 1 0 auto;
}

.simple-layout {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}

    .simple-layout > :not(:last-child) {
        flex: 1 1 auto;
    }

    .simple-layout > :last-child {
        justify-self: flex-end;
    }

.adjacent-layout {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}

    .adjacent-layout > * {
        flex: 1 0 50%;
    }

.form-layout {
    display: flex;
}

    .form-layout > * {
        flex: 0 1 auto;
        min-width: 200px;
    }

    .form-layout > :not(:first-child) {
        margin-left: 20px;
    }

    .form-layout > .label {
        flex: 0 0 auto;
        min-width: 200px;
    }

    .form-layout > .label-small {
        flex: 0 0 auto;
        min-width: 100px;
    }

    .form-layout > .non-label {
        flex: 0 0 auto;
        min-width: 50px;
    }


.wrap-layout {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    flex-wrap: wrap;
}

    .wrap-layout > * {
        flex: 1 0 auto;
    }


.column-layout {
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

    .column-layout p.column-header {
        font-size: 10pt;
        line-height: unset;
        margin-top: 6px;
    }

.column {
    display: flex;
    align-items: center;
    margin-left: 3px;
    margin-right: 3px;
}

    .column:first-child {
        margin-left: 0;
    }

    .column:last-child {
        margin-right: 0;
    }

    .column el-text, .column > div {
        width: 100%;
    }

.column-sorted {
    border-bottom: 3px solid #36b3e0;
}

.column-unsorted {
    border-bottom: 3px solid #b7b7b7;
}

.column-small {
    flex: 0 1 12.5%;
    min-width: 150px;
}

.column-medium {
    flex: 0 2 25%;
    min-width: 300px;
}

.column-large {
    flex: 0 3 37.5%;
    min-width: 450px;
}

.column-huge {
    flex: 0 4 50%;
    min-width: 600px;
}

.column-fit {
    flex: 0 0 auto;
}

.column-gutter {
    flex: 0 0 45px;
}

.column-remaining {
    flex: 1 1 100%;
}

.column-checkbox {
    flex: none;
    width: 24px;
}

.column-date {
    flex: none;
    width: 100px;
}

.column-interval {
    flex: none;
    width: 214px;
}

    .column-interval > p, .column-date > p {
        text-overflow: clip;
        font-variant-numeric: tabular-nums;
    }

.column-narrow {
    flex: 0 0 108px;
}

    .column-narrow p:not(.column-header) {
        text-align: center;
    }

.column-wide {
    flex: 1 0 200px;
}

.dashboard-layout {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    margin: 0 -10px;
}

    .dashboard-layout > a {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        width: 200px;
        margin: 10px 10px;
    }

        .dashboard-layout > a:hover {
            border-bottom-width: 7px;
            margin-bottom: 8px;
        }

.dashboard-value {
    font-size: 18pt;
    font-weight: 700;
    margin-left: 10px;
    padding-bottom: 3px;
}

.dashboard-layout .condensed {
    line-height: normal;
    padding-bottom: 2px;
}


.no-templates:not(:last-child) {
    display: none;
}

.item {
    border-bottom: 1px solid #d0d0d0;
}

    .item p {
        padding: 1px 0;
        margin: 4px 0;
    }

    .item .buttons-left, .item .buttons-right {
        margin: 8px 0;
    }

.item-footer {
    /*border-bottom: 1px solid #d0d0d0;*/
    padding: 1px 0;
}

.note {
    border-width: 0px;
    border-style: solid;
    border-color: #2e82be;
    background-color: #2e82be20;
    margin: 24px 0;
    padding: 8px 14px;
    border-radius: 4px;
}

    .note strong {
        text-decoration: none;
        font-weight: bold;
    }

@keyframes flash {
    from {
        background-color: #8e72dea0;
    }

    to {
        background-color: transparent;
    }
}


/* contrast mode */
body:not([mode=contrast]) el-text::part(text):focus {
    outline: none;
}

body[mode=contrast] p {
    font-weight: 400;
    font-size: 14pt;
}

body[mode=contrast] h1, body[mode=contrast] h2, body[mode=contrast] h3, body[mode=contrast] h4 {
    color: black;
}

body[mode=contrast] .heading1, body[mode=contrast] .heading2, body[mode=contrast] .heading3, body[mode=contrast] .heading4 {
    font-weight: 700;
    color: black;
}

body[mode=contrast] a {
    text-decoration: underline;
    font-weight: 400;
    color: blue;
}

body[mode=contrast] el-button::part(label), body[mode=contrast] el-checkbox::part(label), body[mode=contrast] el-radiobutton::part(label) {
    font-size: 13pt;
    color: blue;
}

body[mode=contrast] el-text::part(text) {
    font-size: 14pt;
    color: blue;
}

    body[mode=contrast] el-text::part(text):focus {
        outline: solid;
    }

body[mode=contrast] el-text::part(label) {
    font-size: 14pt;
    color: blue;
}

body[mode=contrast] .status, body[mode=contrast] .confirmation {
    color: blue;
}

body[mode=contrast] .note {
    background-color: #ffda1fa0;
}

body[mode=contrast] .column-layout .column-header {
    font-size: 12pt;
}

body[mode=contrast] .item {
    border-bottom: 1px solid darkgrey;
}
