/* ==================== General Styling ==================== */

#IDX-main {width: 100%;}
#leftbar > .taxonomies {
  display: none;
}

/* Buttons */
.IDX-wrapper-standard .IDX-btn-default,
.IDX-wrapper-standard .IDX-btn-primary,
.IDX-wrapper-standard #IDX-action-buttons button,
.idx-omnibar-form button,
#IDX-resultsTopActions a {
    box-sizing: border-box;
    display: block;
    padding: 15px 29px;
    border: none;
    border-radius: 0;
    margin: 0 0 20px;
    text-align: center;
    background-color: var(--accent-color1);
    color: var(--brand-color1);
    font-size: 14px;
    text-transform: uppercase;
    font-weight: var(--font-weight-heavy);
    line-height: 1em;
    letter-spacing: 1.2px;
}
.IDX-wrapper-standard #IDX-action-buttons button.IDX-btn-default {
  background-color: #f0f0f0;
  border-color: #ddd;
}
.IDX-wrapper-standard .IDX-btn-default:hover,
.IDX-wrapper-standard .IDX-btn-primary:hover,
.IDX-wrapper-standard #IDX-action-buttons button:hover,
.idx-omnibar-form button:hover,
#IDX-resultsTopActions a:hover  {
	background-color: var(--accent-color1-hover);
	color:#fff;
	text-decoration: none;
	box-shadow:none;
  transition: 0.5s;
}

/* Other form inputs */
body .idx-omnibar-form input[type="text"] {
  width:98%;
}
.IDX-searchForm label {
  font-weight: var(--font-weight-normal);
}

/* ==================== MLS Search Page ==================== */
.IDX-wrapper-standard .IDX-navbar-nav {
  padding-bottom: 0;
}

/* Map Search */
#IDX-mapContainer #IDX-mapHeader-Search {
  height: auto;
  padding-bottom:15px;
}
#IDX-mapSearchFields #IDX-price-fields {
  display: flex;
}
#IDX-mapSearchFields #IDX-price-fields a {
  width: auto;
  margin-left:3px;
  margin-bottom:0;
}

/* ==================== MLS Search Results Pages ==================== */
.IDX-wrapper-standard .IDX-resultsAddress a {
    font-size: 1.2em;
}
.IDX-wrapper-standard .IDX-resultsCell {
  border-bottom: solid 1px #ccc;
  padding-bottom:30px;
}
.IDX-wrapper-standard .IDX-resultsPhoto {
  margin-bottom: 20px;
}
.IDX-wrapper-standard .IDX-resultsAddress {
  margin-top: 0;
}
.IDX-wrapper-standard .IDX-row-content .IDX-resultsCellActions {
  padding-top: 20px;
  display: inline-block;
  float: none;
}
.IDX-wrapper-standard .IDX-row-content .IDX-resultsCellActions div {
  margin-right:5px;
}
.IDX-wrapper-standard .IDX-resultsDescription {
  padding-bottom: 20px;
}
.IDX-wrapper-standard #IDX-resultsMLSRights {
  font-size: 0.7em;
  line-height: 1.3em;
  padding: 30px 10px;
}

/* ==================== Listing Profile Pages ==================== */
.IDX-wrapper-standard .IDX-panel-title,
.IDX-wrapper-standard .IDX-panel-heading .IDX-field-listingID {
  padding-bottom: 0 !important;
  font-size: 1.1em;
}

/* Buttons at the top of the page */
#IDX-detailsWrapper #IDX-nextLastButtons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#IDX-detailsWrapper #IDX-nextLastButtons #IDX-nextLastPosition {
  flex-basis: 100%;
}
#IDX-detailsWrapper #IDX-nextLastButtons a {
  width: 49.5%;
}
#IDX-detailsWrapper #IDX-detailsTopActions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#IDX-detailsWrapper #IDX-detailsTopActions .IDX-topAction {
  margin-right: 0;
  width: 24.2%;
}
#IDX-detailsWrapper #IDX-detailsTopActions .IDX-topAction a {
  margin-bottom: 0;
  word-break: break-word;
  max-width: 100%;
  white-space: break-spaces;
}
#IDX-detailsWrapper #IDX-detailsHotActions {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#IDX-detailsWrapper #IDX-detailsHotActions > div {
  width: 24.2%;
}
#IDX-detailsWrapper .IDX-detailsHotAction a {
  padding: 15px 29px;
  text-decoration: none;
  margin-right: 5px;
  word-break: break-word;
  max-width: 100%;
  white-space: break-spaces;
}

/* Image slideshow */
#IDX-primaryPhoto .IDX-thumbnail img {
  max-height: 600px;
}
#IDX-primaryPhoto .IDX-arrow .fa {
  padding-top: 8px;
}
#IDX-detailsShowcaseSlides {
  box-sizing: content-box;
  margin-bottom: 20px !important;
}
#IDX-detailsShowcaseSlides .IDX-carouselWrapper {
  height: auto;
}
#IDX-detailsShowcaseSlides .IDX-carouselThumb {
  height: auto;
}

/* Similar listings */
.IDX-similar-listings--item {
  padding: 10px;
  border: solid 1px #eee;
}
.IDX-similar-listings--item .IDX-text {
  padding-bottom: 5px;
}
.IDX-similar-listings--item .IDX-similar-listings--item-image {
  width: 100%;
}
.IDX-similar-listings--item .IDX-similar-listings--info {
  padding-top: 5px;
}

/*============ Screen sizes up to 768px ============*/
@media screen and (max-width:768px) {
  #IDX-detailsWrapper #IDX-detailsHotActions > div,
  #IDX-detailsWrapper #IDX-detailsTopActions .IDX-topAction {
    width: 49.5% !important;
  }
  .IDX-wrapper-standard #IDX-map {
    max-height: 500px;
  }
}