/* Infowindow Roboto font override */

.gm-style div, .gm-style span, .gm-style label, .gm-style a {
  font-family: Arial, Helvetica, sans-serif;
}

@media (max-width: 575px) {
  #bh-sl-address {
    margin-bottom: 15px;
    margin-left: 1.5rem;
  }
}

.bh-sl-loading-ibis {
  text-align: center;
  margin: 10px auto 0;
  width: 24px;
  height: 30px;
}

.bh-sl-loading-ibis svg path,
.bh-sl-loading-ibis svg rect{
  fill: #ae232e;
}

/* InfoBubble font size */

.bh-sl-window {
  font-size: 13px;
}

.bh-sl-error {
  clear: both;
  color: #ae2118;
  float: left;
  font-weight: bold;
  padding: 10px 0;
  width: 100%;
}

/* Avoid image issues with Google Maps and CSS resets */

.bh-sl-map-container img {
  border-radius: 0 !important;
  box-shadow: none !important;
  max-height: none !important;
  max-width: none !important;
}

.bh-sl-map-container {
  clear: left;
  margin-top: 27px;
  width: 100%;
  margin-bottom: 15px;
}

.bh-sl-map-container a {
  color: #005293;
  text-decoration: none;
}

.bh-sl-map-container a:active, .bh-sl-map-container a:focus, .bh-sl-map-container a:hover {
  text-decoration: underline;
}

.bh-sl-loc-list {
  font-size: 14px;
  height: 450px;
  overflow-y: auto;
  width: 100%;
}

@media (min-width: 1024px) {
  .bh-sl-loc-list {
    width: 30%;
  }
}

.bh-sl-loc-list ul {
  display: block;
  clear: left;
  float: left;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bh-sl-loc-list ul li {
  border: 1px solid #fff;
  /* Adding this to prevent moving li elements when adding the list-focus class*/
  box-sizing: border-box;
  clear: left;
  cursor: pointer;
  display: block;
  float: left;
  width: 100%;
}

.bh-sl-loc-list .list-label {
  background: #333;
  border-radius: 15px;
  color: #fff;
  display: block;
  display: none;
  float: left;
  font-weight: bold;
  margin: 10px 0 0 15px;
  padding: 4px 7px;
  text-align: center;
  width: 30px;
  min-width: 30px;
}

.bh-sl-loc-list .list-details {
  float: left;
  margin-left: 6px;
  width: 80%;
}

.bh-sl-loc-list .list-details .list-content {
  padding: 10px;
}

.bh-sl-loc-list .list-details .loc-dist {
  color: #8e8e8e;
  font-weight: bold;
  font-style: italic;
}

.bh-sl-loc-list .list-focus {
  /*border: 1px solid rgba(0, 82, 147, 0.4);
  transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;*/
}

.bh-sl-loc-list .bh-sl-close-directions-container {
  height: 20px;
  position: relative;
  width: 100%;
}

.bh-sl-loc-list .bh-sl-close-directions-container .bh-sl-close-icon {
  right: 6px;
  top: 0;
}

.bh-sl-loc-list .bh-sl-directions-panel {
  margin: 0 2%;
  /* Avoid issues with table-layout */
}

.bh-sl-loc-list .bh-sl-directions-panel table {
  table-layout: auto;
  width: 100%;
}

.bh-sl-loc-list .bh-sl-directions-panel table, .bh-sl-loc-list .bh-sl-directions-panel td {
  vertical-align: middle;
  border-collapse: separate;
}

.bh-sl-loc-list .bh-sl-directions-panel td {
  padding: 1px;
}

.bh-sl-loc-list .bh-sl-directions-panel .adp-placemark {
  margin: 10px 0;
  border: 1px solid #c0c0c0;
}

.bh-sl-loc-list .bh-sl-directions-panel .adp-marker {
  padding: 3px;
}

.bh-sl-loc-list .bh-sl-noresults-title {
  font-weight: bold;
  margin: 15px;
}

.bh-sl-loc-list .bh-sl-noresults-desc {
  margin: 0 15px;
}

.loc-name {
  /* Picked up by both list and infowindows */
  font-size: 20px;
  letter-spacing: 0.03em;
}

.bh-sl-map {
  float: left;
  height: 450px;
  width: 100%;
}

@media (min-width: 1024px) {
  .bh-sl-map {
    width: 70%;
  }
}

.bh-sl-pagination-container {
  clear: both;
}

.bh-sl-pagination-container ol {
  list-style-type: none;
  margin: 0;
  padding: 10px 0;
  text-align: center;
}

.bh-sl-pagination-container ol li {
  color: #005293;
  cursor: pointer;
  display: inline-block;
  font: bold 14px Arial, Helvetica, sans-serif;
  padding: 10px;
}

.bh-sl-pagination-container ol .bh-sl-current {
  color: #555;
  cursor: auto;
  text-decoration: none;
}

/* Modal window */

.bh-sl-overlay {
  background: url(../img/overlay-bg.png) repeat;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10000;
}

.bh-sl-overlay .bh-sl-modal-window {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px #656565;
  position: absolute;
  left: 50%;
  margin-left: -460px;
  /* width divided by 2 */
  margin-top: 60px;
  height: 620px;
  width: 920px;
  z-index: 10010;
}

.bh-sl-overlay .bh-sl-modal-window .bh-sl-map-container {
  margin-top: 50px;
  /* increase map container margin */
}

.bh-sl-overlay .bh-sl-modal-window .bh-sl-modal-content {
  float: left;
  padding: 0 1%;
  /* there's already a margin on the top of the map-container div */
  width: 98%;
}

.bh-sl-overlay .bh-sl-modal-window .bh-sl-close-icon {
  right: 22px;
  top: 13px;
}

.bh-sl-close-icon {
  cursor: pointer;
  height: 24px;
  position: absolute;
  width: 24px;
}

.bh-sl-close-icon:after, .bh-sl-close-icon:before {
  background: #ccc;
  content: '';
  display: block;
  height: 24px;
  margin: -3px 0 0 -1px;
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 3px;
  top: 3px;
  width: 3px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.bh-sl-close-icon:hover:after, .bh-sl-close-icon:hover:before {
  background: #b3b3b3;
}

.bh-sl-close-icon:before {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* form extras for Bootstrap inline form as we need to surround the checkboxes in two divs */

#bh-sl-user-location.form-inline {
  justify-content: center;
}

.bh-sl-filters {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
}
