.thumbview .listing .image {position: relative;}
#agent #profile .image .centering > img[class*="fit-"] {
    top: 0;
    width: auto;
    height: 100%;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}
@media (max-width: 767px) {
  #agent #profile .image .centering.golden-reverse {padding-bottom: 66.67%;}
  #agent #profile .image {margin-bottom: 20px;}
}
body#recent-sales .search-results .tools .panel-items a.refine,
body#leased-properties .search-results .tools .panel-items a.refine {
    display: none;
}
.empty-message {text-align: center;}
#page #content {min-height: calc(100vh - 505px);}
.gform_body ul.gform_fields .gfield.gfield_error .ginput_container.ginput_recaptcha > div {
    border:1px solid red;
    border-radius: 5px;
}
#subscription .field:after {
    content: '';
    clear: both;
    display: table;
    position: relative;
}
.ginput_container.ginput_container_select:after,
#subscription .field .value.input-select:after,
#subscription .field.select-field .value:after {
  content: '\f078';
  font-family: FontAwesome;
  display: block;
  position: absolute;
  top: 7px;
  left: calc(50% - 10px);
}
.ginput_container.ginput_container_select, #subscription .field.select-field .value {position: relative;}
#page.page-testimonials #reviews .owl-carousel .owl-dots {
    max-width: 300px;
    display: block;
    position: relative;
    margin: auto;
}
body#selling .search-results .tools .panel-items a.item.refine {
    display: none;
}
/*.search-results {padding-bottom: 0;}*/
@media (max-width: 1023px) {
  .ginput_container.ginput_container_select:after {left: calc(100% - 30px);}
/*
  Ticket : https://netpoint.teamwork.com/#tasks/13153907
  Date : 13/3/2019 */
  #subscription .field .input {
    max-width: 100%;
  }
}
@media (max-width: 1024px) {
  #subscription .field p.note {display: none}
}
  @media (max-width: 767px) {
    #subscription .field .input {
      max-width: 100%;
    }

    #subscription .field > * {
      float: none !important;
      display: block !important;
      width: 100% !important;
      padding: 0 !important;
    }

    #subscription .field .label {
      margin-bottom: 10px;
    }
  }
  #subscription .field .value.input-select {
      position: relative;
  }

  #subscription .field .value.input-select:after {
      left: auto !important;
      right: 10px !important;
  }
@media (min-width: 1024px) {
  #subscription .field .value.input-select:after {
    left: calc(50% - 20px) !important;
    right: auto !important;
  }
}

/* Ticket : https://netpoint.teamwork.com/#tasks/13139499
Date : 15/3/2019 */
button, input[type="submit"] {-webkit-appearance: none}
@media (min-width: 768px) and (max-width: 1121px) {
	#page-search .placeholder { padding-bottom:50%; }
}
@media (max-width: 767px) {
  #page.homepage #hero .appraisal {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    background-color: #ffffff;
    padding: 40px 0;
  }

  #page.homepage #hero .appraisal .inner {
      box-shadow: none;
      border: 0px;
      color: #555;
      padding: 20px;
  }

  #page.homepage #hero .gform-home-worth .gform_fields .gfield .medium {
      border: 1px solid #d4d5d6;
  }

  #page.homepage #links {
      padding-top: 0px;
  }
  #subscription .field > label.label.empty {
    display: none !important;
  }

  #subscription .field.buttons {
      padding-top: 10px;
  }
  #quick-search-1 {padding:10px}
  #quick-search-1 form {
      padding: 0;
  }

  #page-search #quick-search-1 h2.title {
      font-size: 1.2em;
  }

  #page.search-results #page-search .overlay.vh-align {
      position: relative;
      top: 0;
      left: 0;
      transform: none;
  }

  #page.search-results #page-search  .placeholder img {
      position: relative;
      width: 100%;
      height: auto;
      display: block;
      top: 0;
      left: 0;
      transform: none;
  }

  #page-search .placeholder {
      padding-bottom: 0;
      height: auto;
  }
  #quick-search-1 input.button {
    background-color: #eb742d;
  }
}
#page.page-testimonials #reviews .owl-carousel .owl-nav {
    position: absolute;
    width: 100%;
    left: 0;
}

