/*
Theme Name: Turner Real Estate
Theme URI: https://turnerrealestate.com.au/
Description:
Author: Stepps
Author URI: http://www.stepps.com.au/
Template: salient
Version: 1.0
*/

/***************** General ******************/
.input-group {
  align-items: stretch;
  display: flexbox;
  display: flex;

  /* -ms-flex-wrap: wrap;
    flex-wrap: wrap; */
  -ms-flex-align: stretch;
  position: relative;
  width: 100%;
}

/* body .container-wrap .span_12.light input[type="text"].input-control,
body .container-wrap .span_12.light input[type="email"].input-control,
body .container-wrap .span_12.light input[type="password"].input-control,
body .container-wrap .span_12.light select.input-control,
input.input-control {
    background-color: #fff !important;
    border: 1px solid #cbcece !important;
    box-sizing: border-box !important;
    display: block;
    padding: 1rem !important;
    line-height: 1 !important;
    color: #000 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
} */

/*
.input-control select {
    color: #757575 !important;
    line-height: 24px !important;
} */

.input-control .ginput_container_select {
  position: relative;
}

.input-control .ginput_container_select::before,
.contact-office-dropdown-container::before {
  border-color: #003e54 transparent transparent;
  border-style: solid;
  border-width: 5px 5px 0;
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.input-control textarea {
  font-size: 1rem !important;
}

.input-group .input-control {
  border-radius: 0 !important;
  flex: 1 1 auto;
  flex: 1 1 auto;

  /* width: 1%; */
  margin-bottom: 0;
  position: relative;
}

.input-group .btn-common {
  border-bottom-left-radius: 0 !important;
  border-top-left-radius: 0 !important;
}

.gform_wrapper
  .top_label
  li.gfield.gf_fullwidth
  input:not([type='radio'], [type='checkbox'], [type='submit'], [type='button'], [type='image'], [type='file']),
.gform_wrapper .top_label li.gfield.gf_fullwidth select {
  width: 100%;
}

/* .gform_wrapper .gform_footer input.button,
.gform_wrapper .gform_footer input[type=submit],
.gform_wrapper .gform_page_footer input.button,
.gform_wrapper .gform_page_footer input[type=submit],
body.ascend .container-wrap input[type="submit"],
body.ascend .container-wrap button[type="submit"],
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    padding: 17px 1.5rem !important;
    display: inline-flex;
    justify-content: center;
    line-height: 1;
    text-transform: uppercase;
    font-size: 16px !important;
    transition: color .15s ease-in-out, opacity .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    color: #fff;
    font-family: Roboto Condensed;
    font-weight: 300;
    background: rgba(0, 113, 188, 1);
    background: -moz-linear-gradient(left, rgba(0, 113, 188, 1) 0%, rgba(0, 169, 184, 1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(0, 113, 188, 1)), color-stop(100%, rgba(0, 169, 184, 1)));
    background: -webkit-linear-gradient(left, rgba(0, 113, 188, 1) 0%, rgba(0, 169, 184, 1) 100%);
    background: -o-linear-gradient(left, rgba(0, 113, 188, 1) 0%, rgba(0, 169, 184, 1) 100%);
    background: -ms-linear-gradient(left, rgba(0, 113, 188, 1) 0%, rgba(0, 169, 184, 1) 100%);
    background: linear-gradient(to right, rgba(0, 113, 188, 1) 0%, rgba(0, 169, 184, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0071bc', endColorstr='#00a9b8', GradientType=1);
} */

.gform_wrapper .gform_footer input.button:hover {
  color: #fff;
  opacity: 0.87;
}

body {
  -webkit-tap-highlight-color: rgb(0 0 0 / 0%);
}

/***************** Forms ******************/
body .gform_wrapper .top_label .gfield_label {
  display: none;
}

body img.gform_ajax_spinner {
  background-color: rgb(255 255 255); /* fall back */
  background-color: rgb(255 255 255 / 70%);
  background-image: url('images/spinner.gif'); /* path to your new spinner */
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 60px 60px;
  bottom: 0;
  display: block !important;
  height: 100% !important;
  left: 0;
  overflow: hidden !important;
  position: fixed !important;
  right: 0;
  top: 0;
  width: 100% !important;
  z-index: 999999;
}

/***************** Media Queries ******************/
@media only screen and (max-width: 1000px) {
  /***************** General ******************/
  body.mobile .container,
  body .container,
  #post-area.standard-minimal.full-width-content article.post .inner-wrap {
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .full-width-content,
  .full-width-section {
    margin-left: -15px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    width: calc(100% + 30px) !important;
  }

  .full-width-content > .col.span_12,
  .full-width-section > .col.span_12 {
    padding-left: 15px;
    padding-right: 15px;
  }

  #copyright {
    margin-bottom: 40px;
  }

  .common-row {
    padding-bottom: 50px !important;
    padding-top: 50px !important;
  }
}

@media only screen and (max-width: 767px) {
  .input-group {
    display: block;
  }

  .input-group .input-control {
    border-radius: 0 !important;
    margin-bottom: 0 !important;
  }
}

/***************** Stepps Custom Popup ******************/
.stepps-pp-container,
.stepps-pp-content {
  display: none;
}

