:root {
    --gelb: #FFD705;
    --forced-gelb: #FFD705;
    --blau: #004775;
    --forced-blau: #004775;

    --hellblau: #469cf4;
    --forced-hellblau: #469cf4;

    --white: #ffff;
    --forced-white: #ffff;

    --light-white: rgba(255, 255, 255, 0.9);

    --white-80: rgba(255, 255, 255, 0.8);
    --forced-white-80: rgba(255, 255, 255, 0.8);

    --white-60: rgba(255, 255, 255, 0.6);
    --forced-white-60: rgba(255, 255, 255, 0.6);

    --white-40: rgba(255, 255, 255, 0.4);
    --forced-white-40: rgba(255, 255, 255, 0.4);

    --white-20: rgba(255, 255, 255, 0.08);
    --forced-white-20: rgba(255, 255, 255, 0.08);

    --white-10: rgba(255, 255, 255, 0.04);
    --forced-white-10: rgba(255, 255, 255, 0.04);

    --black: rgba(0, 0, 0, 1);


    --dark-bg: rgba(28, 18, 8, 0.65);

    --dark-lighter-bg: rgb(64, 64, 64);

    --very-dark-bg: rgba(20, 14, 8, 0.8);


    --circle-border: #45422D;

    --1st-level-bg: rgba(0, 0, 0, 0.2);
    --2st-level-bg: rgba(0, 0, 0, 0.3);

    --pre-layer-bg: rgba(20, 14, 8, 0.7);

    --dialog-bg: rgba(20, 14, 8, 0.7);

    --dialog-grabber: rgba(255, 250, 242, 0.4);

    --navi-background: rgba(20, 14, 8, 0.8);

    --avatar-color: rgba(8, 18, 28, 0.85);

    --chat-auswahl-color: rgba(60, 56, 52, .9);
}



.color-gelb {
    color: var(--gelb)
}

.color-forced-gelb {
    color: var(--forced-gelb) !important;
}

.color-pink {
    color: var(--bs-pink);
}

.color-gruen {
    color: var(--bs-green);
}

.color-blau {
    color: var(--blau)
}

.color-forced-blau {
    color: var(--forced-blau)
}

[data-theme="dark"] .color-fallback-hellblau {
    color: var(--hellblau)
}

.color-hellblau {
    color: var(--hellblau)
}

.color-hellblau-text {
    color: var(--hellblau)
}

[data-theme="dark"] .color-fallback-danger {
    color: var(--bs-danger);
}


/* 
.color-forced-gelb{
    color:var(--gelb)
}

.color-forced-blau{
    color:var(--blau)
}
.color-forced-hellblau{
    color:var(--hellblau)
} */

.box-shadow {
    box-shadow: 0px 8px 16px rgba(20, 10, 0, 0.25);
}

.pulse {
    transform-origin: 50% 50% !important;
    animation: pulse 0.35s alternate ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1, 1);
    }

    50% {
        transform: scale(1.5, 1.5);
    }

    100% {
        transform: scale(1, 1);
    }
}

.pulse-mini {
    animation: pulse 0.35s alternate ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1, 1);
    }

    50% {
        transform: scale(1.05, 1.05);
    }

    100% {
        transform: scale(1, 1);
    }
}

.pulse-mini-loop {
    transform-origin: 50% 50% !important;
    animation: pulse 0.85s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1, 1);
    }

    50% {
        transform: scale(1.05, 1.05);
    }

    100% {
        transform: scale(1, 1);
    }
}

* {
    box-sizing: border-box;
}


body {
    background: var(--dark-bg);
    color: var(--light-white);
    font-family: Rubik;
    font-weight: 300;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 100vh;
    min-height: 100dvh;
    /* transform: translateZ(0);
    will-change: transform;
    contain: layout paint; */
}

.static-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(_img/static_bg_overlay_kl.png);
    background-size: cover;
    z-index: -3;
    opacity: .3;
    pointer-events: none;
    /* animation: blendStaticBgIn .6s .2s ease-in alternate; */

    user-select: none;
    /* Standard */
    -webkit-user-select: none;
    /* Für Safari/Chrome */
    -ms-user-select: none;
    /* Für ältere Versionen von Edge */
    -moz-user-select: none;
    /* Für Firefox */
    touch-action: manipulation;
    /* Verhindert Standard-Gesten wie Doppeltippen */
}

@keyframes blendStaticBgIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: .25;
    }
}

