/* Application styles */
html, body {
    height: 100vh;
    width: 100%;
}

.cursor-pointer {
    cursor: pointer;
}

.vh-100 {
    height: 100vh !important;
}

.vh-12-5 {
    height: 12.5vh !important;
}

.vh-15 {
    height: 15vh !important;
}

.vh-20 {
    height: 20vh !important;
}

.max-w-100 {
  max-width: 100%;
}

@media only screen and (max-width: 768px) {
  .w-sm-100 {
    width: 100%;
  }
}

@media only screen and (min-width: 768px) {
    .max-h-md-100 {
        max-height: 100%;
    }

    .h-md-100 {
        height: 100%;
    }

    .vh-md-100 {
        height: 100vh !important;
    }

    .h-25-md {
      height: 25% !important;
    }

    .min-h-md-100 {
        min-height: 100%;
    }
}

.zstack {
    display: grid;
}

.zstack-layer {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.text-truncate {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.zstack-entry {
    z-index: 1;
}

.form-label-top {
  color: rgba(var(--bs-body-color-rgb),.65);
  transform: scale(.85) translateY(-.5rem) translateX(.15rem)
}

.form-focussable {
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.form-focussable:focus-within {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
}

.text-body-color-rgb {
  color: rgba(var(--bs-body-color-rgb), .65) !important;
}

.form-input-background-valid {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(.375em + .1875rem) top calc(.375em + .1875rem);
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.form-input-background-invalid {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(.375em + .1875rem) top calc(.375em + .1875rem);
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.form-input-border-valid {
  border-color: var(--bs-form-valid-border-color) !important;
}

.form-input-border-invalid {
  border-color: var(--bs-form-invalid-border-color) !important;
}

.form-input-label-color {
  color: rgba(var(--bs-body-color-rgb), .65) !important;
}

.box-shadow-border {
  box-shadow: 0 0 0 var(--bs-border-width) var(--bs-border-color);
}

.rounded-top-left {
  border-top-left-radius: var(--bs-border-radius) !important;
}

.rounded-top-right {
  border-top-right-radius: var(--bs-border-radius) !important;
}

.rounded-bottom-left {
  border-bottom-left-radius: var(--bs-border-radius) !important;
}

.rounded-bottom-right {
  border-bottom-right-radius: var(--bs-border-radius) !important;
}

.gap-1px {
  gap: 1px !important;
}

.event-grid-height {
  line-height: calc(var(--bs-body-font-size) * 2);
  height: calc(var(--bs-body-font-size) * 2);
}

.no-wrap {
  white-space: nowrap;
}

.zedorg-text-gradient {
  background: linear-gradient(to bottom right, var(--bs-blue), var(--bs-indigo));
  animation: zedorg-text-gradient-fade 5s ease infinite;
  background-size: 250% 250%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes zedorg-text-gradient-fade {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.bg-blue-indigo-gradient {
  background: linear-gradient(to bottom right, rgb(from var(--bs-blue) r g b / 0.1), rgb(from var(--bs-indigo) r g b / 0.1));
}

.fs-7 {
  font-size: 0.75rem !important;
}

.fs-8 {
  font-size: 0.5rem !important;
}

.fs-9 {
  font-size: 0.25rem !important;
}
