#amenities-map {
  height: 100%;
}

.amenities-wrapper {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  width: 100% !important;
  height: 100%;
  overflow: hidden;
  position: relative;
}

#map {
  width: 100%;
  height: 100%;
}

.amenities-panel #buildingContainer {
  display: block;
}

#POIsContainer {
  position: relative;
}

.amenities-panel {
  pointer-events: none;
  padding: 0 !important;
  font-size: 14px;
  position: relative;
}

.amenities-panel > #buildingContainer {
  display: none;
}

.amenities-panel * {
  pointer-events: all;
}

#poi-list-container {
  position: relative;
}

#expand-hide-list {
  display: none;
}

@media (max-width: 970px) {

  .amenities-map-wrapper {
    height: 88%;
    padding: 0 !important;
    position: absolute;
    width: 100%;
  }

  .amenities-map-wrapper.unexpanded {
    top: -12%;
    -webkit-transition: top 0.5s;
    transition: top 0.5s;
  }

  .amenities-map-wrapper.expanded {
    top: 12%;
    -webkit-transition: top 0.5s;
    transition: top 0.5s;
  }

  .amenities-panel {
    height: 100%;
    z-index: 10;
  }

  #POIsContainer {
    bottom: 0;
  }

  #mobileSeparator {
    height: 50%;
    pointer-events: none;
  }

  #poi-list-container > #buildingContainer {
    display: none;
  }

  .amenities-panel > #buildingContainer {
    display: block;
    line-height: 1.2;
    min-height: 12%;
    background-color: #1b4d4a;
  }

  .amenities-filters {
    left: 0;
    right: 0;
    margin: 10px auto;
    top: 50px;
  }

  .amenities-panel .buildingImg {
    display: none;
  }

  #poi-list-container {
    position: absolute;
    height: 45%;
    width: 100%;
    pointer-events: none;
  }

  #poi-list-container.expanded {
    top: 55%;
    -webkit-transition: top 0.5s;
    transition: top 0.5s;
  }

  #poi-list-container.unexpanded {
    top: 100%;
    -webkit-transition: top 0.5s;
    transition: top 0.5s;
  }

  #expand-hide-list {
    background: #008e5b;
    border: none;
    color: #fff;
    display: block;
    font-weight: 600;
    position: absolute;
    left: 0;
    right: 0;
    top: -40px;
    height: 40px;
    margin: 0 auto;
    font-size: 13px;
    padding: 10px 0;
    width: 100%;
    outline: none;
    text-transform: uppercase;
    z-index: 1;
  }

  #expand-hide-button-container {
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
}

@media (min-width: 971px) and (max-width: 1200px) {
  .amenities-map-wrapper {
    height: 100%;
    padding: 0 !important;
    display: inline-block;
    width: 70%;
  }

  .amenities-panel {
    width: 30%;
    float: left;
    min-height: 1px;
    display: inline-block;
  }

  .amenities-filters {
    left: 30%;
    margin: 10px 10px;
    top: 0;
  }
}

@media (min-width: 1201px) {
  .amenities-map-wrapper {
    height: 100%;
    padding: 0 !important;
    display: inline-block;
    width: 75%;
  }

  .amenities-panel {
    width: 25%;
    float: left;
    min-height: 1px;
    display: inline-block;
  }

  .amenities-filters {
    left: 25%;
    margin: 10px 10px;
    top: 0;
  }
}

.amenities-panel .amenities-panel__header {
  height: 50px;
  position: absolute;
  right: 0;
  width: 50px;
  z-index: 5;
}

.amenities-panel #content {
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  position: absolute;
  height: 100%;
  width: 100%;
}

.amenities-panel #content img {
  width: 100%;
  height: 250px;
}

.amenities-panel #buildingContainer button {
  border: none;
  border-radius: 5px;
  height: 12%;
  position: relative;
  right: 20px;
  float: right;
  top: 140px;
  margin: 5px;
  white-space: nowrap;
}

.buildingImg {
  background-size: auto 250px;
  height: 250px;
  background-repeat: no-repeat;
  background-position: center;
}

.buildingSeparator {
  height: 3px;
  border: none;
}

.amenities-panel #buildingContainer .buildingInfoContainer img {
  vertical-align: top;
  width: 40px;
  height: auto;
  margin: 12px 0 0 -8px;
}

.amenities-panel #buildingContainer .buildingInfoContainer #buildingInfos {
  font-size: 21px;
  display: inline-block;
  padding: 18px 35px 16px 25px;
}

.amenities-panel #buildingContainer .buildingInfoContainer #buildinfInfoArea {
  padding-top: 12px;
  font-size: 16px;
}

.amenities-panel #buildingContainer .buildingInfoContainer {
  padding: 0 14px;
}

.amenities-panel #buildingContainer .buildingInfoContainer #buildingIcon {
  position: absolute;
}

/*************  POI Section  *************/

.amenities-panel .noPOIFoundErrorMsg {
  position: absolute;
  right: 0;
  left: 0;
  top: 120px;
  text-align: center;
  font-size: 18px;
}

.amenities-panel .poiInfo {
  position: relative;
  padding: 14px 14px;
  padding-bottom: 12px;
}

.amenities-panel .poiInfo .poiDetail-title {
  font-size: 17px;
}

.amenities-panel .poiInfo .poiDetail-firstRowContent,
.amenities-panel .poiInfo .poiDetail-secondRowContent {
  margin-top: 4px;
}