.body-wrapper {
    margin-top: 72px;
    /* min-height: calc(100vh - 72px - 100px); */
}

.container-xxl {
    margin: 0 auto;
    padding: 0;
    max-width: 1800px;
    min-height: calc(100vh - 130px);
}

#content-frame {
    opacity: 1;
    transition: opacity .25s ease-in-out;
    /* -webkit-transform: translate3d(0, 0, 0);
    transform: translateZ(0); */
}

.mini-menu-margin-left {
    padding-left: 0;
}


.mini-menu-margin-right {
    padding-right: 0;
}

@media only screen and (max-width: 850px) {

    .mini-menu-margin-left {
        padding: 0;
    }

    .mini-menu-margin-right {
        padding: 0;
    }
}

/* Fixiert die Siedabar in der Desktopansicht */
@media only screen and (min-width : 992px) {

    #sidebar-fixed {
        position: fixed;
        right: 10px;
        left: initial;
        overflow: auto;
        height: calc(100vh - 72px);
        scrollbar-width: none;
        transform: translateZ(0);
        /* Aktiviert die GPU-Beschleunigung */
        will-change: transform;
        /* Hint für den Browser zur Optimierung */
        transform: translateZ(0);
        contain: layout paint;
        /* Hilft dem Browser bei der Render-Optimierung */
    }

    #sidebar-fixed::-webkit-scrollbar {
        display: none;
    }
}

@media only screen and (min-width : 1800px) {

    #sidebar-fixed {
        position: fixed;
        right: initial;
        left: calc((50vw - 1800px) + 2235px);
    }
}

.goto {
    cursor: pointer;
}

h1 {
    color: var(--gelb);
    /*background: linear-gradient(
to right,
#FFD705,
#004775
);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;*/
}

em {
    font-weight: 300;
}

/** Modal Frame Steuerung */
.einblenden {
    opacity: 1 !important;
    transition: opacity .3s linear;
}

.ausblenden {
    opacity: 0 !important;
    transition: opacity .3s linear;
}

.push-modal-up {
    transform: translate(0, calc(10svh + 100px)) !important;
    transition: transform .2s linear;
}

.card-bg {
    background: var(--1st-level-bg);
    backdrop-filter: blur(0.45rem);
    -webkit-backdrop-filter: blur(0.45rem);
    border-radius: 36px;
}

.bg-dark {
    background: var(--1st-level-bg);
    backdrop-filter: blur(0.45rem);
    -webkit-backdrop-filter: blur(0.45rem);
}

.bg-darker {
    background: var(--2st-level-bg);
    backdrop-filter: blur(0.45rem);
    -webkit-backdrop-filter: blur(0.45rem);
}

@media (max-width: 1080px) {
    .still-stand-nav {
        position: fixed;
        z-index: 100;
        top: 16px;
        left: 10px;
    }
}

.rnd {
    border-radius: 32px;
}

.rnd .rnd {
    border-radius: calc(32px - 6px);
}

.rnd-2nd {
    border-radius: calc(32px - 6px);
}

.rnd-50 {
    border-radius: 64px;
}

.rnd-btn {
    display: inline-block;
    width: 48px;
    height: 48px;
    width: 64px;
    height: 64px;
    /*
line-height: 48px;
line-height: 64px;*/

    font-size: 32px;

    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    /* background: var(--dark-lighter-bg); */
    /* backdrop-filter: blur(0.45rem); */
    /* -webkit-backdrop-filter: blur(0.45rem); */
    border-radius: 36px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 6px 6px 0;

}

[data-theme="dark"] .rnd-btn {
    background: rgba(56, 38, 28, 0.3);

}

.rnd-btn:last-child {
    margin-right: 0;

}

.rnd-outline-btn {
    display: inline-block;
    float: right;
    border: 1.5px rgba(255, 255, 255, 0.4) solid;
    color: rgba(255, 255, 255, 0.4);
    border-radius: 36px;
    margin: -14px -14px 0 0;
    font-weight: 400;
    height: 52px;
    width: 52px;
    line-height: 48px;
    text-align: center;
}

.rnd-btn:hover,
.rnd-outline-btn:hover,
.hover:hover {
    cursor: pointer;
}

.rnd-outline-btn:hover {
    rgba(255, 255, 255, 0.8) solid;
    color: rgba(255, 255, 255, 0.8);
}

.rnd-btn svg {
    margin: 0;
    line-height: initial;
}

