﻿/* 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;
}

.spinner {
    background: #000;
    opacity: 0.5;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99998;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
}

.spinner_i {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -25px;
    margin-top: -25px;
    z-index: 99999;
    -webkit-backface-visibility: hidden;
}

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

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

.hidden {
    display: none !important;
}

#installContainer {
    position: absolute;
    bottom: 1em;
    display: flex;
    justify-content: center;
    width: 100%;
}

    #installContainer button {
        background-color: inherit;
        border: 1px solid white;
        color: white;
        font-size: 1em;
        padding: 0.75em;
    }

.share_icon {
    text-align: right;
}

.header-text {
    font-size: 70%;
    font-weight: normal;
}

@media (min-width: 360px) {
    .header-text {
        font-size: 77%;
        font-weight: bold;
    }
}

.titel-sicht, .titel-tiefe {
    font-size: 70%;
    font-weight: normal;
}

@media (min-width: 360px) {
    .titel-sicht, .titel-tiefe {
        font-size: 72%;
        font-weight: bold;
    }
}

.tiefe {
    font-size: 70%;
    font-weight: normal;
}

@media (min-width: 360px) {
    .tiefe {
        font-size: 72%;
        font-weight: normal;
    }
}

.col-beschriftung {
    width: 4.5rem;
}

@media (min-width: 768px) {
    .col-beschriftung {
        width: 10rem;
    }
}

@media (min-width: 992px) {
    .col-beschriftung {
        width: 15rem;
    }
}


.btn-expand {
    font-size: 70%;
}

@media (min-width: 375px) {
    .btn-expand {
        font-size: 73%;
    }
}


.alert-sehrgut {
    font-size: 70%;
    background-color: #60ff16;
    padding: 0;
    margin: auto;
    max-width: 110px;
}

.alert-gut {
    font-size: 70%;
    background-color: #C0FF2C;
    padding: 0;
    margin: auto;
    max-width: 110px;
}

.alert-mittel {
    font-size: 70%;
    background-color: #F7D600;
    padding: 0;
    margin: auto;
    max-width: 110px;
}

.alert-schlecht {
    font-size: 70%;
    background-color: #FFA22C;
    padding: 0;
    margin: auto;
    max-width: 110px;
}

.alert-sehrschlecht {
    font-size: 70%;
    background-color: #FF5F2C;
    padding: 0;
    margin: auto;
    max-width: 110px;
}

.alert-custom {
    font-size: 70%;
    background-color: #f8f9fa;
    padding: 0;
    margin: auto;
    max-width: 110px;
}

@media (min-width: 375px) {
    .alert-sehrgut, .alert-gut, .alert-mittel, .alert-schlecht, .alert-sehrschlecht, .alert-custom {
        font-size: 70%;
        font-weight: 600;
    }
}

@media (min-width: 412px) {
    .alert-sehrgut, .alert-gut, .alert-mittel, .alert-schlecht, .alert-sehrschlecht, .alert-custom {
        font-size: 73%;
        font-weight: bold;
    }
}

h1.sicht-title {
    font-size: 1.5rem;
}

h2.sicht-title {
    font-size: 1rem;
}

@media (min-width: 768px) {
    h1.sicht-title {
        font-size: 2rem;
    }

    h2.sicht-title {
        font-size: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .collapsing {
        transition-property: height, visibility;
        transition-duration: .35s;
    }
}

.info {
    cursor: help;
}

a.sponsor-card,
a.sponsor-card:hover {
    color: inherit;
}
