/* Map Search Stylesheet
/* Applies across all pages/screens
/* ------------------------------------------------------------------------ */

#mapHolder {
  position: relative;
}

.quicksearch-button {
  width: 138px!important;
  margin: 0 2px 5px 0;
  margin-right: 2px;
  display: block;
}

#map-search-wrapper {
  clear: both;
  margin: 0 0 8px;
  text-align: right;
}

/* Map Search Window
 * ------------------------------------------------------------------------ */
#map-search-page #map-search-window {
    display: block;
}

#map-search-page .map-search-panel-button.close-map-search{
    display: none;
}

#map-search-window {
  background-color: #ccc;
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
}

#map-search-window-container {
  position: relative;
}

#map-search-map {
  background: #ccc none center center no-repeat;
  bottom: 0;
  height: 100%;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1;
}

#map-search-close-window {
  background-color: #ccc;
  color: white;
  display: block;
  font-size: 20px;
  height: 24px;
  opacity: 0.7;
  padding: 0 0 0 1px;
  position: absolute;
  right: 0;
  text-decoration: none;
  top: 0;
  width: 18px;
  -moz-opacity: 0.7;
  -webkit-opacity: 0.7;
}

#map-search-close-window:hover {
  opacity: 1;
}

/* Map Search Panel
 * ------------------------------------------------------------------------ */
#map-search-panel {
  background-color: transparent;
  bottom: 0;
  font-size: 12px;
  height: 100%;
  left: 0;
  position: absolute;
  overflow: auto;
  overflow-y: auto;
  overflow-x: hidden;
  top: 0;
  width: 310px;
  z-index: 10;
}

#map-search-panel-handle {
  background: white none 1px 0 repeat-y;
  border-left: 1px solid #999;
  border-right: 1px solid #444;
  cursor: pointer;
  position: absolute;
  top 0;
  right: 0;
  width: 20px;
  height: 100%;
  min-height: 770px;
  z-index: 100;
}

#map-search-panel-handle span {
  background: transparent none no-repeat;
  background-position: -3px center;
  display: block;
  height: 36px;
  left: 50%;
  line-height: 28px;
  margin-top: -10px;
  margin-left: -7px;
  position: absolute;
  top: 45%;
  width: 13px;
  font-size: 28px;
  overflow: hidden;
  color: #678AC7;
}

#map-search-panel-handle.closed span {
  background-position: -41px center;
  text-indent: -14px;
}

#map-search-panel-scroll-wrapper {
  background-color: #efefef;
  bottom: 0;
  height: 100%;
  left: 0;
  overflow-x: hidden;
  overflow-y: auto;
  position: absolute;
  top: 0;
  width: 100%;
}

#map-search-panel-wrapper {
  background-color: #efefef;
  min-height: 770px;
  height: 100%;
  position: relative;
  top: 0;
  left: 0;
  -moz-opacity: 0.7;
  -webkit-opacity: 0.7;
  -ms-opacity: 0.7;
  opacity: 0.7;
}

.map-search-panel-button {
  width: 150px;
}

#map-search-panel-wrapper.mouseover {
  -moz-opacity: 0.95;
  -webkit-opacity: 0.95;
  -ms-opacity: 0.95;
  opacity: 0.95;
}

#map-search-panel td {
  font-size: 12px;
}

#map-search-panel .header {
  background: #ccc none top left repeat-x;
  border-bottom: 1px solid #999;
  position: relative;
  margin: 0 0 18px 0;
}

#map-search-panel .footer {
  position: absolute;
  color: #444;
  bottom: 25px;
  width: 280px;
  left: 0;
  font-size: 11px;
}

#map-search-panel .footer a, #map-search-panel .footer a:visited {
	color: #444;
}

#map-search-panel div.footer a:hover {
	color: #000 !important;
}


#map-search-panel .footer .agent-name {
  font-weight: bold;
  font-size: 14px;
}

#map-search-panel .header h2 {
  color: #444;
  font-size: 12px;
  font-weight: normal;
  margin: 0;
  padding: 5px 10px;
  text-align: left;
}

#quickSearch .label {
  padding-left: 0.5em;
}

#map-search-panel .label {
  color: #444;
  padding-left: 0.5em;
  width: 90px;
}

#map-search-panel .field {
  width: 180px;
}

#map-search-panel select {
  width: 175px;
}