#side-nav-wrapper #side-nav {
    padding: 0;
    margin: 0 10px 16px 11px;
    /* transform: translate(10px, 0); */

    @media (max-width: 1080px) {}

    #side-nav-wrapper #side-nav {
        padding: 0;
        margin: 0 10px 26px 10px;
        transform: translate(0, 0);
    }

}

#side-nav div {
    display: inline-block;
    border-radius: 28px;
    border: 1.5px var(--light-white) solid;
    padding: 10px 18px;
    margin: 0 4px 8px 0;
    font-size: 22px;
    transition: color, border-color .25s ease-in-out;
}

[data-theme="dark"] #side-nav div {
    background: rgba(56, 38, 28, 0.3);
    border: rgba(56, 38, 28, 0.3);
    color: #fff;
    font-weight: 300;
}

#side-nav div:last-child {
    margin-right: 33vw;
}

#side-nav div:hover {
    border-color: var(--gelb);
    color: var(--gelb);
    cursor: pointer;
}

[data-theme="dark"] #side-nav div:hover {
    background: rgba(56, 38, 28, 0.5);
    color: var(--blau);
    cursor: pointer;
}

#side-nav div span {
    position: relative;
    display: inline-block;
    text-align: center;
    height: 20px;
    width: 20px;
    border-radius: 36px;
    top: -3px;

    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    background: var(--gelb);
    color: var(--dark-bg);
}

[data-theme="dark"] #side-nav div span {
    color: rgba(56, 38, 28, 0.5);
    background: var(--blau);
}

.pc-sidebar a.pc-link {
    color: var(--forced-gelb) !important;
}




/* 
 * ####################################################################
 * 
 * Bottom Bar 2 - Untere Navigationsleiste
 * 
 * ####################################################################
 */

.js-chat-badge-num {
    transition: all .25s ease-in-out;
}

.nav-badge {
    position: absolute;
    z-index: 1;
    margin-left: 28px;
    margin-top: -4px;
    border-radius: 20px;
    background: var(--forced-gelb);
    color: #373735;
    width: 18px;
    height: 18px;
    font-size: 10px;
    line-height: 19px;
    font-weight: 500;
    text-align: center;
    transition: all .25s ease-in-out;
}

.side-badge {
    margin-left: 8px;
    margin-top: 7px;
    background: none;
    color: var(--forced-gelb);
    font-size: 0.8em;
    width: auto;
}

#b-bar {
    position: fixed !important;
    z-index: 1000;
    width: 100vw;

    top: 0;
    left: 0;

    background: var(--very-dark-bg);
    backdrop-filter: blur(0.45rem);
    -webkit-backdrop-filter: blur(0.45rem);

    /* border-top-left-radius: 24px;
    border-top-right-radius: 24px; */
    /* padding: 5px 20px 8px; */
    padding: 3px 10px 10px;

    transition: transform .2s ease;
}

#b-bar.mit-refresh {
    padding: 3px 0px 10px 6px;
}



#b-bar .b-bar-spacer {
    display: inline-block;
    height: auto;
    width: 24px;
}

#b-bar .b-bar-btn {
    display: inline-block;
    width: 48px;
    height: 48px;
    text-align: center;
    padding-top: 8px;
    margin-right: 10px;
}

#b-bar .b-bar-btn-last {
    margin-right: 0;
    float: right;
}

#b-bar .b-bar-btn svg {
    text-align: center;
    display: block;
    width: 48px;
    height: 24px;
    margin: 0 0 1px 0;
    padding: 0;

    stroke: var(--forced-white-80);
    stroke-width: 1.5px;
    opacity: .7;
}


#b-bar .b-bar-btn svg.full-fill {


    stroke: var(--forced-white-80);
    fill: var(--forced-white-80);
}

#b-bar .b-bar-btn small {
    text-align: center;
    display: block;
    font-size: 10px;
    width: 48px;
    height: 10px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
}

/* Mit refresh button */
#b-bar.mit-refresh .b-bar-btn svg,
#b-bar.mit-refresh .b-bar-btn small {
    width: 40px;
}

#b-bar.mit-refresh .b-bar-btn.refresh svg {
    width: 40px;
    stroke: var(--forced-gelb);
}

[data-theme="dark"] #b-bar,
[data-theme="dark"] #right-navigation.pc-sidebar,
[data-theme="dark"] #left-navigation.pc-sidebar {

    background: rgba(46, 38, 28, 0.7);

    background: #00173be3;

}

