@charset "UTF-8";

/* Mini search typography */
#instrumentDemoForm #instrumentToggle1,
#instrumentDemoForm #studioSelect1,
#instrumentDemoForm #instrumentOptions1 summary,
#instrumentDemoForm #instrumentOptions1 .dropdown-item {
  font-family: inherit;
  font-size: 0.875rem;
}

#instrumentDemoForm #instrumentOptions1 summary,
#instrumentDemoForm #instrumentOptions1 .dropdown-item {
  color: #000;
  white-space: normal;
  overflow-wrap: anywhere;
}

#instrumentDemoForm #instrumentOptions1 .dropdown-item {
  box-sizing: border-box;
  width: 100%;
}

/* Mini search instrument field */
#instrumentDemoForm #instrumentToggle1 {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  padding: 0 27px 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

#instrumentDemoForm #instrumentToggle1::-webkit-details-marker {
  display: none;
}

#instrumentDemoForm #instrumentToggle1::before,
#instrumentDemoForm #instrumentToggle1::after {
  content: "";
  position: absolute;
  display: block;
  right: 9px;
  width: 6px;
  height: 6px;
  margin: 0;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  pointer-events: none;
}

#instrumentDemoForm #instrumentToggle1::before {
  top: calc(50% - 5px);
  transform: rotate(-45deg);
}

#instrumentDemoForm #instrumentToggle1::after {
  top: calc(50% + 1px);
  transform: rotate(135deg);
}

#instrumentDemoForm #instrumentToggle1.has-selection::before,
#instrumentDemoForm #instrumentToggle1.has-selection::after {
  display: none;
}

/* Mini search on phones */
@media (max-width: 575.98px) {
  #instrumentDemoForm #onlineSearch1 {
    display: flex !important;
    flex: 0 0 100%;
    flex-wrap: nowrap !important;
    align-items: center;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 7px 16px 9px !important;
  }

  #instrumentDemoForm #onlineSearch1 > #instrumentPicker1,
  #instrumentDemoForm #onlineSearch1 > #studioSelect1 {
    flex: 0 0 calc(50% - 6px);
    min-width: 0;
    width: calc(50% - 6px);
    margin: 0 !important;
  }

  #instrumentDemoForm #onlineSearch1 > #studioSelect1 {
    margin-left: 12px !important;
  }

  #instrumentDemoForm #instrumentToggle1,
  #instrumentDemoForm #studioSelect1 {
    box-sizing: border-box;
    height: 35px;
    font-size: 1rem;
  }

  #instrumentDemoForm #instrumentToggle1 {
    color: #000;
    line-height: 33px;
  }

  #instrumentDemoForm #instrumentOptions1 {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
  }

  #instrumentDemoForm #instrumentOptions1 summary,
  #instrumentDemoForm #instrumentOptions1 .dropdown-item {
    font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.25;
  }
}

/* Mini search on wider screens */
@media (min-width: 768px) {
  #instrumentDemoForm #instrumentPicker1 {
    flex: 0 0 280px;
    width: 280px;
  }

  #instrumentDemoForm #studioSelect1 {
    flex: 0 0 175px;
    width: 175px;
  }

  #instrumentDemoForm #instrumentToggle1,
  #instrumentDemoForm #studioSelect1,
  #instrumentDemoForm #instrumentOptions1 summary,
  #instrumentDemoForm #instrumentOptions1 .dropdown-item {
    font-size: 1rem;
  }

  #instrumentDemoForm #instrumentToggle1,
  #instrumentDemoForm #studioSelect1 {
    height: 38px;
  }

  #instrumentDemoForm #instrumentToggle1 {
    line-height: 36px;
  }

  #instrumentDemoForm #instrumentOptions1 {
    width: max-content !important;
    min-width: 100%;
  }
}

/* Sign Up Online fields */
#onlineSearch #modalInstrumentToggle,
#onlineSearch #studioSelect {
  box-sizing: border-box;
  height: 38px;
  padding: 0.375rem 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  background-color: #fff;
  color: #495057;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

#onlineSearch #modalInstrumentToggle {
  display: block;
  position: relative;
  padding-right: 1.75rem;
  list-style: none;
  cursor: pointer;
}

#onlineSearch #modalInstrumentToggle::-webkit-details-marker {
  display: none;
}

#onlineSearch #modalInstrumentToggle::before,
#onlineSearch #modalInstrumentToggle::after {
  content: "";
  position: absolute;
  right: 9px;
  width: 5px;
  height: 5px;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  pointer-events: none;
}

#onlineSearch #modalInstrumentToggle::before {
  top: calc(50% - 4px);
  transform: rotate(-45deg);
}

#onlineSearch #modalInstrumentToggle::after {
  top: calc(50% + 1px);
  transform: rotate(135deg);
}

#onlineSearch #modalInstrumentToggle.has-selection::before,
#onlineSearch #modalInstrumentToggle.has-selection::after {
  display: none;
}

#onlineSearch .modal-search-field {
  display: flex;
  align-self: flex-start;
  align-items: flex-start;
}

#onlineSearch #modalInstrumentPicker,
#onlineSearch #modalInstrumentToggle,
#onlineSearch #studioSelect {
  margin-top: 0;
  margin-bottom: 0;
}

#onlineSearch #modalInstrumentOptions {
  width: 22rem;
  max-width: calc(100vw - 64px);
}

/* Shared dropdown panels */
#instrumentDemoForm #instrumentOptions1,
#onlineSearch #modalInstrumentOptions {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden !important;
  background-color: rgba(255, 255, 255, 0.78) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-radius: 13px !important;
}

#instrumentOptions1 summary::marker,
#modalInstrumentOptions summary::marker {
  color: #6c757d;
}

#instrumentOptions1 summary::-webkit-details-marker,
#modalInstrumentOptions summary::-webkit-details-marker {
  color: #6c757d;
}

.instrument-category-label {
  margin-left: 6px;
}

/* Scrollable options and separate arrow row */
.instrument-option-list {
  flex: 0 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}

.instrument-scroll-cue {
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  visibility: hidden;
}

.instrument-scroll-cue.is-visible {
  visibility: visible;
  cursor: pointer;
}

.instrument-scroll-cue::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid #6c757d;
  border-bottom: 2px solid #6c757d;
  transform: rotate(45deg);
}