
* {
  border-color: rgb(var(--color-slate-300) / var(--tw-text-opacity));
}

html {
  background-color: rgb(var(--color-primary) / 0.9);
}

html {
  &.dark {
    @apply bg-darkmode-800;
    body {
      @apply text-slate-300;
      *,
      ::before,
      ::after {
        @apply border-white/5;
      }
    }
  }
  body {
    @apply antialiased overflow-x-hidden py-3 px-8 font-roboto text-slate-800;
    @include media-breakpoint-down(sm) {
      padding: 0 0.75rem;
    }
  }
}

.main {
  background-image: url(../images/bg-main.svg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  /* padding-top: 1.25rem; */
  padding-bottom: 1.25rem;
}

.wrapper {
  position: relative;
  margin-top: 15px;
}
.wrapper:before {
  content: "";
  width: 95%;
  z-index: -1;
  transform: translatey(35px);
  -webkit-animation: 0.4s intro-wrapper-animation ease-in-out 0.33333s;
  animation: 0.4s intro-wrapper-animation ease-in-out 0.33333s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
  border-radius: 1.3rem;
  position: absolute;
  /* right: -15px; */
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  height: 100%;
  background-color: rgb(255 255 255 / 0.1);
  opacity: 0;
}
.dark .wrapper:before {
  background-color: rgb(var(--color-darkmode-400) / 0.5);
}
.wrapper.wrapper--top-nav .wrapper-box {
  padding-top: 80px;
  margin-top: -62px;
}
@media (max-width: calc(1280px - 1px)) {
  .wrapper.wrapper--top-nav .wrapper-box {
    margin-top: -67px;
    background-color: transparent;
  }
  .wrapper.wrapper--top-nav .wrapper-box::before {
    content: var(--tw-content);
    display: none;
  }
  .dark .wrapper.wrapper--top-nav .wrapper-box {
    background-color: transparent;
  }
}
@media (max-width: calc(768px - 1px)) {
  .wrapper.wrapper--top-nav .wrapper-box {
    margin-top: -7px;
    padding-top: 0px;
  }
}
@media (max-width: calc(1280px - 1px)) {
  .wrapper.wrapper--top-nav:before {
    background-color: transparent;
  }
}
.wrapper .wrapper-box {
  /* transform: translatey(35px); */
  /* -webkit-animation: 0.4s intro-wrapper-animation ease-in-out 0.33333s;
  animation: 0.4s intro-wrapper-animation ease-in-out 0.33333s;
  -webkit-animation-fill-mode: forwards; */
  /* animation-fill-mode: forwards; */
  /* -webkit-animation-delay: 0.2s; */
  /* animation-delay: 0.2s; */
  display: flex;
  border-radius: 1.3rem;
  --tw-bg-opacity: 1;
  background-color: rgb(var(--color-primary) / var(--tw-bg-opacity));
}
.dark .wrapper .wrapper-box {
  --tw-bg-opacity: 1;
  background-color: rgb(var(--color-darkmode-400) / var(--tw-bg-opacity));
}
.wrapper .wrapper-box:before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  z-index: -1;
  display: block;
  border-radius: 1.3rem;
  background-color: rgb(0 0 0 / 0.15);
}

/**************
Vue Multiselect
**************/

/* global styles */

.multiselect .multiselect__placeholder {
  margin: 0;
  padding-top: 7px;
}

.multiselect__content-wrapper .multiselect__content .multiselect__element .multiselect__option--highlight.multiselect__option {
  background: #5897fb;
}

.multiselect .multiselect__tags {
  padding-top: 0;
}

.multiselect .multiselect__tags .multiselect__tags-wrap .multiselect__tag {
  font-size: 13px;
  background: #5897fb;
  margin-top: 5px;
  margin-bottom: 0;
  padding: 7px 20px 7px 5px;
}

.multiselect .multiselect__tags input:focus {
  top: 10px;
  --tw-ring-color: none;
}
.multiselect .multiselect__tags .multiselect__tags-wrap .multiselect__tag i {
  top: 5px;
  font-weight: 1000;
}

.multiselect__tag-icon::after {
  color: #fff !important;
  font-size: 16px !important;
}

/* global styles end */

/* Search Main Page styles */

#search .multiselect {
  position: relative;
  height: 29px;
  top: -5px;
  background: none;
}

#search .multiselect__select {
  width: 29px;
  height: 29px;
  padding: 0;
  margin: 0;
}

#search .multiselect__select::before {
  right: 0px;
  top: 18px;
  background: none;
}

#search .multiselect__tags {
  position: relative;
  width: auto;
  min-height: 29px;
  height: 29px;
  padding: 0 !important;
  background: none;
  border: none;
}

#search .multiselect .multiselect__tags input {
  width: auto;
  height: 29px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border: none
}

#search .multiselect .multiselect__single {
  position: absolute;
  width: auto;
  height: 29px;
  font-size: 16px;
  padding: 4px;
  margin: 0;
  background: none;
}

#search .multiselect--active .multiselect__tags input {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  width: auto;
  --tw-ring-color: transparent;
  /* height: 29px; */
}

#search .multiselect__content-wrapper {
  position: relative;
  top: 3px;
  background: #FFF;
  padding: 5px;
}

#search .multiselect__content-wrapper .multiselect__content {
  width: 100%;

}

#search .multiselect__content-wrapper .multiselect__content .multiselect__element {
  border-bottom: solid 1px #CCC;
  cursor: pointer;
}

#search .multiselect__content-wrapper .multiselect__content .multiselect__option {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 5px;
}

/* #serach .multiselect .multiselect__tags input:focus-visible {
  outline-style: solid;
  outline-color: #93c5fd;
} */

/* Search Main Page styles */

/* Packs Options Page styles */

#packsOptions .multiselect {
  min-height: 30px;
  /* border: solid 1px rgb(212, 212, 216, 1); */
  
}

#packsOptions .multiselect .multiselect__tags {
  min-height: 30px;
  border: solid 1px rgb(212, 212, 216, 1);
  border-radius: 0.5rem;
}

#packsOptions .multiselect .multiselect__single {
  position: absolute;
  width: auto;
  height: 29px;
  font-size: 14px;
  padding: 4px;
  margin: 0;
  background: none;
}

#packsOptions .multiselect .multiselect__select {
  height: 30px;
}

#packsOptions .multiselect--active .multiselect__tags input {
  top: 4px;
  font-size: 14px;
}



/* Packs Options Page styles */

/******************
Vue Multiselect end
******************/

@media (max-width: calc(768px - 1px)) {
  .wrapper .wrapper-box {
    margin-top: -7px;
  }
}
@-webkit-keyframes intro-wrapper-animation {
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}
@keyframes intro-wrapper-animation {
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}
.tns-ovh {
  @apply rounded-md;
}

input[phx-hook='ToggleInput']:hover {
  @apply border-slate-300;
}
