﻿/* 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;
}

/* 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 */
}

div.popover-body {
    display: grid;
}


.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

    .btn-default:active, .btn-default.active, .open > .dropdown-toggle.btn-default {
        background-image: none;
    }

    .btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .open > .dropdown-toggle.btn-default {
        color: #333;
        background-color: #e6e6e6;
        border-color: #adadad;
    }

.toggle.ios, .toggle-on.ios, .toggle-off.ios {
    border-radius: 1rem;
}

    .toggle.ios .toggle-handle {
        border-radius: 1rem;
    }

img.move {
    animation: blink 0.5s ease-in-out
}

@keyframes blink {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


.horizontal-scroll-wrapper {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    margin: 0;
    background: #abc;
    overflow-y: auto;
    overflow-x: hidden;
    transform: rotate(-90deg) translateY(-$finalHeight);
    transform-origin: right top;
}

.horizontal-scroll-wrapper > div {
    display: block;
    padding: 5px;
    background: #cab;
    transform: rotate(90deg);
    transform-origin: right top;
}

.gridCell {
    width: 50px;
    height: 50px;
    display: inline-block;
    margin: 1px;
}

.gridCellName {
    width: 200px;
    height: 50px;
    display: inline-block;
    margin: 1px;
    line-height: 50px;
    text-align: end;
    padding-right: 10px;
}

.gridHeaderName {
    width: 50px;
    height: 200px;
    display: inline-block;
    margin: 1px;
    line-height: 50px;
    text-align: center;
}

.gridCornerCell {
    width: 200px;
    height: 200px;
    display: inline-block;
    margin: 1px;
}

.gridRow {
    display: flex;
    width: 100%;
}

.timeRangeCell {
    display: inline-block;
    width: 30px;
    font-weight: 700;
}

.photoItemStreched {
    position: relative;
    aspect-ratio: 1;
    min-width: 25%;
    flex: 0;
}