#hits {
  padding-left: 30px;
  max-width: 80%;
}

#hits>div {
  width: 100%;
}

#hits>div>ol>li {
  border: none;
  box-shadow: none;
  padding: 0px;
  margin: 0;
  padding: 1em 0 0 1em;
}

#hits .accomodation-label {
  color: black;
}

#hits div.card-image a img {
  max-width: 100%;
}

#filters {
  display: block;
  float: left;
  width: 20%;
  max-width: 250px;
}

#filters h2 {
  margin-top: 0.5em;
  font-size: 1.2em;
}

label .label {
  display: inline-block;
  padding-left: 1em;
  cursor: pointer;
}

.switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}

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

/* The slider */
.slidertoggle {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slidertoggle:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slidertoggle {
  background-color: #2196F3;
}

input:focus+.slidertoggle {
  box-shadow: 0 0 1px #2196F3;
}

input:checked+.slidertoggle:before {
  -webkit-transform: translateX(14px);
  -ms-transform: translateX(14px);
  transform: translateX(14px);
}

/* Rounded sliders */
.slidertoggle.round {
  border-radius: 20px;
}

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

@media screen and (max-width: 768px) {
  #filters {
    float: unset;
    max-width: 100%;
    width: 100%;
  }

  #hits {
    padding: 20px;
    max-width: 100%;
  }
}

@media screen and (min-width: 768px) and (max-width: 990px) {
  #hits li {
    max-width: 47%;
  }
}

#pagination {
  padding: 30px;
}

#communes,
#commune {
  max-height: 200px;
  overflow-y: scroll;
}

#meilisearch-autocomplete {
  margin: 0;
  flex: 0 0 calc(100% - 80px);
  width: calc(100% - 80px);
  font-size: 2rem;
  text-align: center;
  color: #fff;
}

#meilisearch-autocomplete input {
  background-color: transparent;
  box-sizing: border-box;
  overflow: visible;
  margin: 0;
  flex: 0 0 calc(100% - 80px);
  width: calc(100% - 80px);
  font-size: 2rem;
  text-align: center;
  border: 0;
  outline: 0;
  color: #fff;
}

#meilisearch-autocomplete ul {
  font-size: 1.2rem;
  padding: 10px;
  text-align: left;
}

#filters-mobile {
  display: none;
}

@media screen and (max-width: 768px) {
  #filters-mobile {
    display: block;
  }

  #filters {
    display: none;
  }
}

/** Carte **/

#map_div_offre .leaflet-popup-content img {
  max-width: 100%;
}

/** Ranger slider **/

.page-template-template-search .ui-widget.ui-widget-content {
  border: 1px solid #73c7c7;
}

.page-template-template-search .ui-corner-all {
  border-radius: 16px;
}

.page-template-template-search .ui-slider-range {

  background-color: #73c7c7 !important;
}

.page-template-template-search .ui-slider-handle {
  background-color: white !important;
}

.page-template-template-search .value-wp {
  display: flex;
  justify-content: space-between;
}

.ais-InstantSearch input.ais-ToggleRefinement-checkbox {
  margin-right: 8px;
}