﻿.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.8);
  opacity: 1;
  transition: opacity 0.5s ease-out 0s;
}
.overlay.cloak {
  opacity: 0;
  z-index: -1;
}
.overlay .loader {
  display: inline-block;
  position: absolute;
  width: 64px;
  height: 64px;
  top: 50%;
  margin-top: -32px;
  left: 50%;
  margin-left: -32px;
}
.overlay .loader div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 32px 32px;
}
.overlay .loader div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #666;
  margin: -3px 0 0 -3px;
}
.overlay .loader div:nth-child(1) {
  animation-delay: -0.036s;
}
.overlay .loader div:nth-child(1):after {
  top: 50px;
  left: 50px;
}
.overlay .loader div:nth-child(2) {
  animation-delay: -0.072s;
}
.overlay .loader div:nth-child(2):after {
  top: 54px;
  left: 45px;
}
.overlay .loader div:nth-child(3) {
  animation-delay: -0.108s;
}
.overlay .loader div:nth-child(3):after {
  top: 57px;
  left: 39px;
}
.overlay .loader div:nth-child(4) {
  animation-delay: -0.144s;
}
.overlay .loader div:nth-child(4):after {
  top: 58px;
  left: 32px;
}
.overlay .loader div:nth-child(5) {
  animation-delay: -0.18s;
}
.overlay .loader div:nth-child(5):after {
  top: 57px;
  left: 25px;
}
.overlay .loader div:nth-child(6) {
  animation-delay: -0.216s;
}
.overlay .loader div:nth-child(6):after {
  top: 54px;
  left: 19px;
}
.overlay .loader div:nth-child(7) {
  animation-delay: -0.252s;
}
.overlay .loader div:nth-child(7):after {
  top: 50px;
  left: 14px;
}
.overlay .loader div:nth-child(8) {
  animation-delay: -0.288s;
}
.overlay .loader div:nth-child(8):after {
  top: 45px;
  left: 10px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.overlay.style-balham-dark, .overlay.style-alpine-dark {
  background-color: rgba(0, 0, 0, 0.3);
}
.overlay.style-balham-dark .loader div:after, .overlay.style-alpine-dark .loader div:after {
  background: white;
}

.blurred {
  filter: blur(2px);
}

@-webkit-keyframes spin {
  0%, 100% {
    box-shadow: 10px 10px #4f4d49, -10px 10px #dfdfdf, -10px -10px #4f4d49, 10px -10px #dfdfdf;
  }
  25% {
    box-shadow: -10px 10px #dfdfdf, -10px -10px #4f4d49, 10px -10px #dfdfdf, 10px 10px #4f4d49;
  }
  50% {
    box-shadow: -10px -10px #4f4d49, 10px -10px #dfdfdf, 10px 10px #4f4d49, -10px 10px #dfdfdf;
  }
  75% {
    box-shadow: 10px -10px #dfdfdf, 10px 10px #4f4d49, -10px 10px #dfdfdf, -10px -10px #4f4d49;
  }
}
.mhsv-grid {
  width: 100%;
  border: solid 1px #bdc3c7;
  background: #fcfcfc;
  border-radius: 2px;
}
.mhsv-grid.ag-theme-balham-dark {
  border: solid 1px #424242;
  background-color: #2d3436;
}
.mhsv-grid.ag-theme-alpine {
  border: solid 1px #babfc7;
}
.mhsv-grid.ag-theme-alpine-dark {
  border: solid 1px #68686e;
  background-color: #2d3436;
}
.mhsv-grid.auto-height {
  height: auto;
}
.mhsv-grid .ag-header-cell-filtered .ag-header-cell-label .ag-header-cell-text {
  font-weight: bold;
}
.mhsv-grid div.ag-root .ag-cell-focus {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.mhsv-error {
  margin: 1em;
  display: flex;
  background-color: rgba(255, 0, 0, 0.15);
  border-radius: 2px;
  border: 1px solid red;
  padding: 1.5em 2em;
}
.mhsv-error div .error-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 1em;
  padding: 0;
}
.mhsv-error div .error-message {
  margin: 0;
  padding: 0;
}

.mhsv-filter {
  border: solid 1px #bbb;
  border-radius: 2px;
  padding: 4px 5px;
  vertical-align: top;
}

.mhsv-export-btn {
  cursor: pointer;
}

.btn.btn-mhsv-default {
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}

.d-flex {
  display: -ms-flexbox !important;
  display: flex !important;
}

.flex-row {
  -ms-flex-direction: row !important;
  flex-direction: row !important;
}

.justify-content-between {
  -ms-flex-pack: justify !important;
  justify-content: space-between !important;
}

.ml-auto {
  margin-left: auto !important;
}

.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.custom-tooltip {
  position: absolute;
  max-width: 500px;
  height: auto;
  border: 1px solid black;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 1s;
  background: white;
}
.custom-tooltip.ag-tooltip-hiding {
  opacity: 0;
}
.custom-tooltip p {
  margin: 5px;
  white-space: normal;
  font-size: 12px;
}

.custom-date-filter a {
  position: absolute;
  right: 20px;
  color: rgba(0, 0, 0, 0.54);
  cursor: pointer;
}