.amenities-panel .poiDetail-additionalDetails {
  display: none;
  padding-bottom: 20px;
}

.amenities-panel .poiDetail-additionalDetails.no-content {
  padding-bottom: 0;
}

.amenities-panel .poiDetail-additionalDetails > * {
  margin-top: 10px;
}

.amenities-panel .poiInfo .poiDetail-Icon {
  margin-right: 10px;
  vertical-align: top;
}

.amenities-panel .poiInfo .poiDetail-rating {
  width: 20px;
  display: inline-block;
  text-align: center;
}

.amenities-panel .poiInfo .starsContainer {
  margin: 0 5px;
}

.amenities-panel .poiInfo .poiDetail-address {
  padding-right: 70px;
}

.glyphicon.glyphicon-star {
  margin: 0 1px;
}

.amenities-panel .poiInfo .poiDetail-moreLess {
  position: absolute;
  right: 6px;
  bottom: 12px;
  cursor: pointer;
}

.amenities-panel .poiInfo .poiDetail-moreLess-text {
  font-size: 11px;
  font-weight: 700;
}

.amenities-panel .poiInfo .website-link-icon {
  padding-top: 3px;
  padding-right: 10px;
  float: left;
}

.amenities-panel .poiInfo .website-link {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amenities-panel .poiInfo a {
  text-decoration: underline;
}

.amenities-panel .padding-right-10px {
  padding-right: 10px;
}

.amenities-panel .poiInfo .weekDayTimeContainer {
  display: flex;
}

.amenities-panel .poiInfo .weekDayTimeContainer > span,
.amenities-panel .poiInfo .weekDayTimeContainer > table {
  display: inline-block;
}

.amenities-panel .poiInfo .weekDayTimeContainer tr td:nth-child(2) {
  padding-left: 20px;
}

.amenities-panel .poiInfo .weekDayTimeContainer tr td {
  vertical-align: top;
}

.amenities-panel .amenities-panel__filters-button {
  background-image: url(../images/filters.png);
  background-repeat: no-repeat;
  background-size: 35px;
  cursor: pointer;
  width: 50px;
  height: 100%;
  background-position: 50% 50%;
  border: none;
  background-color: transparent;
  outline: none;
}

.amenities-filters {
  position: absolute;
  width: 400px;
  max-width: 95%;
  z-index: 1000;
  display: none;
  height: 380px;
  overflow: hidden;
}

.amenities-filters #topPanel {
  text-align: right;
  display: flex;
  justify-content: flex-end;
}

.amenities-filters #topPanel .btn-close {
  height: 25px;
  width: 25px;
  margin: 4px;
  border: 0;
  border-color: transparent;
  background-color: transparent;
  padding: 0;
  font-size: 130%;
  cursor: pointer;
  line-height: 1;
}

.amenities-filters #topPanel .btn-close:focus {
  outline: 0;
}

.amenities-filters #topPanel .btn-close > i {
  vertical-align: middle;
  top: 0;
}

.amenities-filters #panelContent {
  width: 100%;
  height: 100%;
}

.amenities-filters #bottomPanel {
  padding: 7px;
  height: 90%;
}

.amenities-filters .nav > li > a {
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 700;
}

.amenities-filters #legendContainer {
  padding-top: 5px;
}

.amenities-filters #legendContainer > .legendItem {
  width: 100%;
  padding: 3px 0;
}

.amenities-filters #legendContainer > .legendItem > .legendText > img {
  margin: 0 10px;
  height: 55px;
  display: inline;
  vertical-align: middle;
}

.amenities-filters #legendContainer > .legendItem > .legendText {
  vertical-align: middle;
  font-size: 14px;
  font-weight: 700;
}

.amenities-filters .tab-pane--filters .filtersContainer {
  padding: 10px 0 0 10px;
}

.amenities-filters .tab-pane--filters .typeFilter {
  display: inline-flex;
  width: 100%;
  position: relative;
}


.amenities-filters .tab-pane--filters .firstFilterRow,
.amenities-filters .tab-pane--filters .secondFilterRow {
  width: 50%;
}


.amenities-filters .tab-pane--filters .firstFilterRow {
  float: left;
}

.amenities-filters .tab-pane--filters .secondFilterRow {
  float: right;
}

.amenities-filters .tab-pane--filters .typeFilter label {
  margin: 7px 1px;
  font-weight: 700;
  font-size: 13px;
  padding-left: 55px;
  position: relative;
}

.amenities-filters .tab-pane--filters .typeIcon {
  background-size: 18px;
  width: 18px;
  height: 18px;
  margin-right: 3px;
  position: absolute;
  left: 35px;
  top: 50%;
  transform: translateY(-50%);
}

.amenities-filters .tab-pane--filters .typeFilterCheckboxButton,
.amenities-filters .tab-pane--filters .allTypesFilterCheckboxButton {
  display: none;
}

.amenities-filters .tab-pane--filters select {
  width: 80px;
  display: inline-block;
  margin: 0 10px;
}

.amenities-filters .tab-pane--filters .radiusFilterContainer {
  margin: 24px 0 15px 4px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.amenities-filters .tab-pane--filters .radiusFilterContainer label {
  margin: 0;
  font-weight: inherit;
}

.amenities-filters .tab-pane--filters .radiusFilterContainer .form-type-select {
  margin-bottom: 0;
}
