@tailwind base;
@tailwind components;
@tailwind utilities;
.side-nav .menu-arrow {
  right: 20px;
}

.loading {
  position: relative;
  cursor: default;
  point-events: none;
  text-shadow: none !important;
  color: transparent !important;
  transition: all 0s linear;
}
.loading:before {
  position: absolute;
  content: "";
  top: 0%;
  left: 0%;
  background: rgba(255, 255, 255, 0.8);
  width: 100%;
  height: 100%;
  z-index: 10;
}
.loading:after {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  margin: -1.5em 0em 0em -1.5em;
  width: 3em;
  height: 3em;
  animation: spin-preloader 0.6s linear;
  animation-iteration-count: infinite;
  border-radius: 500rem;
  border-color: #767676 rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1);
  border-style: solid;
  border-width: 0.1em;
  box-shadow: 0px 0px 0px 1px transparent;
  visibility: visible;
  z-index: 11;
}
@keyframes spin-preloader {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
#app {
  min-height: 100vh;
}

#page-box {
  min-height: 100vh;
}

#content-box {
  min-height: 100vh;
  position: relative;
  background: #fafbfe;
}
@media screen and (min-width: 1024px) {
  #content-box {
    padding: 1rem;
  }
}
@media screen and (max-width: 1024px) {
  #content-box {
    padding: 0.8rem 0;
  }
}
#content-box.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 720px) {
  h1, .h1 {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 720px) {
  h2, .h2 {
    font-size: 1.05rem;
  }
}

.video {
  display: flex;
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 312px;
}
.video iframe, .video object, .video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.card {
  border-radius: 0.85rem;
}

.card-body {
  padding: 0.85rem;
}

.accordion-body {
  padding: 0;
}
.accordion-body .accordion-item .accordion-body {
  padding: 1rem;
}

a[disabled=true] {
  pointer-events: none;
  opacity: 0.9;
  cursor: default;
}

.red-text {
  color: red;
}

.green-text {
  color: green;
}

.blue-text {
  color: #0266be;
}

.separator {
  width: 100%;
  height: 1px;
  background-color: #cbd5e0;
}
.separator.separator_large {
  height: 2px;
}

.dai-dropdown {
  position: relative;
  border: 1px solid #cbd5e0;
  border-radius: 0.5rem;
}
.dai-dropdown ul {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  width: 100%;
  list-style: none;
  border-radius: 0.5rem;
  background-color: #fff;
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.05);
  z-index: 2;
}
.dai-dropdown summary::marker {
  content: "";
}
.dai-dropdown ul li {
  width: 100%;
  font-size: 1em;
  font-weight: 600;
}
.dai-dropdown ul li:not(:first-child) {
  margin-top: 0.3rem;
}
.dai-dropdown ul li a {
  width: 100%;
}

.is_disabled {
  opacity: 0.75;
  pointer-events: none;
}

.empty-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5em;
  border: 1px dashed #ccc;
  border-radius: 0.8em;
}

.w-full {
  width: 100%;
}

.ml-1 {
  margin-left: 1em;
}

.flex-shrink {
  flex-shrink: 0;
}

.justify-space-between {
  justify-content: space-between;
}

#header {
  min-height: 50px;
}

.leftside-menu {
  z-index: 10;
  bottom: 0;
  position: fixed;
  top: 0;
  padding-top: 70px;
  box-shadow: var(--ct-box-shadow);
}
.leftside-menu .side-nav-second-level li a, .leftside-menu .side-nav-third-level li a, .leftside-menu .side-nav-forth-level li a {
  display: flex;
}

#nprogress .bar {
  background-color: #f7b063 !important;
}
