@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
  --system-ui: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

@font-face {
  font-family: 'Source Sans 3';
  src: url('fonts/SourceSans3-Light.ttf') format('truetype'), url('fonts/SourceSans3-Regular.ttf') format('truetype'), url('fonts/SourceSans3-SemiBold.ttf') format('truetype'),
}

html, body {
  background-color: black;
  background-repeat: repeat, repeat;
  background-position: 50% 50%;
  background-size: 300% 300%;
  background-image: radial-gradient(at 50% 0%, white, transparent 40%), radial-gradient(at 50% 100%, #03FCE8, transparent 50%);
  height: 100vh;
  color: white;
}

body {
  font-family: var(--system-ui);
}

#app {
  height: 100vh;
  width: 100%;
}

.disable-selection {
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer */
  -khtml-user-select: none; /* KHTML browsers (e.g. Konqueror) */
  -webkit-user-select: none; /* Chrome, Safari, and Opera */
  -webkit-touch-callout: none; /* Disable Android and iOS callouts */
}

.centered-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

span {
  font-weight: 600;
}

.align-right > span {
  justify-content: flex-end;
  display: flex
}

.content {
  display: flex;
  align-items: center;
  justify-content: start;
  flex-direction: column;
}

#blazor-error-ui {
  color-scheme: light only;
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  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;
}

.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6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43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}

.blazor-error-boundary::after {
  content: "An error has occurred."
}

.loading-progress {
  position: absolute;
  display: block;
  width: 8rem;
  height: 8rem;
  inset: 20vh 0 auto 0;
  margin: 0 auto 0 auto;
}

.loading-progress circle {
  fill: none;
  stroke: #e0e0e0;
  stroke-width: 0.6rem;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
}

.loading-progress circle:last-child {
  stroke: var(--rz-primary);
  stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
  transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
  position: absolute;
  text-align: center;
  font-weight: bold;
  inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
  content: var(--blazor-load-percentage-text, "Loading");
}

@keyframes gradient {
  0% {
    background-position: 50% 0%;
    background-size: 300% 300%;
  }

  100% {
    background-position: 50% 50%;
    background-size: 300% 300%;
  }
}

.is-disabled span, .is-disabled div {
  color: gray;
}

.is-disabled .division-bar-shell {
  border: 2px solid gray;
}

.is-disabled > .separator {
  background: gray;
}

.is-disabled .division-bar-segment {
  background: gray !important;
}

.is-disabled .bar-graph-divider {
  background: gray;
}


div.device-details-header > div {
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
}

  div.device-details-header > div:first-child {
    justify-content: start;
  }

  div.device-details-header > div:last-child {
    justify-content: end;
  }

  div.device-details-header > div > span {
    display: inline-block;
    white-space: nowrap
  }

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

  .lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #7DF8C2;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
  }

    .lds-ellipsis div:nth-child(1) {
      left: 8px;
      animation: lds-ellipsis1 0.6s infinite;
    }

    .lds-ellipsis div:nth-child(2) {
      left: 8px;
      animation: lds-ellipsis2 0.6s infinite;
    }

    .lds-ellipsis div:nth-child(3) {
      left: 32px;
      animation: lds-ellipsis2 0.6s infinite;
    }

    .lds-ellipsis div:nth-child(4) {
      left: 56px;
      animation: lds-ellipsis3 0.6s infinite;
    }

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
    opacity: 0.1;
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(24px, 0);
  }
}

@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(0);
    opacity: 0.1;
  }
}

.header {
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-content: end;
  max-height: 60px;
}

  .header img {
    height: 60px;
    width: 60px;
  }

.spread-space-between {
  display: flex;
  justify-content: space-between;
}

.centered-table > .row span {
  display: flex;
  justify-content: center;
}

.footer {
  flex-direction: row;
  display: flex;
  bottom: env(safe-area-inset-bottom);
  position: fixed;
  justify-content: space-evenly;
  width: 100%;
}

  .footer > img {
    justify-content: center;
    align-content: center;
    border: 0;
    height: 50px;
    filter: invert(92%) sepia(7%) saturate(1858%) hue-rotate(182deg) brightness(103%) contrast(98%) brightness(70%);
  }

  .footer .active {
    filter: invert(92%) sepia(7%) saturate(1858%) hue-rotate(182deg) brightness(103%) contrast(98%) brightness(100%);
  }

.calendarMode {
  height: 60px;
  width: 60px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-content: center;
}

  .calendarMode > span {
    align-self: center;
    position: absolute;
  }

.page-block:last-of-type {
  margin-bottom: 50px !important;
}

.page-block > .separator {
  background: radial-gradient(98.62% 105% at 111.83% 115%, #F06721 18.58%, #D92028 56.94%, #9C7F3D 71.16%, #06B292 93.85%);
  height: 1px;
}

.page-block-title {
  font-weight: 600;
  color: #7DF8C2;
}

.color-swab {
  height: 18px;
  width: 18px;
  border-radius: 2px;
  margin-right: 10px;
}

.page-block .header-value {
  flex-direction: row-reverse;
  font-weight: 600;
  color: #FFF;
  font-size: 34px;
  line-height: 45px;
  letter-spacing: 0;
  align-self: end;
}

.division-bar-shell {
  border: 2px solid rgba(1, 172, 140, 1);
  width: 100%;
  height: 26px;
  border-radius: 6px;
}

.division-bar-segment {
  height: 18px;
  top: 2px;
  position: relative;
}

  .division-bar-segment:first-of-type {
    margin-left: 2px;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
  }

  .division-bar-segment:last-of-type {
    margin-right: 2px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
  }

.settings-block {
  background-color: rgba(47,79,79, 0.3);
}

  .settings-block .block-title {
    font-weight: 600;
    color: #7DF8C2;
  }

.looc-gauge {
  flex-direction: column;
  height: 60px;
}

.svg-line {
  height: 100%;
  fill-rule: evenodd;
  clip-rule: evenodd;
  stroke-linecap: butt;
  stroke-linejoin: bevel;
  stroke-miterlimit: 1.5;
}

.looc-gauge div.center-bar {
  background-color: #7DF8C2;
  width: 4px;
  height: 22px;
  position: relative;
  align-self: center;
  justify-self: center;
  left: calc(50% - 2px);
  top: calc(-100% - 2px);
}

.looc-gauge > span {
  position: relative;
  top: -65%;
  font-size: 20px;
  align-self: center;
}

span.value-has-increased {
  color: #7DF8C2;
  align-self: center;
}

span.value-has-decreased {
  color: #f05b0f;
  align-self: center;
}

img.arrow {
  width: 10px;
  height: 10px;
  align-self: start;
  top: 10%;
  position: relative;
}

.looc-bar-graph {
  overflow: auto;
  flex-direction: row;
  justify-content: space-between;
  border-bottom: solid 1px #4CA0D6;
}

  .looc-bar-graph > div.background {
    width: inherit;
    background: linear-gradient(0deg, #002E33 0%, #01AC8C 100px);
    border-top: solid 1px #7DF8C2;
    align-self: end;
  }

  .looc-bar-graph div.foreground {
    background-color: #4CA0D6;
    width: inherit;
    margin-left: 1px;
    margin-right: 1px;
    margin-bottom: 1px;
    left: calc(100% - 2px);
    align-self: end;
  }

div.bar-graph-divider {
  width: 4px;
  height: 32px;
  background-color: #7DF8C2;
  position: relative;
  margin-top: -29px;
}

.welcome-box {
  flex-direction: column;
  display: flex;
}

.welcome-box span, .welcome-box div {
  align-self: center;
}