@font-face {
    font-family: 'Open Sans', sans-serif;
}

/* variables */
:root {
    --global-blue: rgb(35,96,147);
    --global-green: rgb(121,156,75);
    --global-grey-dark: rgb(112,115,114);
    --global-grey-light: rgb(178,180,178);
    --global-yellow: rgb(255,205,0);
    --global-orange: rgba(234,118,0);
    --global-charcoal: rgb(43,43,48);
    --global-transparent-charcoal: rgba(43,43,48,.75);
    --global-secondary-orange: rgb(234,118,0);
    --global-secondary-yellow: rgb(255,205,0);
    --global-secondary-grey: rgb(190,198,196);
    --iconwidth:1.6em;
    font-size:11pt;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin:0;
    padding:0;
    margin-block:0;
    margin-inline:0;
    font:inherit;
}

/*--------------------------------------------------
html elements
--------------------------------------------------*/

html {
    font-family: 'Open Sans', sans-serif;
}

body {
    background-color: var(--theme-body-background);
    color: var(--theme-body-text);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

strong {
    font-weight: 700;
}

a {
    color: var(--global-blue);
    text-decoration: none;
}

h2 {
    font-size: clamp(1.6em, 90%, 1.8em);
    max-height: 5em;
    line-height: 1em;
    white-space: preserve-breaks;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.1em;
}

p {
    margin-top: 5px;
    margin-bottom: 5px;
}

    p:not(.title) {
        flex: 0 0 auto;
    }

    p:has(.icon), .db-row:has(.icon), h4:has(.icon) {
        position: relative;
        padding: 3px 0 0 32px;
    }

    p > .icon, .db-row > .icon, h4 > .icon {
        position: absolute;
        top: 3px;
        left: 0;
    }

    p.header, span.header {
        font-size: 1.2rem;
        font-weight: 600;
        margin-top: -3px;
    }

    p.blue, span.blue, td.blue, strong.blue, #Blob_Image.blue {
        color: var(--global-blue);
    }

    p.green, span.green, td.green, strong.green, #Blob_Image.green {
        color: var(--global-green);
    }

    p.red, span.red, td.red, strong.red, #Blob_Image.red, h3.red {
        color: var(--global-red);
    }

    p.yellow, span.yellow, td.yellow, strong.yellow, #Blob_Image.yellow {
        color: var(--global-secondary-yellow);
    }

    p.orange, span.orange, td.orange, strong.orange, #Blob_Image.orange {
        color: var(--global-secondary-orange);
    }

    p.grey, span.grey, td.grey, strong.grey, #Blob_Image.grey {
        color: var(--global-secondary-grey);
    }

select, input:not([type='submit']), textarea, pre {
    width: 100%;
    height: 32px;
    border: 1px solid var(--theme-field-border);
    border-radius: 5px;
    background: var(--theme-field-background);
    color: black;
}

pre {
    padding-left: 3px;
    padding-right: 3px;
}

select, input:not([type=file], textarea, pre) {
    background-color: var(--theme-field-background);
}

textarea, pre {
    height: auto;
    min-height: 88px;
    white-space: pre-wrap;
    resize: vertical;
    overflow: visible;
}

input, textarea {
    padding-left: 3px;
}

label {
    font-size: .8rem;
}

select.required, input.required, textarea.required, .listview.required, pre.required {
    border: 1px solid var(--global-red);
}

select.dirty, input.dirty, textarea.dirty, .listview.dirty, pre.dirty {
    background-color: rgba(121,156,75,.15);
    color:black;
}

input[disabled], select[disabled], textarea[disabled], pre:not([contenteditable]) {
    background-color: var(--theme-field-disabled);
    border: 1px solid var(--theme-field-disabled);
    color: black;
}

input.invalid {
    background-color: var(--theme-field-invalid-background);
    color: var(--theme-field-invalid-code);
}

input[type=file] {
    height: 32px;
    padding-top: 3px;
}

