@font-face {
    font-family: "Hauora";
    src: url("/assets/font/Hauora-Medium.ttf") format("truetype-variations");
    font-weight: 1 999;
    font-style: normal;
}

@font-face {
    font-family: "Hauora-Bold";
    src: url("/assets/font/Hauora-SemiBold.ttf") format("truetype-variations");
    font-weight: 1 999;
    font-style: normal;
}

.mainLoader {
    position: absolute;
    z-index: 999;
    width: 100%;
    height: 100vh;
    color: #022340;
    background-image: linear-gradient(35deg, var(--darkreader-background-005e52, #004b42) 10%, var(--darkreader-background-00a075, #00805e) 80%);
    text-align: center;
    font-size: 10rem;
    animation-delay: .25s!important;
    animation: hideBanner 1s forwards;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    font-weight: 600;
}

.mode-indicator {
    position: relative;
    width: 100%;
    height: 4vh;
    z-index: 999;
    background: darkorange;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.mode-indicator.login {
    position: absolute;
}

.notifications {
    position: fixed;
    z-index: 999;
    width: 20%;
    height: auto;
    top: 8%;
    right: 1rem;
}

.notifications.login {
    left: 1rem;
    right: auto;
}

.notification {
    opacity: 1;
    transition: 1s;
}

.op0t1s {
    opacity: 0;
    transition: 1s;
}

.btnLoader {
    /*border: 3px solid #6e8bd5;*/
    /*border-top: 3px solid white;*/
    /*border-radius: 50%;*/
    /*width: 1rem;*/
    /*height: 1rem;*/
    animation: spin 2s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.loading {
    position: relative;
    background: #022340;
    color: #022340!important;
    overflow: hidden;
}

.loading:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    transform: translateX(-100px);
    overflow: hidden;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading 0.8s infinite;
    z-index: 0;
}

@keyframes loading {
    100% {
        transform: translateX(100%);
    }
}

@keyframes hideBanner {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.radius-2 {
    border-radius: .2rem;
}

.contentView {
    width: 100%!important;
    height: 100%!important;
}

.pointer:hover {
    cursor: pointer;
}

.nav-loader {
    border: 5px solid #065565;
    border-top: 5px solid white;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    animation: spin 2s linear infinite;
    display: inline-block;
    visibility: visible;
    transition: 1s;
}

.hideNavLoader {
    height: 0;
    width: 0;
    border: solid #022340 0;
    transition: 1s;
}

.small-loader {
    border: 3px solid #022340;
    border-top: 3px solid white;
    border-radius: 50%;
    width: 1rem;
    height: 1rem;
    animation: spin 2s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.list-hover {
    transition: .5s;
}

.list-hover:hover {
    background: rgba(6, 85, 101, .1);
    transition: .5s;
}

.profileImg {
    max-width: 160px
}

.loginMaster {
    width: 100%;
    height: 100%;
    background: url("/assets/img/hansemerkur.png") no-repeat;
    background-size: cover;
    display: flex;
    justify-content: right;
}

.loginContainer {
    width: 30%!important;
    height: 100%;
    background: rgba(6, 85, 101, .9);
    box-shadow: inset 5px 2px 10px 0 rgb(6, 85, 101);
    border-top-left-radius: .5rem;
    border-bottom-left-radius: .5rem;
    border-top-right-radius: 0!important;
    border-bottom-right-radius: 0!important;
    color: #151919;
    overflow: hidden;
    transition: 1s;
}

.login-input input {
    border: none;
    border-radius: 0;
    background: rgba(255,255,255,.5);
    transition: .5s;
}

.login-input input:hover {
    border: none;
    border-radius: 0;
    background: white;
    transition: .5s;
}

.w-fill {
    width: available;
    width: -moz-available;
    width: -webkit-fill-available;
}

.w-fit {
    width: fit-content;
    width: -moz-fit-content;
    width: -webkit-fit-content;
}

.sub-link {
    transition: .2s;
}

.sub-link:hover {
    transition: .2s;
    font-weight: bold;
}

.sidebar .nav-link {
    transition: .2s !important;
    text-align: left;
    font-size: 1.3rem !important;
    font-weight: normal !important;
}

.sidebar .nav-link:hover {
    font-weight: bold !important;
    transition: .2s !important;
}

.sidebar .nav-item .nav-link i {
    margin-left: .75rem;
    font-size: 1.3rem !important;
    color: #151919!important;
}

.sidebar .nav-link, .navbar-brand {
    color: #151919!important;
}

.bg-accent {
    background: #118350;
}

.w-90 {
    width: 90%!important;
}

.max-w-90 {
    max-width: 90%!important
}

.max-w-60 {
    max-width: 60%!important
}

.ql-toolbar {
    border-top-left-radius: .35rem!important;
    border-top-right-radius: .35rem!important;
}

.editor {
    min-height: 150px;
    cursor: text;
}

.profilePicture-l {
    height: 20vh;
    width: 20vh;
    border-radius: 50%;
    object-fit: cover;
}

.profilePicture-s {
    height: 5vh;
    width: 5vh;
    border-radius: 50%;
    object-fit: cover;
}

@media (min-width: 1270px) {
    li > a > svg[data-lucide] {
        margin-right: .3rem;
        padding-bottom: 3px;
    }
}

@media only screen and (max-width: 786px) {
    li > a > svg[data-lucide] {
        padding-bottom: 3px;
    }
}

@media(min-width: 768px) {
    .sidebar .nav-item .nav-link {
        width: 16rem !important;
    }
}

svg[data-lucide] {
    padding-bottom: 3px;
}

.icon-s {
    height: 16px;
    width: 16px;
}

.icon-m {
    height: 24px;
    width: 24px;
}

.icon-l {
    height: 32px;
    width: 32px;
}

.icon-xl {
    height: 36px;
    width: 36px;
}

#formBuilder {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
}

.form-container {
    min-width: 20rem;
    display: flex;
    flex-direction: row;  /* icon links, inhalt rechts */
    align-items: center;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #f9f9f9;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.child-container:empty::before {
    content: 'Leerer Container';
    display: block;
    padding: 1rem;
    color: #aaa;
    text-align: center;
    border: 2px dashed #ccc;
    min-height: 60px;
}

.child-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-left: 2rem; /* opt. Einrückung */
}

.ec-event-title {
    font-size: x-small;
}

@media only screen and (max-width: 480px) {
    .mainLoader {
        font-size: 5rem;
    }

    .loginContainer {
        width: 80%!important;
    }

    .notifications {
        width: 80%;
    }

    .mob-m {
        margin-bottom: 1rem;
    }

    .container-fluid {
        padding-left: .5rem;
        padding-right: .5rem;
    }

    .max-w-60 {
        max-width: 100%!important;
    }
}