/*
Theme Name:     Hometown Child
Description:    Child theme of the Hometown Theme
Author:         LeafThemes
Author URI:     http://leafthemes.com
Template:       hometown-theme
Version:        1.0.0
*/

/* ------- Insert custom styles below this line ------- */

/**
 * Colours
 *
 * blue: #007da2; 
 */

@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700');

body {
  font-family: 'Montserrat', sans-serif !important;
}

/* Header */
.header-wrap.element-light .header-top {
  background: #d4e7ef;
  color: #007da2;
}

  .header-wrap.element-light .header-top a {
    color: #007da2;
  }

.main-content {
  background-color: #f1f5f6;
  background-color: rgba(15,117,154, 0.03);
  /*position: relative;
  top: -148px;*/
  /*background-color: #d1e5ed;*/
}

.badge {
  background: transparent;
}
  
  .badge .status.status--sold::before {
    background-color: #d11c00;
  }

@media only screen and (min-width: 64.063em) {
  .primary-nav > ul > li {
    padding: 0 12px;
  }
}

@media only screen and (min-width: 67.500em) {
  .primary-nav > ul > li {
    padding: 0 16px;
  }
}

.property-search-form label {
  font-weight: 500;
}
/*.nt-testimonials blockquote footer {
	color: #ffffff !important;
}*/
.nt-testimonials section {
	font-size: 20px !important;
}

/* Headings,etc. */

.section-title.element-dark {
  color: #007da2;
}

h2 {
  color: #007da2;
}

.vc_separator .sub-title {
  color: #007da2;
}

.vc_separator .sub-title::before,
.vc_separator .sub-title::after {
  background-color: #007da2;
}

/* Buttons */
.button,
input[type="submit"],
input[type="button"],
.lt-button {
  border: 1px solid #007da2;
  background-color: #007da2;
  color: #fff;
}

.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.lt-button:hover {
  border-color: #aaa !important;
  background-color: #fff !important;
  color: #555;
}

/* Home page testimonials */
.home__testimonials {
  background: 
    linear-gradient(rgba(255, 255, 255, 0.8),rgba(255, 255, 255, 0.8)),
    url('./images/backgrounds/testimonials.png') top left / cover no-repeat fixed !important
}

.home__testimonials .owl-controls .owl-dots {
  bottom: initial;
  right: initial;
  left: 50%;
  -webkit-transform: translateX(-50%);
     -moz-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
       -o-transform: translateX(-50%);
          transform: translateX(-50%);
}

.home__testimonials .owl-controls .owl-dots .owl-dot {
  background: #007da2;
  /*background: rgba(15,117,154, 0.03);*/
}

/* Home page newsletter */
.home__newsletter {
  background: 
    linear-gradient(rgba(255, 255, 255, 0.8),rgba(255, 255, 255, 0.8)),
    url('./images/backgrounds/home-newsletters.png') top left / cover no-repeat fixed !important
}

/* Footer */
.footer-main {
  background: rgb(15,117,154);
}

.footer-main,
.footer-main a,
.footer-main .social-list i {
  color: #fff;
}

.footer-main .social-list i {
  border-color: #fff;
}

.footer-main .social-list i:hover {
  color: #007da2;
  background: #fff;
}

.footer-main .large-4 {
  width: 100%;
}

/**
 * PAGE HEADERS
 */

/* Why Maria */
.page-why-maria .section-title {
  /*background-color: rgba(15,117,154, 0.03) !important;
  background-image: url(./images/page-headers/why-maria.jpg) !important;
  background-size: cover !important;
  background-position: center;
  color: #fff;*/
}

/* Another Perfect Match */
.page-another-perfect-match .section-title {
  /*background-color: rgba(15,117,154, 0.03) !important;
  background-image: url(./images/page-headers/another-perfect-match.jpg) !important;
  background-size: cover !important;
  color: #fff;*/
}

/* Another Perfect Match */
.page-another-perfect-match .wpb_row {
  display: flex;
}

.page-another-perfect-match .wpb_column {
  /*padding: 0 15px;*/
  /*border: 1px solid red;*/
}

@media only screen and (max-width: 767px) {
  .page-another-perfect-match .wpb_row {
    flex-direction: column;
  }

  .page-another-perfect-match .wpb_row.mobile-reverse {
    flex-direction: column-reverse;
  }
}
.home .wpcf7-form .email-address {
	position: relative;
	margin: 0;
}

.newsletter-submit {
	position: absolute !important;
	top: 0;
	right: 0;
}
/** hide price on sold listings **/
div.status--sold {
	padding: 6px !important;
}
div.status--sold + div.price {
	background-color: transparent !important;
}
div.status--sold + div.price {
	display: none !important;
}