@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400');


:root {
    --primary-color: #2563eb; /* Blue-600 */
    --primary-color-green: #16a34a; /* Green-600 */
    --secondary-color: #f59e0b; /* Amber-500 */
    --background-color: #f9fafb; /* Light background */
    --text-color: #1f2937; /* Dark grey text */
    --header-color: #1d4ed8; /* Blue-700 */
    --selected-link-color: #2563eb;
    --button-hover-color: #1d4ed8;
    --hover-color: #e5e7eb;
    --hover-link-color: #374151;
    --active-color: #2563eb;
    --warning-color: #dc2626;
    --disabled-color: #9ca3af;
    --admin-text-color: #111827;
    --admin-background-color: #ffffff;
    --admin-accent-color: #4f46e5;
    --hover: rgba(0,0,0,.05);
    --radius: 14px;
    --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06);
    --transition: 180ms cubic-bezier(.2,.8,.2,1);
}


* {
    box-sizing: border-box;
    font-family: 'Quicksand';
    font-size: var(--font-size);
    color: var(--text-color);
}


html {
    height: 100%;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

body {
    margin: 0;
    height: 100%;
    background-color: var(--background-color);
    background: #1A73E8;
    fallback for old browsers background: -webkit-linear-gradient(to right, #155BC1, #1A73E8);
    Chrome 10-25, Safari 5.1-6 background: linear-gradient(to right, #155BC1, #1A73E8);
    W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+
}

#main {
    max-width: 85%;
}

a {
    color: var(--admin-text-color);
    text-decoration: none;
}

    a:hover {
        color: var(--hover-link-color);
    }

nav a {
    color: var(--admin-accent-color);
}

custom-action {
    cursor: pointer;
}

post-action, button, .button, load-on-click, .add-top-level {
    cursor: pointer;
    background-color: var(--button-color);
    border: none;
    color: var(--text-color);
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    caret-color: transparent;
    margin: auto;
    border: 1px solid grey;
}

#actions button, #forgot-password {
    box-shadow: none !important;
}

#actions button {
    color: var(--text-color);
}

post-action {
}

    post-action:hover, button:hover, .button:hover {
        background-color: var(--button-hover-color);
        color: white;
    }

    post-action:focus, button:focus, .button:focus {
        background-color: var(--button-color);
        color: var(--text-color);
    }

    post-action.inline {
        position: relative;
    }

delete-action,
download-image-action {
    cursor: pointer;
}

    delete-action:hover {
        text-decoration: underline;
    }

    delete-action:focus {
        text-decoration: underline;
    }

simple-form {
    display: grid;
    width: 500px;
}

    simple-form > input,
    simple-form > select {
        width: 250px;
        margin: 20px;
        margin-top: 5px;
    }


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    font-size: 15px;
    color: white;
    height: 75px;
    /*background-color: var(--primary-color);*/
    /*border-radius: 10px;*/
    margin: 10px;
}

#actions {
    padding-right: 40px;
    position: absolute;
    right: 10px;
    color: var(--text-color);
    top: 10px;
    display: flex;
}

#extra-actions {
    display: flex;
    align-items: center;
}

    #extra-actions > * {
        caret-color: transparent;
        margin-right: 10px;
    }

#actions > * {
    caret-color: transparent;
    margin: 0px;
    padding: 0px;
}

header > h1 {
    padding-left: 40px;
    padding-right: 5px;
}

header > img {
    height: 80px;
}

nav {
    min-height: calc(100vh - 112px);
    padding: 20px;
    margin-bottom: 50px;
}

    nav ul {
        list-style-type: none;
        padding: 0;
    }

article {
    min-height: calc(100vh - 112px);
    border-left: 1px solid rgba(0, 0, 0, 0.15);
}

section {
}

    section::after {
        content: "";
        display: table;
        clear: both;
    }

footer {
    position: fixed;
    bottom: 0;
    width: 100vw;
    background-color: #333;
    padding: 9px;
    text-align: center;
    color: white !important;
}

@media (max-width: 600px) {
    nav, article {
        width: 100%;
        height: auto;
    }
}

