.trips-input {
  border: 2px solid #DEDEDE;
  border-radius: 10px;
  height: 48px;
}

.layouts-trips {
  margin-left: 20px;
  line-height: 14px;
  cursor: pointer;
}

#filters .nice-select {
  width: 270px;
}

#filters .nice-select.open .list {
  border: 2px solid #8822F0;
  border-radius: 10px;
  color: black;
  background-color: white;
  width: 100% !important;
  height: fit-content;
  overflow-y: auto !important;
}

.flex-block-form-trips span {
  color: var(--mid-grey);
  font: normal normal normal 14px/24px Lato;
}

.trips-content .loading {
  min-height: 500px;
  text-align: center;
  font-size: 18px;
  color: var(--darkblue);
}

.trips-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.trips-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.trips-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  height: 19px;
  width: 35px;
  margin: 5px;
  margin-left: 15px;
}

.trips-slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.trips-slider {
  background-color: #5f6265;
}

input:focus+.trips-slider {
  box-shadow: 0 0 1px #5f6265;
}

input:checked+.trips-slider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}

/* Rounded sliders */
.trips-slider.round {
  border-radius: 15px;
}

.trips-slider.round:before {
  border-radius: 50%;
}

.flex-block-form-trips {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trips-switcher {
  width: 150px;
}

@media all and (max-width : 780px) {
  .flex-block-form-trips {
    flex-wrap: wrap;
    justify-content: center;
  }

  #filters > div > div:nth-child(1) > div.flex-block-form-trips.sortBy, 
  #filters > div > div:nth-child(1) > div.flex-block-form-trips.trips-switchers {
    margin-bottom: 10px;
  }

  .radio-switch {
    margin-left: 0 !important;
  }
}