/*
Theme Name: Dan Passannante
Description: AIOS mobile semi-custom theme.
Author: AgentImage
Author URI: http://www.agentimage.com
Version: 1.5.8
Tags: one-column, two-columns, right-sidebar, custom-menu, full-width-template, sticky-post
License: Proprietary
License URI: http://www.agentimage.com
Template: aios-starter-theme
*/
/*

TABLE OF CONTENTS

1. Custom CSS
2. IP styles
3. MEDIA QUERIES ARE AUTOMATICALLY REMOVED FROM THIS FILE, they must be placed in style-media-queries.css
  
*/
:root {
  --primary-font: 'Manrope', sans-serif;
  --primary-color: #a59152;
  --secondary-color: #951c23;
  --site-transition: all .4s ease;
}

/*******************************************************
 *
 * 1. Navigation
 *
 *******************************************************/
/* Sub Menu */
#nav li {
  position: relative;
  display: block;
}

#nav>li {
  display: inline-block;
  vertical-align: middle;
  margin-right: 54px;
}

#nav>li:last-child {
  margin-right: 0;
}

#nav a {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  letter-spacing: .1em;
  text-transform: uppercase;
  -webkit-transition: var(--site-transition);
  transition: var(--site-transition);
}

ul#nav > li > a{
  position: relative;
  display: inline-block;
  color: #fff;
  overflow: hidden;
  font-weight: 800;
}

ul#nav > li > a{
    background: linear-gradient(to right, #b2b4b3, #b2b4b3 50%, #fff 50%);
}

ul#nav > li > a{
  /* Same as before */
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  background-position: 100%;
}

ul#nav > li > a{
  /* Same as before */
  transition: background-position 275ms ease;
}
ul#nav > li:hover > a,
ul#nav > li:focus > a{
  background-position: 0 100%;
}

#nav>li:hover>a {
  color: #b2b4b3;
}

#nav .sub-menu {
  list-style: none outside none;
  margin: 0;
  display: block;
  padding: 0;
  position: absolute;
  width: 100%;
  min-width: 180px;
  display: none;
}

#nav>li>.sub-menu {
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  padding-top: 9px;
}

#nav .sub-menu a {
  color: #FFFFFF;
  display: block;
  padding: 10px;
  font-size: 10px;
  background-color: var(--primary-color);
}

#nav .sub-menu a:hover,
#nav .sub-menu a:focus {
  color: #fff;
  background: var(--secondary-color);
  text-decoration: none;
}

#nav .sub-menu .sub-menu {
  margin-left: 100%;
  top: 0;
}

#nav li:hover>.sub-menu {
  display: block;
}

#nav .sub-menu li {
  position: relative;
  margin-bottom: 1px;
}

#nav .sub-menu li:last-child {
  margin-bottom: 0;
}

#nav .two-col-menu > .sub-menu {
  min-width: 543px;
}

#nav .two-col-menu > .sub-menu > li {
  display: inline-block;
  vertical-align: top;
  width: 50%;
  padding: 0 .5px;
}

.site-contact-list {
  list-style: none;
  margin: 0;
}

.site-contact-list .contact-item {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  color: #fff;
  margin-bottom: 4px;
}

.site-contact-list .contact-item:last-child {
  margin-bottom: 0;
}

.site-contact-list span {
  font-size: 14px;
  margin-right: 8px;
}

.site-contact-list a {
  color: #fff;
  -webkit-transition: var(--site-transition);
  transition: var(--site-transition);
}

.site-contact-list a:hover,
.site-contact-list a:focus {
  color: var(--primary-color);
}

.site-contact-list .contact-email .ai-font-envelope {
  font-size: 10px;
}

.icon-bed,
.icon-bath {
  display: inline-block;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-bed {
  width: 20px;
  height: 15px;
  background-image: url("./images/icon-bed.png");
}

.icon-bath {
  width: 20px;
  height: 18px;
  background-image: url("./images/icon-bath.png");
}

.site-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  vertical-align: middle;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 150px;
  height: 40px;
  border: 1px solid var(--primary-color);
  -webkit-transition: var(--site-transition);
  transition: var(--site-transition);
}