[data-theme="dark"] #left-navigation .navbar-wrapper,
[data-theme="dark"] #right-navigation .navbar-wrapper {

    background: #00173b6b;

}


[data-theme="dark"] #b-bar .b-bar-btn svg {

    stroke: var(--black);
}

[data-theme="dark"] #b-bar .b-bar-btn svg.full-fill {

    stroke: var(--black);
    fill: var(--black);
}

[data-theme="dark"] #b-bar .b-bar-btn small {
    color: var(--dark-bg);
}

#b-bar .b-bar-btn:hover {

    cursor: pointer;
}

#b-bar span {
    margin: 6px;
    border-radius: 30px;

}

@media (max-width: 799px) {
    #topbar {
        display: none;
    }

    #side-nav-wrapper {
        margin-top: -20px !important;
    }
}

@media (min-width: 1000px) {
    #b-bar {
        display: none !important;
    }
}

#b-bar .m-footer {
    display: none;
}

.topbar-avatar::before {
    content: '';
    position: absolute;
    display: inline-block;
    height: 32px !important;
    width: 32px !important;
    border-radius: 50%;
    background-color: #09e7f2;
    z-index: -1;
}

/* 
 * ####################################################################
 * 
 * MARK: Navi
 * 
 * ####################################################################
 */

#desk-tab-nav {
    position: fixed;
    top: 10px;
    bottom: auto;
    left: 0%;
    right: 0%;
    z-index: 1000;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    width: max-content;
}

#desk-tab-nav .desk-tab-nav-wrapper {

    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 36px;
    margin: 0 3px;
    background: var(--very-dark-bg);
}

#desk-tab-nav .nav-point {
    display: inline-block;
    margin: 6px 0;
    padding: 8px 14px;
    border-radius: 36px;
    font-weight: 400;
    color: var(--forced-white-80);
    transition: background 0.2s ease-in-out;
}

#desk-tab-nav .nav-point:first-child {
    margin-left: 6px;
}

#desk-tab-nav .nav-point:last-child {
    margin-right: 6px;
}

#desk-tab-nav .nav-point:hover {
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

#desk-tab-nav .nav-point-no-hover:hover {
    background: none;
    cursor: pointer;
}

.nav-counter-chats,
.nav-counter-news,
.nav-counter-fortbildungen {
    color: var(--forced-gelb);
    font-size: 0.8em !important;
    font-weight: 500;
    display: inline-block;
}

#desk-tab-nav .nav-point-svg {
    padding: 6px;
}

#desk-tab-nav .nav-point-svg svg {
    height: 28px;
    width: 28px;
}

#desk-tab-nav .nav-point-logo {
    height: 40px;
    width: 56px;
    padding: 0 8px;
    display: block;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    margin: 6px;
    text-align: center;
}

#desk-tab-nav .nav-point-logo img {
    max-height: 28px;
    width: auto;
    padding: 0;
    margin: 6px 0 0;
    transition: all 0.15s ease-in-out;
}

#desk-tab-nav .desk-tab-nav-wrapper-logo:hover .nav-point-logo {
    background: rgba(255, 255, 255, 0.9);
}

#desk-tab-nav .desk-tab-nav-wrapper-logo:hover .nav-point-logo img {
    max-height: 26px;
}

@media screen and (max-width: 1000px) {
    #desk-tab-nav {
        display: none;
    }
}



/* Waving Hand 👋 */
/* <div class='wavin'>👋</div>😊 */
.wavin {
    animation: wavin 3.5s linear 1s infinite backwards;
    transform-origin: 75% 75%;
    height: 20px;
    width: 20px;
    display: inline-block;
}

@keyframes wavin {


    0% {
        transform: rotate(0deg);
    }

    3% {
        transform: rotate(-40deg);
    }

    9% {
        transform: rotate(20deg);
    }

    12% {
        transform: rotate(0deg);
    }

    15% {
        transform: rotate(-40deg);
    }

    21% {
        transform: rotate(20deg);
    }

    24% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* 
 * ####################################################################
 * 
 * Zoombarer image container
 * 
 * ####################################################################
 */

.imageZoomContainer {
    width: max-content;
    height: max-content;
    max-width: 100%;
    max-height: 1000px;
    position: relative;
    overflow: visible;
    scrollbar-width: none;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    background: #2b2b2c;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    touch-action: pan-y;
}


.imageZoomContainer>img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    /* cursor: default; */
    touch-action: auto;
    touch-action: pan-y;
    transition: transform 0.03s ease-out;
    /*transform-origin:center center;*/
    will-change: transform;
}

