/* Loader animations */
@keyframes appAnimatePagePreloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Gradient background animations */
@keyframes appAnimateBgMovingLight {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes appAnimatePuls {
  0% {
    transform: translateY(0) scaleX(1);
  }
  10% {
    transform: translateY(-20%) scaleX(1.1);
  }
  20% {
    transform: translateY(0) scaleX(0.9);
  }
  30% {
    transform: translateY(-10%) scaleX(1.05);
  }
  40% {
    transform: translateY(0) scaleX(0.98);
  }
  100% {
    transform: translateY(0) scaleX(1);
  }
}
@keyframes appAnimateBounce {
  0% {
    transform: scale(1) translateY(0);
  }
  10% {
    transform: scale(1.1, 0.9) translateY(0);
  }
  30% {
    transform: scale(0.9, 1.1) translateY(-0.5em);
  }
  50% {
    transform: scale(1.05, 0.95) translateY(0);
  }
  57% {
    transform: scale(1) translateY(-0.125em);
  }
  64%, 100% {
    transform: scale(1) translateY(0);
  }
}
html, body {
  font-family: "Montserrat", "Roboto", "Roboto Fallback Lower", "Arial", "Helvetica", "Verdana", sans-serif;
}

/* important for body only */
body {
  background-color: #fbfbfb;
}

/* Fonts for bootstrap styles */
.text-uppercase {
  font-family: "Montserrat", "Roboto", "Roboto Fallback Upper", "Arial", "Helvetica", "Verdana", sans-serif;
}

.tooltip {
  font-family: "Montserrat", "Roboto", "Roboto Fallback Lower", "Arial", "Helvetica", "Verdana", sans-serif;
}

/* Helpers */
.max-w-100 {
  max-width: 100% !important;
}

/* Bootstrap continued styles */
.fs-7 {
  font-size: 0.77rem !important;
}

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

/* Hover animations */
.hover-shadow {
  transition: 0.5s;
}

.hover-shadow:hover {
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.06), 0 1px 0 0 rgba(0, 0, 0, 0.02);
}

/* Workflow */
.workflow-row-indicator {
  width: 8px;
  height: 70px;
  margin: 0 0.4rem !important;
}

.workflow-bg-color-created {
  background-color: #3b71ca; /* APP_BG_PRIMARY */
}

.workflow-bg-color-request {
  background-color: #332d2d; /* APP_BG_DARK */
}

.workflow-bg-color-approved {
  background-color: #3b71ca; /* APP_BG_PRIMARY */
}

.workflow-bg-color-denied {
  background-color: #9fa6b2; /* APP_BG_SECONDARY */
}

.workflow-bg-color-canceled {
  background-color: #9fa6b2; /* APP_BG_SECONDARY */
}

.workflow-bg-color-visiting {
  background-color: #54b4d3; /* APP_BG_INFO */
}

.workflow-bg-color-finished {
  background-color: #14a44d; /* APP_BG_SUCCESS */
}

.workflow-bg-color-expired {
  background-color: #dc4c64; /* APP_BG_DANGER */
}

.workflow-bg-color-estimate {
  background-color: #332d2d; /* APP_BG_DARK */
}

.workflow-bg-color-unpaid {
  background-color: #e4a11b; /* APP_BG_WARNING */
}

.workflow-bg-color-paid {
  background-color: #14a44d; /* APP_BG_SUCCESS */
}

/* Page preloader */
#app-page-preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #ffffff;
}

#app-page-preloader:before {
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  width: 60px;
  height: 60px;
  border: 6px solid #2487ce;
  border-top-color: #ffffff;
  border-bottom-color: #ffffff;
  border-radius: 50%;
  content: "";
  animation: appAnimatePagePreloader 1s linear infinite;
}

.logo-color,
a .logo-color,
a:hover .logo-color {
  color: #79c753 !important;
}

/* Navbar */
.navbar {
  z-index: 500;
}

.navbar .navbar-nav li {
  max-height: 33px;
}

/* Scrollable dropdown menu */
.dropdown-menu-scrollable {
  height: auto;
  max-height: calc(100vh - 300px);
  overflow-x: hidden;
  overflow-y: auto;
}

/* Form */
.form-outline .form-helper,
.form-check .form-helper {
  font-size: 0.6em !important;
}

.form-check .form-helper {
  margin-left: -40px;
}

/* Choices */
.choices__inner {
  padding: 2.4px 2.4px 1.75px;
  min-height: 34px;
}

.choices[data-type*=select-one] .choices__inner {
  padding-bottom: 2.4px;
}

.choices__item {
  white-space: nowrap;
}

form[name=user_registration] .choices__inner {
  padding: 7.5px 7.5px 3.75px !important;
  min-height: 44px !important;
}