.site-btn:hover,
.site-btn:focus {
  background: var(--primary-color);
}

.site-btn:hover span ,
.site-btn:focus span {
  color: var(--secondary-color);
}

.site-btn span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary-color);
  -webkit-transition: var(--site-transition);
  transition: var(--site-transition);
}

/*******************************************************
 *
 * 2. Custom CSS
 *
 *******************************************************/
/* Global */
body {
  font-family: var(--primary-font);
  font-size: 13px;
  background: #FFF;
  color: #000000;
  margin: 0;
  /* Remove the comment from line 85 to 86 if the font issue in safari occurs */
  /* -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; */
}

/* *:focus {
  outline: 1px solid #000 !important;
} */

a.skiptobtn {
  padding: 10px;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 15px;
  z-index: -1;
  opacity: 0;
  background: rgba(255,255,255,0.5);
  color: #000;
}

a.skiptobtn:focus {
  opacity: 1;
  z-index: 9;
  display: block;
}

body.ip-container {
    background: #efeeee;
}

#main-wrapper {
  overflow: hidden;
}

.section {
  font-size: 0;
}

.section-title {
  text-transform: uppercase;
}

.section-title span {
  font-weight: 700;
  font-size: 30px;
  letter-spacing: .7em;
  color: #cccccc;
}

.section-title h2 {
  font-weight: 500;
  font-size: 50px;
  letter-spacing: .2em;
  line-height: 66px;
  color: var(--primary-color);
}

.slick-slide,
.slick-slide a {
  outline: none !important;
}

/* main header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  font-size: 0;
}

.main-header .hdr-top {
  background: #171314;
  padding: 9px 0;
}

.main-header .hdr-col {
  float: none;
  display: inline-block;
  vertical-align: middle;
}

.main-header .hdr-logo {
  text-align: center;
}
.main-header .hdr-logo > div {
  display: flex;
  justify-content: center;
}
.main-header .hdr-logo .broker-logo {
  margin-left: 20px;
}
.main-header .hdr-logo .broker-logo img {
  filter: brightness(0) invert(1);
}

.main-header .hdr-logo a {
  display: inline-block;
}

.main-header .hdr-logo img {
  width: 100%;
  max-width: 185px;
}

.main-header .hdr-contact {
  text-align: right;
}

.main-header .hdr-bottom {
  background: var(--primary-color);
}

.main-header nav {
  text-align: center;
  padding: 8px 0;
}

/* hp banner */
.hp-banner {
  position: relative;
}

.hp-banner .slideshow {
  position: relative;
  z-index: 1;
}

.hp-banner .slideshow::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #171314;
  opacity: .15;
  pointer-events: none;
}

.hp-banner .banner-tagline {
  position: absolute;
  top: calc(50% + 50px);
  left: 0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
  z-index: 2;
  text-align: center;
}

.hp-banner .banner-tagline h2 {
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: .2em;
  line-height: 22px;
  font-size: 50px;
}

.cycloneslider-template-video .cycloneslider-volume {
  top: 134px !important;
  right: 30px !important;
  z-index: 100 !important;
}

/* hp quick search */
.hp-qs {
  padding: 30px 0;
}

.hp-qs .qs-field {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.87%;
}

.hp-qs .qs-lg {
  width: 18%;
}

.homepage-qs {
    display: inline-block;
    vertical-align: top;
    width: 19.5%;
    margin-right: 0.87%;
}

.homepage-qs select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  background: transparent;
  border: 1px solid var(--secondary-color);
  height: 40px;
  width: 100%;
  display: block;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--secondary-color);
  padding: 0 19px;
  background: rgba(255, 255, 255, .50) !important;
}

.qs-inner {
    position: relative;
    z-index: 5;
}

/* .hp-qs::after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(images/qs-bg.jpg) no-repeat;
  background-position: center;
  background-size: cover;
  -webkit-filter: grayscale(1);
  filter: grayscale(1); 
  opacity: .2;
} */