.shortcut-focus {
}

    .shortcut-focus::after {
        content: attr(title);
        position: absolute;
        background-color: var(--text-color);
        left: 30px;
        color: white;
        font-size: 10px;
        z-index: 1;
    }


loading-reports,
loading-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    color: white;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

#loader-inner {
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 1px solid grey;
}

    #loader-inner > .content {
        padding: 20px;
        min-width: 300px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #loader-inner .close-button {
        padding: 10px;
        align-self: end;
    }

.close-button {
    font-size: 20px;
    color: #3498db;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 25px;
    top: 10px;
    caret-color: transparent;
    z-index: 100;
}


.loader-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #3498db;
    border-top-color: transparent;
    animation: loader-rotate 1s linear infinite;
}

.loader-text {
    margin-top: 10px;
    font-size: 20px;
    color: #3498db;
    font-weight: bold;
}

@keyframes loader-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hide {
    display: none;
}

.show {
    pointer-events: all;
    opacity: 1;
    display: flex;
}

data-scope {
    min-width: 800px;
    display: grid;
    grid-template-columns: 300px 1fr 0.5fr;
}

    data-scope > h1,
    data-scope > h2 {
        grid-column: span 3;
    }

    data-scope > *,
    show-on-value > * {
        margin: 7px;
    }

    data-scope textarea,
    data-scope input {
    }

input, select, textarea, label {
    font-size: 1rem;
    margin: 0.25rem;
    min-width: 125px;
    padding: 0.5rem;
    transition: border-color 0.5s ease-out;
    border: none;
    margin: 15px 0px;
    border-bottom: 1px solid var(--primary-color);
    padding: 7px 9px;
    width: 100%;
    overflow: hidden;
    background: transparent;
    font-size: 14px;
    border-radius: 0px;
}

.checkbox-selector-input {
    width: initial;
}

label {
    border: none;
}

input:focus, select:focus, select:focus-visible {
    border: none;
    border-bottom: 1px solid var(--primary-color);
}

input:required.dirty:invalid {
    border-color: red;
    outline: 0;
}

input:required:valid {
    border-color: var(--primary-color);
}



label.required::after,
select.required::after {
    content: "*";
    color: red;
}

phone-input {
    padding: 0px;
    margin: 0px;
}

image-list {
    display: flex;
}

image-block {
    position: relative;
}

    image-block img {
        position: relative;
    }

    image-block > button-container {
        right: 0;
        position: absolute;
    }

    image-block delete-action,
    image-block download-image-action {
        color: red;
        margin: 5px;
    }


        image-block delete-action:hover {
            text-decoration: none;
        }

.column-span-3 {
    grid-column: 1 / span 3;
}

.checkbox-selector-label {
}

.checkbox-selector-input {
    justify-self: left;
    min-width: 30px;
    grid-column: 2 / span 2;
}

error {
    display: block;
}



    error::after {
        content: attr(data-error-message);
        color: #ff3800;
        font-size: 1.4em;
    }

table {
    grid-column: 1 / span 3;
    border-collapse: collapse;
    margin: 25px 0;
    min-width: 800px;
    max-width: 80vw;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    caret-color: transparent;
}

    table input {
        caret-color: initial;
    }

    table textarea {
        caret-color: initial;
        width: 100%;
        resize: none;
        overflow: hidden;
    }

    table .delete-link, table .edit-link {
        text-align: center;
    }

    table thead {
    }

        table thead tr {
            background-color: var(--active-color);
            color: var(--text-color);
            text-align: left;
        }

    table th,
    table td {
        padding: 12px 15px;
        font-weight: normal;
    }

        table th > i {
            padding-right: 3px;
        }

    table tbody tr {
        border-bottom: 1px solid #dddddd;
    }

        table tbody tr:nth-of-type(even) {
            background-color: #f3f3f3;
        }

    table thead
    table tbody tr:last-of-type {
        border-bottom: 2px solid var(--active-color);
    }

    table tbody tr.active-row {
        font-weight: bold;
        color: var(--active-color);
    }


    table .action:hover {
        text-decoration: none;
        color: var(--button-hover-color);
    }

    table .action {
        color: var(--button-color);
    }

    table tr:hover {
        background-color: var(--hover-color) !important;
    }

