﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\ 
for details on configuring this project to bundle and minify static web assets. */

.tabrow {
    text-align: center;
    list-style: none;
    margin: 20px 0 20px;
    padding: 0;
    line-height: 24px;
    height: 26px;
    overflow: hidden;
    font-size: 12px;
    font-family: verdana;
    position: relative;
}

    .tabrow li {
        border: 1px solid #AAA;
        background: #D1D1D1;
        background: -o-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
        background: -ms-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
        background: -moz-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
        background: -webkit-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
        background: linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
        display: inline-block;
        position: relative;
        z-index: 0;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
        box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 #FFF;
        text-shadow: 0 1px #FFF;
        margin: 0 -5px;
        padding: 0 20px;
    }

    .tabrow a {
        color: #555;
        text-decoration: none;
    }

    .tabrow li.selected {
        background: #FFF;
        color: #333;
        z-index: 2;
        border-bottom-color: #FFF;
    }

    .tabrow:before {
        position: absolute;
        content: " ";
        width: 100%;
        bottom: 0;
        left: 0;
        border-bottom: 1px solid #AAA;
        z-index: 1;
    }

    .tabrow li:before,
    .tabrow li:after {
        border: 1px solid #AAA;
        position: absolute;
        bottom: -1px;
        width: 5px;
        height: 5px;
        content: " ";
    }

    .tabrow li:before {
        left: -6px;
        border-bottom-right-radius: 6px;
        border-width: 0 1px 1px 0;
        box-shadow: 2px 2px 0 #D1D1D1;
    }

    .tabrow li:after {
        right: -6px;
        border-bottom-left-radius: 6px;
        border-width: 0 0 1px 1px;
        box-shadow: -2px 2px 0 #D1D1D1;
    }

    .tabrow li.selected:before {
        box-shadow: 2px 2px 0 #FFF;
    }

    .tabrow li.selected:after {
        box-shadow: -2px 2px 0 #FFF;
    }

.errgreen {
    background: repeating-linear-gradient( 45deg, transparent, transparent 10px, #93C02120 10px, #3adf0020 20px ),
    /* on "bottom" */
    linear-gradient( to bottom, #31b40420, #3adf0020 );
    margin-left: 15px;
    margin-right: 15px;
    padding-top: 15px;
    color: crimson;
    clear: both;
}

td, th {
    padding: 5px;
}


.text-red {
    color: #ff0000 !important;
}

a.text-red:hover, a.text-red:focus {
    color: #a71d2a !important;
}

/*********************************************************************************************************************************/
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}


/* modal customization */
.modal-content {
    box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    -moz-transition: height 0.4s ease-in-out;
    -webkit-transition: height 0.4s ease-in-out;
    -o-transition: height 0.4s ease-in-out;
    transition: height 0.4s ease-in-out;
}

.modal-transition {
    -moz-transition: opacity 0.4s ease-in-out;
    -webkit-transition: opacity 0.4s ease-in-out;
    -o-transition: opacity 0.4s ease-in-out;
    transition: opacity 0.4s ease-in-out;
}

.modal-header {
    margin: 0.75rem 1rem 0;
    padding: 0 0 1rem;
}

.modal-footer {
    margin: 0 1rem 1rem;
    padding: 1rem 0 0;
}

/* icon customization */
:not(a).btn .fa,
:not(a):not(:disabled):not(.disabled).btn,
:not(:disabled):not(.disabled).close {
    cursor: default;
}

/* form control customization */
.col-form-label,
.col-form-label-lg {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* button customization */
.btn-light:active:not(.disabled),
.btn-light.active:not(.disabled) {
    background-color: #cbd0d5 /*#b4bac0 #e2e6ea*/;
}

.btn-light:focus,
.btn-light.focus {
    box-shadow: 0 0 0 3px rgba(180, 186, 192, 0.5);
}

.btn-light:active.disabled,
.btn-light.active.disabled {
    background-color: #f8f9fa;
}

.mail:hover {
    text-decoration: none;
}

.overlay-wrapper .overlay {
    display: none;
}

.sidebar-light-navy .nav-sidebar .nav-link.active {
    color: white !important;
    background-color: #001f3f !important;
}

    /* Überschreiben der Farbe für aktive Links im Hover-Zustand */
    .sidebar-light-navy .nav-sidebar .nav-link.active:hover {
        color: black !important;
        background-color: #ECECEC !important;
    }

.btn-navy {
    background-color: #001f3f; /* Setzt die Hintergrundfarbe auf Navy */
    color: white;
}

    .btn-navy:hover {
        color: #fff;
        background-color: #6c757d;
        border-color: #1d2124;
    }

    .btn-navy:focus, .btn-dark.focus {
        color: #fff;
        background-color: #6c757d;
        border-color: #1d2124;
        box-shadow: 0 0 0 0 rgba(82, 88, 93, 0.5);
    }

    .btn-navy.disabled, .btn-dark:disabled {
        color: #fff;
        background-color: #343a40;
        border-color: #343a40;
    }

    .btn-navy:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active,
    .show > .btn-dark.dropdown-toggle {
        color: #fff;
        background-color: #1d2124;
        border-color: #171a1d;
    }

        .btn-dark:not(:disabled):not(.disabled):active:focus, .btn-dark:not(:disabled):not(.disabled).active:focus,
        .show > .btn-dark.dropdown-toggle:focus {
            box-shadow: 0 0 0 0 rgba(82, 88, 93, 0.5);
        }

/*SELECT2 Dropdowns*/
/* Hintergrundfarbe des Dropdowns */
.select2-container--default .select2-results__option {
    background-color: #f8f9fa;
    color: #343a40;
}

/* Hintergrundfarbe für die ausgewählte Option */
.select2-container--default .select2-results__option--selected {
    background-color: #6c757d;
    color: #ffffff;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--hover {
    background-color: #6c757d !important; /* Beispiel: Dunkelgrau */
    color: #ffffff !important; /* Weißer Text */
}
/* Hintergrund und Textfarbe der ausgewählten Option im Auswahlfeld */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    background-color: #6c757d;
    color: #ffffff;
}

/* Hintergrund und Rahmen des Auswahlfeldes */
.select2-container--default .select2-selection--single {
    background-color: #f8f9fa;
    border-color: #6c757d;
}

/*Spinner Overlay für ganze Seite "Loading"*/
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Halbtransparenter schwarzer Hintergrund */
    z-index: 10000; /* Über allen anderen Elementen */
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-content {
    text-align: center;
    color: #fff; /* Weißer Text */
}

.custom-gray-background {
    background-color: rgba(0, 0, 0, 0.01) !important;
}


/*Für eine Dropzone, die nur ein Input Feld hat
    Entferne die Dropzone-spezifischen Stile */
#SingleLineDropzone.dropzone {
    border: none; /* Kein Rahmen */
    padding: 0; /* Kein Padding */
}