@media only screen and (max-width : 992px) {

    .imageZoomContainer>img {
        max-width: calc(100% + 29px);
        margin-left: 6px;

    }
}

/* 
 * ####################################################################
 * 
 * Bootstrap Table Overwrite
 * 
 * ####################################################################
 */

.card,
table {
    border: none;
    background: none;
}

table td,
table th {
    color: var(--white-80);
    padding: .7rem .5rem !important;
    border-color: var(--white-40);
}

table td:first-child,
table th:first-child {
    padding-left: 0 !important;
}

table td:last-child,
table th:last-child {
    padding-right: 0 !important;
}

#content-frame {
    a {
        text-decoration: none;
        color: var(--gelb);
    }
}


/* 
 * ####################################################################
 * 
 * LOGFILER
 * 
 * ####################################################################
 */
.logfile-trigger {
    position: fixed;
    z-index: 10001;
    width: 30px;
    top: 49%;
    right: 0px;
    padding: 4px;
    text-align: center;
    border-radius: 63px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.1);
    color: lightsalmon;
}

.logfile-trigger i {
    border: 1.5px lightsalmon solid;
    border-radius: 6px;
    padding: 3px 3px 4px;
}

.logfile {
    position: fixed;
    display: none;
    z-index: 10000;
    width: calc(100% - 55px);
    top: 15px;
    left: 40px;
    right: 30px;
    max-height: calc(100vh - 30px);
    overflow: auto;
    opacity: 1;
    border: 1.5px #CEAB2F solid;
    border-radius: 20px;
    background: rgba(0, 0, 10, 0.95);
    padding: 20px;
    color: pink !important;
}

del {
    text-decoration: none;
    color: red;
    font-weight: bold;
}

ins {
    text-decoration: none;
    color: green;
    font-weight: bold;
}

s {
    text-decoration: none;
    color: yellow;
    font-weight: bold;
}

strike {
    text-decoration: none;
    color: blue;
    font-weight: bold;
}

sig {
    text-decoration: none;
    color: orange;
}

pre {
    margin-bottom: -11px !important;
}

/** ====================================================================== */

.alert,
.alert-danger {
    border-radius: 6px;
}

.avatar-wrapper {
    /* background: #09e7f2; */
    border-radius: 200px;
    width: max-content;
    margin: auto;
}

/* 
 * ####################################################################
 * 
 *  Profilbild Circle Style 
 */
.avatar-size-wrapper-pre {
    position: relative;
    display: inline-block;
    margin: auto;
    text-align: left;
    border-radius: 50%;
}

.avatar-size-background-pre[data-rgb="0"] {
    display: none;
}

.avatar-size-background-pre[data-rgb="1"] {
    position: absolute;
    display: inline-block;
    /* margin: 1px 0 0 1px; */
    margin: 0;
    border-radius: 50%;
    background-color: #09e7f2;
    /* box-shadow: 0px 0px 1px #09e7f2; */
    z-index: -1;
}

.avatar-size-content-pre {
    border-radius: 50%;
    color: var(--avatar-color);
    letter-spacing: 1px;
    font-weight: 400;
}

.avatar-size-content-pre span {
    display: inline-block;
    text-transform: uppercase;
    text-align: center;
}

/* ? Ausnahmen*/
@media (max-width:990px) {
    .ausnahme-chats-topbar {
        transform: scale(.76) !important;
        margin: -26px 0 0 -12px !important;
        position: absolute !important;
    }
}

/* * #################################################################### */

/* 
 * ####################################################################
 * 
 * MARK: Startseite
 * 
 * ####################################################################
 */

.container-startboxen {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* Abstand zwischen den Boxen */
    width: 100%;
    padding: 10px;
    margin-bottom: 0px !important;
    margin-top: -10px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1800px;
}

.start-boxen-wrapper {
    flex: calc(25% - 10px);
    /* Vier Boxen nebeneinander */
    box-sizing: border-box;
    /* min-width: 200px; */
    margin-bottom: 0px !important;
}

.start-boxen-header {
    padding: 12px;
    font-size: 1.2em;
    font-weight: 500;
    width: 100%;
}