.hp-qs .qs-sm {
  width: 10%;
}

.hp-qs .qs-field input,
.hp-qs .qs-field select {
  webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  background: transparent;
  border: 1px solid #fff;
  height: 40px;
  width: 100%;
  display: block;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  padding: 0 19px;
}

.hp-qs .qs-field input, 
.hp-qs .qs-field select, 
.homepage-qs .qs-select button {
  background: rgba(255, 255, 255, .50) !important;
}

.hp-qs .qs-field select {
  background-image: url("./images/icon-caret.png");
  background-repeat: no-repeat;
  background-position: center right 10px;
}

.hp-qs .qs-btn {
  display: inline-block;
  vertical-align: middle;
  height: 40px;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: #fff;
  color: var(--secondary-color);
  -webkit-transition: var(--site-transition);
  transition: var( --site-transition);
  margin-right: 0.87%;
}

.hp-qs .qs-btn:last-child {
  margin-right: 0;
}

.hp-qs .qs-btn:hover,
.hp-qs .qs-btn:focus {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color);
}

.hp-qs .qs-submit {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  border: none;
  width: 8%;
}

.hp-qs .qs-advanced {
  width: 8%;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #fff;
  background: transparent;
  border: 1px solid #fff;
}

.hp-qs .qs-advanced:hover,
.hp-qs .qs-advanced:focus  {
  border-color: var(--secondary-color);
  background: var(--secondary-color);
  color: #fff;
}

.qs-inner .bootstrap-select.btn-group .dropdown-menu {
  max-height: 250px !important;
  margin: -1px 0 0;
}

.qs-inner .bootstrap-select.btn-group .dropdown-toggle .filter-option {
  font-size: 10px;
}

.qs-inner .qs-select button {
  margin-bottom: 0 !important; 
}

#custom-quick-search li > a span.text {
  font-size: 12px;
  margin: 0;
  max-width: 94%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 90%;
}
#custom-quick-search small.text-muted {
  margin: auto 5px;
}

/* featured neighborhoods */
.hp-fn {
  background: #171314;
  padding: 0 0 100px;
  position: relative;
}

.hp-fn::before,
.hp-fn::after {
  content: '';
  display: block;
  position: absolute;
  pointer-events: none;
  width: 100%;
  height: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
  left: 0;
  opacity: .20;
}

.hp-fn::before {
  background-image: url('./images/bg-neigh-top.jpg');
  top: 0;
}

.hp-fn::after {
  bottom: 0;
  background-image: url('./images/bg-neigh-bot.jpg');
}

.hp-fn > div {
  position: relative;
  z-index: 5;
}

.hp-fn .fn-top {
  padding-left: 8.1%;
}

.hp-fn .fn-list {
  margin: 0 -10px;
}

.hp-fn .fn-box {
  display: inline-block;
  vertical-align: middle;
  padding: 10px;
  width: calc(100% / 4);
}

.hp-fn .fn-box canvas {
  display: block;
  width: 100%;
}

.hp-fn .fn-title-holder {
  width: calc((100% / 4) * 2);
  padding: 10px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.hp-fn .fn-title {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 2;
}

.hp-fn .fn-item a {
  display: block;
  position: relative;
  overflow: hidden;
}

.hp-fn .fn-img {
  position: relative;
}

.hp-fn .fn-img::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: #171314;
  opacity: .15;
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}

.hp-fn .fn-img canvas {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}

.hp-fn a:hover .fn-img canvas,
.hp-fn a:focus .fn-img canvas {
  -webkit-filter: grayscale(50%);
  filter: grayscale(50%);
}

.hp-fn a:hover .fn-img::after,
.hp-fn a:focus .fn-img::after {
  opacity: .75;
}

.hp-fn .fn-label {
  position: absolute;
  left: 0;
  width: 100%;
  bottom: -39px;
  z-index: 2;
  text-align: center;
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}