button, input[type='submit'], a.button, span.button {
    border-radius: .25rem;
    border: 1px solid var(--global-grey-light);
    font: inherit;
    padding: .25rem .4rem .37rem .4rem;
    background: var(--global-green);
    color: white;
    margin: 5px 2px 5px 3px;
    cursor: pointer;
    display:block;
}

    button[disabled='disabled'] {
        background-color: var(--theme-field-disabled-background);
        border: 1px solid var(--theme-field-disabled-border);
        color: var(--theme-field-disabled-text);
    }

a.button {
    display: inline-block;
    margin: 0;
}

hr {
    background-color: transparent;
    height: 1px;
    border: none;
}

    hr.spacer {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    hr.gray {
        height: 1px;
        margin-bottom: 10px;
        margin-top: 10px;
        border-top: 1px solid var(--theme-hr-gray);
    }

    hr.newline {
        margin: 0;
    }

    hr.listbottom {
        height: 3px;
        background-color: var(--theme-hr-listbottom);
    }

    hr.black {
        background-color: var(--theme-hr-black);
    }

    hr.white {
        background-color: var(--theme-hr-white);
    }

    hr.blue {
        background-color: var(--global-blue);
        margin-bottom: 10px;
        margin-top: 10px;
    }

    hr.dashed {
        border-top-style: dashed;
        margin-bottom: 10px;
        margin-top: 10px;
    }

p > .material-symbols-rounded.inline-img, p > span.material-symbols-rounded.inline-img, li > span.material-symbols-rounded, a > span.material-symbols-rounded {
    vertical-align: bottom;
}

span.material-symbols-rounded {
    vertical-align: bottom;
    font-size:1.5em;
}

ul, ol {
    margin-left: 20px;
}

/*--------------------------------------------------
dashboard & context menu
--------------------------------------------------*/
#Dashboard {
    overflow: hidden;
    background-color: var(--theme-dashboard-background);
    height: 32px;
    position: fixed;
    left: 0;
    width: 100%;
    transition: height 0.5s ease-in-out;
    color: var(--theme-block-text);
    padding: 10px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    max-height: 100%;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    bottom: 0;
}

    #Dashboard.expanded .welcome {
        display: block;
    }

    #Dashboard.expanded .taskbar {
        display: none;
    }

    #Dashboard .taskbar {
        cursor: pointer;
    }

    #Dashboard .main-content {
        display: flex;
        flex-wrap: nowrap;
    }

    #Dashboard.expanded {
        height: 100%;
        overflow: auto;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
    }

    #Dashboard:not(expanded) {
        padding-top: 3px;
        cursor: pointer;
    }

    #Dashboard:not(.expanded) .welcome {
        display: none;
    }

    #Dashboard:not(.expanded) .taskbar {
        margin-bottom: 20px;
        display: flex;
        flex-wrap: nowrap;
        gap: 5px;
        overflow: hidden;
    }

    #Dashboard .welcome {
        font-size: 1.2rem;
        font-weight: 600;
        width: 100%;
        max-height: 3rem;
        border-bottom: 1px solid var(--theme-block-background);
        padding-bottom: 5px;
        margin-bottom: 10px;
        position: relative;
    }

        #Dashboard .welcome .tools {
            position: absolute;
            right: 0;
            top: 0;
        }

            #Dashboard .welcome .tools .material-symbols-rounded {
                cursor: pointer;
            }

    #Dashboard .menus {
        width: 30%;
        max-width: 300px;
        min-width: 250px;
    }



.db-row {
    position: relative;
    padding: 3px 3px 3px 3px;
    border: 1px solid transparent;
    transition: background-color 0.5s ease-in-out;
    min-height: 32px;
    text-overflow:ellipsis;
    overflow:hidden;
}

    .db-row:has(.icon) {
        padding-left: 32px;
    }

    .db-row > .icon {
        position: absolute;
        top: 3px;
        left: 3px;
    }

    .db-row:hover {
        background: var(--theme-menu-hover);
    }


#TheContent {
    margin-right: 50px;
    width: 100%;
    height: 100%;
}

#TheGrid {
    padding: 0 0 0 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    transition: width 0.3s ease-in-out;
    max-height: 100%;
    height: 100%;
    overflow: auto;
}

