/* From https://codeburst.io/how-to-create-a-simple-css-loading-spinner-make-it-accessible-e5c83c2e464c
   Credit Stuart Nelson - https://codeburst.io/@stuartjnelson
*/

/* Converted Tailwind Config to scss */

.library ul li {
  padding-left: calc(1rem + 23px);
}

.library ul li::after {
  display: none;
}

.library__search_icon {
  top: 50%;
  transform: translateY(-50%);
}

.library__stage {
  transition: margin .3s ease-in-out;
}

.library__navigation {
  width: 75%;
}

.library__navigation input[type="range"] {
  padding: 0;
  background: #D8D8D8;
  border-radius: 5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: transparent;
}

.library__navigation input[type="range"]::focus {
  border: transparent;
}

.library__navigation input[type="range"]::-ms-track {
  background: transparent;
  border-color: transparent;
  color: transparent;
}

.library__navigation input[type="range"]::-ms-fill-lower {
  background: transparent;
}

.library__navigation input[type="range"]::-webkit-slider-thumb {
  width: 40px;
  height: 10px;
  border-radius: 5px;
  background: #808184;
  -webkit-appearance: none;
  appearance: none;
}

.library__navigation input[type="range"]::-moz-range-thumb {
  width: 40px;
  height: 10px;
  border-radius: 5px;
  background: #808184;
  -moz-appearance: none;
  appearance: none;
}

.library__navigation input[type="range"]::-ms-thumb {
  width: 40px;
  height: 10px;
  border-radius: 5px;
  background: #808184;
  appearance: none;
}

.library__category header {
  cursor: pointer;
}

.library__category header svg {
  transform: rotate(-90deg);
  transition: all .3s ease-in-out;
  color: #ECECEC;
}

.library__category ul {
  transition: all .3s ease-in-out;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.library__category ul li {
  cursor: pointer;
}

.library__category ul li[aria-hidden="true"] {
  display: none;
}

.library__category[aria-hidden="true"] {
  display: none;
}

.library__category[aria-expanded="true"] header svg {
  transform: rotate(0);
  color: #009bdf;
}

.library__category[aria-expanded="true"] ul {
  overflow-y: scroll;
  max-height: 500px;
  opacity: 1;
}

.library__actions--download .button__icon {
  margin: 0;
}
