@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400');

:root {
    --primary-color: #1A73E8; /* Vibrant Blue */
    --button-color: #1A73E8; /* Vibrant Blue */
    --button-hover-color: #155BC1; /* Darker Blue */
    --secondary-color: #AF52DE; /* Vibrant Purple */
    --background-color: #F7F7F7; /* Light Grey */
    --text-color: #333333; /* Dark Grey */
    --hover-color: #EDEDED; /* Hover Grey */
    --hover-link-color: #5E35B1; /* Dark Purple */
    --active-color: #D1C4E9; /* Light Purple */
    --font-family: 'Roboto', sans-serif; /* Modern Sans-Serif Font */
    --font-size: 16px; /* Increased Font Size for Readability */
    --header-color: #1A73E8; /* Vibrant Blue */
    --selected-link-color: #1A73E8; /* Vibrant Blue */
    --warning-color: #D32F2F; /* Warning Red */
    --disabled-color: #CDCDCD; /* Disabled Grey */
}

* {
    box-sizing: border-box;
    font-family: 'Quicksand';
    font-size: var(--font-size);
}


h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

body {
    margin: 0;
    background-color: white;
    /*background: linear-gradient(212.38deg, var(--button-hover-color) 0%, var(--button-color) 100%);*/

    height: 97vh;
    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: black;
    text-decoration: none;
}

    a:hover {
        color: var(--hover-link-color);
    }

.no-data {
    display: none;
}

custom-action {
    cursor: pointer;
}

post-action, button, .button, load-on-click {
    cursor: pointer;
    background-color: var(--button-color);
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    caret-color: transparent;
    /*display: block;*/
    margin: auto;
    /*margin-top: 120px;*/
    /*-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);
}

#actions button, #forgot-password {
    box-shadow: none !important;
}

#actions button {
    color: black;
}

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-hover-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: black;
    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: 100px;
    position:absolute;
    left: 50%;
    margin-top:20px;*/
    height: 80px;
}

nav {
    min-height: calc(100vh - 112px);
    background-color: white;
    padding: 20px;
    margin-bottom: 50px;
    /*box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;*/
}

    nav ul {
        list-style-type: none;
        padding: 0;
    }

article {
    padding: 20px;
    min-height: calc(100vh - 112px);
    background-color: white;
    /*box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;*/
    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;
}

@media (max-width: 600px) {
    nav, article {
        width: 100%;
        height: auto;
    }
}

.shortcut-focus {
}

    .shortcut-focus::after {
        content: attr(title);
        position: absolute;
        background-color: black;
        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: white;
    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);
    }
}

/*svg {
    width: 100px;
    height: 100px;
    margin: 20px;
    display: inline-block;
}
*/
.hide {
    display: none;
}

.show {
    pointer-events: all;
    opacity: 1;
    display: flex;
}

data-scope {
    min-width: 800px;
    display: grid;
    grid-template-columns: 300px 1fr 225px;
}

    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 {
    /*    border: 2px solid;
    border-radius: 4px;
*/
    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 #4f30677d;
    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 black;
}

input:required.dirty:invalid {
    border-color: red;
    outline: 0;
}

input:required:valid {
    border-color: black;
}



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: red;
        font-size: 12px;
    }

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;
        /*max-height: 100px;*/
    }

    table .delete-link, table .edit-link {
        text-align: center;
    }

    table thead {
    }

        table thead tr {
            background-color: var(--active-color);
            color: black;
            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 tr:hover {
        background-color: var(--hover-color) !important;
    }

    table .action:hover {
        text-decoration: none;
        color: var(--button-hover-color);
    }

    table .action {
        color: var(--button-color);
    }

.paging {
    text-align: center;
}

    .paging > a {
        padding: 5px;
    }

    .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: white;
    border: 1px solid black;
}

    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;
    }

/*+ :has(option[selected])*/
/*:has(option[value="1"])*/
#DimensionType:has(option:checked[value="1"]) ~ *[data-group="Height"],
#DimensionType:has(option:checked[value="1"]) ~ *[data-group="Width"] {
    display: none;
}


#MaterialPassportQRCodeUrl {
    width: 128px;
    margin-right: -55%;
}

