﻿/* 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;
}*/

/* 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;
}

/* Dialog form styles
-------------------------------------------------- */

.dialog-hidden {
    display: none;
}
.mdl-dlg {
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8)
}

.dialog-shown {
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6)
}

.dialog {
    width: 400px;
    padding: 20px;
    border-radius: 3px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #ccc;
    font-family: 'Arial';
    background-color: #fafafa;
    line-height: 1.6
}

.dialog-content {
    padding: 20px;
    font-family: 'Arial';
    color: black;
    background-color: white;
    border: 1px solid black;
    border-radius: 10px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    max-width: 90%;
    min-width: 245px;
    width: 600px;
}

.flex-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3px;
}

/* Sections */
.section {
    background-color: #f8f9fa; /* Hintergrundfarbe der Section */
    padding: 20px; /* Innenabstand der Section */
    border-radius: 5px; /* Abrundung der Ecken der Section */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Schatten der Section */
    margin: 10px 0;
}

    .section h2 {
        margin-bottom: 10px; /* Abstand unterhalb des Titels */
    }

.section-description {
    font-size: 14px; /* Schriftgröße der Beschreibung */
    color: #888; /* Farbe der Beschreibung */
    margin-bottom: 10px; /* Abstand unterhalb der Beschreibung */
}

.btn-minimal {
    height: fit-content;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
    position: absolute;
    bottom: 0;
    min-width: 100%;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10.5px;
}

@media (min-width: 991px) {
    .navbar-expand-lg .navbar-nav {
        margin-right: 0px !important;
        margin-left: auto;
    }
}

.navbar-toggler {
    margin-left: 5px;
}

header {
    z-index: 999;
    position: fixed;
    width: 100%;
}

@media (max-width: 991px) {
    .navbar-collapse {
        padding: 10px;
        position: fixed;
        background: white;
        width: 100%;
        top: 50px;
        left: 0;
        box-shadow: black 0px -4px 10px 0px;
        z-index: -1;
    }

    .navbar-collapse.show {

    }
}

#nav-background {
    position: absolute;
    z-index: 997;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    display: none;
}

#nav-background.show {
    display: block;
}

.main-content {
    margin-top: 65px;
    max-width: 1035px;
}

.btn-headline{
    margin: 10px auto;
}

.divider {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 2px;
    margin-bottom: 4px;
}

.footer-left {
    float: left;
    margin-left: 25px;
}

.footer-right {
    float: right;
    margin-right: 25px;
}

.thumbnail, .details, .btnlist {
    margin-top: 8px;
}

.btnlist {
    padding: 0px 3px 3px 3px;
    display: inline-grid;
    grid-auto-rows: min-content;
}

    .btnlist .btn {
        margin: 2px;
    }

.btn-return {
    margin-bottom: 20px;
}

li.nav-item > a {
    min-width: max-content;
}

li.nav-item.selected > a {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: #1b6ec2;
    text-decoration-thickness: 2px;
    font-weight: bold;
}

    li.nav-item:hover, li.nav-item > a:hover, li.nav-item.selected > a:hover {
        text-decoration: underline;
        text-underline-offset: 4px;
        text-decoration-color: #74b2ff;
        text-decoration-thickness: 2px;
    }

        li.nav-item:hover:not(.selected) > a {
            font-weight: 500;
        }

div.content-footer {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 996;
}

.alertbanner {
    background-color: red;
    color: white;
    text-align: center;
    font-weight: 700;
}

.childs-3 label {
    width: calc(100% / 3);
}

/* general style attributes */
.text-overflow-hidden {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}