.start-boxen {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    box-sizing: border-box;
    /* Sicherstellen, dass Padding und Border in der Breite/Höhe enthalten sind */

}

.start-boxen-sonstige {

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 calc(50% - 10px);
    aspect-ratio: 1 / 1;
    text-align: center;
    position: relative;
    margin: 0 !important;

    box-sizing: border-box;
    /* padding: 10px; */
}



@media (max-width: 576px) {
    .start-boxen-wrapper {
        flex: calc(50% - 10px);
        /* Eine Box pro Zeile */
    }
}

@media (min-width: 990px) {
    .start-boxen-wrapper .mess-box i.ti {
        font-size: 2em !important;
    }

    .start-boxen-wrapper .mess-box .start-beschreibung {
        font-size: 12px !important;
    }
}

@media (min-width: 1200px) {
    .start-boxen-wrapper .mess-box i.ti {
        font-size: 2em !important;
    }

    .start-boxen-wrapper .mess-box .start-beschreibung {
        font-size: 16px !important;
    }

    .start-boxen-wrapper .mess-box:hover i.ti,
    .start-boxen-wrapper .mess-box:hover .start-beschreibung {
        color: var(--gelb) !important;
    }
}

@media only screen and (min-width: 600px) and (max-width: 800px) {
    .header-8px {
        font-size: 8px !important;
    }
}

.start-beschreibung {
    text-align: center;
    font-size: 9px;
    font-weight: 300;
}

.start-badge-wrapper {
    position: absolute;
    width: 100%;
    height: 18px;
    right: 9px;
    bottom: 9px;
    text-align: right;
}

.start-badge {
    margin: 0;
    right: 0;
}

.start-badge-support {
    left: 20px;
    background: var(--white-20);
    color: var(--white-80);
}

@media (min-width: 990px) {
    .nav-badge {
        width: 24px;
        height: 24px;
        font-size: 14px;
        line-height: 24px;
        transform: translate(-4px, -8px);
    }

    .start-badge-support {
        transform: translate(2px, -8px);
    }
}

.hinweis-box-ration {
    aspect-ratio: 4/1;
}

@media (min-width: 768px) {
    .hinweis-box-ration {
        aspect-ratio: 8/1;
    }
}

@media (min-width: 1400px) {
    .hinweis-box-ration {
        aspect-ratio: 14/1;
    }
}

/* 
 * ####################################################################
 * 
 * MARK: iphone SE Fix
 * 
 * ####################################################################
 */
@media only screen and (max-height: 667px) and (max-width: 375px) {
    .login-box-title {
        font-weight: 400;
        margin-bottom: -70px !important;
        position: relative !important;
    }

    .login-box-avatar div {
        margin-bottom: -20px !important;
    }

    #login-anmeldung {
        margin-top: -20px;
    }

    .a-login {
        margin: -5px auto 0px !important;
    }

    #footer-copyright {
        font-size: 10px;
        color: var(--very-dark-bg) !important;
    }
}

/* 
 * ####################################################################
 * 
 * MARK: Kontakte
 * 
 * ####################################################################
 */

.new-btn {
    font-size: 23px;
    font-weight: 300;
    color: var(--gelb);
}

#kontakte-auswahl-opener {
    backdrop-filter: blur(16px);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 36px;
    position: fixed;
    margin: 0 0 0 -38px;
    z-index: 100;
    width: max-content;
    padding: 16px;
    padding-left: 36px;
    transform: translateX(-300px);
    transition: transform 0.4s ease-in-out;
}

@media only screen and (min-width: 991px) {
    #kontakte-auswahl-opener {
        display: none;
    }
}

.mess-box.rnd:last-of-type {
    margin-bottom: 0px;
}

.btn-mini-outline,
.btn-mini-outline:active,
.btn-mini-outline:focus,
.btn-mini-outline:target {
    display: inline-block;
    border: 1.5px var(--white-60) solid;
    border-radius: 50px;
    color: var(--white-60);
    padding: 7px 10px;
    font-size: .65em;
    max-width: max-content;
    margin: 0 8px 12px 0;
    font-weight: 400;
    transition: all 0.2s ease-in-out;
}

.btn-mini-outline.aktiv {
    border: 1.5px var(--gelb) solid;
    color: var(--gelb);
    cursor: pointer;
}

[data-theme="dark"] .btn-mini-outline.aktiv {
    border: 1.5px var(--hellblau) solid;
    color: var(--black);
    cursor: pointer;
    background: var(--hellblau);
}

