/* /find-location page, mobile first */
.page-find-location h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.page-find-location .zone-content {
  visibility: hidden;
}

.view-gta-locations-maps.view-display-id-page_1,
.view-gta-locations-maps.view-display-id-page_2 {
  min-height: 480px;
}

/* force the geofield input to the top of the page */
.view-gta-locations-maps #edit-field-geofield-distance-wrapper {
  position: absolute;
  top: 80px;
}

.view-gta-locations-maps .view-filters .views-exposed-widget {
  position: absolute;
  top: 140px;
}

.view-gta-locations-maps .view-filters .views-reset-button {
  left: 77px;
}

.view-gta-locations-maps .getlocations_map_wrapper {
  position: absolute;
  top: 200px;
}

.view-gta-locations-maps .view-empty {
  font-weight: bold;
  position: absolute;
  top: 168px;
}

.view-gta-locations-maps .view-empty.invisible {
  visibility: hidden;
}

.view-gta-locations-maps .view-empty .getlocations_map_wrapper {
  top: 36px;
}

.view-gta-locations-maps .view-header {
  position: relative;
  top: 480px;
}

.view-gta-locations-maps #edit-field-location-type-tid-wrapper,
.view-gta-locations-maps #edit-field-service-offered-tid-wrapper {
  top: 565px;
}

.page-find-location #region-sidebar-second {
  position: relative;
  padding-left: 0;
}

/* not sure what's going on here */
.page-find-location #mobile-tools {
  top: 11px;
}

/* infobubble */
.ggg_infobubble {
  font-size: 11px;
  line-height: 14px;
}

.ggg_infobubble .location_name {
  padding-bottom: 4px;
}

.ggg_infobubble .location_address {
  margin-bottom: 8px;
}

.ggg_infobubble .location_address .country {
  display: none;
}

.ggg_infobubble .open_hours {
  margin-bottom: 8px;
}

.ggg_infobubble .open_hours .hours {
  display: block;
  font-weight: bold;
}

.ggg_infobubble .open_hours p {
  margin: 0;
}

/* /location/%loc */
.node-location .location-hours .hours-wrapper {
  padding-top: 7px;
}

@media screen and (min-width: 980px) {
  /* Move type description back into right rail. */
  .view-gta-locations-maps .view-header {
    left: 0;
    padding-right: 8px;
    top: -5px;
    width: 250px;
  }
  .view-gta-locations-maps .view-header p {
    margin-bottom: 10px;
  }

  /* Move type checkboxes back into right rail. */
  .view-gta-locations-maps #edit-field-location-type-tid-wrapper,
  .view-gta-locations-maps #edit-field-service-offered-tid-wrapper {
    left: 0;
    padding-right: 8px;
    top: 80px;
    width: 260px;
    position: inherit;
  }

  .view-gta-locations-maps #edit-field-geofield-distance-wrapper,
  .view-gta-locations-maps .getlocations_map_wrapper,
  .view-gta-locations-maps .view-empty {
    left: 268px;
  }

  .view-gta-locations-maps .view-empty p {
    font-weight: bold;
  }

  .view-gta-locations-maps .view-empty .getlocations_map_wrapper {
    left: 0;
  }

  .view-gta-locations-maps .view-filters .views-exposed-widget {
    position: absolute;
    left: 268px;
  }

  .view-gta-locations-maps .view-filters .views-reset-button {
    left: 350px;
  }

  .page-find-location .zone-content {
    padding-bottom: 13px;
  }

}

/* make /locations table behave like a list on a phone */
.responsive-layout-mobile .view-gta-locations table {
  width: 98%;
  border: none;
  margin: 0 auto;
}

.responsive-layout-mobile .view-gta-locations table a {
  font-size: 18px;
  word-wrap: break-word;
}

.responsive-layout-mobile .view-gta-locations table th {
  display: none;
}

.responsive-layout-mobile .view-gta-locations table tr {
  border-bottom: none;
}

.responsive-layout-mobile .view-gta-locations table td {
  display: list-item;
  list-style-type: none;
  margin: 3px;
  padding: 3px;
  border-right: none;
}
