* {
  box-sizing: border-box;
}

/* html, body, #app-container {
  user-select: none;
  cursor: default;
} */

::selection {
  /* background-color: rgb(88, 207, 144); */
  background-color: rgb(88, 199, 207);
  color: white;
}

html, body {
  display: flex;
  height: 100%;
  width: 100%;
  min-height: 100%;
}

html {
  background: #145826;
  min-height: 100%;
}

html, body {
  background-image: url(../assets/media/content/start-image.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  min-height: 100%;
}

.loading {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-blur-white {
  background-color: rgb(255, 255, 255);
  backdrop-filter: blur(0.0001rem);
}

.bg-blur {
  background-color: rgba(0, 0, 0, 0.092);
  backdrop-filter: blur(1rem);
}

.loading>img {
  background-color: rgba(255, 255, 255, 0.784);
  padding: 1.5rem;
}

.content {
  background: rgba(255, 255, 255, 0.794) !important;
  backdrop-filter: blur(7px);
}

.aside {
  background-color: rgba(0, 0, 0, 0.085) !important;
  backdrop-filter: blur(7px);
}

.header {
  background: rgba(255, 255, 255, 0.57) !important;
  backdrop-filter: blur(7px);
  border-bottom: 0.1rem white solid;
}

.refresh {
  opacity: 30% !important;
}

.refresh:hover {
  opacity: 70% !important;
}

.refresh:active {
  opacity: 100% !important;
}

.enable-select {
  user-select: text;
  cursor: text;
}

.disable-select {
  user-select: none;
  cursor: default;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.fa-spin {
  animation-duration: 1s;
}

#--re-frame-10x-- {
  user-select: all;
}

code, pre {
  user-select: all;
}

.fv-plugins-message-container {
  user-select: all;
  cursor: text;
}

.popover-arrow {
  margin-left: 0 !important;
}

.svg-icon>img {
  max-width: unset !important;
  width: 16px;
  height: 19px;
}

.fit-cover {
  object-fit: cover;
}

.badge-warning {
  background-color: #ff9900 !important;
}

.badge-success {
  background-color: rgb(38, 166, 154) !important;
}

/* Fix excessive width of radio buttons in group on mobile */
.btn-group .btn {
  padding: 0.75rem 0.1rem 0.75rem 0.1rem !important;
}

.btn {
  overflow-wrap: anywhere;
}

.hover-tooltip {
  position: relative;
}

.hover-tooltip:hover::before {
  content: attr(data-tooltip);
  border-radius: .3rem;
  text-align: center;
  padding: 1rem;
  background: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.172);
  z-index: 400;
  width: max-content;
  max-width: 500px;
  position: absolute;
  top: -.45rem;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
}

.hover-tooltip:hover::after {
  content: '';
  border: 7px solid transparent;
  border-top-color: white;
  transform: translateX(-30%);
  position: absolute;
  top: -.45rem;
  left: 50%;
  z-index: 400;
}

.align-end {
  align-items: flex-end;
}

.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.092) !important;
}

.modal-backdrop.show {
  backdrop-filter: blur(5px) !important;
  background-color: rgba(0, 0, 0, 0.092) !important;
  opacity: 1 !important;
}

.modal-backdrop.fade {
  opacity: 1 !important;
}

.modal-lg {
  max-width: 1600px !important;
}

.modal-content {
  margin: 20px;
}
