﻿/* 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. */
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;
    }
}


.loader {
    border: 10px solid #f3f3f3; /* Light grey */
    border-top: 10px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.panel-title-WithPadding {
    padding-left:5px;
    padding-top:3px;
}

.TimeRowWithSlots {
    background-color: lightgreen;
}
.TimeRowEditedSlots {
    background-color: lightblue;
}

.BreadCrumbs {
    padding-top: 5px;
}

.AptCellClass_Manifested {
    color: White;
    background-color: #347C17;
}

.AptCellClass_Manifested a {
    color: #b3d9ff;
}

.AptCellClass_Expired {
    color: White;
    background-color: #F88017;
}

.AptCellClass_Expired a {
    color: #cce6ff;
}

.AptCellClass_Pending {
    color: White;
    background-color: #7D1B7E;
}

.AptCellClass_Pending a {
    color: #b3d9ff;
}

.AptCellClass_NotAllowed {
    color: White;
    background-color: Red;
}

.AptCellClass_NotAllowed a {
    color: #002db3;
}

.AptRemarkCellClass_SpecialColor {
    background-color: yellow;
}

.text-caption {
/*    font-size: small;
*/}

.text-content {
/*    font-weight: bold;
*/}

.row-spacier {
    /*    padding-top: 0.1rem;*/
    padding-top: 0.3rem;
}

.glyphicon-space-right {
    padding-right: 1.0rem;
}

/* Container für das Submenu-Listenelement */
.dropdown-submenu {
    position: relative;
}

    /* Link im Submenu: Text links, Pfeil rechts */
    .dropdown-submenu > a {
        display: flex; /* Text + Pfeil nebeneinander */
        justify-content: space-between; /* Pfeil nach rechts */
        align-items: center;
        white-space: normal; /* Text darf umbrechen */
        padding-right: 24px; /* etwas Platz für den Pfeil */
    }

        /* Automatischer Pfeil rechts */
        .dropdown-submenu > a::after {
            content: "▶";
            margin-left: 8px;
            font-size: 0.75em;
            white-space: nowrap; /* Pfeil nie umbrechen */
            flex-shrink: 0; /* Pfeil nicht zusammenquetschen */
        }

    /* Standardzustand Submenu: versteckt */
    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
        display: none;
    }

        /* Für Mobile: Anzeige per JS über diese Klasse */
        .dropdown-submenu > .dropdown-menu.show-submenu {
            display: block;
        }

/* Desktop: Submenu auf Hover anzeigen (Geräte mit Mauszeiger) */
@media (hover: hover) and (pointer: fine) {
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

/* Bootstrap Datepicker */
/* Grundzustand */
.day-unavailable {
    /*    background-color: #f5f5f5;
*/ background-color: transparent !important;
    color: #999;
    cursor: pointer;
}

    /* Hover */
    .day-unavailable:hover {
        background-color: orange !important;
        color: #fff;
    }

    /* Klick-Feedback (optional) */
    .day-unavailable.active,
    .day-unavailable:active {
        background-color: darkorange !important;
        color: #fff;
    }

