
/* Placeholder colors that should be replaced by the consuming app */
:root {
    --color-fg: #111217;
    --color-bg: #D0D0D0;
    --color-main: #000000;
    --color-main-light: #D0D0D0;
    --color-main-lighter: #f2f2f2;
    --color-main-fg: #ffffff;
    --color-main-active: #dcdddd;
    --color-grey1: #757d82;
    --color-greyed-out: #797979;
    --color-grey3: #bababa;
    --color-grey4: #dcdddd;
    --color-grey4-opacity: #dcdddd50;
    --color-bg-less: #ffffff;
    --color-taskbar: var(--color-bg-less);
    --color-value-item: var(--color-greyed-out);
    --value-border-radius: .25em;
    --value-s-border-radius: .2em;
}

:focus {
    outline: .1vw solid var(--color-fg) !important;
}

.scale-up-ver-center {
    -webkit-animation: scale-up-ver-center 0.15s ease-out both;
    animation: scale-up-ver-center 0.15s ease-out both;
}

@-webkit-keyframes scale-up-ver-center {
    0% {
        -webkit-transform: scaleY(0.4);
        transform: scaleY(0.4);
    }

    100% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }
}

@keyframes scale-up-ver-center {
    0% {
        -webkit-transform: scaleY(0.4);
        transform: scaleY(0.4);
    }

    100% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
    }
}
.page-component-parent-class {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-component-class {
    width: 100%;
    min-height: 95%;
    max-height: 95%;
}

select, option {
    color: var(--color-fg);
}

.ellipsis-text {
    text-overflow: ellipsis;
    text-wrap: nowrap;
    line-clamp: 1;
    overflow: hidden;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background-color: var(--color-bg);
    color: var(--color-fg);
    font-weight: normal;
    height: 100%;
    width: 100%;
}

.body {
    padding: 0 0 0 1vw;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.fs08 {
    font-size: .8vw;
}

.fs1 {
    font-size: 1vw;
}

.fs125 {
    font-size: 1.25vw;
}

.fs15 {
    font-size: 1.5vw;
}

.fs2 {
    font-size: 2vw;
}

.fs25 {
    font-size: 2.5vw;
}

.fs3 {
    font-size: 3vw;
}

@media (min-aspect-ratio: 2.25/1) {
    .fs08 {
        font-size: .6vw;
    }

    .fs1 {
        font-size: .8vw;
    }

    .fs125 {
        font-size: .95vw;
    }

    .fs15 {
        font-size: 1.1vw;
    }

    .fs2 {
        font-size: 1.5vw;
    }

    .fs25 {
        font-size: 2vw;
    }

    .fs3 {
        font-size: 2.5vw;
    }
}

.svg-main-fg-color {
    fill: var(--color-main-fg);
}

.svg-black-color {
    fill: #000000;
}

.svg-dynamic-color {
    fill: var(--color-fg);
}

.svg-white-color {
    fill: var(--color-bg-less);
}

.svg-red-color {
    fill: red;
}

.svg-blue-color {
    fill: dodgerblue;
}

.svg-list {
    width: 65%;
}

.ul-class {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .ul-class > li {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: background ease .15s;
    }

        .ul-class > li:hover {
            background: var(--color-grey4);
        }

        .ul-class > li:first-of-type {
            border-top-left-radius: var(--value-s-border-radius);
            border-bottom-left-radius: var(--value-s-border-radius);
        }

        .ul-class > li:last-of-type {
            border-top-right-radius: var(--value-s-border-radius);
            border-bottom-right-radius: var(--value-s-border-radius);
        }

.h90 {
    height: 90%;
}

.h50 {
    height: 50%;
}

.w45 {
    width: 45%;
}

.w35 {
    width: 35%;
}

.w25 {
    width: 25%;
}

.h2vh {
    height: 2vh;
}

.absolute {
    position: absolute;
}

.svg-arrow {
    height: 2vh;
    margin-left: .25vw;
}

.leaflet-popup-content {
    text-align: center;
}

.arrow-icon {
    background: transparent;
    border: none;
}

.shadow-block {
    box-shadow: 0 0.5vw 1vh rgba(0, 0, 0, 0.15);
    border-radius: var(--value-s-border-radius);
    background-color: var(--color-bg-less);
}

table thead {
    position: sticky;
    top: 0;
    z-index: 100;
}

tr {
    display: flex;
    padding: 0;
}

    tr:has(td) {
        margin: .5vh 0;
    }

th {
    border-bottom: .2vh solid var(--color-grey3);
    background: var(--color-bg-less);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

td {
    border-radius: var(--number-border-radius);
}

th, td {
    flex: 0;
    flex-grow: 1;
}

tbody tr:hover {
    background-color: var(--color-grey4);
}

tr:hover input {
    background-color: var(--color-grey4);
}

tr {
    transition: background-color .15s ease-out;
}

table thead {
    position: sticky;
    top: 0;
    z-index: 100;
}

button:hover {
    color: var(--color-main);
    background-color: var(--color-grey3);
    cursor: pointer;
}

.export-button {
    height: 3vh;
    margin: .5vh .25vw;
    transition: .05s;
}

.square-button {
    height: 4vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-greyed-out);
    aspect-ratio: 1/1;
    border: .1vw solid var(--color-grey3);
    border-radius: var(--value-border-radius);
}

.button-class {
    color: var(--color-fg);
    background: var(--color-grey3);
    height: fit-content;
    border: none;
    border-radius: var(--value-border-radius);
    padding: 0 .5vw;
}

.span-button {
    display: inline;
    color: var(--color-fg);
    background-color: var(--color-bg-less);
}

.span-button:hover { 
    background-color: var(--color-bg-less);
}

.inverted-color-button {
    color: var(--color-bg-less);
    background-color: var(--color-fg);
    transition: .15s;
}

.inverted-color-button:hover {
    color: var(--color-bg);
    background-color: var(--color-fg);
}

.status {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--color-greyed-out);
}

.loader {
    height: 3vh;
    aspect-ratio: 1/1;
    border: .5vh solid var(--color-grey1);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.item-clicked-on-map {
    background-color: lightgreen;
}

.leaflet-attribution-flag {
    display: none !important;
}

.border-class {
    border: .25vw solid var(--color-grey3);
}

input, textarea, select {
    border: .1vw solid var(--color-grey3);
    border-radius: var(--value-border-radius);
    background: var(--color-bg);
    color: var(--color-fg);
}

input:focus, textarea:focus, select:focus {
    outline: .1vw solid var(--color-fg);
    box-shadow: none;
}

.hidden { 
    visibility: hidden;
}