.hp-fn .fn-label h2 {
  font-weight: 800;
  font-size: 1.563vw;
  color: #fff;
  letter-spacing: .2em;
  text-transform: uppercase;
  position: relative;
  z-index: 5;
}

.hp-fn .fn-label .leaf-accent {
  display: block;
  width: 100%;
  opacity: 0;
  margin: 0 auto;
  -webkit-transition: var(--site-transition);
  transition: var(--site-transition);
  margin-top: -4%;
  -webkit-transform: scaleX(0.5) translateZ(0);
  transform: scaleX(0.5) translateZ(0);
  background-image: url("./images/accent-leaf.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}

.hp-fn a:hover .fn-label,
.hp-fn a:focus .fn-label {
  bottom: 44%;
  -webkit-transform: translateY(50%);
  transform: translateY(50%);
}

.hp-fn a:hover .fn-label .leaf-accent, 
.hp-fn a:focus .fn-label .leaf-accent{
  opacity: .50;
  -webkit-transform: scaleX(1) translateZ(0);
  transform: scaleX(1) translateZ(0);
}

/* hp featured listings */
.hp-fl {
  background: #171314;
  padding: 35px 0 148px;
}

.hp-fl .fl-title {
  margin-left: -84px;
  margin-bottom: 51px;
}

.hp-fl .fl-title h2 {
  font-size: 30px;
  letter-spacing: .7em;
  font-weight: 700;
}

.hp-fl .fl-title span {
  font-size: inherit;
  font-weight: inherit;
}

.hp-fl .fl-slider-wrap {
  margin: 0 -31px;
}

.hp-fl .fl-item a {
  display: block;
  position: relative;
}

.hp-fl .fl-img {
  position: relative;
  overflow: hidden;
}

.hp-fl .fl-img canvas {
  display: block;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  -webkit-transform-origin: center;
  transform-origin: center;
  -webkit-transform: scale(1.03) translateZ(0);
  transform: scale(1.03) translateZ(0);
  -webkit-transition: var(--site-transition);
  transition: var(--site-transition);
}

.hp-fl a:hover .fl-img canvas,
.hp-fl a:focus .fl-img canvas  {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  -webkit-transform: scale(1) translateZ(0);
  transform: scale(1) translateZ(0);
}

.hp-fl .fl-details-holder {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 33.27%;
  padding: 33px 38px;
  -webkit-transition: var(--site-transition);
  transition: var(--site-transition);
  background: rgba(23, 19, 20, 0.9);
}

.hp-fl .fl-details-inner {
  -webkit-transition: var(--site-transition);
  transition: var(--site-transition);
  position: relative;
  padding-bottom: 0;
}

.hp-fl a:hover .fl-details-inner,
.hp-fl a:focus .fl-details-inner {
  padding-bottom: 123px;
}

.hp-fl a:hover .fl-details-holder,
.hp-fl a:focus .fl-details-holder {
  right: 0;
  bottom: 0;
  padding: 37px 38px 28px;
}

.hp-fl .fl-address {
  font-weight: 500;
  font-size: 20px;
  letter-spacing: .05em;
  color: #fff;
  text-transform: uppercase;
  max-width: 244px;
  line-height: 23px;
  margin-bottom: 16px;
}

.hp-fl .fl-price {
  font-weight: 700;
  font-size: 30px;
  letter-spacing: .05em;
  -webkit-transition: var(--site-transition);
  transition: var(--site-transition);
  color: var(--primary-color);
}

.hp-fl a:hover .fl-price,
.hp-fl a:focus .fl-price {
  color: #ba9f7c;
}

.hp-fl .fl-details-content {
  -webkit-transition: var(--site-transition);
  transition: var(--site-transition);
  overflow: hidden;
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0;
  padding-top: 27px;
  width: 100%;
}

.hp-fl a:hover .fl-details-content,
.hp-fl a:focus .fl-details-content  {
  opacity: 1;
}

.hp-fl .fl-details-list li {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: .05em;
  color: #fff;
  margin-bottom: 11px;
}

.hp-fl .fl-details-list li:last-child {
  margin-bottom: 0;
}

.hp-fl .fl-details-list em {
  width: 26px;
  background-position: left center;
}

.hp-fl .fl-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 9px;
  margin-left: auto;
}

.hp-fl .fl-arr {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  border: none;
  background: transparent;
  padding: 0;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  color: var(--primary-color);
  -webkit-transition: var(--site-transition);
  transition: var(--site-transition);
  font-size: 24px;
  display: inline-block;
}

.hp-fl .fl-arr:hover,
.hp-fl .fl-arr:focus {
  color: #fff;
}

.hp-fl .fl-prev {
  right: calc(100% + 25px);
  -webkit-transform: translateY(-50%) rotate(180deg);
  transform: translateY(-50%) rotate(180deg);
}

.hp-fl .fl-next {
  left: calc(100% + 25px);
}

/* hp sold propeties */
.hp-sp {
  background: #171314;
  padding: 116px 0 140px;
  position: relative;
}

.hp-sp > .container{
  position: relative;
  z-index: 5;
}

.hp-sp::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(images/sp-bg.jpg) no-repeat;
    background-position: center;
    background-size: cover;
     -webkit-filter: grayscale(1);
    filter: grayscale(1); 
    background-attachment: fixed;
    opacity: .2;
}

