
/*
    botcast-Globale Klassen
*/
.botcast-page {
    height: 100vh;
    position: relative;
    display: flex !important;
    flex-direction: column;
}

.botcast-main-header {
    height: 3.5rem;
    background-color: #EE7A18;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .botcast-main-header a {
        color: white;
    }

    /* Abstände der nav-links (Anmeldung, Menü) wie in Bootstrap 4 (in Bootstrap 5.3 nur innerhalb von .nav gesetzt) */
    .botcast-main-header {
        --bs-nav-link-padding-x: 1rem;
        --bs-nav-link-padding-y: 0.5rem;
    }

.botcast-main-content {
    flex: 1;
    min-height: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

    .botcast-main-content.botcast {
        background-image: url("../static/botcast_figur_hg.svg");
    }

    .botcast-main-content.newshub {
        background-image: url("../static/newshub_hg_3.svg");
    }

.botcast-main-footer {
    height: 2rem;
}

.botcast-title {
    height: 3.5rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.botcast-content {
    flex: 1 1 0%;
    min-height: 0;
}

    /* Definite Höhe für die Inhaltsspalte, sonst greifen die Prozenthöhen von Grid und Wizard (Radzen 12) nicht */
    .botcast-content > .col {
        height: 100%;
    }

    .botcast-content label {
        width: 100%;
    }

.botcast-tile-button {
    width: 80%;
    height: 60%;
    margin-top: 20%;
    margin-left: 10%;
}

    .botcast-tile-button .rz-button-box {
        flex-direction: column;
    }

    .botcast-tile-button .rzi {
        font-size: xxx-large;
    }

    .botcast-tile-button .rz-button-box > div {
        font-size: x-large;
        font-weight: normal;
        padding-top: 1rem;
        line-height: normal; /* Radzen 12 setzt sonst fest 1.25rem, weniger als die Schriftgröße */
    }

.botcast-details {
    font-size: 0.875rem;
}

/* Detailzeilen im Grid umbrechen wie bis Radzen 3 (Radzen 12 setzt für alle Zellen white-space: nowrap) */
.rz-expanded-row-content > td {
    white-space: normal;
}

.botcast-btn-160 {
    width: 160px;
}


/*
    Bootstrap
*/

.nav-link {
    color: #999999;
}

    .nav-link:hover {
        color: #4C4C4C;
    }

.container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rz-button.rz-info {
    background-color: #2DB5B2 !important;
}

.rz-button.rz-primary {
    background-color: #2DB5B2 !important;
}

/* Farben, Icons und Schrift wie bis Radzen 3 */
:root {
    --rz-secondary: #479cc8;
    --rz-icon-fill: 1;
    /* Akkordeon und Tabs erben die Schriftgröße wieder (Radzen 12 setzt sonst 14 px) */
    --rz-accordion-content-font-size: inherit;
    --rz-accordion-item-font-size: inherit;
    --rz-tabs-tab-font-size: inherit;
    /* Akkordeon- und Tab-Köpfe fett, Spaltenköpfe normal, Eingabefelder 1rem (Radzen 12: normal, 600, 14 px) */
    --rz-accordion-item-font-weight: 600;
    --rz-tabs-tab-font-weight: 600;
    --rz-grid-header-font-weight: normal;
    --rz-input-font-size: 1rem;
    --rz-input-font-size-md: 1rem;
}

/* Schrift wie bis Radzen 3 (Source Sans Pro); Radzen 12 setzt sie nur mit RadzenLayout, sonst greift die Systemschrift von Bootstrap 5 */
body {
    font-family: var(--rz-text-font-family);
}

/* Seitentitel wie bis Radzen 3 (Bootstrap 5: 2rem, 500) */
h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Mittlere Buttons wie bis Radzen 3 (Radzen 12 setzt sonst 14 px) */
.rz-button-md {
    font-size: 1.0625rem;
}

/* Rahmen der Karten wie bis Radzen 3 (kam dort von der Bootstrap-Klasse .card, die Radzen 12 nicht mehr rendert) */
.rz-card {
    border: 1px solid rgba(0, 0, 0, .125);
}

/* etwas Platz hinter Checkboxen */
.rz-chkbox {
    margin-inline-end: 0.2rem;
}

.rz-steps-item.rz-state-highlight .rz-steps-number {
    background-color: #F5A415 !important;
}

.rz-accordion {
    width: 100%;
}

/* Akkordeon-Pfeile wie in der Grid-Detailzeile: ▸ eingeklappt, ▾ ausgeklappt (statt gedrehtem Chevron) */
.rz-accordion .rz-accordion-header > button > .rz-accordion-toggle-icon.rzi {
    font-size: 0;
    transform: none;
}

    .rz-accordion-toggle-icon.rzi::before {
        font-size: var(--rz-accordion-icon-font-size);
        content: "arrow_right";
    }

    .rz-accordion-toggle-icon.rzi.rz-state-expanded::before {
        content: "arrow_drop_down";
    }

.rz-tabview-panel {
    height: 100%;
}

.rz-switch {
    width: 2.5rem;
    min-width: 2.5rem;
    height: 1.25rem;
    margin-top: .25rem;
}

    .rz-switch .rz-switch-circle {
        width: 2.5rem;
        min-width: 2.5rem;
    }

    .rz-switch .rz-switch-circle:before {
        width: 1rem;
        height: 1rem;
        left: 0.25rem;
        margin-top: -0.55rem;
    }

    .rz-switch.rz-switch-checked .rz-switch-circle:before {
        -webkit-transform: translateX(1rem);
        -ms-transform: translateX(1rem);
        transform: translateX(1rem);
    }

    .rz-switch.invalid .rz-switch-circle {
        background-color: #ff6d41;
    }

/**
*** Radzen Wizard
**/
.rz-steps {
    display: flex;
    flex-direction: column;
    border: 1px solid rgb(223, 231, 235);
    border-radius: 4px;
    height: 95%;
    width: 100%;
    padding: 0.5rem;
    background-color: var(--bs-body-bg); /* wie die Seite, aber das Hintergrundbild soll im Wizard nicht durchscheinen */
}

    .rz-steps > .rz-widget-content {
        flex: 1 0 0;
        overflow-x: hidden;
        overflow-y: auto;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

.rz-steps-buttons {
    padding-bottom: 1rem;
    font-size: larger;
}

﻿ /*add this to avoid flickering*/
.plk-dd-inprogess > * {
    pointer-events: none;
}

/*dropzone style style*/
.plk-dd-dropzone {
    min-height: 50px;
}

/*drag drop styles*/

/*
.plk-dd-spacing {
    height: 10px;
}
*/

/*
.plk-dd-spacing-dragged-over {
    padding: 25px;
}
*/

.plk-dd-dragged-over {
    background-color: lightgray;
    opacity: 0.6;
    animation: blinker 1s linear infinite;
}

    .plk-dd-dragged-over > div {
        background-color: lightgray;
        opacity: 0.6;
        animation: blinker 1s linear infinite;
    }

.plk-dd-dragged-over-denied {
    background-color: red;
    opacity: 0.6;
    animation: blinker 1s linear infinite;
}

.plk-dd-in-transit {
    opacity: .75;
}

    .plk-dd-in-transit > div {
        opacity: .33;
    }

.plk-dd-draggable {
    cursor:grab;
}

.file-drop-target input {
    pointer-events: none;
}

body.file-drag-active .file-drop-target input {
    pointer-events: auto;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.blink_me {
    animation: blinker 1s linear infinite;
}


.plk-dd-noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

/*
    Ladeanzeige bis zum Start der WASM-App (Server/Components/App.razor), dezent oben links
*/
#botcast-loading {
    display: inline-block;
    margin: 0.5em 0 0 0.5em;
}

body:has(#botcast-page) #botcast-loading {
    display: none;
}

.botcast-loading-bar {
    height: 2px;
    background-color: #dee2e6;
    overflow: hidden;
}

    .botcast-loading-bar > div {
        width: var(--blazor-load-percentage, 0%);
        height: 100%;
        background-color: #6c757d;
        transition: width 0.2s;
    }
