﻿/* 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;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollen erlauben */
    background-color: white;
    scrollbar-width: none; /* Firefox */
}

/* Für Webkit-Browser (Chrome, Edge, Safari) */
html::-webkit-scrollbar, body::-webkit-scrollbar {
    display: none;
}

@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: relative;
    width: 100%;
}

/* Global styles
-------------------------------------------------- */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background-color: white;
}

/* Header unabhängig vom Content */
header {
    position: relative;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 0 15px; /* Konsistente Padding */
}

.container-fluid {
    padding: 0;
    margin: 0;
    width: 100%;
}

/* Hauptcontent-Bereich */
main {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Footer horizontal zentrieren */
.footer .container {
    text-align: center;
}

@media (max-width: 767.98px) {
    /* Navbar-Menüpunkte und _LoginPartial im Burger-Menü rechtsbündig und größere Schrift */
    .navbar-collapse {
        text-align: right !important;
    }
    .navbar-nav {
        width: 100%;
        align-items: flex-end !important;
    }
    .navbar-nav .nav-link,
    .navbar-nav .btn-link,
    .navbar-nav .mobile-nav-link {
        font-size: 1.3rem !important;
        text-align: right !important;
        width: 100%;
        display: block;
        padding: 1rem 1.5rem !important;
    }
    /* Optional: Abstand zwischen Menüpunkten */
    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
}