.paging {
    position: relative;
    display: grid;
    grid-template: "description pages pagesize";
    grid-template-columns: 250px auto 250px;
    align-items: center;
}

    .paging > description {
        grid-area: description;
        display: block;
        color: lightslategrey;
        font-size: 13px;
    }

    .paging > pages {
        grid-area: pages;
        text-align: center;
    }

        .paging > pages > a {
            padding: 5px;
        }

    .paging > pagesize {
        grid-area: pagesize;
        display: block;
        color: lightslategrey;
        width: 100px;
        justify-self: right;
        margin-right: 30px;
    }


    .paging .active-page {
        text-decoration: underline;
    }

popup {
    transition-duration: 200ms;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    width: 50%;
    height: 80%;
    padding: 20px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background-color: var(--background-color);
    border: 1px solid var(--primary-color);
}

    popup.show {
        visibility: visible;
        opacity: 100;
    }

    popup img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }


    popup close-popup {
        top: 0;
        right: 0;
        position: absolute;
        margin: 20px;
        cursor: pointer;
    }


    popup loading-screen {
        display: flex;
        margin: auto;
    }

.qr-box > * {
    display: block;
    align-self: center;
}

.qr-box {
    width: 128px;
    height: 128px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .qr-box > .logo-overlay {
        width: 20px;
        background: var(--background-color);
        margin-right: -50%;
    }


.hidden {
    display: none;
}

#menu li {
    padding: 3px;
}


#menu {
    margin: 0px;
}

    #menu > li > a {
        font-size: 16px;
    }

        #menu > li > a[aria-current="page"] {
            font-weight: bold;
        }

#profile-link {
    width: 100%;
    min-width: 150px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: start;
    height: 150px;
}

    #profile-link > a {
        font-weight: bold;
        grid-area: name;
        padding-top: 15px;
        font-size: 20px;
    }

    #profile-link > img {
        grid-area: image;
        cursor: pointer;
        height: 48px;
    }

    #profile-link > div {
        padding-left: 20px;
        grid-area: type;
        color: var(--admin-text-color);
        font-size: 0.75em;
    }

.selected-link {
    color: var(--selected-link-color);
}

#logout, .prepend-to-actions {
    background-color: transparent !important;
    padding: 0px;
}

#toggle-menu {
    background-color: transparent;
    padding-right: 10px;
}

    /*    #logout:hover, #toggle-menu:hover, .prepend-to-actions:hover {
        color: var(--active-color) !important;
    }*/

    #logout > i, #toggle-menu > i, .prepend-to-actions i {
        font-size: 2em;
        line-height: 50px;
        text-align: center;
    }



toast {
    display: none;
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
}

    toast h1{
        color: white;
    }

    toast.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

    toast > p {
        display: block;
    }

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

.show-full-value {
    cursor: pointer;
}

/* Dialog */

dialog {
    border: 2px;
    box-shadow: 0px 9px 15px -11px rgba(88,54,114,1);
    overflow: hidden;
    padding: 20px;
}

#worker-dialog > data-scope {
    margin: 20px;
    margin-bottom: 0px;
    overflow: auto;
    max-height: 60vh;
}

#ethicEcho-dialog-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

#ethicEcho-dialog-box {
    background-color: #fff;
    max-width: 60%;
    max-height: 60%;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    min-width: 640px;
}

#ethicEcho-dialog-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

    #ethicEcho-dialog-header h2 {
        margin: 0;
    }

#ethicEcho-dialog-content {
    margin-bottom: 10px;
    overflow-y: auto;
    max-height: 30vh;
}

#ethicEcho-dialog-footer {
    display: flex;
    justify-content: flex-end;
}

#ethicEcho-ok-button {
    background-color: #ccc;
    color: #fff;
    border: none;
    cursor: pointer;
}

    #ethicEcho-ok-button:hover {
        background-color: #aaa;
    }

/* Dialog */

/* Code highlighting */
.nex-header {
    display: block;
    font-weight: bold;
}