@media (min-width: 990px) {
    .btn-mini-outline:hover {
        border: 1.5px var(--gelb) solid;
        color: var(--gelb);
        cursor: pointer;
    }
}


@media only screen and (min-width : 576px) and (max-width : 992px) {

    #kontakte_auswahl-panel,
    #kontakte-detail-wrapper {
        margin: 0 0 0 calc((100% - 600px) / 2 - 13px + 26px) !important;
        /* 26px margin-left ausgleichen*/
        width: 574px !important;
    }

}

.kontakte-btn {
    display: inline-block;
    border: 1.5px var(--gelb) solid;
    color: var(--gelb);
    padding: 6px 20px;
    max-width: max-content;
    margin: 25px auto 10px;
    font-weight: 400;
}


@media only screen and (max-width : 990px) {

    .kontakte-btn {
        border: none;
        color: var(--white-80);
        padding: 14px 14px;
        max-width: inherit;
        width: 67px !important;
        font-size: .65em;
        font-weight: 300;
        margin: 25px 4px 10px;
        background-color: rgba(0, 0, 0, 0.5);
    }


    [data-theme="dark"] .kontakte-btn {
        color: var(--forced-hellblau);
        background-color: rgba(255, 255, 255, 0.9);
    }

    .kontakte-btn i {
        display: block;
        font-size: 1.5em;
        margin-bottom: 6px;
    }
}

/* 
 * ####################################################################
 * 
 * MARK: Nutzer
 * 
 * ####################################################################
 */

.new-btn {
    font-size: 23px;
    font-weight: 300;
    color: var(--gelb);
}

.fail-badge {
    display: block;
    width: max-content;
    padding: 0 6px;
    margin: 4px 0;
    border-radius: 12px;
    color: #150500;
    font-size: 13px;
    font-weight: 400;
}

#Nutzer_speichern:focus span.sp-text {
    color: transparent
}

#Nutzer_speichern span.sp-ring {
    opacity: 0;
    width: 24px;
    height: 24px;
    border: 5px solid var(--white-80);
    border-radius: 100%;
}

#Nutzer_speichern:focus span.sp-loader {
    display: inline-block;
    border-top: 2px solid transparent;
    animation: load-animate infinite linear 1s;
}

#Nutzer_speichern span.sp-loader {
    opacity: 0;
}

#Nutzer_speichern:focus span.sp-loader {
    opacity: 1;
    position: absolute;
    width: 24px;
    height: 24px;
    border-top: 2px solid transparent;
    animation: load-animate infinite linear 1s;
    margin-left: 28px;
}

@keyframes load-animate {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
        opacity: .35;
    }

    100% {
        transform: rotate(360deg);
    }
}

.profilbild-setzten,
.profilbild-loeschen {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    text-align: center;
    line-height: 50px;
    font-size: 22px;
    background: var(--bs-red);
    z-index: 1;
    cursor: pointer;
    opacity: .8;
}

.profilbild-setzten {
    right: 0;
    left: initial;
    top: 140px;
    background: #6e6e6e;
}

:root {
    --pro-size: 201px;
    --pro-background-size: calc(var(--pro-size) * 12);
    --pro-font-size: calc((var(--pro-size) / 10) * 5.8);
}

.color-container,
.profile.b64 {
    width: var(--pro-size);
    height: var(--pro-size);
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.show-konflikte {
    font-size: calc(0.8rem + .9vw);
}

.show-konflikte-mobile {
    font-size: 1.15em;
}

.show-konflikte-desktop {
    position: absolute;
    right: 20px;
    display: inline-block;
    padding: 2px 12px;
    border-radius: 50px;
    border: 1.5px var(--white-80) solid;
    cursor: pointer;
    font-size: 1em;
    margin-top: -2px;
}

.konflikt_counter {
    font-size: 1em;
    font-weight: 400;
    color: var(--white-80);
}

/* @media only screen and (max-height: 667px) {
    .show-konflikte-desktop {
        display: none;
    }
}

@media only screen and (min-width: 667px) {
    .show-konflikte-mobile {
        display: none;
    }
} */

.show-berechtigungen {
    display: none;
    position: absolute;
    height: auto;
    width: 200px;
    max-width: 300px;
    margin-left: -75px;
    z-index: 1;
    background: var(--navi-background);
    color: var(--forced-white-80);
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
    font-size: .8em;
    backdrop-filter: blur(0.15rem) !important;
    -webkit-backdrop-filter: blur(0.15rem) !important;
    /* <-- ergänzt */
}

.show-berechtigungen-close {
    text-align: right;
    cursor: pointer;
    font-size: 1.5em;
    position: absolute;
    right: 0;
    top: -4px;
}

.berechtigungs-trenner {
    width: 108%;
    margin: 6px -4% 0;
    padding-bottom: 6px;
    border-top: 1.5px var(--white-20) solid;
}


/* @media only screen and (max-height: 667px) and (max-width: 375px) {
 
} */

.pre hr {
    margin: 1rem 0;
}

#session-window {
    display: none;
    position: absolute;
    top: 73px;
    right: 11px;
    bottom: 10px;
    width: max-content;
    z-index: 1;
    border-radius: 12px;
    background: rgba(20, 10, 5, 0.9);
    padding: 0 0 0 10px;
    overflow: auto;
    max-width: 97%;
}

