﻿/* 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. */

.noshow{
    display:none;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

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;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
}

/* Fixes print/landscape issue with bootstrap */
@page {
  size: auto;
}

/* Adjusts checkbox size to fit columns */
.checkbox {
    height: 100%;
    width: 100%;
}

/** Add BETA text after logo outside of production */
.navbar-brand.test::after {
  opacity: .85;
  content: "BETA";
  padding-left: 5px;
  color: red;
  font-size: 25px;
  font-weight: bold;
  text-shadow: -1px -1px 0 #333,1px -1px 0 #333,-1px 1px 0 #333,1px 1px 0 #333;
}

/** Add DEV text after logo outside of production */
.navbar-brand.dev::after {
    opacity: .85;
    content: "DEV";
    padding-left: 5px;
    color: red;
    font-size: 25px;
    font-weight: bold;
    text-shadow: -1px -1px 0 #333,1px -1px 0 #333,-1px 1px 0 #333,1px 1px 0 #333;
}

/** Add LocalDev text after logo outside of production */
.navbar-brand.localdev::after {
    opacity: .85;
    content: "Local DEV";
    padding-left: 5px;
    color: red;
    font-size: 25px;
    font-weight: bold;
    text-shadow: -1px -1px 0 #333,1px -1px 0 #333,-1px 1px 0 #333,1px 1px 0 #333;
}

/** Add Unknown text after logo outside of production */
.navbar-brand.unknown::after {
    opacity: .85;
    content: "Unknown Env.";
    padding-left: 5px;
    color: red;
    font-size: 25px;
    font-weight: bold;
    text-shadow: -1px -1px 0 #333,1px -1px 0 #333,-1px 1px 0 #333,1px 1px 0 #333;
}

/** Styles for spinner */
#loadingDiv circle, #loadingDiv path {
    fill: black;
}

.spinner-background {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: .50;
    -webkit-opacity: .5;
    -moz-opacity: .5;
    filter: opacity(.5);
    z-index: 1051;
    overflow: auto;
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*spin it*/
.spinner-background svg {
    -webkit-animation: spin 1s linear infinite;
    -moz-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
    position: fixed;
    left: 50%;
    top: 50%;
    margin-left: -12px;
    margin-top: -12px;
    z-index: 1300;
}

.fade-in {
    opacity: .5;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: .25s;
}

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: .5;
    }
}


/** Toast CSS */
.toast-container {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.toast {
    cursor: pointer;
}

.toast-container .toast.success {
    background-color: #28a745 !important;
}

.toast-container .toast.error {
    background-color: #dc3545 !important;
}

.toast-container .toast.warning {
    background-color: orange !important;
}

.validationError {
    color: red;
}