.dashboard-tile {
    min-width: calc(25% - 8px);
    border-radius: 8px;
    cursor: pointer;
    transition: width 0.5s ease-in-out;
    border: 1px solid var(--theme-block-background);
    transition: border-bottom-color
}

    .dashboard-tile:hover .db-row {
        border-bottom: 1px solid var(--theme-menu-hover);
    }

    .dashboard-tile.full-width {
        width: 100%;
    }

    .dashboard-tile .title-bar {
        padding: 10px;
        border-radius: 5px 5px 0 0;
        text-align: left;
        font-weight: bold;
        background: var(--theme-block-background);
        color: var(--theme-block-title-text);
    }

#TheGrid.docked .dashboard-tile .title-bar {
    line-height: 1em;
    padding: 8px;
    font-weight: normal;
}

.content {
    padding: 10px;
}

#ContextMenu {
    display: block;
    position: fixed;
    border-radius: 8px;
    padding: 3px;
    border: 1px solid var(--theme-block-border);
    border-style: solid;
    background: var(--theme-dashboard-background);
    color: var(--theme-block-text);
    overflow: visible;
    z-index: 99;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.menu-option {
    padding: 3px 5px 3px 5px;
    border-radius: 5px;
    cursor: pointer;
}

    .menu-option:hover, .menu-close:hover {
        background: var(--theme-menu-hover);
        border-radius: 5px;
    }

.menu-close {
    position: relative;
    padding: 3px 5px 3px 20px;
    cursor: pointer;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top: 1px solid var(--theme-menu-border);
}

    .menu-close .material-symbols-rounded {
        position: absolute;
        top: .35rem;
        left: 0;
        font-size: 1.1rem;
    }

.menu-title {
    text-align: center;
    padding: .21rem 0 .21rem .25rem;
    cursor: pointer;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
}

.menu-item {
    top: 0;
    margin-bottom: 10px;
}

.menu-header {
    cursor: pointer;
    transition: background 0.8s ease;
    position: relative;
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    height: auto;
    padding-top: .1rem;
    padding-bottom: .2rem;
    padding-left: 2.3rem;
    border-radius: 5px;
    border: 1px solid var(--theme-block-background);
    color: var(--theme-block-title-text);
    font-weight: 600;
}

    .menu-header .material-symbols-rounded {
        top: .125rem;
        left: .25rem;
        position: absolute;
    }

.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    transition: max-height 0.8s ease, padding 0.8s ease;
}

.menu-item:not(.primary-menu) .submenu {
    overflow: hidden;
    max-height: 0;
}

.submenu div {
    position: relative;
    cursor: pointer;
    padding: 5px;
}

    .submenu div.seperated {
        border-top: 1px solid var(--theme-menu-hover);
    }

    .submenu div .redbox {
        position: absolute;
        top: 0px;
        right: 0px;
        height: 100%;
        width: 24px;
        text-align: center;
        padding-top: 7px;
        letter-spacing: -1px;
    }

    .submenu div:hover {
        background-color: var(--theme-menu-hover);
        transition: background 0.3s ease;
        border-radius: 5px;
    }

.menu-header .redbox {
    position: absolute;
    top: 0px;
    right: 0px;
    height: 100%;
    width: 32px;
    text-align: center;
    letter-spacing: -1px;
    font-size: .8rem;
    padding-top: .25rem;
}

/* Show submenu on hover with animation */
.menu-item:hover .submenu {
    max-height: 500px; /* Adjust this to fit the number of submenu items */
}