.safari-true .hp-sp::after,
.firefox-true .hp-sp::after {
  background-attachment: scroll;
}

.hp-sp .sp-title {
  text-align: center;
  margin-bottom: 76px;
}


.hp-sp .sp-title span {
  color: #fff;
}

.hp-sp .sp-iframe-wrapper {
  max-width: 800px;
  margin: 0 auto 76px;
}

.hp-sp .sp-iframe-wrapper iframe {
  max-width: 100%;
}

.safari-true .sp-iframe-wrapper > div > div {
  -webkit-overflow-scrolling: unset !important;
}

.hp-sp .sp-slider-wrapper {
  margin: 0 -15px;
}

.hp-sp .sp-item {
  padding: 0 15px;
}

.hp-sp .sp-item a {
  display: block;
  position: relative;
}

.hp-sp .sp-img {
  position: relative;
  z-index: 1;
}

.hp-sp .sp-img::before,
.hp-sp .sp-img::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  -webkit-transition: var(--site-transition);
  transition: var(--site-transition);
}

.hp-sp .sp-img::after {
  background: #171314;
  opacity: .25;
}

.hp-sp .sp-img::before {
  /* FF3.6-15 */
  /* Chrome10-25,Safari5.1-6 */
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(23, 19, 20, 0)), color-stop(99%, rgba(23, 19, 20, 0.99)), to(#171314));
  background: linear-gradient(to bottom, rgba(23, 19, 20, 0) 0%, rgba(23, 19, 20, 0.99) 99%, #171314 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  /* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00171314', endColorstr='#171314', GradientType=0); */
  /* IE6-9 */
  z-index: 3;
  opacity: .50;
}

.hp-sp a:hover .sp-img::before, 
.hp-sp a:focus .sp-img::before{
  opacity: 0;
}

.hp-sp a:hover .sp-img::after,
.hp-sp a:focus .sp-img::after {
  opacity: .30;
}

.hp-sp .sp-img canvas {
  display: block;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  /* -webkit-filter: grayscale(100%);
  filter: grayscale(100%); */
  -webkit-transition: var(--site-transition);
  transition: var(--site-transition);
}
.sp-item .sp-img:hover,
.sp-item .sp-img:focus{
-webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}
.hp-sp a:hover .sp-img canvas,
.hp-sp a:focus .sp-img canvas {
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
}

.hp-sp .sp-label {
  position: absolute;
  bottom: 41px;
  left: 0;
  width: 100%;
  z-index: 2;
  text-align: center;
  -webkit-transition: var(--site-transition);
  transition: var(--site-transition);
}

.hp-sp .sp-label h3 {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
  max-width: 198px;
  margin: 0 auto;
  line-height: 21px;
}

.hp-sp a:hover .sp-label,
.hp-sp a:focus .sp-label  {
  opacity: 0;
}

.hp-sp .sp-btn-wrap{
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-sp .sp-btn {
    position: relative;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: var(--primary-color);
    z-index: 3;
    bottom: 0;
    font-size: 14px;
    text-transform: uppercase;
    color: #fff;
    width: 100%;
    max-width: 400px;
    padding: 10px 15px;
    margin: 0 auto;
    line-height: 1.25;
    text-align: center;
    height: auto;
}

.hp-sp .sp-btn:hover,
.hp-sp .sp-btn:focus {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.hp-sp .sp-btn:hover span, 
.hp-sp .sp-btn:focus span{
  color: var(--primary-color);
}

.hp-sp .sp-btn span {
  color: var(--secondary-color);
}

.hp-sp a:hover .sp-btn,
.hp-sp a:focus .sp-btn {
  opacity: 1;
  bottom: 40px;
}

/* hp welcome */
.hp-wc {
  background: #171314;
  padding: 137px 0 140px;
}

.hp-wc .wc-title {
  margin-bottom: 81px;
}

.hp-wc .wc-title h2 {
  font-size: 70px;
  margin-left: 104px;
  margin-right: -160px;
  margin-top: 28px;
}

.hp-wc .wc-col {
  float: none;
  display: inline-block;
  vertical-align: middle;
}

.hp-wc .wc-photo {
  margin-right: -22px;
  margin-left: -108px;
  position: relative;
  z-index: 2;
}

.hp-wc .wc-photo img {
  width: 100%;
}

.hp-wc .wc-content {
  position: relative;
  margin-left: -89px;
  margin-right: -109px;
  z-index: 1;
}

.hp-wc .wc-content::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./images/bg-wood.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.hp-wc .wc-content-inner {
  position: relative;
  z-index: 5;
  padding: 92px 111px 100px 192px;
}

.hp-wc .wc-text p {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .04em;
  line-height: 30px;
  color: #f9f9f9;
  margin-bottom: 30px;
}

.hp-wc .wc-text p:last-of-type {
  margin-bottom: 0;
}

.hp-wc .wc-btn {
  margin-top: 50px;
}

/* hp testi */
.hp-testi {
  position: relative;
  padding: 102px 0 91px;
}

.hp-testi::before,
.hp-testi::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hp-testi::before {
  background-image: url("./images/sp-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);

}

.hp-testi::after {
  background: #171314;
  opacity: .80;
}

.hp-testi>.container {
  position: relative;
  z-index: 5;
}

.hp-testi .testi-title {
  text-align: center;
}

.hp-testi .testi-title span {
  color: #fff;
}

.hp-testi .testi-title img {
  display: block;
  margin: 19px auto 0;
}

.hp-testi .testi-slider {
  margin: 21px auto 0;
  max-width: 717px;
}

.hp-testi .testi-item {
  text-align: center;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .04em;
  line-height: 30px;
  color: #fff;
}

.hp-testi .testi-author {
  text-transform: uppercase;
  display: inline-block;
  margin-top: 29px;
}

/* main footer */
.main-footer {
  background: #171314;
  font-size: 0;
  padding: 37px 0 44px;
}

.main-footer .ftr-top {
  text-align: center;
  padding-bottom: 63px;
}

.main-footer .ftr-logo {
  display: inline-block;
  margin-bottom: 42px;
}

.main-footer .ftr-logo img {
  width: 100%;
  max-width: 337px;
}
.footer-logos {
  display: flex;
  justify-content: center;
}
.footer-logos .broker-logo {
  margin-left: 20px;
}
.footer-logos .broker-logo img {
  max-width: 300px;
  filter: brightness(0) invert(1);
}


.main-footer .ftr-contact-list .contact-phone {
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 11px;
}

.main-footer .ftr-contact-list .contact-phone:first-child {
  margin-right: 36px;
}

.main-footer .ftr-bottom {
  font-size: 0;
  padding: 32px 0 0;
  border-top: 1px solid rgba(221, 200, 153, 0.2);
}

.main-footer .ftr-bottom a {
  -webkit-transition: var(--site-transition);
  transition: var(--site-transition);
}

.main-footer .ftr-bottom a:hover {
  -webkit-column-rule: var(--primary-color);
  column-rule: var(--primary-color);
}

.main-footer .ftr-col {
  float: none;
  display: inline-block;
  vertical-align: middle;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 22px;
  color: #fefefe;
}

.main-footer .ftr-nav a {
  text-transform: uppercase;
}

.main-footer .ftr-nav a:hover,
.main-footer .ftr-nav a:focus {
  color: var(--primary-color);
}

.main-footer .ftr-nav li {
  display: inline-block;
  vertical-align: middle;
  margin-right: 20px;
  position: relative;
}

.main-footer .ftr-nav li:last-child {
  margin-right: 0;
}

.main-footer .ftr-nav li::after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  right: -11px;
  width: 1px;
  height: 8px;
  background: #fff;
}

.main-footer .ftr-nav li:last-child::after {
  display: none;
}

.main-footer .ftr-copyright {
  letter-spacing: .04em;
}

.main-footer .ftr-copyright a:hover,
.main-footer .ftr-copyright a:focus {
  color: var(--primary-color);
}

.main-footer .ftr-brokerage {
  text-align: right;
}

.main-footer .ftr-brokerage span {
  font-size: 23px;
  color: #cccccc;
  margin-left: 2px;
}

/*******************************************************
 *
 * 3. IP Styles
 *
 *******************************************************/
.ip-banner {
  position: relative;
  width: 100%;
}

.ip-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
}

.ip-banner canvas {
  display: block;
  position: relative;
  z-index: 0;
  width: 100%;
  min-height: 250px;
  background-color: #f9f7f7;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.ip-banner .container {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 2;
}

.ip-banner h1 {
  font-weight: 700;
  font-size: 32px;
  text-align: center;
  color: #FFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.7;
}

.ip-banner h1 span {
  display: block;
  font-size: 24px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.01em;
}

/* Adjust minimum height of page area */
#content-sidebar,
#content-full {
  min-height: 500px;
  margin-top: 20px;
}

/** Adjust width of content columns **/
#content-sidebar #content {
  width: 77.08%;
}

