﻿/* 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 */
}

/* Loading spinner */
#page-loader-layer {
      position:fixed;
      top:0;
      bottom:0;
      left:0;
      right:0;
      display:flex;
      justify-content: center;
      align-items:center;
      z-index:1000;
    }

#page-loader-layer svg {
    margin: auto;
    display: block;
}

#page-loader-layer svg rect { animation-duration: 2.0s; animation-timing-function: linear; animation-name: shuffleXY; animation-iteration-count: infinite; }

#page-loader-layer svg rect:nth-of-type(1) { animation-delay: 0s; }

#page-loader-layer svg rect:nth-of-type(2) { animation-delay: -1.333333334s; }

#page-loader-layer svg rect:nth-of-type(3) { animation-delay: -0.666666668s; }

@keyframes shuffleXY {
    0% { transform:translateX(0px) translateY(0px); }
    15% { transform:translateX(0px) translateY(0px); }

    25% { transform:translateX(40px) translateY(0px); }
    40% { transform:translateX(40px) translateY(0px); }

    50% { transform:translateX(40px) translateY(40px); }
    65% { transform:translateX(40px) translateY(40px); }

    75% { transform:translateX(0px) translateY(40px); }
    90% { transform:translateX(0px) translateY(40px); }  

    100% { transform:translateX(0px) translateY(0px); } 
}

:root {
    --accent-color: #023160
}

.bg-very-dark { background-color: #565656; }