﻿:root {
    --ringerdb-rot: rgb(208,7,18);
    --ringerdb-blau: rgb(0,100,180);
    --ringerdb-blau-heller: rgb(0,120,180);
    --ringerdb-gelb: rgb(255,206,0);
    --ringerdb-schwarz: rgb(0,0,0);
}


h1:focus-visible, h2:focus-visible, h3:focus-visible, h4:focus-visible, h5:focus-visible, h6:focus-visible {
    outline: none;
}

.notranslate {
    translate: no;
}

.nav-link-hover.active,
.nav-link-hover:hover {
    cursor: pointer;
    color: var(--mud-palette-primary);
    background-color: var(--mud-palette-action-default-hover);
}

/*ValidationSummary*/
.validation-errors {
    color: var(--mud-palette-error) !important;
}


/*Fix MudBlazor Problem, dass am Ende der table der border-bottom fehlt*/
.mud-simple-table.mud-table-bordered .mud-table-container table tbody tr:last-child {
    border-bottom: 1px solid var(--mud-palette-table-lines) !important;
}

.mud-simple-table .mud-table-container table thead th {
    font-weight: bold;
}

.mud-simple-table table tbody tr:last-child td {
    border-bottom: 1px solid var(--mud-palette-table-lines);
}

.mud-simple-table table tbody tr:last-child td {
    border-bottom: 1px solid var(--mud-palette-table-lines) !important;
}

dl {
    border: 3px double #ccc;
    margin: 12px;
    padding: 0.5em;
}

dt {
    font-weight: bold;
    color: var(--mud-palette-primary);
}

    dt::after {
        content: ":";
    }

dd {
    margin: 0 0 0 0px;
    padding: 0 0 0.5em 0;
}

.mud-input-control.mud-input-required > .mud-input-control-input-container > .mud-input-label::after {
    content: "*";
    color: red;
}

.mud-picker.mud-input-required > .mud-input-control > .mud-input-control-input-container > .mud-input-label::after {
    content: "*";
    color: red;
}

#blazor-error-ui {
    color: rgb(242, 33, 18);
    background-color: #f8d7da;
    min-height: 200px;
    position: initial;
    left: initial;
    bottom: initial;
    position: fixed;
    top: 35%;
}

#blazor-error-ui-content {
    min-height: 200px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 35%;
    width: 100%;
}

    #blazor-error-ui-content .reload {
        color: inherit;
        text-decoration: underline;
        margin-left: 10px;
    }

    #blazor-error-ui-content .dismiss {
        color: inherit;
        cursor: pointer;
        position: initial;
        right: initial;
        top: initial;
        margin-left: 10px;
    }

#app .mud-wasm {
    animation: slide 3s ease-in-out infinite alternate;
    background-image: linear-gradient(-60deg,#353a4e 50%,var(--ligen-rot) 50%);
    bottom: 0;
    left: -50%;
    opacity: .5;
    position: fixed;
    right: -50%;
    top: 0;
    z-index: -1
}

#app .mud-wasm-cont {
    height: 100%;
    width: 100%;
    left: 50%;
    padding: 10vmin;
    position: fixed;
    text-align: center;
    top: 50%;
    transform: translate(-50%,-50%)
}

@media screen {
    .onlyPrint {
        display: none;
    }
}

@media only screen and (min-width: 960px) {
    #app .mud-wasm-cont {
        padding: 30vmin;
    }
}

@media print {
    .no-print {
        display: none !important;
    }

    .mud-drawer-open-mini-md-left .mud-main-content {
        margin-left: 0;
    }
}