#content-full #content {
  width: 100%;
}

/* Adjust width of sidebar */
.sidebar {
  width: 20.83%;
}

/* fullwidth template */
.page-template-template-fullwidth #content {
  padding-left: 15px;
  padding-right: 15px;
}

.page-template-template-fullwidth #content ihf-search[data-eureka-id*=""].ihf-eureka {
  margin-left: -15px;
  margin-right: -15px;
}

/* Adjust line height of page elements */
#content h4,
aside h4,
#content p,
aside p,
#content blockquote,
aside blockquote,
#content ul,
aside ul,
#content fieldset,
aside fieldset,
#content form,
aside form,
#content ol,
aside ol,
#content dl,
aside dl,
#content dir,
aside dir,
#content menu,
aside menu {
  line-height: 1.7;
}

/* Style .entry-title(post/page) and .archive-title(category/archive/etc) main headings (h1) */
#content .entry-title,
#content .archive-title {
  font-weight: 500;
  font-size: 50px;
  letter-spacing: .2em;
  line-height: 66px;
  color: var(--primary-color);
  text-transform: uppercase;
}

/* Styles for category/archive/search/etc subheadings (h2) */
#content .archive-subtitle {
  font-weight: 500;
  font-size: 24px;
  letter-spacing: .2em;
  line-height: 1;
  color: var(--primary-color);
  text-transform: uppercase;
}

