/* map */
.parks-map-container {
  position: relative;
  background: #fff;
}
.parks-location-filter {
  z-index: 5;
  background: #f0f4f6;
  position: absolute;
  right: 0;
  top: 0;
  width: 300px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.parks-list {
  overflow-y: scroll;
  overflow-x: hidden;
}
.parks-list-item {
  display: flex;
  height: 70px;
  cursor: pointer;
}
.page-template-landing-latest-listings .parks-list-item {
  height: 90px;;
}
.parks-list-item:hover {
  background-color: #13b171;
}
.parks-list-item:hover h4 {
  color: #ffffff;
}
.parks-list-item + .parks-list-item {
  border-top: 1px solid #999;
}
.parks-list-item-text {
  padding: 5px 10px;
}
.parks-list-item-image {
  flex: 0 0 80px;
  background: #ffffff;
}
.parks-list-item-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-position: 50% 50%;
  object-fit: cover;
}
.parks-list-item-image img.placeholder {
  width: auto;
  height: 75%;
  background: #fff;
  margin: 12.5% auto;
}
.parks-fitler {
  padding: 0 10px;
  font-size: 1.2em;
  background: #fff;
}
.parks-fitler .filter-item {
  position: relative;
  font-size: 14px;
  font-family: 'Proxima Nova', Arial, sans-serif;
  color: #212121;
  margin: 15px 5px 15px 3px;
}
.parks-fitler .filter-item input {
  opacity: 0;
  z-index: -20;
  position: absolute;
}
.parks-fitler .filter-item label[for] {
  display: block;
  cursor: pointer;
  padding-right: 40px;
  position: relative;
}
.parks-fitler .filter-item label[for]::before {
  border: 1px solid #c9cbcf;
  border-radius: 4px;
  content: "";
  display: inline-block;
  margin-right: 10px;
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
.parks-fitler .filter-item .filter-item-count {
  position: absolute;
  right: 0;
  top: 0;
  color: #878c94;
  font-weight: 400;
}
.parks-fitler .filter-item input:checked + label[for]::before {
  background: url(/web/bundles/leisurecore/svg/icons/checkbox-checked.svg) no-repeat 0 0;
  border: 0;
  border-radius: 4px;
  background-size: 23px 23px;
  background-position: -2px -1px;
}
.parks-fitler .filter-list h5 {
  margin:  1em 0 .2em;
}

.parks-map {
  height: 80vh;
  width: calc(100% - 300px);
  min-height: 400px;
}
.page-template-landing-latest-listings .parks-map {
  height: 600px;
  max-height: 100vh;
  min-height: 0;
}

.park-info-window {
  display: flex;
  width: 440px;
}
.park-info-window-image {
  flex: 0 0 200px;
}
.park-info-window-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.park-info-window-desc {
  padding: 0  0 0 20px;
  min-width: 200px;
}
.park-info-window-desc h4 {
  font-size: 18px;
  font-weight: 400;
  color: #212121;
}
.park-location,
.park-info-window .park-location {
  color: #878c94;
  display: block;
  font-weight: 300;
  margin: 0.5em 0 ;
}
.park-location::before,
.park-info-window .park-location::before {
  content: '';
  width: 15px;
  height: 15px;
  margin-right: 4px;
  background-image: url(/web/bundles/leisurecore/svg/icons/oyodir/map-pin-lister-mob.svg);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  display: inline-block;
  vertical-align: middle;
}

.acco-location {
  font-weight: bold;
  font-size: 16px;
  border: solid 1px #ebedef;
  border-radius: 0;
  height: 44px;
  width: 100%;
  padding: 10px 10px 10px 45px;
  background: #fff url(/web/bundles/leisurecore/svg/icons/oyodir/search-bar-desktop.svg) no-repeat 10px 50%;
  background-repeat: no-repeat;
}
.acco-location::placeholder {
  color: #666;
  font-weight: normal;
}

.page-hero__title p {
  font-size: 20px;
}

.filter-group-heading {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  height: 40px;
  line-height: 40px;
  overflow: hidden;
  padding-right: 40px;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: none;
  color: #37404d;
  display: flex;
  border-bottom: dashed 1px #ebedef;
  font-family: 'Proxima Nova', Arial, sans-serif;
}
.icon-popular {
  width: 24px;
  height: 24px;
  margin-top: 10px;
  margin-right: 10px;
  background-image: url(/web/bundles/leisurecore/svg/icons/oyodir/popular.svg);
  background-repeat: no-repeat;
  background-position: 0 0;
}
.filter-group .filter-group-name {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}

@media (max-width: 991px) {
  .parks-list {
    display: none;
  }
  .parks-map-container {
    display: block;
  }
  .parks-map {
    min-height: 400px;
    height: calc(100vh - 100px);
    width: auto;
  }
  .parks-location-filter {
    position: static;
    width: auto;
  }
}

@media (max-width: 767px) {
  .park-info-window {
    flex-direction: column;
    width: calc(100vw - 200px);
    max-width: 200px;
    overflow: hidden;
    padding-left: 6px;
  }
  .park-info-window-desc {
    padding-left: 0;
    min-width: 0;
  }
  .park-info-window-image {
    flex: auto;
    order: 2;
  }
}