/*--------------------------------------------------
listview, lozenge, & diary
--------------------------------------------------*/
.listview, .diary {
    background: var(--theme-listview-background);
    color: var(--theme-listview-text);
    border-radius: 5px;
    padding: 1px 1px 2px 1px;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.toolbar.list-view > .title {
    margin:0;
}

.diary {
    padding-top:3px;
}

    .diary .listview:last-of-type {
        margin-top: -3px;
    }

    .listview.embedded {
        display: inline-block;
        margin-bottom: 0;
        width: fit-content;
    }

    .listview .toolbar .title {
        padding-left: 5px;
    }

    .listview.collapsed {
        margin: 0;
    }

.list-wrapper.scroll5 {
    max-height: 280px;
    overflow: auto;
}

.list-wrapper.scroll10 {
    max-height: 545px;
    overflow: auto;
}

.list-wrapper.scroll15 {
    max-height: 810px;
    overflow: auto;
}



.listview.droppable .list-wrapper {
    padding-bottom: 20px;
}

.diary > .listview {
    background: transparent;
}

.lozenge {
    border-radius: 5px;
    background: var(--theme-formview-background);
    color: var(--theme-formview-text);
    min-height: 1.8rem;
    padding: 7px;
    line-height: 1.3rem;
    border: 2px solid var(--theme-listview-background);
}

.lozenge.on {
    color:white;
}

.listview:not([disabled]) .listitem:not(.click-none) {
    cursor: pointer;
}

.listview.click-single .lozenge.on {
    background-color: var(--global-blue);
}

.listview.click-multi .lozenge.on {
    background-color: var(--global-green);
}

.listview.click-multihybrid .lozenge.on {
    background: linear-gradient(var(--global-green),var(--global-blue));
    border-color:var(--global-green);
}

.listview.click-singlehybrid .lozenge.on {
    background: linear-gradient(var(--global-blue),var(--global-green));
    border-color:var(--global-blue);
}

.listview.click-dynamic .lozenge.on {
    background-color: #cccc;
}

.listitem {
    flex:content;
}

.listitem.text:not(.image) {
    min-height: 1.6rem;
}

.listitem .icon {
    position: absolute;
    top: .21rem;
    left: .1rem;
    max-width: 2rem;
}

.listitem:not(.double-icon).text.image {
    min-height: 2.2rem;
}

.listitem.double-icon {
    min-height: 3.7rem;
}

/*--------------------------------------------------
formview
--------------------------------------------------*/

.formview {
    background: var(--theme-formview-background);
    color: var(--theme-formview-text);
    padding: 0 5px 5px 5px;
    overflow: visible;
}

    .formview.rw {
        width: 100%;
    }

    .formview.embedded {
        background-color: transparent;
        padding-left: 0;
        padding-right: 0px;
    }

    .formview.address {
        width: 500px;
        max-width: 100%;
    }

    .formview.listitem {
        border-radius: 5px;
        border: 2px solid var(--theme-listview-background);
        background: var(--theme-formview-background);
        margin-top: 0;
    }

        .formview.listitem.rw {
            flex-basis: 100%;
            border: 5px solid var(--theme-formview-listed-rw-border);
            margin-top: 3px;
            margin-bottom: 3px;
            transition: width 0.3s ease, height 0.3s ease, right 0.3s ease;
        }

    .formview.ro {
        padding-bottom: 2px;
        line-height: 1.3rem;
    }

    .formview > .formview {
        background: transparent;
    }

/*--------------------------------------------------
workflow
--------------------------------------------------*/

.workflow {
    background: var(--theme-listview-background);
    border-radius: 5px;
}

    .workflow > .listview {
        border-radius: 0;
        margin: 0;
    }

        .workflow > .listview:first-of-type {
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
            border-top-left-radius: 5px;
            border-top-right-radius: 5px;
        }

        .workflow > .listview:last-of-type {
            border-top-left-radius: 0;
            border-top-right-radius: 0;
            border-bottom-left-radius: 5px;
            border-bottom-right-radius: 5px;
        }

/*--------------------------------------------------
toolbar
--------------------------------------------------*/

.toolbar {
    display: flex;
    position: relative;
    flex: 0 0 auto;
    overflow: visible;
    padding-top: 3px;
    height: fit-content;
    padding-bottom: 3px;
    flex-direction: row;
}

    .toolbar.form-view {
        white-space: pre-wrap;
        text-overflow: ellipsis;
    }

    .toolbar.list-view .toolbar-button {
        margin-top: 4px;
    }

    .toolbar.form-view .toolbar-button {
        margin-top: 2px;
    }

    .toolbar .title, .toolbar .filler {
        flex-grow: 1000;
        padding-left: 0;
    }

.toolbar-button {
    cursor: pointer;
}

.toolbar-badge {
    width: auto;
    overflow: visible;
    margin-top: 0;
}

.toolbar.form-view:hover {
    background: var(--theme-body-background);
    padding-left: 5px;
    padding-right: 5px;
    margin-left: -5px;
    margin-right: -5px;
}

.formview.questionnaire-question .toolbar.form-view:first-of-type {
    max-height: 10rem;
}

    .formview.questionnaire-question .toolbar.form-view:first-of-type .title {
        white-space: break-spaces;
        font-size: .6em;
        overflow: visible;
    }

/*--------------------------------------------------
status bars
--------------------------------------------------*/

#DEVSIGN {
    position: fixed;
    left: calc(50% - 150px);
    bottom: 35px;
    width: 300px;
    background: rgba(121,36,47,.75);
    color: white;
    font-size: .8rem;
    padding: 2px;
    text-align: center;
    border-radius: 8px;
}