#page.page-testimonials #reviews .owl-carousel .owl-nav .owl-prev {
    right: auto;
    left: 0;
}

#page.page-testimonials #reviews .owl-carousel .owl-nav .owl-next {
    right: 0;
    left: auto;
}

#page.page-testimonials #reviews .owl-carousel {
    padding-left: 50px;
    padding-right: 50px;
}

@media(max-width: 320px){
    #page.page-testimonials #reviews .owl-carousel {padding:0}
    #page.page-testimonials #reviews .owl-carousel .owl-nav {
        top: 30%;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }
}
/* Ticket : https://netpoint.teamwork.com/#tasks/12678094 */
/* Date: 22/3/2019 */
#page.homepage #hero .appraisal p.note {
    max-width: 400px;
}
#properties.search-results .tools.bottom .pagination {
    margin-bottom: 30px;
}
@media(max-width: 1024px){
    #page.homepage #links .item p.button {
        position: relative;
        width: 100%;
    }

    #page.homepage #quick-links .item {
        box-sizing: border-box;
        border: 1px solid #fff;
    }
}
@media screen and (max-width: 1023px) and (min-width: 768px),
screen and (max-width: 767px) and (min-width: 640px) and (orientation: landscape){
    #page.homepage #links .item.width-50-md {
        width: 25%;
        clear: none;
    }
    #page.homepage #links .item.width-50-md a.button {min-height: 83px;}
    #page.homepage #links .placeholder img {
        max-width: 60px;
        max-height: 60px;
    }
    #page.homepage #quick-links .item {
        width: 25%;
    }
    #page.homepage #links .item.width-50-md a.button {
        min-height: 104px;
        display:flex;
        display: -webkit-flex;
        display: -ms-flex;
        display: -moz-flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        max-width: 100%;
        width: 100%;
        min-width: 0;
    }
}
@media(max-width: 767px) and (orientation: portrait),
screen and (max-width: 639px){
    #page.homepage #links .placeholder img {
        max-width: 60px;
        max-height: 60px;
    }
    #page.homepage #links .item.width-50-md {
        width: 50%;
        clear: none;
    }
    #page.homepage #links .item.width-50-md a.button {
        min-height: 83px;
        display:flex;
        display: -webkit-flex;
        display: -ms-flex;
        display: -moz-flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        max-width: 100%;
        width: 100%;
        min-width: 0;
    }
    #page.homepage #links .placeholder {
        padding-bottom: 60%;
    }

    #page.homepage #quick-links {
        padding: 0;
    }
    #page.homepage #quick-links .item {
        width: 50%;
    }
}
@media(max-width: 767px){
body#property #content #media #property-media .panel-items, body#property #content #media #property-media .details .address  {
    float: none;
    display: block;
    position: relative;
    width: 100%;
    clear: both;
    padding-top: 20px;
    margin-top: 0 !important;
}

body#property #content #media #property-media .details .address  {}

body#property #content #media #property-media {}

body#property #content #overview #property-description h1.headline{
    font-size: 2em;
    line-height: 1.3;
}

body#property #content #media #property-media .panel-items:after {
    clear: both;
    display: table;
    content: '';
}

