/* #page-header it just included for the examples */
#page-header {
  float: left;
  display: block;
}
/* Infowindow Roboto font override */

.bh-sl-error {
  clear: both;
  float: left;
  width: 100%;
}

.bh-sl-container {
  width: 100%;
  margin-top: -60px
}
.bh-sl-container .bh-sl-form-container {
  width: 100%;
  box-shadow: 0 6px 5px -4px rgba(0,0,0,0.1);
  padding: 15px;
  position: relative;
}
.bh-sl-container .form-input {
  float: left;
  margin-top: 3px;
}
.bh-sl-container .form-input label {
  font-weight: bold;
}

.bh-sl-container .bh-sl-loading {
  float: left;
  margin: 4px 0 0 10px;
  width: 16px;
  height: 16px;
  background: url(../img/ajax-loader.gif) no-repeat;
}
/*
.bh-sl-container .bh-sl-filters-container {
  clear: both;
  float: left;
  width: 100%;
  margin: 15px 0;
}
.bh-sl-container .bh-sl-filters-container .bh-sl-filters {
  list-style: none;
  float: left;
  padding: 0;
  margin: 0 100px 0 0;
}
.bh-sl-container .bh-sl-filters-container .bh-sl-filters li {
  display: block;
  clear: left;
  float: left;
  width: 100%;
  margin: 5px 0;
}
.bh-sl-container .bh-sl-filters-container .bh-sl-filters li label {
  display: inline;
}
.bh-sl-container .bh-sl-filters-container .bh-sl-filters li input {
  display: block;
  float: left;
  margin: 2px 8px 2px 0;
}
*/
.bh-sl-container .bh-sl-map-container {
      position: relative;
    width: 100%;
    height: calc(100vh - 120px);
}
.bh-sl-container .bh-sl-map-container a {
  color: #e76737;
  text-decoration: none;
}
.bh-sl-container .bh-sl-map-container a:hover,
.bh-sl-container .bh-sl-map-container a:active {
  text-decoration: underline;
}

.bh-sl-container .bh-left-panel {
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 60px;
  width: 28%;
  max-width: 330px;
  padding: 0;
  background-color: white;
  overflow-x: auto;
  z-index: 2;
}

.bh-sl-container .bh-sl-loc-list {
  background-color: #f6f6f6;
}

.bh-sl-container .bh-sl-loc-list ul.list {
  display: block;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 20px 15px;
  color: #333;
  font-size: 12px;
  line-height: 16px;
}

.bh-sl-container .bh-sl-loc-list ul.list li {
  display: block;
  clear: left;
  float: left;
  background-color: white !important;
  cursor: pointer;
  width: 100%;  /* Adding this to prevent moving li elements when adding the list-focus class*/
  box-shadow: 2px 2px 0px rgba(0,0,0,0.1);
  margin-bottom: 15px;
}
.bh-sl-container .bh-sl-loc-list .list-label {
  float: left;
  margin: 10px 0 0 6px;
  padding: 2px 3px;
  width: 10%;
  max-width: 25px;
  text-align: center;
  background: #245A68;
  color: #ffffff;
  font-weight: bold;
}
.bh-sl-container .bh-sl-loc-list .list-details {
  float: left;
  margin-left: 6px;
  width: 80%;
}
.bh-sl-container .bh-sl-loc-list .list-details .list-content {
  padding: 10px;
}
.bh-sl-container .bh-sl-loc-list .list-details .loc-dist {
  font-weight: bold;
  font-style: italic;
  color: #02CCD3;
}
.bh-sl-container .bh-sl-loc-list .list-focus {
  border: 1px solid #245A68;
  -moz-box-shadow: 0 0 8px #245A68;
  -webkit-box-shadow: 0 0 8px #245A68;
  box-shadow: 0 0 8px #245A68;
  transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
}
.bh-sl-container .bh-sl-loc-list .bh-sl-close-directions-container {
  width: 100%;
  height: 20px;
  position: relative;
}
.bh-sl-container .bh-sl-loc-list .bh-sl-close-directions-container .bh-sl-close-icon {
  top: 0;
  right: 6px;
}
.bh-sl-container .bh-sl-loc-list .bh-sl-noresults-title {
  font-weight: bold;
  color: #ae2118;
}
.bh-sl-container .loc-name {
  /* Picked up by both list and infowindows */
  color: #333;
  font-weight: bold;
}
.bh-sl-container .bh-sl-map {
  width: 100%;
  height: 100%;
  z-index: 1;
}
.bh-sl-container .bh-sl-pagination-container {
  clear: both;
}
.bh-sl-container .bh-sl-pagination-container ol {
  list-style-type: none;
  text-align: center;
  margin: 0;
  padding: 10px 0;
}
.bh-sl-container .bh-sl-pagination-container ol li {
  display: inline-block;
  padding: 10px;
  cursor: pointer;
  color: #ae2118;
  text-decoration: underline;
}
.bh-sl-container .bh-sl-pagination-container ol .bh-sl-current {
  color: #333333;
  cursor: auto;
  text-decoration: none;
}
/* Modal window */
.bh-sl-overlay {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background: url(../img/overlay-bg.png) repeat;
}
.bh-sl-overlay .bh-sl-modal-window {
  position: absolute;
  left: 50%;
  margin-left: -460px;
  /* width divided by 2 */
  margin-top: 60px;
  width: 920px;
  height: 590px;
  z-index: 10010;
  border-radius: 10px;
  box-shadow: 0 0 10px #656565;
}
.bh-sl-overlay .bh-sl-modal-window .bh-sl-modal-content {
  float: left;
  padding: 0 22px;
  /* there's already a margin on the top of the map-container div */
}
.bh-sl-overlay .bh-sl-modal-window .bh-sl-close-icon {
  top: -6px;
  right: -6px;
}
.bh-sl-close-icon {
  position: absolute;
  width: 18px;
  height: 18px;
  cursor: pointer;
  background: #2c2c2c url(../img/close-icon.png) 3px 3px no-repeat;
  border: 1px solid #000000;
  border-radius: 3px;
  box-shadow: 0 0 3px #656565;
}
.loc-directions , .loc-directions a { color:#245A68 !important; }

.loading {
  display: block; position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 1059; background: rgba(80,91,101,0.6);
}

@media screen and (max-width: 767px) {
  .bh-sl-container .bh-sl-map-container {
    height: 100vh;
    min-height: 500px;
    display: flex;
    flex-direction: column;
  }
  .bh-sl-container .bh-left-panel {
    height: 100%;
    flex: 0 0 50%;
    position: static;
    width: 100%;
    max-width: none;
    order: 2;
    max-width: auto;
  }
  .bh-sl-container .bh-sl-map {
    height: 100%;
    flex: 0 0 50%;
  }
}

#bh-sl-address {
    border-radius: 0;
    border: 1px solid #ddd;
    font-size: 15px;
    padding: 10px;
    margin-bottom: 10px;
}