#SAVEREMINDER {
    position: fixed;
    left: calc(50% - 150px);
    bottom: 35px;
    width: 300px;
    background: rgb(121,156,75,.75);
    color: white;
    font-size: .8rem;
    padding: 2px;
    text-align: center;
    border-radius: 8px;
}

    #SAVEREMINDER span.material-symbols-rounded {
        vertical-align: bottom;
        font-size: 1rem;
    }

#CODEOUTDATED {
    position: fixed;
    left: calc(50% - 150px);
    top: 35px;
    width: 300px;
    max-width: 100%;
    background: rgba(121,36,47,.75);
    color: white;
    font-size: 1.25rem;
    padding: 2px;
    text-align: center;
    border-radius: 8px;
    font-weight: 800;
}

#UpdatesLink {
    position: relative;
    font-size: .8em;
    padding-left: 1.2em;
}

    #UpdatesLink span {
        font-size: 1.1em;
        position: absolute;
        top: 3px;
        left: 0;
    }

/*--------------------------------------------------
ripple
--------------------------------------------------*/

.lds-roller {
    position: absolute;
    top: 25%;
    left: calc(50% - 20px);
}

    .lds-roller div {
        animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        transform-origin: 40px 40px;
    }

        .lds-roller div:after {
            content: " ";
            display: block;
            position: absolute;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            margin: -4px 0 0 -4px;
            background: var(--theme-ripple-rollerdivafter);
        }

        .lds-roller div:nth-child(1) {
            animation-delay: -0.036s;
        }

            .lds-roller div:nth-child(1):after {
                top: 63px;
                left: 63px;
            }

        .lds-roller div:nth-child(2) {
            animation-delay: -0.072s;
        }

            .lds-roller div:nth-child(2):after {
                top: 68px;
                left: 56px;
            }

        .lds-roller div:nth-child(3) {
            animation-delay: -0.108s;
        }

            .lds-roller div:nth-child(3):after {
                top: 71px;
                left: 48px;
            }

        .lds-roller div:nth-child(4) {
            animation-delay: -0.144s;
        }

            .lds-roller div:nth-child(4):after {
                top: 72px;
                left: 40px;
            }

        .lds-roller div:nth-child(5) {
            animation-delay: -0.18s;
        }

            .lds-roller div:nth-child(5):after {
                top: 71px;
                left: 32px;
            }

        .lds-roller div:nth-child(6) {
            animation-delay: -0.216s;
        }

            .lds-roller div:nth-child(6):after {
                top: 68px;
                left: 24px;
            }

        .lds-roller div:nth-child(7) {
            animation-delay: -0.252s;
        }

            .lds-roller div:nth-child(7):after {
                top: 63px;
                left: 17px;
            }

        .lds-roller div:nth-child(8) {
            animation-delay: -0.288s;
        }

            .lds-roller div:nth-child(8):after {
                top: 56px;
                left: 12px;
            }

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#Ripple {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--theme-ripple-background);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    z-index: 200;
}

/*--------------------------------------------------
field and complication
--------------------------------------------------*/

.fieldview.collapsed {
    margin: 0;
}

.fieldview.email {
    width: 400px;
}

.fieldview.date, .fieldview.number, .fieldview.postcode {
    width: 120px;
}

.fieldview.money {
    width: 165px;
}

