/**
* Theme Name: WP Pro Real Estate 7 Child
* Description: This is a child theme of WP Pro Real Estate 7, generated by Merlin WP.
* Author: <a href="http://www.contempographicdesign.com">Chris Robinson</a>
* Template: realestate-7
* Version: 2.8.0
*/

/**
 * added a tetrary color mode for buttons
 */

input[type=submit].btn-tertiary {
  background: #27ae60;
}

/**
 * Hide the property icon
 */

span.prop-type-icon {
  display: none;
}

/**
 * Hide the images icon
 */

span.listing-views {
  display: none;
}

/**
 * Centers the image in the listing if its not big enough
 * */

img.attachment-listings-featured-image {
  margin: auto;
}

/**
  * Makes the listings the same height
  */

/*#listings-results, .featured-listings .container>ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 3fr));
  grid-template-rows: auto;
  grid-auto-flow: row;
  grid-gap: 20px;
  gap: 20px;
}*/

#listings-results .col, .featured-listings .col {
  margin-left: 0;
}

#listings-results .clear, .featured-listings ul .clear {
  display: none;
}

#listings-results .marT30, #listings-results .pagination {
  grid-column: 1/-1;
}

#listings-results .listing, .featured-listings .listing {
  width: 100%;
  min-width: 200px;
  max-width: 100%;
}

#listings-results .listing img, .featured-listings .listing img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.grid-listing-info header {
  min-height: 100px;
}

/**
 * Hide's lot size from listing list
 */

.search-listings li.row.lotsize {
  display: none;
}

/**
 * This makes the map behave like a column restricted item instead of fullwidth
 * affects home and listing pages
 * 
 * uncomment the following if they want it enabled.
 */

/* .featured-map {
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url(https://maloofcom.com/wp-content/uploads/2019/08/map-background.png);
  background-size: cover;
}

html .home #map-wrap {
  max-width: 1100px;
  margin: auto;
}

html .search-listings #map-wrap {
  background: #efefef;
}

html .listings-results-map #map {
  max-width: 1100px;
  margin: auto;
} */

/*(#header-search-wrap #advanced_search.header-search #submit {
  width: 100%;
  max-width: 66%;
}*/

/*#header-search-wrap #advanced_search.header-search #more-search-options-toggle.btn.right {
  min-width: 118px;
  width: 100%;
  max-width: 33%;
  user-select: none;
}*/

/* Hide the map Navigation */

#ct-map-navigation {
  display: none;
}

/*Applies to Desktop*/

@media (min-width: 50rem) {}

/* Applies to Mobile */

@media (max-width: 50rem) {
  /* mobile media query */
  .hide-on-mobile {
    display: none
  }
}

/* Hide the compare panel */

#compare-panel {
  display: none;
}

.compare-this {
  display: none;
}

/* #wrapper #header-wrap .logo-wrap {
  height: 0px;
} */

/* LOGO Changes */

.logo-wrap img.logo {
  object-fit: contain;
  padding: .25rem;
}

/* Content Y Position Fix */

#home.home #main-content.trans-header {
  top: -196px;
  top: 0;
}

#header-wrap {
  background-color: #000 !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .6)), url(images/background.jpg) !important;
  background-position: 50% 100% !important;
  background-size: cover !important;
}

/* increase font size of topbar */

#topbar-wrap .container {
  font-size: 1.25rem;
}

/* Sweep up the breadcrumbs.*/

.breadcrumb {
  display: none;
}

/* Call To Action Button */

a.btn-cta {
  padding: 1rem;
  border-radius: 4px;
  background: #27ae60;
  color: #eee;
  font-size: 1.5rem;
  font-weight: bold;
}

a.btn-cta:hover {
  color: #fff;
}

/* Header background */

.dark-overlay {
  /* background: url(images/background.jpg); */
  background-color: #fff;
  background-size: cover;
  background-position: 50% 66%;
  padding-bottom: 0;
}

/* This is a normal page Title */

#single-header h1 {
  font-size: 2rem;
  color: #333;
}

#single-header h2 {
  font-size: 1.25rem;
  color: #666;
}

/* Homepage header welcome message */

.header-welcome {
  text-align: center;
  padding: 5rem 0;
  display: none;
}

#home.home .header-welcome {
  display: inherit;
}

.header-welcome h1, .header-welcome h2 {
  color: #fff;
  margin: 0 0 0 0;
}

.header-welcome span {
  break-inside: avoid;
}

/* Make the sub-header legible */

#single-header .dark-overlay h2 {
  font-weight: 500;
}

/* Header adjustments */

#header-wrap nav.left {
  float: right;
}

#header-wrap nav.right {
  float: left;
}

.ct-menu li.current-menu-item a {
  border: none;
}

.ct-menu li.menu-item {
  margin-top: 3.5rem;
}

.ct-menu li.menu-item:hover a {
  border-bottom: 3px #27ae60 solid;
  color: #27ae60 !important;
}

.ct-menu>li>a {
  font-size: 1.2rem;
  padding: 15px 10px 0 10px;
}

/* Our Brokers */

/* Remove view properties button */

.page-id-251 .vc_btn3 {
  display: none !important;
}

.cbp-spmenu {
  background: #000 !important;
}

/* Google Map */

.google-map {
  border: rgb(213, 217, 221) 1px solid;
  text-align: center;
  padding: 1rem;
}

.google-map img {
  display: inline-block
}

/* PRE FOOTER */

.footer--slogan p {
  font-size: .95rem;
}

.footer--slogan a{
  color: #27ae60 !important;
  text-decoration: #27ae60 underline;
}

.footer--slogan h3{
  color: #fff;
  font-size: 2rem;
}

/* FOOTER */

footer p.right {
  float: none;
  text-align: center;
}