/* styles for the content */
#content .entry {
  font-size: 12px;
}

#inner-page-wrapper {
  padding-top: 105px;
}

/* sidebar contact */
.sb-contact {
  background: #171314;
  text-align: center;
  padding: 15px;
  margin-top: 21px;
}

.sb-contact .sb-logo {
  display: inline-block;
  margin-bottom: 30px;
}

.sb-contact .sb-logo img {
  width: 100%;
  max-width: 185px;
}

.sb-contact .sb-contact-list li {
  font-size: 12px;
}

/* sidebar quick search */
.sb-qs {
  background: #b2b4b3;
  padding: 25px 15px;
  margin-top: 45px;
}

.sb-qs .qs-field {
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 10px;
}

.sb-qs .qs-lg {
  width: 100%;
}

.sb-qs .qs-sm {
  width: calc(50% - 5px);
}

.sb-qs .qs-right {
  float: right;
}

.sb-qs .qs-field input,
.sb-qs .qs-field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  background: transparent;
  border: 1px solid var(--secondary-color);
  height: 40px;
  width: 100%;
  display: block;
  font-weight: 500;
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--secondary-color);
  padding: 0 19px;
}

.sb-qs .qs-field select {
  background-image: url("./images/icon-caret.png");
  background-repeat: no-repeat;
  background-position: center right 10px;
}

