﻿#main-wrapper {
    position: relative;
    overflow: hidden;
}

#floating-snap-btn-wrapper {
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
}

.fab-btn {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 1000;
}

.zeitraum {
    background-color: var(--mud-palette-success) !important;
    color: white !important;
}

.einsatz {
    color: #2962ff !important;
    font-weight: bold !important;
}

/* 
    TODO:
    Fix für horizontale Scrollbar in der Kalender-Toolbar. Sollte nach Version 3.0 gefixt sein 
    https://github.com/danheron/Heron.MudCalendar/pull/232
*/
.mud-calendar .mud-cal-toolbar {
    display: flex;
    justify-content: space-between;
    column-gap: 4px;
    overflow-x: auto !important;
}

.text-ellipsis-100 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.text-ellipsis-30 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 30%;
}

/* 
    Damit leere Texte, obwohl sie leer sind, eine Höhe haben.
    Speziell für das BottomNavMenu, damit die Icons bei navigation nicht springen.
*/
.keep-height:empty::before {
    content: "";
    display: inline-block;
}
