﻿body {
    margin: 0;
    min-height: 100vh;
}

.placeholder {
    flex-grow: 1;
}

.mdc-text-field--focused:not(.mdc-text-field--disabled, .mdc-text-field--invalid) .mdc-floating-label {
    color: var(--mdc-theme-primary);
}

.mdc-text-field.readonly {
    pointer-events: none;
}


a:hover {
    color: var(--mdc-theme-primary);
}

a:not(:hover) {
    color: var(--mdc-theme-text-primary-on-background);
}

.mdc-button:not(.default-button) {
    text-transform: none;
    height: 48px;
    min-width: 160px;
    border-radius: 0;
}

.mdc-button--outlined.warn {
    color: var(--mdc-theme-error);
    border-color: var(--mdc-theme-error);
}

.mdc-button--unelevated.warn {
    background-color: var(--mdc-theme-error);
}

.button-size-link {
    height: 48px;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-font {
    font-family: 'Material Icons';
}

.primary {
    color: var(--mdc-theme-primary);
}

:root {
    --mdc-outlined-button-outline-color: var(--mdc-theme-primary);
}

/*Region Default centered pages*/
.center-page {
    display: grid;
    justify-items: center;
    align-items: center;
    height: 100%;
    padding-left: 1em;
    padding-right: 1em;
}

.center-page .center-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.center-page .cp-headline {
    margin-top: 0;
    margin-bottom: 2em;
}

.center-page .cp-subheader {
    margin-top: 1em;
    margin-bottom: 0.75em
}

.center-page .cp-pre-form-paragraph {
    text-align: justify;
    margin: auto;
    margin-bottom: 4em;
    max-width: 30em;
}

.center-page .cp-form {
    display: flex;
    flex-direction: column;
    width: 20em;
    margin: auto;
}

.center-page .cp-delete-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}

.center-page .cp-form-large {
    display: flex;
    flex-direction: column;
    width: 30em;
    margin: auto;
}
/*endregion*/

.error-message {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 2em;
    margin: auto;
}

.error-icon {
    font-size: 1.1em;
    margin-right: 2em;
    margin-top: 0.1em;
}

.row {
    display: flex;
    flex-direction: row;
}

.placeholder {
    flex: 1 1 auto;
}

.empty-space {
    min-height: 1.2em;
}

.margin-auto {
    margin: auto;
}

.hover-for-info {
    text-decoration: underline dotted;
    cursor: help;
}

input[readonly] {
    pointer-events: none;
}

.radio-box {
    display: flex;
    padding: 0.25em;
    border: var(--mdc-theme-on-background) thin solid;
    border-radius: 0.3em;
    margin-bottom: 0.5em;
}

.radio-box-label {
    color: var(--mdc-theme-on-background);
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 1.5em;
}

    .radio-box-label *:first-child {
        margin-left: 0.2em;
        margin-right: 0.5em;
    }

@media print {
    .no-print {
        display: none !important;
    }
}