/* Optimiere das Layout der Datei-Auswahl */
.custom-file-input {
    cursor: pointer; /* Zeigt den Cursor als Zeiger */
}

.custom-file-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-file {
    max-width: 300px; /* Begrenze die Breite nach Wunsch */
}

.custom-file-label::after {
    content: "Suchen"; /* Ersetzt "Browse" durch "Suchen" */
}
/*Dropzone ENDE*/

.callout.callout-navy {
    border-left-color: #6c757d;
}

.small-icon {
    font-size: 12px; /* Kleinere Icon-Größe */
    vertical-align: top; /* Leicht hochstellen */
    margin-left: 4px; /* Abstand vom Text */
    position: relative;
    top: -2px; /* Weitere Feinanpassung des Hochstellens */
}

/* Standard-Striped-Tabelle */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.inakt-bg {
    background-color: #3c8dbc !important;
    color: white;
}

/* Überschreibt AdminLTE Standard-Styling innerhalb eines callout */
.callout a.btn {
    text-decoration: none !important;
    color: #fff !important; /* Entsprechend der Buttonfarbe */
}

    .callout a.btn:hover {
        opacity: 0.9; /* Optional, um ein Hover-Verhalten klar zu machen */
    }

/*Für die Filterreihe in DataTables
input[type="text"] {
    font-size: 0.75rem;
    padding: 2px;
}
*/
.min-50 {
    min-width: 50px;
}

.min-60 {
    min-width: 60px;
}

.min-80 {
    min-width: 80px;
}

.min-120 {
    min-width: 120px;
}

.min-150 {
    min-width: 150px;
}

.w-100 {
    width: 100% !important;
}

#VariAkt_wrapper .table-responsive,
#VariAbgelaufen_wrapper .table-responsive,
#VariInaktiv_wrapper .table-responsive {
    overflow-x: auto;
}

#VariAkt,
#VariAbgelaufen,
#VariInaktiv {
    width: 100% !important;
    table-layout: auto;
}

.custom-export-buttons button {
    margin-left: 8px;
}


/*Filterreihe ENDE*/

/*Marktierung des aktuellen Datensatzes in ADI Index*/
#ADIindexActive tr.table-active,
#ADIindexInactive tr.table-active {
    outline: 2px solid #17a2b8;
}

/*Zeilenumbrüche in den Toasts, wenn sie mit StringBuilder und .AppendLine() erstellt wurden*/
.toast .toast-body {
    white-space: pre-line;
}


.input-hint {
    margin-top: 4px;
    font-size: 0.65rem;
    color: #6b7280; /* Tailwind gray-500, gut lesbar aber dezent */
    line-height: 1.4;
}