.nex-path {
    color: #2aa198;
}

.nex-line {
    color: #2aa198;
}

    .nex-line:after {
        content: "\A\A";
        white-space: pre; /* or pre-wrap */
    }

.nex-function {
    color: #268bd2;
}
/* Code highlighting */

.center-text {
    text-align: center;
}

/* Confirm dialog*/

#confirm-dialog {
    text-align: center;
    background-color: var(--background-color);
    border: 1px solid var(--primary-color);
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    min-width: 300px;
}

#confirm-message {
    font-size: 16px;
    margin-bottom: 20px;
}

#confirm-ok {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    margin-right: 10px;
}

    #confirm-ok:active {
        border: none;
    }

#confirm-cancel {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 20px;
}

/* Confirm dialog*/

#create-forgot-password {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

report-filter {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
}

    report-filter button {
        padding: 5px;
    }


#admin-section {
    min-height: 100%;
    display: flex;
    color: var(--admin-text-color);
    background-color: var(--admin-background-color);
    overflow-x: scroll;
}

#no-server-connection {
    display: none;
    color: red;
    position: absolute;
    background: var(--background-color);
    border: 1px solid var(--primary-color);
    padding: 10px;
    left: calc(50% + 100px);
    text-align: center;
    vertical-align: middle;
    animation: glow 1s infinite alternate;
}

    #no-server-connection > i {
        font-size: 28px;
        padding-right: 10px;
    }

.show-server-connection-error {
    display: flex !important;
    align-items: center;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px -10px #aef4af;
    }

    to {
        box-shadow: 0 0 10px 10px #aef4af;
    }
}

show-on-value {
    display: none;
    grid-column: span 3;
    margin: 0px;
}

    show-on-value.show {
        display: grid;
        grid-template-columns: 200px 1fr 1fr;
    }

.load-on-click {
    display: none;
}

.filter-list {
    opacity: 0;
    cursor: pointer;
}

#property-head:hover .filter-list {
    opacity: 0.5;
}

.reset-filters {
    display: block;
}

#UpdatePassword {
    grid-template-columns: auto;
    justify-content: start;
}

    #UpdatePassword input, #UpdatePassword button {
        margin-left: 20px;
    }

    #UpdatePassword label {
        margin: 0px;
    }

    #UpdatePassword post-action {
        width: 300px;
        align-self: end;
    }

textarea:focus, input:focus {
    outline: none;
}

.table-list th {
    position: relative;
}

.resizer {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    cursor: col-resize;
    user-select: none;
}

#login-screen {
    display: none;
    height: 600px;
    width: 1024px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--background-color);
    box-shadow: 1px 4px 22px -8px #0004;
    overflow: hidden;
}

    #login-screen .content > * {
        margin: 10px;
        padding: 5px;
    }

    #login-screen #login {
        background-color: blue;
        padding: 15px;
        padding-inline: 25px;
    }

.show-login {
    display: flex !important;
}

.left-content {
    width: 42%;
    height: 100%;
    padding: 25px 25px;
}

.content {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    height: 100%;
    width: 73%;
    margin: auto;
    flex-direction: column;
    /*    margin-top: 70px;*/
}

    .content input {
        border: none;
        margin: 15px 0px;
        border-bottom: 1px solid var(--primary-color);
        padding: 7px 9px;
        width: 100%;
        overflow: hidden;
        background: transparent;
        color: var(--primary-color);
        font-size: 14px;
        border-radius: 0px;
    }

#login {
    border: none;
    padding: 15px 70px;
    display: block;
    margin: auto;
    margin-top: 20px;
    color: #fff;
    font-weight: bold;
    -webkit-box-shadow: 0px 9px 15px -11px rgba(88,54,114,1);
    -moz-box-shadow: 0px 9px 15px -11px rgba(88,54,114,1);
    box-shadow: 0px 9px 15px -11px rgba(88,54,114,1);
}

#forgot-password {
    border: none;
    background: none;
    color: var(--text-color);
    text-decoration: underline;
    opacity: .8;
    margin: 0px;
    margin-top: 20px;
}

