:root {
  --primary-color: 121, 3, 5;
}


html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: #efefef;
}

.report-body {
  size: A4;
  margin: auto;
  min-height: 210mm;
  min-width: 297mm;
  background: white;
}

.signInForm {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.loginBackground {
  background-image: url("/img/loginBackground.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}

.spinner,
.spinner:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}
.spinner {
  display: block;
  margin: 60px auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(128, 128, 128, 0.1);
  border-right: 1.1em solid rgba(128, 128, 128, 0.1);
  border-bottom: 1.1em solid rgba(128, 128, 128, 0.1);
  border-left: 1.1em solid #008bfc;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: spinner-animation 1.1s infinite linear;
  animation: spinner-animation 1.1s infinite linear;
}
@-webkit-keyframes spinner-animation {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner-animation {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: local('Material Icons'),
  local('MaterialIcons-Regular'),
  url(/fonts/MaterialIcons-Regular.ttf) format('truetype');
}

.icon {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}

.editable input {
  width: 100%;
  border: none;
  padding: 5px;
  border-radius: 3px;
  background-color: white;
  outline: 1px solid steelblue;
}

.editable button {
  text-align: left;
  width: 100%;
  outline: none;
  border: 1px dotted #bebebe;
  padding: 5px;
  border-radius: 3px;
  background: transparent;
}

.editable button.placeholder {
  color: #525252;
}

.editable button:hover,
.editable button:focus {
  background-color: #ececec;  
}

.display-indicator {
  gap: 0.5em;
  border-top: 1px solid #dedede;
  padding: 0.3em;
}

.not-dropdown-arrow::after {
  display: none;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}
.dropdown-inherit {
  font-size: inherit !important;
  font-weight: inherit !important;
}

.dropdown .dropdown-menu {
  max-height: 270px;
  overflow-y: auto;
}

.td-nowrap td {
  white-space: nowrap;
  font-size: 0.9em;
}

.d-flex .card > .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

span[data-chart-size=full] {
  flex: 1 1 calc(var(--screen-width) - 25px);
  max-width: calc(var(--screen-width) - 25px);
}

span[data-chart-size=medium] {
  flex: 1 1 360px;
}

span[data-chart-size=small] {
  flex: 1 1 128px;
}

@media (max-width: 400px) {
  span[data-chart-size=full], span[data-chart-size=medium], span[data-chart-size=small] {
    max-width: calc(var(--screen-width) - 25px);
  } 
}

@media print {
  @page {
    size: auto;   /* auto is the initial value */
    margin: 0;  /* this affects the margin in the printer settings */
  }
}

li[role=option] {
  white-space: pre;
  font-family: monospace;
}

.drawer {
  border: 0;
  border-left: 1px solid #dedede;
  right: 0px;
  left: auto;
  margin: 0px 0px;
  height: 100vh;
  min-height: 100vh;
  padding: 0px;
  max-height: initial;
  min-width: 360px;
  max-width: 100vw;
  width: auto;
  animation: drawer-animation 0.15s linear;
}

@keyframes drawer-animation {
  0% {
    transform: translateX(280px);
  }
  100% {
    transform: translateX(0px);
  }
}

.carousel {
  width: -webkit-fill-available;
}

.carousel .carousel-slides {
  display: flex;
  flex-direction: row;
  overflow-x: hidden;
}

.carousel .carousel-slides::-webkit-scrollbar {
  height: 0px;
  width: 0px;
}

.carousel .carousel-slide {
  min-width: var(--carousel-width);
  height: var(--carousel-height);
  object-fit: cover;
}

.carousel .carousel-thumbs {
  display: flex;
  flex-direction: row;
  padding: 1em;
  gap: 0.5em;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.carousel .carousel-thumbs .carousel-thumb {
  width: 64px;
  cursor: pointer;
  border: 2px solid transparent;
}

.carousel .carousel-thumbs .carousel-thumb[data-selected=true] {
  border: 2px solid rgb(var(--primary-color));
}

dialog {
    box-shadow: 0px 0px 10px -3px;
}

dialog .card {
    border-radius: 0;
    border: 0;
}

dialog .card-header {
    color: white;
    background-color: #428955;
    border-radius: 0 !important;
}

dialog .card-header h6 {
    margin: 0;
}

dialog .card-header button {
    height: 22px;
    padding: 0em !important;
}

/* scrollbar */
dialog::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    transform: translateX(-10px);
}

dialog::-webkit-scrollbar-track {
    -webkit-border-radius: 0px;
    border-radius: 0px;
}

dialog::-webkit-scrollbar-thumb {
    -webkit-border-radius: 0px;
    border-radius: 0px;
    background: #428955;
}

dialog::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(255, 255, 255, 0.3);
}