.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: white;
        margin-right: -50%;
    }

#name-denominator > label {
    display: none;
}

.boldie {
    font-weight: bold;
}

#Xedit-NewWaste {
    display: block;
}

.hidden {
    display: none;
}

#menu li {
    padding: 3px;
}


#menu {
    margin: 0px;
}


#report-page {
    width: 70vw;
}

#profile-link {
    width: 100%;
    margin-bottom: 20px;
    display: grid;
    grid-template:
        "image name"
        "image type";
    justify-content: start;
}

    #profile-link > a {
        font-weight: bold;
        grid-area: name;
        padding-top: 10px;
    }

    #profile-link > img {
        grid-area: image;
    }

    #profile-link > a {
        padding-left: 10px;
    }

    #profile-link > div {
        padding-left: 20px;
        grid-area: type;
        color: dimgrey;
        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;
    }

#calculations-group {
    display: flex;
}

.calculation {
    display: grid;
}

.calculation-details {
    display: flex;
}

    .calculation-details > div {
        padding-left: 10px;
    }

#sum-wrapper,
#report-wrapper {
    width: 900px;
}

.no-client-found {
    border-color: red !important;
}

.process-area {
    max-width: 750px;
    border: 1px solid black;
    padding: 10px;
    margin: 20px;
}

    .process-area > h1 {
        background-color: blue;
        color: white;
        margin: -10px;
        padding: 10px;
    }

    .process-area > .question:first-of-type {
        margin-top: 30px;
    }

    .process-area > .question {
        padding-left: 30px;
        padding-right: 30px;
    }

        .process-area > .question > textarea {
            width: 100%;
        }


toast {
    display: none;
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
}

    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;
    }
}

#client-process-fillout {
    padding-bottom: 30px;
}

#processes {
    padding: 30px;
}

.process-area-color-yellow > h1 {
    background-color: yellow !important;
    color: black !important;
}

.process-area-color-blue > h1 {
    background-color: blue !important;
    color: white !important;
}

.process-area-color-green > h1 {
    background-color: green !important;
    color: white !important;
}

.process-area-color-orange > h1 {
    background-color: orange !important;
    color: black !important;
}

.process-area-color-purple > h1 {
    background-color: purple !important;
    color: white !important;
}

.recommendation {
    border: 1px solid black;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.lazy-load {
    display: none !important;
}

.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 {
    /*position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 300px;
    resize: both;
    */
    /*overflow: auto;*/
}

    #worker-dialog > data-scope {
        margin: 20px;
        margin-bottom: 0px;
        overflow: auto;
        max-height: 60vh;
    }

#hairyTails-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;
}

#hairyTails-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;
}

#hairyTails-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

    #hairyTails-dialog-header h2 {
        margin: 0;
    }

#hairyTails-close-button {
    background-color: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

#hairyTails-dialog-content {
    margin-bottom: 10px;
    overflow-y: scroll;
    max-height: 30vh;
}

#hairyTails-dialog-footer {
    display: flex;
    justify-content: flex-end;
}

#hairyTails-ok-button {
    background-color: #ccc;
    color: #fff;
    border: none;
    /*padding: 10px 20px;*/
    /*margin-left: 10px;*/
    cursor: pointer;
    /*text-align: right;*/
}

    #hairyTails-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: white;
    border: 1px solid black;
    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-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 {
    display: flex;
    margin: 10px;
    overflow: hidden;
    background-color: white;
}

#no-server-connection {
    display: none;
    color: red;
    position: absolute;
    background: white;
    border: 1px solid black;
    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;
    }


.fill-span-two {
    grid-column: span 2;
    margin: 0px;
}

.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;
}

.legend-color {
    width: 50px;
    height: 10px;
    display: inline-block;
    margin-right: 10px;
}

#collapse-legend {
    /*    cursor: pointer;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 10px;*/
}

#legend-list > li {
    font-size: 12px;
}

.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: white;
    box-shadow: 1px 4px 22px -8px #0004;
    overflow: hidden;
}

.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 #4f30677d;
        padding: 7px 9px;
        width: 100%;
        overflow: hidden;
        background: transparent;
        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: black;
    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(/Images/HairyTails.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.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 black;
    }