/* Disable */
.app-all-disabled {
  pointer-events: none !important;
}

/* Breadcrumb */
.app-breadcrumb-actions > .app-action:first-child {
  border-left-width: 2px !important;
  border-style: solid !important;
  border-top-left-radius: 0.25rem !important;
  border-bottom-left-radius: 0.25rem !important;
}

.app-breadcrumb-actions > .app-action:last-child {
  border-right-width: 2px !important;
  border-style: solid !important;
  border-bottom-right-radius: 0.25rem !important;
  border-top-right-radius: 0.25rem !important;
}

/* Stepper line */
.app-list-group-item-step {
  display: flex;
  gap: clamp(0.25rem, 2vw, 0.5rem);
  align-items: center;
  /*
    &:before {
      content: "";
      display: block;
      width: clamp(1.5rem, 5vw, 3rem);
      height: clamp(1.5rem, 5vw, 3rem);
      border-radius: 50%;
      background-color: lightgrey;
    }
  */
}
.app-list-group-item-step:not(:last-child) {
  flex: 1;
}
.app-list-group-item-step:not(:last-child):after {
  content: "";
  position: relative;
  z-index: -1;
  height: 2px;
  background-color: #e0e0e0;
  flex: 1;
  margin-right: 0.5rem;
}

/* Paginator */
.pagination-count {
  position: absolute;
  display: flex;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: center;
}

/* Filepond */
.filepond--root .filepond--file-info .filepond--file-info-main {
  display: none !important;
}

/* Gradient colors */
.bg-gradient-happy {
  background: radial-gradient(50% 123.47% at 50% 50%, #00ff94 0%, #720059 100%), linear-gradient(121.28deg, #669600 0%, #ff0000 100%), linear-gradient(360deg, #0029ff 0%, #8fff00 100%), radial-gradient(100% 164.72% at 100% 100%, #6100ff 0%, #00ff57 100%), radial-gradient(100% 148.07% at 0% 0%, #fff500 0%, #51d500 100%) !important;
  background-blend-mode: screen, color-dodge, overlay, difference, normal !important;
}

/* Gradient navber colors animated */
.navbar-animated {
  background: radial-gradient(50% 123.47% at 50% 50%, #00ff94 0%, #720059 100%), linear-gradient(121.28deg, #669600 0%, #ff0000 100%), linear-gradient(360deg, #0029ff 0%, #8fff00 100%), radial-gradient(100% 164.72% at 100% 100%, #6100ff 0%, #00ff57 100%), radial-gradient(100% 148.07% at 0% 0%, #fff500 0%, #51d500 100%);
  background-blend-mode: screen, color-dodge, overlay, difference, normal;
  background-size: 300% 300%;
  animation: appAnimateBgMovingLight 15s ease infinite;
  z-index: 1;
}

.navbar-animated::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.2) 100%);
  mix-blend-mode: overlay;
  animation: appAnimateBgMovingLight 8s linear infinite;
  background-size: 200% 200%;
  z-index: 2;
  pointer-events: none;
}

/* Gradient button colors animated */
.btn-animated {
  background: radial-gradient(50% 123.47% at 50% 50%, #00ff94 0%, #720059 100%), linear-gradient(121.28deg, #669600 0%, #ff0000 100%), linear-gradient(360deg, #0029ff 0%, #8fff00 100%), radial-gradient(100% 164.72% at 100% 100%, #6100ff 0%, #00ff57 100%), radial-gradient(100% 148.07% at 0% 0%, #fff500 0%, #51d500 100%);
  background-blend-mode: screen, color-dodge, overlay, difference, normal;
  background-size: 300% 300%;
  animation: appAnimateBgMovingLight 15s ease infinite;
  color: #262626;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-animated:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-animated::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.2) 100%);
  mix-blend-mode: overlay;
  animation: appAnimateBgMovingLight 8s linear infinite;
  background-size: 200% 200%;
  z-index: 2;
  pointer-events: none;
}

/* Gradient fa icon colors animated */
.fa-animated {
  background: linear-gradient(270deg, #ff0055, #00f0ff, #ffcc00, #00ff94);
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: appAnimateBgMovingLight 5s ease infinite;
  display: inline-block !important; /* IMPORTANT for navbar */
}

/* Animation pulsation */
.puls-animated {
  animation-name: appAnimatePuls;
  animation-delay: 0s;
  animation-direction: normal;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.28, 0.84, 0.42, 1);
  display: inline-block;
  transform-origin: center bottom;
}

/* Animation bounce (style fa-bounce) */
.bounce-animated {
  animation-name: appAnimateBounce;
  animation-delay: 0s;
  animation-direction: normal;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.28, 0.84, 0.42, 1);
  transform-origin: center bottom;
  display: inline-block;
}