﻿@keyframes flash-info {
  0% {
    color: #7299ec;
    opacity: 1;
  }
  50% {
    color: #4579e6;
    opacity: 0.6;
  }
  100% {
    color: #7299ec;
    opacity: 1;
  }
}
@keyframes flash-attention {
  0% {
    color: #e282cf;
    opacity: 1;
  }
  50% {
    color: #d958bf;
    opacity: 0.6;
  }
  100% {
    color: #e282cf;
    opacity: 1;
  }
}
@keyframes pulse-success {
  0% {
    background-color: transparent;
  }
  50% {
    background-color: #26b050;
  }
  100% {
    background-color: transparent;
  }
}
@keyframes pulse-error {
  0% {
    background-color: transparent;
  }
  50% {
    background-color: #e83a3a;
  }
  100% {
    background-color: transparent;
  }
}
@keyframes progress-bar-stripes {
  from {
    background-position: 0 40px;
  }
  to {
    background-position: 0 0;
  }
}
@keyframes load6 {
  0% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  5%, 95% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  10%, 59% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }
  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
  }
  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
  }
  100% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}
@keyframes round {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
html, body {
  margin: 0;
  padding: 0;
}

#main-header {
  display: flex;
  padding: 0.5em;
}
#main-header, #main-header > * {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
#main-header .logo, #main-header .info {
  -ms-flex: 0 1 20%;
  -webkit-flex: 0 1 20%;
  flex: 0 1 20%;
}
#main-header .logo img {
  width: 100%;
}
#main-header h1 {
  -ms-flex: 0 1 80%;
  -webkit-flex: 0 1 80%;
  flex: 0 1 80%;
  text-align: center;
}

#body-wrapper {
  min-height: calc(100vh - 1.5em);
}

#main-footer {
  height: 1.5em;
  text-align: center;
  position: absolute;
  width: 100%;
}
#main-footer .copyright {
  font-size: 0.9em;
}

.panel {
  text-align: center;
}

#location-page .header-notice {
  font-size: 3em;
  font-weight: bold;
  color: white;
  background: black;
  padding: 0.5em;
  text-align: center;
}
#location-page .entry-notice, #location-page .entered-notice {
  margin: 0 auto;
  display: flex;
  font-size: 2.2em;
  -ms-flex-direction: column;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  align-items: center;
  text-align: center;
}
#location-page .entry-notice h3, #location-page .entry-notice h4, #location-page .entered-notice h3, #location-page .entered-notice h4 {
  margin: 0;
  font-weight: bolder;
}
#location-page .entry-notice h4, #location-page .entered-notice h4 {
  color: gray;
  font-size: 0.7em;
}
#location-page .qr-code {
  display: block;
  margin: 0 auto;
  max-width: 300px;
}
#location-page .qr-alternative {
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 1em;
}
#location-page .thankyou-notice {
  text-align: center;
  color: #26b050;
  font-size: 1.5em;
  margin-top: 1em;
}

#index-page {
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
}
#index-page h3, #index-page p {
  font-size: 1.5em;
  text-align: center;
}
#index-page h3 {
  margin-top: 0;
}
#index-page .entry-form {
  background: #fcfcfc;
  padding: 1em;
  max-width: 350px;
}
#index-page .entry-form .editor {
  margin-bottom: 1em;
}
#index-page .entry-form .editor label {
  font-weight: bold;
}
#index-page .entry-form .editor, #index-page .entry-form .editor label, #index-page .entry-form .editor input {
  font-size: 1.2em;
}
#index-page .entry-form .editor input {
  width: 100%;
}
#index-page .entry-form .prev-values {
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 1em;
}
#index-page .entry-form .prev-values .prev-value {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -ms-flex: 0 1 50%;
  -webkit-flex: 0 1 50%;
  flex: 0 1 50%;
  padding: 0.5em 0;
}
#index-page .entry-form .prev-values .prev-value .name {
  font-weight: bold;
}
#index-page .entry-form .prev-values .prev-value .fileuploadvalue-img-reveal {
  width: 100%;
}
#index-page .entry-form .actions {
  display: flex;
  -ms-flex-direction: column;
  -webkit-flex-direction: column;
  flex-direction: column;
}
#index-page .entry-form .actions .k-button {
  margin: 0.5em 0;
  -ms-flex: 0 1 100%;
  -webkit-flex: 0 1 100%;
  flex: 0 1 100%;
}
#index-page .exit-form, #index-page .left-form, #index-page .red-flag {
  -ms-flex-direction: column;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  padding: 1em;
}
#index-page .exit-form > .k-icon, #index-page .left-form > .k-icon, #index-page .red-flag > .k-icon {
  font-size: 4em;
  margin: 0 auto;
}
#index-page .exit-form .thankyou-notice, #index-page .left-form .thankyou-notice, #index-page .red-flag .thankyou-notice {
  margin-top: 1.5em;
}
#index-page .exit-form, #index-page .left-form {
  background: #bcf0cc;
}
#index-page .red-flag {
  background: #fff9d6;
}

#list-page h3, #list-page h4 {
  margin: 0;
  font-weight: bolder;
  text-align: center;
}
#list-page h4 {
  margin-bottom: 0.5em;
}
#list-page .filter {
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  padding: 0.5em;
}
#list-page .filter > * {
  margin: 0 0.5em;
}
#list-page .flagged {
  background-color: #ffef99;
  display: block;
  padding: 0 0.5em;
}
#list-page .fileuploadvalue-img {
  width: auto;
  max-width: 100%;
  max-height: 100px;
}

/*Hides scrollbars on grid*/
.k-grid.no-scrollbar .k-grid-header {
  padding: 0 !important;
}

.k-grid.no-scrollbar .k-grid-content {
  overflow-y: visible;
}

/*Disables hover on grid rows (selectionmode apparently doesn't do this)*/
.k-grid.no-hover tr:hover, .k-grid.no-hover tr.k-alt:hover {
  color: inherit;
  background-color: transparent;
}

.validation {
  color: #e83a3a;
}

#blazor-error-ui {
  background: #ffffff;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}
