/**
 *
 * Bootstrap Select Stylesheet File
 *
 * Bootstrap select is an extension class for the Bootstrap select element
 *
 * @author Gianluca Giacometti
 *
 * Copyright (C) Gianluca Giacometti (https://github.com/gianlucagiacometti)
 *
 * This program provides a class which extends the Bootstrap select element.
 * This program requires Bootstrap (https://getbootstrap.com) 
 * For more information see README.md.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the MIT License.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *
 */
@keyframes selectInserted {
  from {
    opacity: 0.99;
  }
  to {
    opacity: 1;
  }
}
.bootstrap-select {
  animation-duration: 0.001s;
  -o-animation-duration: 0.001s;
  -ms-animation-duration: 0.001s;
  -moz-animation-duration: 0.001s;
  -webkit-animation-duration: 0.001s;
  animation-name: selectInserted;
  -o-animation-name: selectInserted;
  -ms-animation-name: selectInserted;
  -moz-animation-name: selectInserted;
  -webkit-animation-name: selectInserted;
}
.select-input {
  cursor: pointer;
}
.select-input-wrapper {
  position: relative;
}
.select-input-wrapper::after {
  position: absolute !important;
  bottom: 1rem !important;
  right: 0.6rem !important;
}
.select-input.readonly {
  cursor: default;
  background-color: var(--bs-secondary-bg);
}
.select-dropdown-wrapper {
  width: 100% !important;
  padding: 0.25rem;
}
.select-toggle-checkbox {
  position: absolute;
  right: 0.25rem;
  bottom: 0.3rem;
  z-index: 5;
}
.select-toggle-checkbox .form-check-input {
  border-color: var(--bs-secondary);
}
.select-search-wrapper {
  margin-bottom: 0.25rem;
  border: none;
  padding: 0.25rem;
}
.select-search-input {
  width: 100%;
}
.select-search-icon {
  float: right;
  position: absolute;
  right: 1rem;
  top: 0.9rem;
  cursor: pointer;
}
.select-option {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  padding: 0.25rem;
}
.select-option-wrapper:hover:not(.disabled) {
  background-color: rgba(0, 0, 0, 0.05);
  cursor: pointer;
}
.select-option-wrapper:hover:not(.disabled) input {
  cursor: inherit;
}
.select-option-wrapper:hover:not(.disabled) label {
  cursor: inherit;
}
.select-option-wrapper.disabled {
  color: rgba(150, 150, 150, 0.8);
}
.select-option-wrapper.selected:not(.disabled) {
  background-color: rgba(0, 0, 0, 0.05);
}
.select-option-list {
  margin: 0.25rem;
}
.select-option-list-wrapper {
  overflow-y: scroll;
  max-height: 50vh;
}
.select-option-list .form-check {
  padding-left: 1.75em;
}
.select-option-list .form-check-input {
  margin-top: 0.65em;
}
.select-option-label {
  width: 100%;
}
.select-option-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.select-option-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.select-option-text-wrapper {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
}
.select-option-text-wrapper > i {
  flex: 0 0 auto;
}
.select-option-image {
  width: 28px;
  height: 28px;
}
.select-option-image-wrapper {
  float: right;
}
.select-option-comment {
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.2;
  overflow: hidden;
  padding: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.select-option-checkbox {
  position: relative;
  z-index: -1;
}
.select-option-group {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  padding: 0.25rem;
}
.select-option-group-list {
  margin: 0.25rem;
}
.select-option-group-list-wrapper {
  overflow-y: scroll;
  max-height: 50vh;
}
.select-option-group-list .form-check {
  padding-left: 1.75em;
}
.select-option-group-list .form-check-input {
  margin-top: 0.65em;
}
.select-option-group-label {
  width: 100%;
}
.select-option-group-text {
  vertical-align: middle;
}
.select-option-group-text-wrapper {
  width: 100%;
}
.select-option-group-text-wrapper > i {
  vertical-align: middle;
}
.select-option-group-image {
  width: 28px;
  height: 28px;
}
.select-option-group-image-wrapper {
  float: right;
}
.select-option-group-comment {
  font-size: 0.85rem;
  font-style: italic;
  padding: 0 0.25rem 0.25rem 0.25rem;
  transform: translateY(-0.5rem);
}
.select-option-group-checkbox {
  position: relative;
  z-index: -1;
}
.select-option-group-children {
  margin-left: 1rem;
}
.form-outline {
  position: relative;
}
.form-outline > input.form-control,
.form-outline > input.form-control-plaintext,
.form-outline > .form-select {
  height: 2.25rem;
  line-height: 1.5;
}
.form-outline > label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0.25rem 0.75rem;
  overflow: hidden;
  text-align: start;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  border: 1px solid transparent;
  transform-origin: 0 0;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
}
.form-outline > .form-control,
.form-outline > .form-control-plaintext {
  padding: 1rem 0.75rem;
}
.form-outline > .form-control::placeholder,
.form-outline > .form-control-plaintext::placeholder {
  color: transparent;
}
.form-outline > .form-control:focus,
.form-outline > .form-control-plaintext:focus,
.form-outline > .form-control:not(:placeholder-shown),
.form-outline > .form-control-plaintext:not(:placeholder-shown) {
  padding-top: 0;
  padding-bottom: 0;
}
.form-outline > .form-control:-webkit-autofill,
.form-outline > .form-control-plaintext:-webkit-autofill {
  padding-top: 0;
  padding-bottom: 0;
}
.form-outline > .form-control:focus ~ label,
.form-outline > .form-control:not(:placeholder-shown) ~ label,
.form-outline > .form-control-plaintext ~ label {
  background-color: white;
  line-height: 1;
  padding: 0.25rem 0.35rem;
  width: auto;
  height: auto;
  color: rgba(0, 0, 0, 0.65);
  font-weight: 400;
  transform: scale(0.8) translateY(-1rem) translateX(0.65rem);
}
.form-outline > .form-control:-webkit-autofill ~ label {
  background-color: white;
  line-height: 1;
  padding: 0.25rem 0.35rem;
  width: auto;
  height: auto;
  color: rgba(0, 0, 0, 0.65);
  font-weight: 400;
  transform: scale(0.8) translateY(-1rem) translateX(0.65rem);
}
.form-outline > .form-control-plaintext ~ label {
  border-width: 1px 0;
}
@media (prefers-color-scheme: dark) {
  .form-outline > .form-control-plaintext ~ label {
    color: rgba(255, 255, 255, 0.65);
    background-color: black;
  }
  .form-outline > .form-control:-webkit-autofill ~ label {
    color: rgba(255, 255, 255, 0.65);
    background-color: black;
  }
}
