﻿h2, h3, h4, h2 span, h3 span, h4 span {
  font-weight: 500;
}

html, body {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-optical-sizing: auto;
  font-style: normal;
}

a, .btn-link {
  color: #006bb7;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
  padding-top: 1.1rem;
}

h1:focus {
  outline: none;
}

.valid.modified:not([type=checkbox]) {
  outline: 1px solid #26b050;
}

.invalid {
  outline: 1px solid #e50000;
}

.validation-message {
  color: #e50000;
}

.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2Lj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"An error has occurred.";
}

.darker-border-checkbox.form-check-input {
  border-color: #929292;
}

.lang-flag {
  max-height: 30px;
  margin-right: 10px;
}

input {
  border-color: #E3E3E3;
}

.input-group {
  margin-bottom: 16px;
}
.input-group .form-floating {
  margin-bottom: 0;
}

.input-group.wrapped .form-check-input[type=checkbox] {
  margin: 0;
}
.input-group.wrapped .form-control {
  height: 58px;
  line-height: 58px;
  padding-top: 0;
  padding-bottom: 0;
}

.form-floating {
  margin-bottom: 16px;
}
.form-floating textarea.autosized {
  height: auto;
}

.form-floating:not(.input-group) i .fa-spinner, .form-floating:not(.input-group) i.fa-search {
  position: absolute;
  top: 40%;
  right: 10px;
  color: #4cff00;
}

.form-floating > .form-control, .form-floating > .form-select {
  font-weight: 600;
}

table {
  border-top: 1px solid #ddd;
}
table thead tr th {
  background-color: rgba(102, 152, 204, 0.5);
  font-size: 10px;
  text-transform: uppercase;
  padding: 1px 5px;
}
table thead tr th:first-child {
  background-color: rgba(102, 152, 204, 0.5);
}
table thead tr:nth-child(2n+1) th:first-child {
  background-color: rgba(102, 152, 204, 0.5);
}
table tbody tr {
  border-top: 1px solid #ddd;
}
table tbody tr td {
  padding: 1px 5px;
}
table tbody tr:nth-child(odd) {
  background-color: #f9f9f9;
}
table tr.grayColspanHeader {
  background-color: #eee;
}
table tr.grayColspanHeader td {
  padding: 5px;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: bold;
}
table tr.sums, table tr.emptyRow {
  background-color: rgba(102, 152, 204, 0.5) !important;
}
table tr.sums td, table tr.emptyRow td {
  font-weight: bold;
}

.modal.alert-popup {
  margin-top: 55px;
}

.blazored-modal {
  max-height: 88vh;
  overflow-y: scroll;
}

.pointer {
  cursor: pointer;
}

#app {
  min-height: 100vh;
  /*    overflow-x: auto;
  overflow-y: scroll;*/
}

.content {
  padding-top: 1.1rem;
}

.dot-flashing {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #6698CC;
  color: #6698CC;
  animation: dot-flashing 1s infinite linear alternate;
  animation-delay: 0.5s;
}

.dot-flashing::before, .dot-flashing::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
}

.dot-flashing::before {
  left: -15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #6698CC;
  color: #9880ff;
  animation: dot-flashing 1s infinite alternate;
  animation-delay: 0s;
}

.dot-flashing::after {
  left: 15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #6698CC;
  color: #9880ff;
  animation: dot-flashing 1s infinite alternate;
  animation-delay: 1s;
}

@keyframes dot-flashing {
  0% {
    background-color: #6698CC;
  }
  50%, 100% {
    background-color: rgba(102, 152, 204, 0.2);
  }
}
.loadingoverlay {
  width: 100vw;
  position: fixed;
  background: rgba(255, 255, 255, 0.8);
  z-index: 999;
  top: 56px;
  bottom: 0;
}

.loadingoverlay .stage {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  position: fixed;
  width: 100%;
  overflow: hidden;
  top: 46vh;
  left: 0;
}

.loadingoverlay p {
  text-align: center;
  margin-bottom: 0;
  width: 100%;
  position: fixed;
  top: 44vh;
  left: 0;
}

.loading {
  height: 100vh;
  width: 100vw;
  vertical-align: middle;
  align-content: center;
  color: #2B2B2B;
}

.loading .stage {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  width: 100%;
  overflow: hidden;
}

.loading {
  position: relative;
}
.loading .poweredBy {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 10px;
  display: flex;
  align-content: end;
}
.loading .poweredBy span {
  margin-right: 5px;
  color: #777;
  font-size: 10px;
  align-content: end;
}
.loading .poweredBy img {
  max-height: 20px;
}

.loading p {
  text-align: center;
  margin-bottom: 0;
  width: 100%;
}
.loading p i {
  font-size: 50px;
  margin-bottom: 12px;
}

.inapploading .stage {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  position: fixed;
  width: 100%;
  overflow: hidden;
  top: 46vh;
  left: 0;
}
.inapploading p {
  text-align: center;
  margin-bottom: 0;
  width: 100%;
  position: fixed;
  top: 44vh;
  left: 0;
}

.loaderContainer {
  position: relative;
}
.loaderContainer .smallLoading {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px;
  z-index: 3;
}
.loaderContainer .smallLoading .stage {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  overflow: hidden;
}
.loaderContainer .smallLoading p {
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
}

.mobile {
  display: none;
}

[role=region][aria-labelledby][tabindex] {
  width: 100%;
  overflow: auto;
}
[role=region][aria-labelledby][tabindex] table {
  white-space: nowrap;
  table-layout: fixed;
}
[role=region][aria-labelledby][tabindex] table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  width: 25vw;
}
[role=region][aria-labelledby][tabindex] table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
}
[role=region][aria-labelledby][tabindex] table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
}

@media (max-width: 575.98px) {
  .desktop {
    display: none !important;
  }
  .mobile {
    display: block;
  }
  body .box .row {
    --bs-gutter-x: 10px;
  }
  body .box .form-floating {
    margin-bottom: 10px;
    /*label {
        font-size: 14px !important;
    }*/
  }
  body .box .form-floating > .form-control:not(:placeholder-shown) ~ label {
    transform: scale(1) translateY(-0.5rem) translateX(0);
    font-size: 12px !important;
  }
  body .box .rowcontent .btn {
    width: 100%;
    min-width: 0;
  }
  input[type=date] {
    text-align: left;
  }
  input::-webkit-date-and-time-value {
    text-align: left;
  }
}
.col-cbx {
  width: 25px;
}

.accordion.accordion-open-all-sections .collapse:not(.show) {
  display: block;
}
.accordion.accordion-open-all-sections .accordion-button {
  pointer-events: none;
  font-weight: bold;
}
.accordion.accordion-open-all-sections .accordion-button:not(.collapsed):after {
  transform: rotate(0deg);
}

.handsontableholder {
  min-height: 1000px;
  margin-bottom: 50px;
  z-index: 9999;
}

.stickyBottomButton {
  position: sticky;
  bottom: 0;
  z-index: 99999;
}
.stickyBottomButton .alert {
  box-shadow: 0px 0px 10px 1px #CCC;
}
.stickyBottomButton ::deep .form-floating {
  margin-bottom: 0 !important;
}
.stickyBottomButton .btn:not(.onlyIcon) {
  height: 58px;
  line-height: 58px;
  padding-top: 0;
  padding-bottom: 0;
}
.stickyBottomButton .btn:not(.onlyIcon) i {
  right: 16px;
  line-height: 58px;
  bottom: 0;
  top: 0;
}

.bm-container {
  z-index: 1500;
}