.fieldview.phone {
    width: 175px;
}

.fieldview.datetime {
    width: 200px;
}

.fieldview.notefield, .fieldview.hundred {
    width: 100%;
}

.fieldview *:not(.complication) {
    width: 100%;
}


.complication {
    background: var(--theme-field-border);
    color: var(--theme-block-title-text);
    position: absolute;
    font-size: .6rem;
}

    .complication:not(.active) {
        padding: 2px 4px 3px 3px;
        bottom: 0;
        right: 0;
        border-top-right-radius: 3px;
        border-bottom-right-radius: 3px;
        height: 32px;
        text-align: center;
    }

    .complication.active {
        width: 100%;
        z-index: 2;
        padding: 3px;
        text-align: left;
        vertical-align: top;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        letter-spacing: 1px;
        top:50px;
    }

    .complication.invalid {
        background: var(--global-red);
        color: white;
    }

/*--------------------------------------------------
gobox
--------------------------------------------------*/

#GoBox {
    position: fixed;
    top: 38px;
    right: 0;
    border-left: 1px solid var(--theme-block-title-text);
    border-bottom: 1px solid var(--theme-block-title-text);
    border-top: 1px solid var(--theme-block-title-text);
    border-bottom-left-radius: 8px;
    border-top-left-radius: 8px;
    background: var(--theme-block-background);
    color: var(--theme-block-title-text);
    padding: .75rem;
    text-align: right;
}

    #GoBox hr {
        background: var(--theme-block-border);
        margin-top: .45rem;
        margin-bottom: .45rem;
    }

#GoBox_Criteria {
    font-size: 2rem;
}

#GoBox_Phone {
    width: 100%;
}

/*--------------------------------------------------
message box
--------------------------------------------------*/

#MessageBox {
    position: fixed;
    top: 0;
    height: 100%;
    left: 0;
    display: block;
    z-index: 999;
    width: 100%;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

#MessageBox_Image {
    position: absolute;
    top: 10px;
    left: 5px;
    font-size: 5rem;
}

#MessageBox h2 {
    font-weight: 300;
}

#MessageBox_Title {
    font-size: 1.4em;
}

#MessageBox_Message {
    margin-top: 10px;
    margin-bottom: 10px;
}

#MessageBox_Banner {
    position: relative;
    top: 25%;
    left: 0;
    padding: 10px 10px 20px 95px;
    max-height: 75%;
    overflow: auto;
    display: block;
    border-top: 1px solid var(--theme-block-title-text);
    border-bottom: 1px solid var(--theme-block-title-text);
    background-color: var(--theme-block-background);
    color: var(--theme-block-title-text);
}

#MessageBox button.cancel {
    background-color: var(--global-red);
    border-color: var(--global-red);
    color: white;
}

/*--------------------------------------------------
tabview
--------------------------------------------------*/

.tabview {
    background-color: var(--theme-listview-background);
    border-radius: 5px;
    width: 100%;
    padding: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
}

    .tabview .formview {
        margin-bottom: 0;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
    }

.tabbar {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    border-radius: 5px;
    padding-bottom: 0;
}

    .tabbar div {
        background-color: var(--theme-green);
        color: var(--theme-listview-text);
        position: relative;
        padding: 5px 8px 5px 8px;
        cursor: pointer;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

        .tabbar div:not(last-of-type) {
            border-top: 1px solid var(--theme-formview-background);
            border-left: 1px solid var(--theme-formview-background);
            border-right: 1px solid var(--theme-formview-background);
        }

        .tabbar div.selected {
            background-color: var(--theme-formview-background);
            color: var(--theme-tabview-text-selected);
            font-weight: 600;
        }

/*--------------------------------------------------
responsive sizing
--------------------------------------------------*/

#Blob {
    position: fixed;
    top: 100px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    left: 50%;
    width: 200px;
    margin-left: -100px;
    border: 1px solid var(--theme-block-title-text);
    background: var(--theme-block-background);
    color: var(--theme-block-title-text);
}

#Blob_Image {
    font-size: 100px;
}

#Blob_Label {
    font-size: 1.2em;
}