#login {
    margin: 0px;
}

.right-content {
    width: 59%;
    height: 100%;
    color: #fff;
    position: relative;
    background-image: url(https://ethicecho.rotempco.com/hs-images/1080/1920/zelina.avif);
    background-size: cover;
    background-position-y: -200px;
}

.right-content {
}

.right-text {
    height: 100%;
    position: relative;
    transform: translate(0%, 27%);
}

    .right-text h5, .right-text h2 {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 19px;
        font-weight: 400;
    }

    .right-text h2 {
        font-size: 50px;
    }

.edit-tab {
    height: 50px;
    cursor: pointer;
    caret-color: transparent;
}

    .edit-tab > a {
        padding: 10px;
    }

    .edit-tab > .active {
        border-bottom: 1px solid var(--primary-color);
    }

.draggable {
    top: 50%;
    left: 50%;
    position: absolute;
    z-index: 9;
    background-color: var(--background-color);
    border: 1px solid #d3d3d3;
    text-align: center;
    overflow: hidden;
}

.draggable-header {
    margin: 0px;
    padding: 10px;
    cursor: move;
    z-index: 10;
    background-color: #2196F3;
    color: #fff;
    cursor: move;
}

.time-control {
    display: flex;
}

    .time-control > * {
        margin: 10px;
    }

img {
    caret-color: transparent;
}

header > h1 {
    color: transparent;
}

@media (max-width: 800px) {
    header > h1 {
        color: white;
    }

    #login-screen {
        width: auto;
        position: initial;
        top: 0px;
        left: 0px;
        transform: none;
    }

    .left-content {
        width: 100%;
    }

    .right-content {
        display: none;
    }
}

.hide-admin-section {
    display: none !important;
}

@keyframes loadingFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes loadingFadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

#login-screen, #admin-section {
    animation: 1s ease-out 0s 1 loadingFadeIn;
}

.fadeOut {
    animation: 1s ease-out 0s 1 loadingFadeOut !important;
}

header {
    animation: 1s ease-out 0s 1 slideInFromLeft;
}

@media (max-width: 800px) {
    #admin-section {
        /*overflow: scroll;*/
    }

    #main {
        /*margin-top: 30px;*/
    }
}

.rotate {
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.filter-data {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

    .filter-data > input[type=text] {
        border-bottom: 1px solid var(--primary-color);
    }

    .filter-data > #filter-filler, .filter-data > #filter-expression-to {
        margin-left: 10px;
    }

.no-bullet {
    list-style-type: none;
}

#date-selector {
    display: flex;
    width: 800px;
}

    #date-selector > div {
    }

        #date-selector > div > label {
            text-align: right;
        }

tabs {
    margin: 20px;
    display: block;
    padding: 20px;
    border-bottom: 1px solid var(--primary-color);
    caret-color: transparent;
}

tab-link, .tab-link {
    cursor: pointer;
    padding: 20px;
    border: 1px solid var(--primary-color);
    border-bottom: unset;
    caret-color: transparent;
}


.selected-tab-link {
    border-bottom: 1px solid white;
}

tab-element {
    display: none;
}

.selected-tab {
    display: initial;
}

model-viewer {
    width: 600px;
    height: 600px;
    display: block;
}

h2 db {
    font-size: inherit;
}

#main-component > a {
    padding: 10px;
}

#file-export-progress {
    width: 100%;
    height: 30px;
}

#download-exported-file {
    margin-top: 20px;
    text-align: center;
}

.export-all-button,
.export-query-button {
    display: inline;
    cursor: pointer;
    margin-right: 10px;
}

    .export-all-button:hover,
    .export-query-button:hover {
        color: var(--button-hover-color);
    }

query-filters {
    display: block;
    padding: 10px;
    display: flex;
    align-items: center;
}

filter {
    border: 1px solid grey;
    background-color: lightyellow;
    margin-right: 20px;
    padding: 5px;
    cursor: pointer;
}

    filter remove {
        color: grey;
        font-size: 12px;
        text-align: start;
        margin-left: 10px;
    }

query-filters description {
    margin-right: 10px;
}