.sb-qs .qs-btn {
  display: block;
  height: 40px;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: var(--secondary-color);
  color: #fff;
  -webkit-transition: var(--site-transition);
  transition: var(--site-transition);
  width: 100%;
  margin-bottom: 10px;
}

.sb-qs .qs-btn:last-child {
  margin-bottom: 0;
}

.sb-qs .qs-btn:hover,
.sb-qs .qs-btn:focus {
  background: #fff;
  color: var(--secondary-color);
  border-color: #fff;
}

.sb-qs .qs-submit {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  border: none;
}

.sb-qs .qs-advanced {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: var(--secondary-color);
  background: transparent;
  border: 1px solid var(--secondary-color);
}

.sb-qs .qs-advanced:hover,
.sb-qs .qs-advanced:focus {
  border-color: var(--secondary-color);
  background: var(--secondary-color);
  color: #fff;
}

.ihf-listing-search-results > .row:nth-child(2), 
.ihf-listing-search-results > .row:nth-child(3) {
  position: relative;
  z-index: 1;
}

.ihf-listing-search-results > .row:nth-child(2) {
  z-index: 2;
}

#ihf-agent-sellers-rep-own-listing-info {
  padding-left: 15px;
}

#ihf-main-container .nav-tabs {
  margin-left: 0;
}

#ihf-main-container .mc-total-payment-subline {
  color: #666;
}

#ihf-main-container ul.chosen-results {
  margin-left: 0;
  padding-left: 0;
}

.sb-agent-photo {

}

.sb-agent-photo img {
  width: 100%;
}

.page-id-20 #gallery-2 img {
    width: 250px;
    height: 150px !important;
}

.wpcf7 form .wpcf7-response-output {
  text-align: center;
}

#ihf-main-search-form #areaPickerContainer div#areaPickerInputWrapper input#areaPicker {
  outline: none !important;
}

#ihf-agent-sellers-rep {
  padding-left: 15px;
}

.grecaptcha-badge {
  z-index: 100;
}

.aios-listings-page .ip-banner,
.tax-property_type .ip-banner,
.tax-property_status .ip-banner,
.tax-property_feature .ip-banner,
.category-testimonials .ip-banner,
.single-testimonials .ip-banner,
.post-type-archive-communities .ip-banner {
  display: none;
}

#content .property-description .prop-cta a:hover,
.popup-wrap-mortage .mortage-calculator .m-form form div input[type="submit"]:hover {
  background-color: var(--primary-color);
}

.category-testimonials strong {
    font-weight: bold;
    display: block;
    font-size: 15px;
    margin-top: 20px;
}

.category-testimonials #content .archive-subtitle {
    font-size: 24px;
}

.category-testimonials #content .archive-title {
    font-size: 30px;
}
/* MEDIA QUERIES ARE AUTOMATICALLY REMOVED FROM THIS FILE, they must be placed in style-media-queries.css */