/*--------------------------------------------------
responsive sizing
--------------------------------------------------*/

/*.cols-1, .hundred {
    width: 100%;
}*/

/*@media (max-width:400px) {
    .fieldview {
        width: 100%;
        margin-right:0;
    }
}

@media (max-width:767px) {
    .cols-
    .listitem {
        width:100%;
    }
}

@media (min-width:768px) and (max-width:936px) {
    .fieldview, .field-uploader {
        position: relative;
        margin-right: 5px;
        margin-bottom: 5px;
    }

    .cols-2, .fifty, .cols-3, .thirty-three, .cols-4, .twenty-five {
        width: calc(100%/2);
    }

    .cols-5, .twenty, .cols-6, .cols-7 {
        width: calc(100%/3);
    }

    .cols-8, .cols-9, .cols-10, .ten {
        width: calc(100%/4);
    }
}

@media (min-width:936px) {
    .fieldview, .field-uploader {
        position: relative;
        margin-right: 5px;
        margin-bottom: 5px;
    }

    .sixty {
        width: 60%;
    }

    .cols-2, .fifty {
        width: calc(100%/2);
    }

    .fourty {
        width:calc(100%/2.5);
    }

    .cols-3, .thirty-three {
        width: calc(100%/3);
    }

    .cols-4, .twenty-five {
        width: calc(100%/4);
    }

    .cols-5, .twenty {
        width: calc(100%/5);
    }

    .cols-6 {
        width: calc(100%/6);
    }

    .cols-7 {
        width: calc(100%/7);
    }

    .cols-8 {
        width: calc(100%/8);
    }

    .cols-9 {
        width: calc(100%/9);
    }

    .cols-10, .ten {
        width: calc(100%/10)
    }
}
*/
/*--------------------------------------------------
misc
--------------------------------------------------*/

#BInfo {
    font-size: .6em;
}

    #BInfo .material-symbols-rounded {
        font-size: 1.5em;
    }

.pin-right {
    position: absolute;
    right: 5px;
}

p.summary-update-msg {
    padding: 3px 3px 5px 30px;
    color: white;
    background-color: var(--global-blue);
    border-radius: 8px;
    min-height: 32px;
}

    p.summary-update-msg .icon {
        left: 3px;
    }

.htmlbox.important {
    border: 2px solid var(--global-red);
    background: rgba(118,35,47,.25);
    color: black;
    border-radius: 5px;
    font-size: .8em;
    padding: 0 8px 8px 8px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.menu-header {
    background: var(--theme-block-background);
}

.tile {
    border-width: 2px;
}
/* field view */

.fieldview {
    display: inline-flex;
    flex-direction: column;
    margin: 3px;
    width: fit-content;
    font: inherit;
    position:relative;
}

/* list view */

.list-wrapper {
    gap: 1px;
    font: inherit;
    overflow-y: hidden;
    overflow-x: visible;
    padding-left: 2px;
    padding-right: 2px;
}

.listitem {
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    white-space: preserve-breaks;
    position:relative;
}

.listview.flex > .list-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.listitem:not(.rw).text.image, .formview.ro.image {
    padding-left: var(--iconwidth);
}

.listitem:not(.text).image {
    align-content:center;
}

.lozenge.image:not(.text) > .icon {
    position:absolute;
    top:0;
    left: calc(50% - calc(var(--iconwidth) / 2));
}

.small {
    font-size: .8em;
}

.foot-note {
    font-size: .7rem;
    border-top: 1px solid var(--theme-body-text);
    text-wrap:wrap;
}

.foot-note:has(.icon) {
    padding-left:20px;
}

    .foot-note .material-symbols-rounded {
        font-size: 1rem;
    }

*.hidden, .listview.hidden {
    display: none;
}

.badge {
    background-color:var(--theme-block-background);
    color:var(--theme-block-title-text);
    border-radius:5px;
    padding-left:3px;
    padding-right:3px;
    position:absolute;
    right:5px;
    top:7px;
    font-size:.8em;
}
.menu-header > .badge {
    color: var(--theme-block-background);
    background-color: var(--theme-block-title-text);
    top:4px;
}