/* DB Range Slider */

.db-scale {
    padding: 0px;
    display: flex;
    justify-content: space-between;
    margin-bottom: -15px;
}

    .db-scale > li {
        font-size: 0.6em;
        list-style: none;
    }

.range-container {
    display: flex;
    flex-direction: column;
}

    .range-container.hide {
        display: none;
    }

.sliders-control {
    position: relative;
    min-height: 50px;
}

.form-control {
    position: relative;
    display: flex;
    justify-content: space-between;
    font-size: 24px;
    color: #635a5a;
}

.db-control {
    display: flex;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: 20px;
    height: 50px;
    background-color: var(--primary-color);
    cursor: pointer;
}

input[type=range]::-moz-range-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: 20px;
    height: 50px;
    background-color: var(--primary-color);
    box-shadow: 0 0 0 1px #C6C6C6;
    cursor: pointer;
}

input[type=range]::-webkit-slider-thumb:hover {
    background: var(--primary-color);
}

input[type=range]::-webkit-slider-thumb:active {
    box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
    -webkit-box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
}

input[type="number"] {
    color: #8a8383;
    font-size: 20px;
    border: none;
}

size input[type="number"] {
    color: #564f4f;
}

input [type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
    opacity: 1;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 50px;
    width: 100%;
    position: absolute;
    background-color: #C6C6C6;
    pointer-events: none;
    padding: 0px;
}


.simple-slider {
}

#fromSliderDay,
#fromSliderNight {
    z-index: 1;
    background-color: transparent;
}

    #fromSliderDay::-webkit-slider-thumb,
    #fromSliderNight::-webkit-slider-thumb {
        background-color: #F9A825;
    }

#toSliderDay::-webkit-slider-thumb,
#toSliderNight::-webkit-slider-thumb {
    background-color: #C62828;
}

#fromInput, #toInput {
    width: 70px;
    background-color: transparent;
}

/* DB Range Slider */

.disabled {
    background-color: dimgrey;
}

    .disabled:hover {
        background-color: dimgrey;
        cursor: default;
    }

#progress-bar {
    accent-color: var(--button-color);
}

#keep-open {
    min-width: 32px;
    width: 24px;
    height: 24px;
}

#dont-show-again {
    width: 32px;
    height: 32px;
}

center {
    display: flex;
    flex-direction: column;
}


#floor-creator header {
}

    #floor-creator header > h1 {
        color: var(--text-color) !important;
    }

.ear-tab {
    width: 100%;
}

.puk-ear.selected-tab-link,
.puk-overview .selected-tab-link {
    border-bottom: 1px solid #edebe9;
}

#overview-type {
    border: none;
    display: flex;
}

.small-dialog {
    max-width: 800px;
}

.monaco {
    width: 60vw;
    height: 400px;
    padding-top: 50px;
}

#edit-HSMasterPage,
#edit-HSPage {
    grid-template-columns: 100px 1fr 0.5fr;
}

.htmlwwrapper {
    margin-bottom: 75px;
    max-width: 1000px;
}

.clickable-row {
    cursor: pointer;
}

table tr:hover {
    background-color: var(--hover-color) !important;
}

#menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    line-height: 1.2;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

    #menu a.menu-link {
        background: transparent;
    }

    #menu a:hover {
        background: var(--hover);
        transform: scale(0.95);
    }

input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    color: var(--primary-color); /* changes foreground (sometimes ignored) */
    border-radius: 4px;
    cursor: pointer;
    filter: invert(40%) sepia(100%) saturate(300%) hue-rotate(200deg);
    /* filter trick recolors the icon */
}


#Tags {
    width: 100%;
    min-height: 20px;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}

.tags-display {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 6px;
    border-radius: 8px;
    cursor: text;
    min-height: 20px;
}

    .tags-display .tag {
        background: #3b82f6;
        color: white;
        padding: 4px 8px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 13px;
    }

        .tags-display .tag button {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            font-size: 3em;
            line-height: 1;
            padding: 0px;
            padding-left: 15px;
        }


select:focus,
#page-size-selector:focus {
}