#map-search-panel .multiple-select {
  font-size: 11px!important;
  height: 65px;
}

/* Map Search Listing Details Window
 * ------------------------------------------------------------------------ */
#map-search-listing-detail-overlay {
  background-color: #ccc;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  opacity: 0.3;
  width: 100%;
  z-index: 1000;
  -moz-opacity: 0.3;
  -webkit-opacity: 0.3;
  filter: alpha(opacity=30);
}

#map-search-listing-detail-window {
  background-color: #ccc;
  height: 95%;
  left: 50%;
  margin-left: -375px;
  overflow: hidden;
  position: fixed;
  top: 2%;
  width: 900px;
  z-index: 1001;
}

#map-search-listing-detail-window iframe {
  border: 1px solid #ccc;
}

#map-search-listing-detail-window-header {
  background: #ccc none top left repeat-x;
  border-bottom: 1px solid #999;
  height: 24px;
  width: 110%;
  text-align: left;
}

#map-search-listing-detail-window-header .title {
  color: #444;
  line-height: 24px;
  font-size: 12px;
  padding: 0 5px;
}

#map-search-listing-detail-window-header .close-window {
  color: #aaa;
  display: block;
  position: absolute;
  top: 3px;
  height: 18px;
  font-size: 18px;
  right: 5px;
  text-decoration: none;
  font-weight: bold;
  padding: 0 3px;
}

#map-search-listing-detail-window-header .close-window:hover {
  color: #666;
}

/* Map Search Control Button
 * ------------------------------------------------------------------------ */
.map-search-control-button {
  -webkit-box-shadow: rgba(0, 0, 0, 0.347656) 2px 2px 3px;
  -webkit-user-select: none;
  background-position: initial initial;
  background-repeat: initial initial;
  background-color: white;
  border-radius: ;
  border: 1px solid #A9BBDF;
  box-shadow: rgba(0, 0, 0, 0.347656) 2px 2px 3px;
  color: black;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: normal;
  line-height: 100%;
  min-width: 26px;
  overflow: hidden;
  padding: 3px 6px;
  text-align: center;
}

#map-search-control-message-area {
  border-right: none;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  display:none !important;
}

#map-search-control-prev-button {
  color: #678AC7;
  position: absolute;
  top: 0;
  left: 248px;
  cursor: pointer;
  margin: 0;
}

#map-search-control-next-button {
  color: #678AC7;
  position: absolute;
  top: 0;
  left: 287px;
  cursor: pointer;
  margin: 0;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

#map-search-control-price-asc-button,
#map-search-control-price-desc-button {
  color: #666;
  font-size: 11px;
  position: absolute;
  top: 1px;
  right: 0;
  cursor: pointer;
}

#map-search-control-prev-button:hover,
#map-search-control-next-button:hover,
#map-search-control-price-asc-button:hover,
#map-search-control-price-desc-button:hover {
  border: 1px solid #678AC7;
}

#map-search-control-prev-button.disabled,
#map-search-control-next-button.disabled {
  color: #aaa;
  border: 1px solid #A9BBDF;
}


#map-search-control-price-asc-button.enabled,
#map-search-control-price-desc-button.enabled {
  background-color: #678AC7;
  border: 1px solid #678AC7;
  color: white;
}

#map-search-control-price-asc-button {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  right: 39px;
}

#map-search-control-price-desc-button {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

/* Map Search Panel Search Controls
 * ------------------------------------------------------------------------ */
.mls_num_search td,
.address_search td {
  border-top: 1px #ccc solid;
  padding-top: 5px;
}

.address_search td {
  padding-bottom: 12px;
}

.address_search .label {
  vertical-align: top;
}

.address_search label {
  color: #444;
}

.mls_num_search input,
.address_search input {
  width: 175px;
}

.address_search td ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Close Map Button
 * ------------------------------------------------------------------------ */
#map-search-control-close-window {
  color: #678AC7;
  border-radius: 3px;
  cursor: pointer;
  font-size: 21px;
  font-weight: bold;
  left: 0;
  line-height: 16px;
  padding: 0;
  position: absolute;
  top: 0;
  width: 22px;
}

#map-search-control-close-window:hover {
  border: 1px solid #678AC7;
}

.clearfix:after, .container:after {content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;}
.clearfix, .container {display:block;}
.clear {clear:both;}