/* The Modal (background) */
.stepps-pp-container {
  align-items: center;

  /* Enable scroll if needed */
  background-color: rgb(0 0 0);

  /* Fallback color */
  background-color: rgb(0 0 0 / 40%);

  /* Full width */
  height: 100%;

  /* Sit on top */
  left: 0;
  opacity: 0;

  /* Full height */
  overflow: auto;
  -webkit-overflow-scrolling: touch;

  /* Black w/ opacity */
  padding: 20px;
  position: fixed;
  top: 0;
  width: 100%;

  /* Stay in place */
  z-index: 1000000;
}

/* Modal Content */
.stepps-pp-content {
  background-color: #fff;
  margin: auto;
  margin-bottom: auto !important;
  padding: 2% !important;
  position: relative;
  text-align: left;
  width: 100%;
}

.stepps-pp-content.large {
  max-width: 1250px;
}

.stepps-pp-content.medium {
  max-width: 650px;
}

/* The Close Button */

/* The Close Button */
.stepps-pp-container .close {
  color: #f2f2f2;
  font-size: 34px;
  font-weight: bold;
  position: absolute;
  right: 0;
  top: -28px;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  z-index: 10;
}

.stepps-pp-container .close:hover,
.stepps-pp-container .close:focus {
  cursor: pointer;
  opacity: 0.7;
  text-decoration: none;
  transform: rotate(90deg);
  transform: rotate(90deg);
}

.stepps-pp-container .modal-content p {
  margin-top: 0;
  white-space: pre-line;
}

.stepps-pp-container .modal-content span.wrap {
  margin-top: 30px;
}

.stepps-pp-content .iframe-container {
  height: 0;
  padding-bottom: 56.25%;
  padding-top: 25px;
  position: relative;
}

.stepps-pp-content .iframe-container iframe {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

@media screen and (max-width: 600px) {
  .stepps-pp-container {
    padding: 0;
  }

  .stepps-pp-content {
    padding: 20px;
  }

  .stepps-pp-container .close {
    color: rgb(0 0 0 / 40%);
    height: 35px;
    margin-right: 0;
    margin-top: 0;
    text-align: center;
    top: 0;
    width: 35px;
  }
}

.stepps-pp-content .epl-advanced-map-single .epl_tabbed_map_wrapper {
  height: 500px;
}

.stepps-pp-content .epl-advanced-map-single {
  margin-bottom: 0;
}

/* Magnific Popup iframe */
.popup-modal__content .iframe-container {
  height: 0;
  padding-bottom: 56.25% !important;
  padding-top: 25px !important;
  position: relative;
}

.popup-modal__content .iframe-container iframe {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

/* Footer Newsletter form update */
.footer__newsletter .newsletter-form {
  max-width: 800px !important;
}

.footer__newsletter .newsletter-form_wrapper .gform_body .gfield {
  margin-top: 0;
}

.footer__newsletter .newsletter-form_wrapper .gform_body .gfield {
  border: 0 !important;
}

@media only screen and (min-width: 768px) {
  .footer__newsletter .newsletter-form_wrapper .ginput_container {
    margin-top: 0 !important;
  }

  .footer__newsletter .newsletter-form .gform_footer {
    margin: 0 8px !important;
  }
}

@media only screen and (max-width: 767px) {
  .footer__newsletter .newsletter-form .gform_footer {
    margin-top: 8px !important;
  }

  .footer .footer__newsletter .newsletter-form .gform_body ul.gform_fields li.gfield .ginput_container input {
    border-radius: 5px !important;
  }

  .footer__newsletter .newsletter-form .gform_body ul.gform_fields li.gfield .ginput_container {
    margin-top: 8px !important;
  }

  .blog-single__newsletter-container .newsletter-form_wrapper .gform_body .gfield .ginput_container {
    margin-top: 8px !important;
  }
}

/* Blog Newsletter form update */
.blog-single__newsletter-container
  .blog-single__newsletter__form
  #gform_wrapper_1.newsletter-form_wrapper
  .gform_body
  ul.gform_fields
  .gfield
  .ginput_container
  input {
  border-radius: 5px !important;
}

.blog-single__newsletter__form #gform_wrapper_1.newsletter-form_wrapper .gform_body ul.gform_fields .gfield {
  border-top: 0 !important;
}

.blog-single__newsletter__form #gform_wrapper_1.newsletter-form_wrapper .gform_footer {
  margin-top: 8px !important;
}

.blog-single__newsletter-container
  .blog-single__newsletter__form
  #gform_wrapper_1.newsletter-form_wrapper
  .gform_footer
  input[type='submit'] {
  border-radius: 5px !important;
}

.prestige-logo {
  max-width: 350px !important;
}

/* Homepage Promo Widget */
.modal-promotion__title {
  font-size: 20px;
}

.modal-promotion {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 390px;
  max-width: 90vw;
  z-index: 99999;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  animation: promoSlideIn 0.3s ease-out;
}

@media screen and (max-width: 1024px) {
  .modal-promotion {
    bottom: 80px;
    width: 310px;
  }
}

@media screen and (max-width: 767px) {
  .modal-promotion {
    bottom: 65px;
    max-width: 95vw;
    width: 100%;
    left: 10px;
  }
}

/* Close Button */
#popup-content .btn-modal-close {
  position: absolute;
  right: 10px;
  top: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* Slide animation */
@keyframes promoSlideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.author .new_design .author__detail__section:not(:last-of-type) {
  text-align: center;
}
