html, body {
    height: 100%;
    width: 100%;
}

body {
    display: table;
}

.pre-header .list-inline {
    padding-top: 10px;
}

.social-icons-top {
    position: absolute;
    top: 0px;
}

.list-view-sorting a {
    background: #F0F0F0 !important;
}

.mapSearch {
    display: table-cell;
    position: relative;
    width: 100%;
    height:100%;
}

.mapSearch-wrapper {
    display:table-row;
    height: 100%;
    width: 100%;
}

.mapSearch .list-view-sorting a {
  width: 100%;
  margin: 5px 0;
}
#map-canvas {
    position: absolute;
    top:0;
    left: 33%;
    right: 0;
    height:100%;
    width: 66%;
}

#side-panel {
    position: absolute;
    border-top: aliceblue solid 2px;
    left:0;
    top: 0;
    width: 33%;
    height: 100%;
    background: white;
}

#side-panel .container, #side-panel .container  {
    width: 100%;
}

#mapSearchForm {
    padding-top: 15px;
    padding-right: 10px;
}

.mapTooltip {
    width: 405px;
    height: 133px;
    overflow: hidden;
    padding: 10px;
}

.mapTooltipInner {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #fff;
    display: block;
}

.mapTooltip h4 {
    font-size: 15px;
    line-height: 15px;
    position: absolute;
    left: 115px;
    bottom: 23px;
    right: 10px;
}

.mapTooltip h3 {
    font-size: 15px;
    line-height: 15px;
    position: absolute;
    left: 116px;
    bottom: 56px;
    right: 10px;
}

.mapTooltip p {
    font-size: 13px;
    line-height: 13px;
    position: absolute;
    left: 116px;
    bottom: 5px;
    right: 10px;
}

.mapTooltipIdxLogo {
    position: absolute;
    left: 227px;
    bottom: 65px;
    right: 10px;
    vertical-align: top;
    background-position: center;
    background-size: cover;
    max-height:30px;
    max-width: 57px;
    height:30px;
    width: 57px
}

.mapTooltipImg {
    width: 113px;
    height: 113px;
    background-position: center;
    background-size: cover;
    background-image: url("/frontend/assets/img/no-photo.png");
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.mapTooltipNoPhoto {
    width: 60px;
    height: 60px;
    background-position: center;
    background-size: cover;
    background-image: url("/frontend/assets/img/no-photo.png");
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
}

.mapTooltipPrice {
    font: 18px 'PT Sans Narrow', sans-serif;
    color: #129c40;
    font-weight: bold;
    text-align: right;
    width: 100%;
    display: block;
    position: absolute;
    right: 10px;
    top: 6px;
}

.product-item {
    padding-bottom: 0px;
}

.product-item .label-info {
    display: inline-block !important;
    padding: 0px 7px !important;
    line-height: 22px !important;
}

.i-bath {
    width: 16px;
    height:16px;
    background-image: url("/frontend/assets/img/icons/bath-icon.png");
    margin-left: 2px;
    margin-right: 4px;
    display: inline-block;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.i-bed {
    width: 16px;
    height:16px;
    background-image: url("/frontend/assets/img/icons/bed-icon.png");
    margin-left: 2px;
    margin-right: 4px;
    display: inline-block;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.mapTooltipBathsBeds {
    font: 16px 'PT Sans Narrow', sans-serif;
    color: #129c40;
    font-weight: bold;
    text-align: left;
    width: 100%;
    display: block;
    position: absolute;
    left: 115px;
    top: 8px;
    bottom: 20px;
}

#topcontrol {
    display: none;
}

#chatcontrol {
    bottom: 20px !important;
}
.gm-style-iw h2 {
  font-size: 20px;
}
.sidebar {
  margin: 0;
}

.mapControls {
  background-color: #fff;
  border-radius: 3px;
  box-shadow: 0 0px 4px rgba(0,0,0,0.3);
  margin-bottom: 20px;
}
.mapControls:first-child {
  border-left: none;
}
.results:hover, .list:hover, .draw:hover, .erase:hover, .filter:hover {
  background-color: steelblue;
  color: white;
}
.panel-default>.filter-heading {
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
  z-index: 1;
  margin-top: -1px;
}
#map-search {
  display: none;
}

#sort {position: relative; top: 2px;}
.list-style-btn {display: none;}
#search-content {
  padding: 20px;
}
.controls {padding: 10px; background-color: #f2f2f2;}
.controls .btn { margin-bottom: 3px;}
.footer, .pre-footer, #filter, .mobile_search_container {display: none}
.search-filter {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.filter-title {
  font-size: 20px;
}

.searchCriteriaList .label {
    margin-top: 15px;
}
.searchCriteriaList .label:first-child {
    margin-left: 10px;
}
#mapSearchContainer .label a {
    margin-left: 10px;
    color: #fff;
}

.topCenterMapControls {
    padding: 3px 10px 3px 10px;
    font-size: 36px;
    border-radius: 0px 0px 15px 15px;
    border: 1px solid grey;
    background-color: white;
    color: grey;
}

.topCenterMapControls.bg-red {
    background-color: red;
    color: white;
}

.filter-heading, #close { text-align: center; display: none; }
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    #map-canvas, #side-panel {
        height: 1000px !important;
    }
    body {
        overflow-x: auto !important;
    }
}

@media only screen and (max-width: 768px) {
  #filter { display: inline-block; }
  #map-canvas {
    width: 100%;
    left: 0;
  }
  #map-search, #filter-collapse {
    text-decoration: none;
    color: rgb(5, 134, 189);
  }
  .brandbar { display: none; }
  .btn-group {
    display: block;
  }
  .btn-group>.btn {
    float: none;
    width: 100%;
    border-radius: 4px;
    margin-bottom: 5px;
  }
  #side-panel {
    position: absolute;
    z-index: 5;
    width: 425px;
    visibility: hidden;
  }
  .controls {
    position: fixed;
    bottom: 0px;
    left: 0;
    right: 0;
    margin: 0px;
    padding-left: 23px;
    padding-bottom: 11px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    z-index: 1;
    padding-top: 10px;
  }
  .search-filter { padding-bottom: 35px; }
  .panel-default>.filter-heading {display: none;}
  .pre-header {
    position: relative;
    z-index: 5;
  }
  .filter-heading {
    z-index: 1;
    background-color: white;
    text-align: center;
    width: 425px;
    top: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: block;
  }
  .panel-group .panel {
    overflow: inherit;
  }
  .filter-title {
    font-size: 26px;
  }
}
@media only screen and (max-width: 425px) {
  #side-panel {
    width: 100%;
    overflow: scroll;
  }
  .erase, .draw { display: none; }
  .sidebar, .scroller, .panel-group { margin: 0;}
  .panel-group .panel { overflow: visible;}
  .filter, #close { display: block; }
  .gmnoprint {
    z-index: 0 !important;
  }
  #searchForm {
    width: 100%;
  }
}
