/* Logbook menu related */

.logbookNavItem {
  display: inline-block !important;
}

.logbookNavItem > a {
  padding-top: 8px !important;
  padding-bottom: 5px !important;
  padding-left: 5px !important;
  padding-right: 5px !important;
}

/* this hides the caret in the navdropdown used in the EventListMenu */
.logbookNavItem.dropdown > a > span {
  display: none;
}

.logbookNavItem--combo > a {
  pointer-events: none; /* workaround so nav link doesn't affect combo search (1/2) */
  cursor: default;
}

/* === `react-combo-search` overrides === */

.ComboSearch {
  pointer-events: all; /* workaround so nav link doesn't affect combo search (2/2) */
  display: flex;
  flex-wrap: wrap;
  border: none;
  padding: 0;
  font-size: 12px;
}

.ComboSearch * {
  font-size: inherit;
}

.ComboSearch > p {
  display: none;
}

.ComboStyleOverride {
  flex: 0 0 auto;
  width: 150px;
  margin-right: 0;
  padding-right: 8px;
}

.ComboStyleOverride .combo-select {
  min-width: 0;
}

.ComboStyleOverride .combo-select-head {
  width: 100%;
  height: auto;
  min-width: 0;
  padding-left: 1rem;
  border-radius: 3px;
  line-height: 28px;
  font-size: inherit;
  color: inherit;
}

.combo-select .combo-select-head svg {
  right: 8px;
  pointer-events: none;
}

.combo-select .combo-select-body .combo-select-item {
  padding-left: 1rem;
  line-height: 32px;
  height: auto;
}

.ComboSearch__inputWrapper {
  flex: 1 1 0%;
}

.ComboSearch__inputIcon {
  left: auto;
  right: 5px;
  top: 3px;
  width: 25px;
  height: 25px;
  background-size: contain;
}

.Input {
  outline: none;
  height: auto;
  padding: 0 3rem 0 1rem;
  border-radius: 3px 0 0 3px;
  line-height: 28px;
}

.ComboSearch input[type='search']:focus,
.ComboSearch input[type='text']:focus {
  outline: none;
  border-color: #45b3e3;
}

.ComboSearch__RadioWrapper {
  flex: none;
  height: auto;
  padding-right: 8px;
}

.ComboSearch__datePicker {
  flex: 1 1 0%;
  width: auto;
  margin-left: 0;
}

.ComboSearch__datePickerWrapper {
  flex: 1 1 0%;
  height: auto;
}

.RadioGroup {
  width: auto;
}

.RadioGroup__label {
  position: relative;
  height: auto;
  padding: 0 5px;
  line-height: 28px;
  border-radius: 8px;
  color: inherit;
  text-transform: lowercase;
  pointer-events: none;
}

.RadioGroup__label--checked {
  background-color: transparent;
}

.RadioGroup__label > input {
  pointer-events: all;
  display: inline;
  margin-right: 3px;
  opacity: 0;
  cursor: pointer;
}

.RadioGroup__fakeRadio {
  position: absolute;
  left: 5px;
  top: 8px;
  width: 13px;
  height: 13px;
  border: 1px solid #666;
  border-radius: 50%;
}

.RadioGroup__fakeRadio--checked > .RadioGroup__fakeRadioInner {
  display: block;
  width: 9px;
  height: 9px;
  margin-top: 1px;
  margin-left: 1px;
  border-radius: 50%;
  background-color: #666;
}

.Datepicker__icon {
  right: 5px;
  top: 5px;
}

.rdtPicker {
  right: 0;
}

.FilterBar {
  flex: 1 0 100%;
  margin: 0 -5px;
  padding: 7px 0 0;
  font-size: 12px;
}

.FilterBar__filter {
  min-height: 0;
  flex-direction: row;
  flex-wrap: nowrap;
  margin: 5px 5px 0;
  padding: 2px 28px 3px 6px;
  border-radius: 3px;
}

.FilterBar__filterClose {
  right: 5px;
}

.FilterBar__filterText {
  width: auto;
  margin: 0;
}

.FilterBar__filterClose + .FilterBar__filterText {
  white-space: nowrap;
}

.FilterBar__filterClose + .FilterBar__filterText:after {
  content: ':';
  padding-right: 3px;
}

.FilterBar__filterText:last-child {
  font-weight: 600;
}