body#property #content #overview .content {
    padding: 0;
}}
/* body.expand-main-menu, body.expand-main-menu #content, body.expand-main-menu #page{overflow-y: hidden;max-height: 100vh} */
body.expand-main-menu #header a.toggle-menu {position: fixed !important;right: 40px;}
#header {
    position: fixed;
    z-index: 2;
    width: 100%;
}
.thumbview .listing .image .centering {
    padding-bottom: 67%;
}
#page {
    padding-top: 70px;
}
@media(max-width: 425px){
body#property #content #media #property-media .panel-items a.item {
    float: none;
    display: inline-block;
    min-width: 49%;
    margin: 0 0 10px 0;
    padding: 0 10px 0 0;
    box-sizing: border-box;
}}
@media (max-width: 768px) {
  body#property #content #overview .content #property-agents .agents .agent {
    width: 100%;
  }
}
@media(min-width: 640px) and (max-width: 1023px){
    /*.listings.panels .panel .thumbview .listing,*/
	#videos .panels .panel .videos .video  {
        clear: none !important;
    }
    .thumbview .listing .overview p.price.text-cut {
        min-height: 48px;
    }

    .thumbview .listing .overview p.address a {
        overflow: visible;
        white-space: unset;
        text-overflow: unset;
        min-height: 81px;
    }
}
@media (max-width: 767px) {
  #header .search.expand #quick-search-1 {
    overflow: auto;
    max-height: calc(100vh - 70px);
  }

  #quick-search-1 h2.title {
      font-size: 1.4em;
  }
}
@media screen and (max-width: 1249px){
  body.expand-main-menu {
      overflow: auto;
  }
}
#property-media .owl-carousel .item .centering {
    padding-bottom: 67%;
}

#page.sold-results #content {
    padding: 0;
}
#quick-search-1 .dropdown-items {
    z-index: 1;
}

@media (max-width: 767px) {
  body#property #content #overview .content, body#property #content #overview .sidebar {
    width: 100%;
  }
}
@media (max-width: 1024px) {
  #property-cta a.button {
    height: auto;
    max-width: 100%;
    min-width: 0;
    line-height: normal;
    padding: 10px;
  }
}
.owl-carousel .owl-item a.mfp-iframe img {
    width: auto;
    height: 100%;
    position: absolute;
    top: 0;
    display: block;
}
body#whats-our-home-worth #hero .appraisal {padding: 0 50px;}
body#whats-our-home-worth #hero .appraisal .inner {display: inline-block;padding: 40px;background: rgba(255, 255, 255, .25);box-shadow: 0 30px 80px rgba(0, 0, 0, 0.14), 0 20px 70px rgba(0, 0, 0, 0.12);}
body#whats-our-home-worth #hero .appraisal .inner h2.title {margin-top: -15px;font-size: 3.15rem;line-height: 1.5;font-weight: 500;}
body#whats-our-home-worth #hero .appraisal .inner  p.note {max-width: 400px;margin-bottom: 18px;font-size: 1.29rem;font-weight: 500;}
body#whats-our-home-worth #hero .gform-home-worth {position: relative;}
body#whats-our-home-worth #hero .gform-home-worth .gform_fields .gfield .medium {height: 50px;border: 0;}
body#whats-our-home-worth #hero .gform-home-worth .gform_footer {position: absolute;top: 0;right: 0;padding-top: 0;}
body#whats-our-home-worth #hero .gform-home-worth .gform_footer .gform_button {min-width: inherit;height: 50px;}
body#whats-our-home-worth #page-title {display: none;}
@media(max-width: 767px){
    body#whats-our-home-worth #page.page-whats-our-home-worth #content {padding-top: 0;}
    body#whats-our-home-worth #hero .appraisal .inner h2.title {font-size: 28px;text-align: center;}
    body#whats-our-home-worth #hero .appraisal .inner p.note {font-size: 18px;max-width: 100%;text-align: center;}
    body#whats-our-home-worth #hero .gform-home-worth .gform_fields .gfield .medium {border: 1px solid #d4d5d6;}
    body#whats-our-home-worth #hero .appraisal .inner {box-shadow: unset;margin: 50px auto 0;display: block;padding: 0;}
    body#whats-our-home-worth #page-entry {padding: 0;}
    body#whats-our-home-worth #hero .appraisal .inner {color: #555;}
    body#whats-our-home-worth #hero .appraisal {position: relative;top: 0;left: 0;transform: none;display: block;margin: auto;padding: 0;}
}
.video-wrap {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    margin: 20px auto;
}

.video-wrap iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
}