#legend-list {
    padding: 10px;
    text-align: left;
}

.draggable {
    top: 50%;
    left: 50%;
    position: absolute;
    z-index: 9;
    background-color: white;
    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 {
    /* This section calls the slideInFromLeft animation we defined above */
    animation: 1s ease-out 0s 1 slideInFromLeft;
}

#auto-complete-result {
    caret-color: transparent;
    max-height: 200px;
    width: 100%;
    overflow-y: auto;
    padding: 10px;
    margin-top: -12px;
    box-shadow: 0px 9px 15px -11px rgba(88,54,114,1);
    border: 1px solid black;
    position: absolute;
    background-color: white;
}

    #auto-complete-result > li {
        padding: 10px;
        cursor: pointer;
        list-style: none;
    }

        #auto-complete-result > li:hover {
            background-color: var(--primary-color);
        }

.autoCompleteFocus {
    color: white;
    background-color: var(--primary-color);
}


@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);
    }
}

#client-selector {
    position: relative;
}

#select-clients-button {
    position: absolute;
    top: 22px;
    right: 0px;
    font-size: 16px;
    font-weight: bold;
    caret-color: transparent;
}


#session-tooltip {
    margin: 5px;
    margin-left: 20px;
    position: absolute;
    padding: 10px;
    background-color: black;
    opacity: .85;
    color: white;
    border: 1px solid black;
}

#d3 {
    width: 1250px;
    height: 900px;
    border: 1px solid black;
}

    #d3 .bar-average {
        fill: #0cbb8b;
    }

    #d3 .bar-min {
        fill: #88b2d7;
    }

    #d3 .bar-max {
        fill: #075091;
    }

#room {
    position: relative;
    width: 300px;
    height: 200px;
    border: 2px solid #000;
}

.heatmap-point {
    caret-color: transparent;
    position: absolute;
    border-radius: 50%;
    width: 500px; /* Adjust as needed */
    height: 500px; /* Adjust as needed */
    opacity: 0.5;
    transition: all .5s linear;
}

#timeline {
    width: 300px;
    height: 50px;
    border: 1px solid black;
}

#timeline-position {
    height: 50px;
    width: 5px;
    background-color: black;
    position: relative;
}

#heatmap {
    border: 1px solid black;
}

#room-overview, #room-overview > img, #room-overview > overlay {
    width: 1000px;
    height: 500px;
}

    #room-overview > * {
        position: absolute;
    }

    #room-overview > overlay {
        background-color: green;
        opacity: .5;
    }

.filter-data {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

    .filter-data > input[type=text] {
        border-bottom: 1px solid black;
    }

    .filter-data > #filter-filler, .filter-data > #filter-expression-to {
        margin-left: 10px;
    }

.no-bullet {
    list-style-type: none;
}

#room-selector {
    display: grid;
    grid-template-columns: 100px 300px;
}

#heatmap-overview .room-average,
#heatmap-overview .room-ears {
    display: flex;
}

#heatmap-overview .room-name,
#heatmap-overview .ear-name {
    width: 200px;
}

#heatmap-overview .ear-name {
    padding-left: 20px;
    cursor: pointer;
}

#heatmap-overview .heatmap-elements,
#heatmap-overview .ear-element {
    display: flex;
}

#heatmap-overview .ear-elements {
    display: none;
}

#heatmap-overview .ear-elements-show {
    display: block !important;
}

#heatmap-overview .heatmap-elements > * {
    width: 25px;
    height: 25px;
    margin: 1px;
}

.TEAR_1 {
    background-color: #008000; /* Medium Dark Green */
}

.TEAR_2 {
    background-color: #1C8000;
}

.TEAR_3 {
    background-color: #388000;
}

.TEAR_4 {
    background-color: #548B00;
}

.TEAR_5 {
    background-color: #709600;
}

.TEAR_6 {
    background-color: #8CA100;
}

.TEAR_7 {
    background-color: #A8AD00;
}

.TEAR_8 {
    background-color: #C5BA00;
}

.TEAR_9 {
    background-color: #E26800;
}

.TEAR_10 {
    background-color: #FF0000; /* Pure Red */
}