#session-window pre {
    max-height: none !important;
}

/* 
 * ####################################################################
 * 
 * MARK: AdminRecht
 * Nutzer berechtigungen
 * 
 * ####################################################################
 */

.show-recht-users {
    display: inline-block;
    margin: auto;
    width: max-content;
    padding: 1px 5px;
    border: 1.5px var(--white-60) solid;
    border-radius: 6px;
    font-size: 1.15em;
}

.show-r-nutzer-wrapper {
    position: relative;
}

.show-r-nutzer {
    position: absolute;
    margin: 20px 0 0 0;
    z-index: 1000000000;
    background: transparent;
}

.show-r-nutzer {
    position: relative;
}

.show-r-nutzer table {
    width: max-content;
}

.show-r-nutzer table td {
    padding: 2px !important;
}

/* * MARK: Toggle */
.toggle-frame {
    margin: -1px 0 0 -8px;
}

.visible-toggle-label {
    position: absolute;
    padding: 1px 0 0 12px;
    width: max-content;
    max-width: 100%;
    height: 20px;
    cursor: pointer;
    color: var(--forced-white-40);
}

#opu-switch:checked~label.visible-toggle-label {
    color: var(--forced-white-80);
}

.opu-switch {
    display: inline-block;
    width: 40px;
    height: 20px;
    padding: 4px;
    border-radius: 20px;
    background: var(--white-20);
    vertical-align: middle;
    position: relative;
    cursor: pointer;
    transition: background 350ms ease;
    box-sizing: content-box;
    user-select: none;
    /* Standard */
    -webkit-user-select: none;
    /* Für Safari/Chrome */
    -ms-user-select: none;
    /* Für ältere Versionen von Edge */
    -moz-user-select: none;
    /* Für Firefox */
    touch-action: manipulation;
    /* Verhindert Standard-Gesten wie Doppeltippen */
}

.opu-switch:before,
.opu-switch:after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transition: all 350ms cubic-bezier(0, 0.95, 0.38, 0.98), background 150ms ease;
}

.opu-switch:before {
    background: rgba(255, 255, 255, 0.075);
    transform: translate3d(0, -50%, 0) scale(0);
}

.opu-switch:after {
    background: var(--white-80);
    transform: translate3d(0, -50%, 0);
}

.opu-switch:active:before {
    transform: translate3d(0, -50%, 0) scale(3);
}

input:checked+.opu-switch {
    background: var(--white-40);
}

input:checked+.opu-switch:before {
    background: rgba(255, 215, 5, 0.075);
    transform: translate3d(100%, -50%, 0) scale(1);
}

input:checked+.opu-switch:after {
    background: var(--forced-gelb);
    transform: translate3d(100%, -50%, 0);
}

input:checked+.opu-switch:active:before {
    background: rgba(255, 215, 5, 0.075);
    transform: translate3d(100%, -50%, 0) scale(3);
}

/* MARK: Spinner */
.spinner-overlay {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forced-gelb);

}

.spinner-overlay i {
    font-size: 3em;
    transform: rotate(0deg);
    animation: overlayLoader 0.55s linear infinite;
    padding: 40px;
    background: radial-gradient(circle at center, rgba(20, 10, 0, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
}

@keyframes overlayLoader {
    0% {
        transform: scale(1) rotate(0deg);
    }

    100% {
        transform: scale(1) rotate(360deg);
    }
}