:root {
    --color-blue: rgb(46, 88, 165);
    --color-light-blue: rgb(59, 115, 204);
    --color-yellow: rgb(255, 191, 0);
    --color-white: rgb(255, 255, 255);
    --color-darkgray: rgb(83, 83, 83);
    --color-mandatory-field-marker: rgb(255, 162, 0);
    --color-light-red: rgb(203, 86, 86);
    --color-black: rgb(0, 0, 0);

    --border-radius: 0.25rem;
    --dialog-background-color: var(--color-blue);
    --dialog-border-width: 0.15rem;
    --dialog-border-color: var(--color-yellow);
    /*--label-font-weight ?*/


    --font-standard: "Arial", sans-serif;
    --font-headline: "Kameron regular", serif;
    --font-headline-bold: "Kameron bold", serif;

    --gap-small: 0.125rem;
    --gap: 0.25rem;
    --gap-big: 0.5rem;
}

*, *:before, *:after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-standard);
    font-size: 1.3rem;
    background: var(--color-blue);
    color: var(--color-white);
}


.colorBlack {
    color: var(--color-black);
}

.colorBlue {
    color: var(--color-blue)
}

.colorBackgroundBlue {
    background: var(--color-blue)
}

.colorBackgroundLightBlue {
    background: var(--color-light-blue)
}

.colorBackgroundLightRed {
    background: var(--color-light-red)
}

.colorBackgroundYellow {
    background: var(--color-yellow)
}

.font-size-big {
    font-size: 2.5rem;
}

.font-size-smaller {
    font-size: 1rem;
}

/*  */

.button {
    background: var(--color-light-blue);
    color: var(--color-white);
    border: 0;
    padding: 0.5rem;
    font-size: 1.3rem
}

.headline, .headline-bold {
    font-family: var(--font-headline);
    font-size: 1.5rem;
}

.headline-bold {
    font-family: var(--font-headline-bold);
}

.inputfield-label {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: bold;
}

.inputfield-input {
    color: var(--color-white);
    font-size: 1.5rem;
    background: var(--color-light-blue);
    padding: 0.3rem;
    width: 100%;
    border: 0;
}

.checkfield-checkbox {
    width: 1.4rem;
    height: 1.4rem;
}

.gap-small {
    gap: var(--gap-small)
}

.gap {
    gap: var(--gap)
}

.gap-big {
    gap: var(--gap-big)
}

/* spinner */

@keyframes spinner {
    0% {
        transform: translate3d(-50%, -50%, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(-50%, -50%, 0) rotate(360deg);
    }
}

.spinner::before {
    animation: 1.5s linear infinite spinner;
    animation-play-state: inherit;
    border: solid 6px var(--color-yellow);
    border-bottom-color: var(--color-white);
    border-radius: 50%;
    content: "";
    height: 2rem;
    width: 2rem;
    position: absolute;
    transform: translate3d(-50%, -50%, 0);
    will-change: transform;
    margin-left: 1rem;
}

/* modal dialog */

.modal-dialog {
    display: block; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    /*padding-top: 10vh; !* Location of the box *!*/
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.6); /* Black w/ opacity */
}

.modal-dialog-inner {
    border: var(--dialog-border-width) solid var(--dialog-border-color);
    border-radius: var(--border-radius);
    background-color: var(--dialog-background-color);
    color: var(--dialog-text-color);
    margin-left: auto;
    margin-right: auto;

    /*top: 5vh;*/
    z-index: 1000;
    margin-top: 1vh;
    width: 95vw;
    max-width: 95vw;
    min-width: 95vw;
}

.modal-dialog-title {
    background-color: var(--color-yellow);
    color: var(--color-blue);
    padding: var(--gap);
    border-bottom: var(--dialog-border-width) solid var(--dialog-border-color);
    font-weight: bold; /* var(--label-font-weight); */
    font-size: 1rem;
    align-items: center;
}

.modal-dialog-content {
    padding: var(--gap);
    overflow-y: auto;
    max-height: 90vh;
    font-size: 1.5rem;
}

/* flex etc. */

.flex-row, .flex-row-wrap {
    display: flex;
    flex-direction: row;
}

.flex-row-wrap {
    flex-wrap: wrap;
}

.flex-col, .flex-col-wrap {
    display: flex;
    flex-direction: column;
}

.flex-col-wrap {
    flex-wrap: wrap;
}

.flex-cell-stretch {
    flex: 1 1 0;
}

.flex-cell-initial {
    flex: 0 1 auto;
}

.flex-align-middle {
    align-items: center;
}

.flex-cell-align-middle {
    display: flex;
    align-items: center;
}

.flex-cell-align-right {
    display: flex;
    justify-content: right;
}

.flex-cell-align-left {
    display: flex;
    justify-content: left;
}

.flex-cell-align-center {
    display: flex;
    justify-content: center;
}

.flex-cell-align-right {
    display: flex;
    justify-content: right;
}

.text-left {
    text-align: start;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: end;
}

/* other */

.disabled {
    pointer-events: none;
    opacity: 0.4;
}

.cursor-hand {
    cursor: pointer;
}

.transform-lowercase {
    text-transform: lowercase;
}

.disable-selection {
    user-select: none;
    -webkit-user-select: none
}