.animate-slide-in-right.au-enter {
    transform: translateX(100%);
}

.animate-slide-in-right.au-enter-active {
    animation: SlideInRight 1s;
}

@keyframes SlideInRight {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}

.animate-slide-out-right.au-leave-active {
    animation: SlideOutRight 1s;
}

@keyframes SlideOutRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

.animate-slide-in-left.au-enter {
    transform: translateX(-100%);
}

.animate-slide-in-left.au-enter-active {
    animation: SlideInLeft 1s;
}

@keyframes SlideInLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

.animate-slide-out-left.au-leave-active {
    animation: SlideOutLeft 1s;
}

@keyframes SlideOutLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.animate-fade-in.au-enter {
    opacity: 0;
}

.animate-fade-in.au-enter-active {
    animation: FadeIn 0.8s;
}

@keyframes FadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.animate-fade-out.au-leave-active {
    animation: FadeOut 0.8s;
}

@keyframes FadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
/* bootstrap-datetimepicker adjustment for BS4 */

.bootstrap-datetimepicker-widget .collapse.in {
    display: block;
    visibility: visible;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    width: 266px;
    height: 289px;
}

.bootstrap-datetimepicker-widget table td.day {
    height: 20px;
    line-height: 20px;
    width: 20px;
}

.bootstrap-datetimepicker-widget .picker-switch td span {
    height: 35px;
}

.table-condensed>thead>tr>th, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>th, .table-condensed>thead>tr>td, .table-condensed>tbody>tr>td, .table-condensed>tfoot>tr>td {
    padding: 5px;
}
.has-float-label {
    display: block;
    position: relative;
}

.has-float-label label, .has-float-label>span {
    position: absolute;
    left: 0;
    top: 0;
    cursor: text;
    font-size: 85%;
    opacity: 1;
    -webkit-transition: all .2s;
    transition: all .2s;
    top: -.5em;
    left: 0.75rem;
    z-index: 3;
    line-height: 1;
    padding: 0 1px;
    color: #777;
}

.has-float-label label::after, .has-float-label>span::after {
    content: " ";
    display: block;
    position: absolute;
    background: white;
    height: 2px;
    top: 50%;
    left: -.2em;
    right: -.2em;
    z-index: -1;
}

.has-float-label .form-control::-webkit-input-placeholder {
    opacity: 1;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.has-float-label .form-control::-moz-placeholder {
    opacity: 1;
    transition: all .2s;
}

.has-float-label .form-control:-ms-input-placeholder {
    opacity: 1;
    transition: all .2s;
}

.has-float-label .form-control::placeholder {
    opacity: 1;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.has-float-label .form-control:placeholder-shown:not(:focus)::-webkit-input-placeholder {
    opacity: 0;
}

.has-float-label .form-control:placeholder-shown:not(:focus)::-moz-placeholder {
    opacity: 0;
}

.has-float-label .form-control:placeholder-shown:not(:focus):-ms-input-placeholder {
    opacity: 0;
}

.has-float-label .form-control:placeholder-shown:not(:focus)::placeholder {
    opacity: 0;
}

.has-float-label .form-control:placeholder-shown:not(:focus)+* {
    font-size: 100%;
    opacity: .5;
    top: .6em;
}

.input-group .has-float-label {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    margin-bottom: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.input-group .has-float-label .form-control {
    width: 100%;
    border-radius: 0.25rem;
}

.input-group .has-float-label:not(:last-child), .input-group .has-float-label:not(:last-child) .form-control {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-right: 0;
}

.input-group .has-float-label:not(:first-child), .input-group .has-float-label:not(:first-child) .form-control {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}
html, body {
  overflow-x: hidden;
  /* Prevent scroll on narrow devices */
}

body {
  padding-top: 56px;
}

@media (max-width: 991.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 56px;
    /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #343a40;
    transition: visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-underline .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
  color: #6c757d;
}

.nav-underline .nav-link:hover {
  color: #007bff;
}

.nav-underline .active {
  font-weight: 500;
  color: #343a40;
}

.text-white-50 {
  color: rgba(255, 255, 255, .5);
}

.bg-purple {
  background-color: #6f42c1;
}

.lh-100 {
  line-height: 1;
}

.lh-125 {
  line-height: 1.25;
}

.lh-150 {
  line-height: 1.5;
}
body {
  line-height: 1.25;
}

.form-control:focus {
  box-shadow: 0 0 0 0.075rem rgba(0, 123, 255, 0.25);
}

.form-select:focus {
  box-shadow: 0 0 0 0.075rem rgba(0, 123, 255, 0.25);
}

.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus {
  box-shadow: 0 0 0 0.075rem rgba(220, 53, 69, 0.25);
}

.form-control.is-invalid {
  background-image: none;
}

select.form-select.is-invalid {
  background: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 4 5%27%3e%3cpath fill=%27%23343a40%27 d=%27M2 0L0 2h4zm0 5L0 3h4z%27/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
}

.w-90px {
  min-width: 90px;
}

.w-100px {
  min-width: 100px;
}

.w-200px {
  min-width: 200px;
}

/* width */

::-webkit-scrollbar {
  width: 10px;
  /* display: none; */
}

/* Track */

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

/* Handle */

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
  background: #555;
  border-radius: 10px;
}

/* html {
    overflow-y: overlay;
} */

.spinner-border {
  border-top-width: 0.1em;
  border-right-width: 0.1em;
  border-bottom-width: 0.1em;
  border-left-width: 0.1em;
}

dialog {
  border: none;
  padding: initial;
  background: transparent;
}

.input-inner-addon {
  position: relative;
}

/* style glyph */
.input-inner-addon .fa {
  position: absolute;
  padding: 10px;
  pointer-events: none;
}

/* align glyph */
.input-left-addon .fa {
  left: 0px;
}

.input-right-addon .fa {
  right: 0px;
}

/* add padding  */
.input-left-addon input {
  padding-left: 30px;
}

.input-right-addon input {
  padding-right: 30px;
}
.offcanvas {
    position: fixed;
    bottom: 0;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    background-color: #fff;
    outline: 1px solid rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
  }

  @media (prefers-reduced-motion: reduce) {
    .offcanvas {
      transition: none;
    }
  }

  .offcanvas-header {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1rem;
  }

  .offcanvas-header .close {
    padding: 0.5rem 0.5rem;
    margin: -1rem -1rem -1rem auto;
  }

  .offcanvas-body {
    padding: 1rem 1rem;
    overflow-y: auto;
  }

  .offcanvas-left {
    top: 0;
    left: 0;
    width: 400px;
    transform: translateX(-100%);
  }

  .offcanvas-right {
    top: 0;
    right: 0;
    width: 400px;
    transform: translateX(100%);
  }

  .offcanvas-bottom {
    right: 0;
    left: 0;
    height: 30vh;
    max-height: 100%;
    transform: translateY(100%);
  }

  .offcanvas.show {
    transform: none;
  }

  .offcanvas-freeze {
    overflow: hidden;
  }

  .offcanvas-backdrop::before {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1039;
    width: 100vw;
    height: 100vh;
    content: "";
    background-color: rgba(0, 0, 0, 0.5);
  }
