﻿/* 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. */

.border-primary{
    border-color: teal !important;
}

.btn-outline-primary {
    --bs-btn-color: teal !important;
    --bs-btn-border-color: teal !important;
    --bs-btn-active-bg: teal !important;
    --bs-btn-hover-bg: teal !important;
    --bs-btn-hover-border-color: teal !important;
}

.form-check-input:checked {
    background-color: teal !important;
    border-color: teal !important;
}

.btn-primary {
    background-color: #009090;
    --bs-btn-active-bg: teal !important;
    --bs-btn-hover-bg: teal !important;
    --bs-btn-border-color: teal;
    --bs-btn-hover-border-color: teal !important;
    --bs-btn-disabled-bg: teal !important;
    --bs-btn-disabled-border-color: teal !important;
}

/* Provide sufficient contrast against white background */
a {
    color: teal;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.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;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    background-image: url("../Images/Hintergrund_Hell.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

#mainDiv {
    height: calc(100vh - 60px - 60px); /* 60px Footer, 60px Navbar */
    overflow-y: auto;
}

/* Für Viewports kleiner als 576px (Bootstrap xs) */
@media (max-width: 575.98px) {
    #mainDiv {
        height: auto;
    }
}

.bg-white-alpha {
    background-color: rgba(255,255,255,0.3);
}

.card {
    background-color: rgba(255,255,255,0.9);
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 40%;
    /*-ms-transform: translateY(-40%);*/
    /*transform: translateY(-40%);*/
}

.horizontal-center {
    left: 50%;
    position: absolute;
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

@media (min-width: 992px) {
    .w-lg-800px {
        width: 800px !important;
    }

    .w-lg-802px {
        width: 802px !important;
    }
}

.w-200px {
    width: 200px !important;
}

.w-150px {
    width: 150px !important;
}

.carousel-control-prev, .carousel-control-next {
    width: 5%;
}

.custom-file-input::file-selector-button {
    display: none;
}

.carousel-caption-below {
    position: relative;
}

#startPageLogo {
    display: flex;
    justify-content: center;
    height: calc(100vh - 152px);
    position: relative;
}

#startPageLogo img {
    max-height: 60%;
    max-width: 90%;
    position: absolute;
    top: 20%;
}

#startPageLogo .text-bottom {
    position: absolute;
    bottom: 0;
    margin-bottom: 0px;
    text-align: center;
}

#MaterialTable .rating3,
#MaterialTable .rating2,
#MaterialTable .rating1,
#MaterialTable .rating0 {
    text-align: center;
}