﻿/* 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 */
}

.ksr-hidden {
    display: none;
}

.ksr-width-100 {
    width: 100%;
}

.ksr-width-3rem {
    width: 3rem;
}

.ksr-width-5rem {
    width: 5rem;
}

.ksr-width-6rem {
    width: 6rem;
}

.ksr-width-150px {
    width: 150px;
}

.ksr-width-200px {
    width: 200px;
}

.ksr-table {
    width: 100%;
    border-collapse: collapse;
}

.ksr-table td,
.ksr-table th {
    border: 1px solid #ddd;
    padding: 8px;
}

.ksr-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.ksr-table tr:hover {
    background-color: #ddd;
}

.ksr-table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: gray;
    color: white;
}

.ksr-margin-top-5px {
    margin-top: 5px;
}

.ksr-margin-top-40px {
    margin-top: 40px;
}

.ksr-margin-right-5px {
    margin-right: 5px;
}

.navbar-right {
    float: right !important;
}

div.navbar-right a:hover {
    text-decoration: underline !important;
    background-color: inherit;
}

.form-group-checkbox {
    height: 1em;
    display: flex;
    align-items: center;
}
.form-group-checkbox input {
    height: 1em;
    display: inline;
    width: auto;
    margin-right: 5px;
}
.form-group-checkbox label {
    margin: 0px;
}

.loading-animation-container {
    position: absolute;
    top: 0;
    height: 100vh;
    left: 0;
    width: 100vw;

    background-color: rgba(128, 128, 128, 0.65);
}
.loading-animation {
    position: absolute;
    top: calc(50vh - 25px);
    left: calc(50vw - 25px);
    
    width: 50px;
    height: 50px;
    border-right: 4px solid #000000;
    border-radius: 100%;
    animation: spinRight 800ms linear infinite;
}
    .loading-animation::before,
    .loading-animation::after {
        content: '';
        width: 40px;
        height: 40px;
        display: block;
        position: absolute;
        top: calc(50% - 20px);
        left: calc(50% - 20px);
        border-left: 3px solid #000000;
        border-radius: 100%;
        animation: spinLeft 800ms linear infinite;
    }
    .loading-animation::after {
        width: 30px;
        height: 30px;
        top: calc(50% - 15px);
        left: calc(50% - 15px);
        border: 0;
        border-right: 2px solid #000000;
        animation: none;
    }

@keyframes spinLeft {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(720deg);
    }
}

@keyframes spinRight {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

.datepicker-days td.day:not(.disabled,.active) {
    color: #000000;
    border: 1px solid #dddddd;
}