﻿/* 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. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}


tbody:nth-child(odd):not(.table-mark) {
    background-color: #f2f2f2;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* Remove default bullets */
ul > #myUL, #myUL li {
    list-style-type: none;
}

/* Remove margins and padding from the parent ul */
#myUL {
    margin: 0;
    padding: 0;
}

/* Style the caret/arrow */
.caret {
    cursor: pointer;
    user-select: none; /* Prevent text selection */
}

    /* Create the caret/arrow with a unicode, and style it */
    .caret::before {
        content: "\27A4";
        color: firebrick;
        display: inline-block;
    }

/* Rotate the caret/arrow icon when clicked on (using JavaScript) */
.caret-down::before {
    transform: rotate(90deg);
}


/* Hide the nested list */
.nested {
    display: none;
}

/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
.active {
    display: block;
}
body {
    padding-top: 88px;
}

.navbar {
    background-color: rgba(225,7,7,1.0);
    box-shadow: 5px 5px 5px grey;
}

hr {
    background-color: rgba(225,7,7,1.0);
}

.navbar-brand {
    background-color: white;
    height: 64px;
    width: 216px;
}

.table-mark {
    color: white;
    background-color: rgba(250, 0, 0, 0.8);
    box-shadow: 10px 10px 10px grey;
}

.table-header {
    color: white;
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 10px 10px 10px grey;
}

.btn-mark {
    color: white;
    background-color: rgba(250, 0, 0, 0.8);
    box-shadow: 5px 5px 5px grey;
}

    .btn-mark:focus {
        color: white;
        background-color: rgba(250, 0, 0, 0.8);
        box-shadow: 1px 1px 1px grey;
    }

.dropdown-menu {
    box-shadow: 10px 10px 10px grey;
}

tr:not(.notSorted) {
    cursor: pointer;
    -ms-user-select: None;
    -moz-user-select: None;
    -webkit-user-select: None;
    user-select: None;
}

.notSorted {
    cursor: default !important;
}

.btn {
    border-radius: 10px 10px;
}

ul.a {
    list-style-type: square;
}

.card {
    border: 0.1px solid;
    background-color: rgba(255,255,255,0.9);
    border-color: rgba(225,7,7,1.0);
    border-radius: 10px;
    box-shadow: 0px 5px 5px grey;
    margin-top: 10px;
    padding: 10px;
}

.card-title {
    background-color: rgba(240,240,240,1.0);
}

button {
    cursor: pointer;
}

.glass-button {
    border: 0.1px solid;
    background-color: rgba(255,255,255,0.9);
    border-color: rgba(225,7,7,1.0);
    border-radius: 10px;
    box-shadow: 0px 5px 5px grey;
    margin-top: 10px;
    padding: 10px;
}

    .glass-button:hover {
        background-color: rgba(225, 225, 225, 0.9);
        border-color: rgba(250, 0, 0, 0.2);
        box-shadow: 0px 0px 1px grey;
    }

.Urkunde {
    border: 2px solid rgba(225,7,7,1.0);
    border-radius: 15px;
    box-shadow: 10px 10px 10px grey;
    transform: scale(1);
}

    .Urkunde:hover {
        transform: scale(1.1);
    }

.KMMS-Bild {
    border: 2px solid rgba(225,7,7,1.0);
    border-radius: 10px;
    box-shadow: 10px 10px 10px grey;
    max-width: 90%;
}

.Karten-Header-Bild {
    border: 2px solid rgba(225,7,7,1.0);
    border-radius: 10px;
    box-shadow: 10px 10px 10px grey;
    width: 100%;
    opacity: 0.5
}

.Home-Bild {
    border: 1px solid rgba(225,7,7,1.0);
    border-radius: 10px 10px 10px 10px;
    box-shadow: 10px 10px 10px grey;
    max-width: 100%;
}

.Karten-Bild {
    box-shadow: 5px 5px 5px grey;
    border-radius: 10px;
    max-height: 200px;
}

    .Karten-Bild:hover {
        transform: scale(1.1);
    }

.hide {
    visibility: hidden;
}

.pin {
    font-size: 1.8em;
    cursor: pointer;
    transition: transform 1s ease-out;
}
/* Paging */
.pagination {
    cursor: pointer;
    display: inline-block;
}

    .pagination a {
        color: black;
        float: left;
        padding: 8px 16px;
        text-decoration: none;
        transition: background-color .3s;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
    }

        .pagination a.active {
            background-color: rgba(250, 0, 0, 0.8);
            color: white;
            border: 1px solid #4CAF50;
        }

        .pagination a:hover:not(.active) {
            background-color: #ddd;
        }

.Frame {
    position: sticky;
    top: 100px;
}

/* loader wrapper */
#loader-wrapper {
    position: fixed; /* Bleibt immer im sichtbaren Bereich */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999; /* Stellt sicher, dass es über allem liegt */
    background-color: rgba(255, 255, 255, 0.8); /* Weiß mit 80% Deckkraft */
    display: flex; /* Zentriert den Inhalt */
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader {
    border: 8px solid #f3f3f3; /* Heller Kreis */
    border-top: 8px solid #df1518; /* CA-Rot */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loader-wrapper.hidden {
    display: none;
}

.drag-drop-zone {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    color: #777;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

    .drag-drop-zone.dragover {
        background-color: #f0f8ff; /* Hellblau */
        border-color: #007bff; /* Primärfarbe (Bootstrap) */
    }

    .drag-drop-zone .drag-drop-text {
        pointer-events: none; /* Stellt sicher, dass der Text Klicks nicht abfängt */
    }