.poi-cf:after {
  content:" ";
  display:block;
  clear:both;
}

/* Layout */

.vw-poi-box {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.vw-poi-box__filters {
  width: 100%;
  background: #f3f3f3;
  padding: 20px;
}

.vw-poi-box__results {
  width: 100%;
}

@media ( min-width: 1000px ) {
  .vw-poi-box {
    flex-direction: row;
  }

  .vw-poi-box__filters {
    width: 20%;
  }

  .vw-poi-box__results {
    width: 80%;
    padding: 0 0 0 20px;
  }

  .vw-poi-box__results--full-width {
    width: 100%;
  }
}

/* Google Maps */

.vw-poi-box__map {
  width: 100%;
  height: 500px;
  border: #ccc solid 1px;
  opacity: 1;
  transition: opacity 0.5s;
}

.vw-poi-box__map--invisible {
  opacity: 0;
}

/* fixes potential theme css conflict */
.vw-poi-box__map img {
  max-width: inherit !important;
}

/* Filters */

.poi-checkbox {
  display: block;
  width: 100%;
  margin-bottom: 5px;
  cursor: pointer;
}

.poi-select {
  display: block;
  width: 100%;
  margin-bottom: 5px;
  cursor: pointer;
}

#form-search-by-name {
  margin-bottom: 10px;
}

#search-by-name,
#form-search-by-name button[type="submit"] {
  display: block;
  float: left;
}

#search-by-name {
  width: 75%;
}

#form-search-by-name button[type="submit"] {
  width: 25%;
  line-height: 22px;
  border: 1px solid #333;
  padding: 16px 0 !important;
  text-align: center;
}

.form-filters__sub-title {
  clear: both;
  margin: 15px 0 10px;
}

.form-filters__sub-title--or {
  clear: both;
  text-align: center;
  position: relative;
}

.form-filters__sub-title--or::before,
.form-filters__sub-title--or::after {
  content: '';
  display: block;
  position: absolute;
  height: 2px;
  width: 35%;
  top: 48%;
  background: #ccc;
}

.form-filters__sub-title--or::before {
  left: 0;
}

.form-filters__sub-title--or::after {
  right: 0;
}

/* Stacked Layout */

/* Tabbed Layout */

.poi-tabs__container {
  line-height: 1.5;
}

.poi-tabs__tab-content {
  list-style: none;
}

@media( min-width: 768px ) {
  .poi-tabs__tab-content {
    display: inline;
    font-size: 0;
  }
}

.poi-tabs__tab {
  display: block;
  padding: 15px;
}

@media( min-width: 768px ) {
  .poi-tabs__tab {
    display: inline-block;
    width: 50%;
  }
}

.poi-tabs__tab:hover {

}

.poi-tabs__tab:focus {
  outline: none;
}

.poi-tabs__content {
  display: none;
  padding: 0;
  width: 100%;
  border: 1px solid #aaa;
  border-top: 0;
}

@media( min-width: 768px ) {
  .poi-tabs__content {
    border-top: 1px solid #aaa;
    float: left;
  }
}

/* List Results */

.vw-poi-box__list-container {
  margin: 0 !important;
  padding: 20px;
}

.vw-poi-box__list-item {
  list-style-type: none !important;
  display: block;
  margin-bottom: 20px;
  clear: both;
}

.vw-poi-box__thumbnail,
.vw-poi-box__thumbnail--placeholder {
  margin: 0 auto;
}

@media( min-width: 768px ) {
  .vw-poi-box__thumbnail--placeholder {
    width: 150px;
    height: 150px;
  }

  .vw-poi-box__thumbnail,
  .vw-poi-box__thumbnail--placeholder {
    float: left;
    margin: 0;
  }
}

.vw-poi-box__list-item-content {
  float: left;
  padding: 10px;
}

.vw-poi-box__no-results-title {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}