#time-indicators {
    display: flex;
    margin-left: 200px;
}

    #time-indicators > div {
        width: 27px;
        text-align: center;
    }


#heatmap-overview #gradient-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 625px;
    margin-left: 200px;
}

    #heatmap-overview #gradient-legend > * {
        padding: 10px;
    }

#heatmap-overview #gradient {
    height: 10px;
    width: 100%;
    background: linear-gradient( to right, #008000, /* Medium Dark Green */
    #1C8000, #388000, #548B00, #709600, #8CA100, #A8AD00, #C5BA00, #E26800, #FF0000 /* Pure Red */
    );
}

#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 black;
    caret-color: transparent;
}

tab-link {
    cursor: pointer;
    padding: 20px;
    border: 1px solid black;
    border-bottom: unset;
    caret-color: transparent;
}


.selected-tab-link {
    border-bottom: 1px solid white;
}

tab-element {
    display: none;
}

.selected-tab {
    display: initial;
}

.room-name {
    cursor: pointer;
}

    .room-name:before {
        content: " + ";
    }

.room-name-open:before {
    content: " - ";
}

.room-name-open,
.heatmap-elements-open {
    filter: grayscale(1);
    opacity: 0.7;
}

.heatmap-elements > div {
    display: flex;
    align-items: flex-end;
}

.peak-block {
    width: 100%;
    opacity: .3;
    display: inline-block;
    position: relative;
    background-color: red;
}

.room-average {
    overflow: hidden;
}

#tab-heatmap-overview.selected-tab {
    display: flex;
}

#tab-heatmap-overview canvas {
    border: none;
}

#room-side-panel {
    transform: scale(.5);
    transform-origin: top left;
    padding-left: 50px;
}

.event-note {
    position: fixed;
    width: 24px;
    text-align: center;
    align-self: end;
    color: white;
    cursor: pointer;
    caret-color: transparent;
}

    .event-note i {
        opacity: .3;
        font-size: 12px;
    }

        .event-note i:hover {
            opacity: 1;
            font-size: 15px;
        }

open-modal-html {
    cursor: pointer;
    display: none;
    caret-color: transparent;
}

.open-modal-html-loaded {
    display: block;
}

open-modal-html:hover {
    transform: scale(1.1);
}

#tab-heatmap-overview open-modal-html {
    font-size: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.room {
    width: 910px;
}

.exposure-percentage, .exposure-percentage-description {
    font-size: .7em;
    text-align: center;
    vertical-align: middle;
    padding-left: 5px;
    padding-bottom: 3px;
}

.exposure-percentage-description {
    padding-top: 3px;
}


drop-zone {
    display: flex;
    background-color: cornflowerblue;
    color: white;
}


.done-sending {
    text-decoration: line-through;
    color: slategrey;
}


#photo-upload-page {
    display: flex;
}

#photo-list .table-list td:first-child {
    cursor: pointer;
}

.monaco {
    width: 900px;
    height: 400px;
}

.blog-entry {
}

    .blog-entry info {
        display: grid;
        grid-template-columns: 150px auto;
        grid-gap: 5px;
        padding: 10px;
        border: 1px solid transparent;
        cursor: pointer;
    }

    .blog-entry p {
        border: 1px solid transparent;
        cursor: pointer;
    }

        .blog-entry info:hover,
        .blog-entry p:hover {
            border: 1px dashed black;
        }


    .blog-entry info highlight {
        font-weight: bold;
        padding-right: 10px;
    }

.add-paragraph,
.add-highlight {
    cursor: pointer;
}

.add-paragraph,
.add-highlight {
    font-size: 12px;
    cursor: pointer;
    background-color: var(--button-color);
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    caret-color: transparent;
    /*display: block;*/
    margin: auto;
    /*margin-top: 120px;*/
    /*-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);
    display: block;
    margin: 10px;
}

    .add-paragraph:hover,
    .add-highlight:hover {
        background-color: var(--button-hover-color);
        color: white;
    }

#terms-wrapper {
    display: flex;
}

    #terms-wrapper > input {
        height: 32px;
        width: 32px;
    }

#BlogEntry-list > a {
    margin-right: 10px;
}