:root {
    /** Font default */
    --font-family-default: "Lato", sans-serif;
    --font-family-title: "Playfair Display", serif;
    --font-size-default: 16px;
    --font-size-title: 18px;
    --font-color-default: #000000;
    --font-color-title: #6c757d;
    /** Use for input, button, and any other element */
    --background-color: #fff;
    --background-color-darker: #dbdbdb;
    --primary-text-color: #000;
    --primary-text-accent: #898989;
    --primary: #000000;
    --primary-accent: #767676;
    --accent-color: #000000;
    --secondary: #ffffff;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    /** Pattern **/
    --mask-size: 100%;
    --mask-repeat: repeat;
}


/* Global */

body {
    font-family: var(--font-family-default);
    font-size: var(--font-size-default);
    background: var(--background-color);
    color: var(--primary-text-color);
    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; */
}

body a {
    text-decoration: none;
    color: inherit;
}

body a:hover {
    text-decoration: none;
}

#main-wrapper {
    overflow: hidden;
}


/********CSS Post Launch********/

a,
a:hover,
a:focus,
input,
input:hover,
input:focus,
textarea,
textarea:focus,
textarea:hover,
select:hover,
select:focus,
select,
button,
button:focus,
button:hover,
.btn-group.bootstrap-select.show-tick.qs-select,
.bootstrap-select .dropdown-toggle,
.bootstrap-select .dropdown-toggle:focus {
    outline: 0px !important;
}

#content .ihf-search .ihf-select-options ul,
#content .ihf-search .ihf-select-options,
#content .ihf-search .ihf-pagination,
#content #ihf-main-container .nav-tabs,
#content #ihf-main-container .chosen-results {
    margin: 0 0 0;
    padding: 0 0 0;
    list-style: none;
}

#content #ihf-main-container #ihf-search-adv2-submit {
    margin: 20px 0 0;
}

#content #ihf-main-container .ihf-grid-result-address {
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

#content #ihf-main-container .ihf-listing-search-results .btn {
    padding: 6px 6px;
}

#content div.wpcf7-response-output,
div.wpcf7-response-output {
    text-align: center;
}

#ihf-main-container #ihf-mortgage-calculator-modal .mc-total-payment-subline,
#content #ihf-main-container .mc-total-payment-subline {
    color: #333;
}

#ihf-main-container .pagination > li > a,
#ihf-main-container .pagination > li > span {
    padding: 6px 9px;
}

#ihf-main-container #ihf-schedule-showing-request-form .form-control {
    padding: 6px 7px;
}

#content #ihf-main-container #ihf-search-location-tab {
    margin: 8px 5px 0 0;
}

#ihf-main-container #ihf-advsearch-features label {
    font-size: .8em;
}

html.name-Microsoft_Edge .ai-default-cf7wrap input[type="submit"],
html.name-Microsoft_Edge .ai-default-cf7wrap input.wpcf7-submit {
    margin: 6px 0 0;
}

#ws-walkscore-tile {
    background: #fff !important;
}

#hero .quick-search form select[name="propertyType"] {
    margin-left: 2%;
}

#content ul.ihf-navbar-nav {
    list-style: none;
    margin: 0 0 0;
}

#content .ihf-eureka .ihf-navbar {
    padding: 4px 14px;
}

#content #ihf-main-container .ihf-listing-open-home-text-grid,
#content #ihf-main-container .ihf-map-info-window-content {
    color: #777;
}

#content #ihf-main-container label {
    color: inherit;
}

#content #ihf-main-container .ihf-polygon-reset {
    color: #000;
}

#ihf-main-container .modal-body {
    color: #000;
}

body.page-id-0 > img,
body.page-id-0 > iframe {
    display: none !important;
}

#content #ihf-main-container #ihf-market-report-nav-container.row,
#content #ihf-main-container #ihf-market-report-nav-container.row .row,
#content #ihf-main-container .row #areaPickerContainer.row,
#content #ihf-main-container .row #ihf-search-location-tab .row,
#content #ihf-main-container .row #ihf-refine-map-search-form .row,
#content #ihf-main-container .row .ihf-grid-result-container .row,
#content #ihf-main-container .row #ihf-search-location-tab.row {
    margin-left: -15px;
    margin-right: -15px;
}

#content #ihf-main-container .row .row {
    margin-left: 0;
    margin-right: 0;
}

#ihf-main-container .ihf-social-share .dropdown-menu > li > a {
    color: #000 !important;
}

#ihf-main-container .ihf-social-share .dropdown-menu > li > a:hover {
    color: #fff !important;
}

#ihf-main-container #ihf-refine-map-search-form label {
    color: #fff !important;
}

#ihf-main-container #ihf-refine-map-search-form .checkbox {
    padding-left: 0px;
}

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

#content .ihf-eureka ul.ihf-dropdown-menu {
    margin: 0 0 0;
    padding: 0 0 0 0;
    list-style: none;
}

#content #ihf-detail-navrow .ihf-detail-navigation .pull-right {
    float: none !important;
    text-align: right;
}

#content #ihf-main-container .map-infobox-img {
    max-width: 100% !important;
}

#ihf-main-container #ihf-map-canvas .ihf-map-info-box-title {
    padding: 0 15px 0 0;
}

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

#content #IDX-main {}

#content #IDX-main #IDX-boxLabel_remarksConcat input {
    display: block;
    width: 100%;
}

#content #IDX-main ul.select2-choices,
#content #IDX-main ul.IDX-navbar-nav {
    margin: 0 0 0 0;
}

.areaPickerExpandAllTopBar:after {
    content: '';
    display: block;
    clear: both;
}

#ihf-main-container #ihf-main-search-form fieldset > div:nth-child(14) .checkbox {
    padding-left: 0px;
}

#ihf-main-container #ihf-main-search-form fieldset > div:nth-child(14) .checkbox label {
    padding-right: 30px;
    white-space: break-spaces;
}

#ihf-main-container #ihf-detail-features-tab > .row.mt-10 {
    margin-left: 0;
    margin-right: 0;
}

#ihf-agent-sellers-rep-own-listing {
    max-width: 100%;
}

#ihf-main-search-form fieldset div[data-ihf-geographic-field="true"] .checkbox {
    padding-left: 0;
}

#content ul#IDX-searchNavList {
    margin: 0 0 0;
}

#content ul#IDX-searchNavList li:first-child {
    padding-left: 0px;
}

#content ul#IDX-searchNavList li:last-child {
    padding-right: 0px;
}

#IDX-formSubmit.IDX-formSubmit {
    font-size: 16px;
    margin-right: 20px;
    line-height: 18px;
}

#IDX-formSubmit.IDX-formSubmit {
    font-size: 16px;
    margin-right: 20px;
    line-height: 18px;
    font-weight: 400;
}

#IDX-ccz-group .IDX-controls span {
    vertical-align: middle;
    margin: 0 0 0 10px;
}

#IDX-ccz-group .IDX-controls span:first-child {
    margin: 0 0 0 0;
}

#ihf-main-container #ihf-map-canvas {
    position: relative;
    z-index: 0;
}

#ihf-main-container #ihf-refine-map-search-form {
    margin: 0 0;
}

#ihf-main-container .ihf-mapsearch-refine-overlay-inner {
    padding: 8px 15px;
}

#ihf-main-container .ihf-grid-result {
    margin-bottom: 15px;
}

#ihf-main-container .ihf-grid-result:after {
    content: '';
    display: block;
    clear: both;
}

#listings-results .listings-map {
    position: relative;
    z-index: 0;
}

#content ul#idx-mlm-nav-links {
    list-style: none;
    margin: 0 0 0 0;
}

#ihf-map-canvas .leaflet-div-icon {
    background: none;
    border: 0px solid #666;
}

.use-floating-validation-tip .wpcf7-not-valid-tip {
    position: absolute;
    top: 20%;
    left: 20%;
    width: auto;
    font-size: 11px;
    white-space: nowrap;
    display: none;
}

.use-floating-validation-tip .wpcf7-not-valid-tip:nth-of-type(1) {
    display: block;
}

#ihf-main-container #areaPickerClearAll .glyphicon {
    color: #fff !important;
}

#content .leaflet-control-layers form.leaflet-control-layers-list {
    margin: 0 0;
}

#IDX-main.IDX-wrapper-standard .IDX-navbar-collapse {
    padding-left: 0;
    padding-right: 0;
}

body.pojo-a11y-readable-font *[class*=ai-font-],
body.pojo-a11y-readable-font *[class*=ai-font-]:after,
body.pojo-a11y-readable-font *[class*=ai-font-]:before {
    font-family: agentimage !important;
}

body #IDX-cczController {
    display: none;
}

body #IDX-map-ccz .IDX-control-group {
    position: static;
}

body #IDX-map-ccz .IDX-controls {
    display: block;
}


/********CSS Post Launch End********/

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

.container-padding {
    padding-left: 100px;
    padding-right: 100px;
}

.max-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.default-padding {
    padding: 0 15px;
}

.default_title_container {
    text-align: left;
}

.default_title_container.align-center {
    text-align: center;
}


/* Sub Menu */

#nav li {
    position: relative;
    display: inline-block;
}

#nav li:focus-within > .sub-menu,
#nav li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

#nav .sub-menu {
    list-style: none outside none;
    margin: 0;
    background: transparent;
    display: block;
    padding: 0;
    position: absolute;
    width: 100%;
    min-width: 180px;
    left: 50%;
    margin-left: -90px;
    padding-top: 30px;
    top: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    -webkit-transform: translateY(30px);
    -ms-transform: translateY(30px);
    transform: translateY(30px);
    -webkit-transition: all 0.6s ease;
    transition: all 0.6s ease;
}

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

#nav .sub-menu li {
    position: relative;
    display: block;
    padding: 0;
    text-align: center;
}

#nav .sub-menu li:focus-within > a,
#nav .sub-menu li:hover > a {
    background: var(--secondary);
    /*  color: var(--primary);*/
    color: #fff;
    opacity: 1;
    text-decoration: none;
}

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


/* Title */

.default_title {
    font-family: var(--font-family-title);
    display: inline-block;
    color: var(--primary);
    font-size: 65px;
    text-transform: uppercase;
}

.default_title i {
    display: block;
    color: var(--primary-text-accent);
    font-style: normal;
    font-size: 16px;
    font-family: var(--font-family-default);
    padding-bottom: 15px;
}

.default_title span {
    display: block;
    font-family: var(--font-family-default);
    color: var(--primary-accent);
    font-size: 25px;
    text-align: right;
    position: relative;
    padding-top: 3px;
    letter-spacing: 0.05em;
}

.default_title span em {
    display: inline-block;
    background: var(--background-color);
    position: relative;
    z-index: 2;
    padding-left: 30px;
    font-style: normal !important;
    font-weight: 300;
}

.default_title span::after {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--primary-accent);
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -0.5px;
    content: "";
}

.default_title.expanded span {
    margin: 0 -15px;
}


/* Pagination */

.default_pagination {
    display: flex;
    justify-content: center;
    margin-top: 35px;
}

.default_pagination .aios-arrows {
    font-size: 34px;
    color: var(--primary-accent);
    margin: 0 24px;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    transition: all 0.6s ease;
}

.default_pagination .aios-arrows:hover {
    color: var(--primary);
}

.default_button {
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    background: transparent;
    display: inline-block;
    border: 2px solid var(--primary);
    padding: 0 40px;
    height: 58px;
    line-height: 58px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    font-family: var(--font-family-default);
    transition: all 0.6s ease;
    font-size: 13px;
    color: var(--primary);
}

.default_button:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}


/* Header */

.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    padding: 36px 15px;
    transition: all 0.6s ease;
}

.header.show-fh {
    background: var(--primary);
    padding: 26px 15px;
}

.header.show-fh .logo-wrap {
    width: 10%;
}

.header.show-fh .logo-wrap a .logo h2 {
    font-size: 29px;
}

.header.show-fh .logo-wrap a .logo span {
    font-size: 9px;
}

.header.show-fh .logo-wrap a .logo-image i {
    font-size: 17px;
}

.header.show-fh .navigation {
    width: 55%;
    margin-left: 8.7%;
}

.header.show-fh .navigation ul li {
    padding: 0px 15px;
}

.header.show-fh .navigation ul li a {
    font-size: 14px;
}

.header.show-fh .hd-cta {
    color: var(--secondary);
    display: flex;
    width: 8%;
}

.header.show-fh .hd-cta ul {
    display: flex;
    align-items: center;
}

.header.show-fh .hd-cta ul li:first-child {
    padding: 0 12px;
    font-size: 13px;
}

.header.show-fh .hd-cta ul li .ai-font-envelope-f {
    font-size: 11px;
    color: var(--secondary);
}

.header .hd-wrap {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .logo-wrap {
    width: 22.759%;
    flex-shrink: 0;
}

.header .logo-wrap a {
    display: flex;
    width: 100%;
    color: #fff;
    /*  pointer-events: none;*/
}

.header .logo-wrap a .logo {
    padding-right: 15px;
    pointer-events: auto;
}

.header .logo-wrap a .logo img {
    max-width: 200px;
}

.header .logo-wrap a .logo h2 {
    font-size: 42px;
    font-family: var(--font-family-title);
    text-transform: uppercase;
    line-height: 1;
    transition: all 0.6s ease;
}

.header .logo-wrap a .logo span {
    text-transform: uppercase;
    font-size: 14.6px;
    line-height: 1.2;
    letter-spacing: 0.33em;
    transition: all 0.6s ease;
    display: block;
    white-space: nowrap;
}

.header .logo-wrap a .logo-image {
    padding-left: 17px;
    border-left: 1px solid #ffffff;
    display: flex;
    align-items: center;
}

.header .logo-wrap a .logo-image i {
    font-size: 30px;
    transition: all 0.6s ease;
}

.header .navigation {
    width: 61.2%;
    margin-left: 6%;
    transition: all 0.6s ease;
}

.header .navigation ul {
    display: flex;
    align-items: center;
    float: right;
}

.header .navigation ul li {
    position: relative;
    padding: 0 20px;
    transition: all 0.6s ease;
}

.header .navigation ul li a {
    /*  color: var(--secondary);*/
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.6s ease;
    position: relative;
    z-index: 5;
}

.header .navigation ul li:hover > a {
    opacity: 0.6;
}

.header .navigation #nav > li:last-child a {
    display: block;
    color: var(--secondary);
    text-transform: uppercase;
    border: 2px solid var(--secondary);
    width: 100%;
    padding: 15px 0;
    text-align: center;
    transition: all 0.6s ease;
    flex-shrink: 0;
    min-width: 117px;
    margin-left: 13px;
}

.header.show-fh .navigation #nav > li:last-child a:not(:hover) {
    border: 2px solid #fff;
    color: #fff;
}

.header .navigation #nav > li:last-child a:hover {
    background: var(--secondary);
    /*  color: var(--primary);*/
    color: #fff;
    border-color: var(--secondary);
}

.header .hd-cta {
    display: none;
}

.header.show-fh .navigation #nav > li:last-child a:hover,
.header.show-fh .navigation ul li:hover > a {
    background: var(--secondary);
    color: #fff;
}


/* CTA */

.hp-cta-wrap {
    padding-top: 90px;
    padding-bottom: 90px;
    overflow: hidden;
}

.hp-cta {
    display: flex;
    margin: 0 -27.5px;
}

.hp-cta div {
    width: 33.3333333333%;
    padding: 0 27.5px;
}

.hp-cta div a {
    border: 1px solid var(--primary);
    width: 100%;
    padding: 0 40px;
    color: var(--primary);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    height: 130px;
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    justify-content: center;
    transition: all 0.6s ease;
    position: relative;
}

.hp-cta div a:after {
    display: block;
    width: 2px;
    height: 97px;
    position: absolute;
    right: 10%;
    background: #d1d3d4;
    content: "";
    top: 50%;
}

.hp-cta div a:hover {
    background: var(--primary);
    background-size: cover;
    color: #fff;
    border-color: var(--primary);
}

.hp-cta div a:hover span {
    /*  color: var(--secondary);*/
    color: #fff;
}

.hp-cta div a span {
    font-family: var(--font-family-title);
    display: block;
    letter-spacing: 0.05em;
    color: var(--primary);
    font-size: 23px;
    padding-top: 6px;
    transition: all 0.6s ease;
}


/* Contact Form */

.ft-contact-form {
    background-size: cover;
    position: relative;
    padding: 191px 0;
    background-color: #000;
}

.ft-contact-form:after {
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.4;
    position: absolute;
    left: 0;
    top: 0;
    content: "";
}

.ft-contact-form .container {
    position: relative;
    z-index: 5;
}

.ft-contact-form .ft-form-title h2 {
    font-family: var(--font-family-title);
    /*  color: var(--secondary);*/
    color: #fff;
    font-size: 57px;
    text-transform: uppercase;
    padding-top: 20px;
}

.ft-contact-form .ft-form-title p {
    color: var(--secondary);
    font-size: 19px;
    padding-top: 14px;
    text-transform: uppercase;
    font-weight: 300;
}

.ft-contact-form .ft-form form {
    position: relative;
}

.ft-contact-form .ft-form .fieldWrap {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    position: relative;
    margin: 0 -15px;
}

.ft-contact-form .ft-form .field-input {
    width: 100%;
    padding: 10px 15px;
}

.ft-contact-form .ft-form .field-input span {
    display: block;
    position: relative;
}

.ft-contact-form .ft-form .field-input.field-sm {
    width: 50%;
}

.ft-contact-form .ft-form .field-input label {
    display: none;
}

.ft-contact-form .ft-form .field-input textarea {
    height: 61px;
    margin-top: 15px;
    resize: none;
}

.ft-contact-form .ft-form .form-btn {
    text-align: right;
    padding: 0 2%;
    width: 100%;
    margin-top: 21px;
}

.ft-contact-form .ft-form .form-btn span {
    display: block;
}

.ft-contact-form .ft-form .form-btn input[type=submit] {
    display: inline-block;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    height: 48px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    font-family: var(--font-family-default);
    transition: all 0.6s ease;
    background: transparent;
    width: 100%;
    max-width: 177px;
    font-size: 13px;
    letter-spacing: 0.14em;
}

.ft-contact-form .ft-form .form-btn input[type=submit]:not(:hover) {
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}

.ft-contact-form .ft-form .form-btn input[type=submit]:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.ft-contact-form .wpcf7-not-valid-tip {
    width: auto;
    position: absolute !important;
    top: 0;
    left: unset;
    right: 0;
    font-size: 12px;
}

.ft-contact-form .wpcf7 form .wpcf7-response-output {
    width: 100%;
    background: #fff;
    margin: 0;
    text-align: center;
    position: absolute;
    bottom: -25px;
}

.ft-contact-form .ft-form .field-input input[type=text],
.ft-contact-form .ft-form .field-input input[type=email],
.ft-contact-form .ft-form .field-input input[type=tel],
.ft-contact-form .ft-form .field-input textarea {
    width: 100%;
    background: transparent;
    border: none;
    height: 31px;
    /*  color: var(--secondary);*/
    color: #fff;
    text-transform: uppercase;
    /*  border-bottom: 1px solid var(--secondary);*/
    border-bottom: 1px solid #fff;
    outline: none;
}


/* Footer */

#main-footer {
    position: relative;
    font-size: 0;
    overflow: hidden;
    z-index: 0;
    padding-top: 100px;
    padding-bottom: 100px;
}

#main-footer .ftr-top {
    position: relative;
    z-index: 5;
}

#main-footer::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 160%;
    top: 0;
    left: 0;
    background: var(--primary-color);
    z-index: 2;
}

#main-footer .ft-logo {
    margin-bottom: 60px;
    padding: 0 15px;
    filter: brightness(0);
    -webkit-filter: brightness(0);
}

#main-footer .ft-logo .logo-img {
    padding-bottom: 45px;
}

#main-footer .ft-logo .logo-img a {
    font-size: 56px;
    color: var(--primary);
}

#main-footer .ft-logo img {
    width: 100%;
    max-width: 250px;
}

#main-footer .ft-logo h2 {
    font-size: 47px;
    font-family: var(--font-family-title);
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
    font-weight: 400;
    color: var(--primary);
}

#main-footer .ft-logo span {
    text-transform: uppercase;
    font-size: 14.6px;
    line-height: 1.2;
    letter-spacing: 0.33em;
    font-weight: 500;
}

#main-footer h2 {
    color: var(--primary);
    font-size: 19px;
    text-transform: uppercase;
    margin-bottom: 32px;
    font-weight: bold;
    font-family: var(--font-family-title);
}

#main-footer .ft-rows {
    display: flex;
}

#main-footer .ft-row:first-child + .ft-row {
    width: 34%;
    margin: 0 19% 0 6%;
    position: relative;
    z-index: 6;
}

#main-footer .ft-row p {
    color: var(--primary-text-accent);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
}

#main-footer .ft-row ul li {
    color: var(--primary-text-accent);
    font-size: 15px;
    padding: 3px 0;
    line-height: 1.6;
    font-weight: 500;
}

#main-footer .ft-row ul li a {
    color: var(--primary-text-accent);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.6s ease;
}

#main-footer .ft-row ul li a:hover {
    color: var(--primary-text-color);
}

#main-footer .ft-row:nth-child(2) ul li:nth-child(4),
#main-footer .ft-row:nth-child(2) ul li:nth-child(7) {
    margin-top: 40px;
    display: block;
}

#main-footer .ftr-newsletter .newsletter-form {
    position: relative;
}

#main-footer .ftr-newsletter .newsletter-form input[type=email] {
    width: 100%;
    background: transparent;
    color: var(--primary-text-accent);
    border: 1px solid var(--primary-text-accent);
    font-size: 15px;
    height: 57px;
    padding: 0px 15px;
    outline: none;
    border-right: none;
}

#main-footer .ftr-newsletter .newsletter-form span {
    position: relative;
    display: block;
    width: calc(100% - 56px);
}

#main-footer .ftr-newsletter .newsletter-form span.wpcf7-spinner {
    width: 24px;
    height: 24px;
}

#main-footer .ftr-newsletter .newsletter-form span.ajax-loader {
    width: 24px;
}

#main-footer .ftr-newsletter .newsletter-form .ftr-bttn {
    position: absolute;
    top: 0;
    right: 0;
    height: 57px;
    background: var(--primary-text-color);
    width: 56px;
}

#main-footer .ftr-newsletter .newsletter-form .ftr-bttn input {
    width: 100%;
    height: 100%;
    background: var(--primary);
    font-size: 0;
    border: none;
}

#main-footer .ftr-newsletter .newsletter-form .ftr-bttn i {
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*  color: var(--secondary);*/
    color: #fff;
}

#main-footer .ftr-newsletter .newsletter-form .wpcf7-not-valid-tip {
    top: 0;
    width: auto;
    position: absolute;
    font-size: 12px;
    left: unset;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
}

#main-footer .ftr-newsletter .smi {
    margin-top: 40px;
}

#main-footer .ftr-newsletter .smi > div {
    display: flex;
}

#main-footer .ftr-newsletter .smi a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    background: var(--primary);
    border-radius: 50%;
    text-align: center;
    font-size: 21px;
    /*  color: var(--secondary);*/
    color: #fff;
    margin: 0 6px;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
}

#main-footer .ftr-newsletter .smi a:first-child {
    margin-left: 0;
}

#main-footer .ftr-newsletter .smi a:hover {
    opacity: 0.7;
}

#main-footer .wpcf7 form .wpcf7-response-output {
    font-size: 12px;
    color: #000;
    position: absolute;
    margin: 5px 0;
    width: 100%;
    text-align: center;
}

#main-footer .ft-copyright {
    margin-top: 70px;
    border-top: 1px solid #c3c3c3;
}

#main-footer .ft-copyright .compass-logo {
    color: var(--primary);
    font-size: 37px;
    padding-top: 36px;
}

#main-footer .ft-copyright .compass-copyright {
    color: var(--primary-text-accent);
    font-size: 15px;
    padding: 36px 0;
    line-height: 1.8;
}

#main-footer .ft-copyright .compass-copyright p {
    display: block;
}

#main-footer .ft-copyright .compass-copyright p + p {
    border-top: 1px solid rgba(0, 0, 0, 0.251);
    margin-top: 30px;
    padding-top: 30px;
}

#main-footer .ft-copyright .compass-copyright p a {
    transition: all 0.35s ease-in-out;
}

#main-footer .ft-copyright .compass-copyright p a:hover {
    color: var(--primary-text-color);
}

#main-footer .ft-copyright .copright {
    color: var(--primary-text-accent);
    font-size: 15px;
    line-height: 1.8;
    transition: all 0.6s ease;
}

#main-footer .ft-copyright .copright p a {
    transition: all 0.6s ease;
}

#main-footer .ft-copyright .copright p + p {
    margin-top: 30px;
}

#main-footer .ft-copyright .copright a:hover {
    color: var(--primary-text-color);
}

#main-footer .ft-copyright .copright i {
    color: var(--primary);
    font-size: 50px;
    margin-top: 20px;
    display: inline-block;
}

#main-footer .ft-copyright .copright i.ai-font-realtor-mls {
    margin-left: 15px;
}

#main-footer .ft-copyright .copright i.ai-font-eho {}


/* Global */


/*******************************************************
 *
 * 4. IP Styles
 *
 *******************************************************/

.ip-banner {
    position: relative;
    width: 100%;
    z-index: 5;
}

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

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

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

.ip-banner h1 {
    font-weight: 700;
    font-size: 32px;
    text-align: center;
    color: #FFFFFF;
    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;
}

.ip-banner .ip-breadcrumbs {
    position: absolute;
    bottom: 0;
    z-index: 4;
    width: 100%;
    color: var(--secondary);
    font-size: 16px;
    padding-top: 21px;
    padding-bottom: 21px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ip-banner .ip-breadcrumbs a {
    color: var(--secondary);
    transition: all 0.35s ease-in-out;
}

.ip-banner .ip-breadcrumbs a:hover {
    opacity: 0.6;
}


/* 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;
}

#content {
    /* Style .entry-title(post/page) and .archive-title(category/archive/etc) main headings (h1) */
    /* Styles for category/archive/search/etc subheadings (h2) */
    /* Blog */
    /* Blog */
}

#content .post a {
    color: var(--primary);
}

#content #breadcrumbs {
    display: none;
}

#content .entry-title,
#content .archive-title {
    font-family: var(--font-family-title);
    color: var(--primary);
    font-size: 33px;
    text-transform: uppercase;
}

#content .archive-subtitle {
    color: var(--primary);
    font-family: var(--font-family-title);
}

#content .entry-thumbnail img {
    width: 100%;
    margin: 0 auto;
}

#content .archive-list {
    display: flex;
    flex-flow: row wrap;
    margin: 0 -15px;
}

#content .archive-list .post {
    width: 50%;
    padding: 15px;
    border: none;
}

#content .archive-list .post a {
    display: block;
    width: 100%;
    position: relative;
}

#content .archive-list .post .archive-thumbnail {
    width: 100%;
    float: none;
}

#content .archive-list .post .archive-thumbnail canvas {
    width: 100%;
    height: auto;
}

#content .archive-list .post .archive-thumbnail img {
    display: block;
    left: 0;
    top: 0;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    width: 100%;
    height: 100%;
}

#content .archive-list .post .archive-content {
    width: 100%;
    float: none;
}

#content .archive-list .post .archive-content .archive-more {
    font-style: normal;
    text-decoration: none;
    display: inline-block;
    width: auto;
}

#content .archive-list .post .archive-content .archive-more:hover {
    color: #fff !important;
}

#content .archive-list .post:first-child {
    width: 100%;
}

#content .archive-list .post:first-child .entry {
    display: flex;
    flex-flow: row wrap;
}

#content .archive-list .post:first-child .entry .archive-thumbnail {
    width: 60%;
}

#content .archive-list .post:first-child .entry .archive-content {
    width: 37%;
    margin-left: 3%;
    font-size: 22px;
}

#content .archive-list .post:first-child .entry .archive-content .archive-subtitle {
    margin: 0;
}

#content #listings-results .listings-table .listings-table-body .listings-table-label {
    color: #ffffff;
}

.ihf-details-template #inner-page-wrapper .max-container,
.single-aios-listings #inner-page-wrapper .max-container,
.ihf-results-template #inner-page-wrapper .max-container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.post-page-get-a-free-home-valuation #inner-page-wrapper .max-container,
.aios-listings-template-default #inner-page-wrapper .max-container,
.aios-custom-ihomefinder-details-template #inner-page-wrapper .max-container {
    padding: 0;
}

.listing-module-page #inner-page-wrapper .max-container > .container {
    width: 100% !important;
    padding: 0 !important;
}


/** Pojo Accessibility */

body #pojo-a11y-toolbar {
    bottom: 0 !important;
    top: auto !important;
}

body #pojo-a11y-toolbar.pojo-a11y-toolbar-left .pojo-a11y-toolbar-toggle {
    top: auto !important;
    bottom: 0 !important;
}

body.aios-custom-ihomefinder-results-template #content-full .entry-title {
    width: 100%;
    padding: 0;
}

body.aios-custom-ihomefinder-results-template .ip-breadcrumbs .max-container {
    width: 100%;
    max-width: 100%;
}

#nav #menu-item-116 .sub-menu {
    min-width: 290px;
    margin-left: -145px;
}

.aiosCommunitiesPurist__col.aios-communities-has-text-shadow .aiosCommunitiesPurist__title {
    text-shadow: none !important;
}

.single-aios-communities .aios-custom-ihomefinder-shortcode-template {
    margin-top: 25px;
}

.community-main a {
    color: #17a2b8;
    text-decoration: underline;
}

.content-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

body #pojo-a11y-toolbar {
    bottom: 0 !important;
    top: auto !important;
}

body #pojo-a11y-toolbar.pojo-a11y-toolbar-left .pojo-a11y-toolbar-toggle {
    top: auto !important;
    bottom: 0 !important;
}

button:focus-visible,
a:focus-visible {
    outline-style: solid !important;
    outline-width: 5px !important;
    outline-color: red !important;
    transition: none !important;
}


/* High contrast and Negative contrast break canvas elements with backgrounds */

#pojo-a11y-toolbar .pojo-a11y-btn-grayscale,
#pojo-a11y-toolbar .pojo-a11y-btn-light-background,
#pojo-a11y-toolbar .pojo-a11y-btn-high-contrast,
#pojo-a11y-toolbar .pojo-a11y-btn-negative-contrast {
    display: none !important;
}

body.pojo-a11y-readable-font *[class*=ai-font-],
body.pojo-a11y-readable-font *[class*=ai-font-]:after,
body.pojo-a11y-readable-font *[class*=ai-font-]:before {
    font-family: agentimage !important;
}

.modal-open .modal-backdrop.in {
    z-index: 9;
}

body #content #agents-results .agents-button {
    display: none;
}

body #agents-results .agents-img a,
body #content #agents-results .agents-name a {
    pointer-events: none;
}

body .aios-roadmaps-default-wrapper .aios-roadmaps-default-content a {
    color: #337ab7;
    -webkit-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

body .aios-roadmaps-default-wrapper .aios-roadmaps-default-content a:hover {
    color: var(--primary-text-color);
}

.responsive-video-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.responsive-video-container:before,
.responsive-video-container:after {
    clear: both;
    display: table;
    content: '';
}

.responsive-iframe {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    padding-top: 56.25%;
    margin: 30px 0 50px;
}

.responsive-iframe iframe {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.page-id-359 #listings-results .listings-grid.active {
    display: flex !important;
}

.aios-smf-theme-three .aios-smf-header #theme-title {
    display: none !important;
}

#content #listings-results .listings-grid .listings-info {
    z-index: 3;
}



.opt-wrap > .opt-policy {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    clear: both;
    gap: 10px;
    padding-bottom: 15px;
    padding-top: 15px;
}

.opt-box .wpcf7-list-item-label {
    display: none !important;
}

.opt-policy .opt-box input {
    margin: 0;
}

.opt-policy .opt-txt {
    text-align: justify;
    line-height: 1.2;
    font-size: 12px;
}

.opt-policy .opt-txt a {
    font-weight: bold;
}

.ai-contact-wrap .opt-box span {
    line-height: 0
}

.opt-policy .wpcf7-list-item {
    margin: 0;
}

ul.reviews {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

ul.reviews img {
    height: auto;
    width: 160px;
}

ul.reviews img[src*="zillow-1.png"] {
    width: 200px;
}

body.aios-custom-ihomefinder-template #listings-results .listings-grid .listings-plan {
    bottom: -80px;
}

@media only screen and (min-width: 992px) {
    .default_title.min-vw {
        font-size: min(4.0625vw, 65px);
    }

    .community-main {
        float: right;
        width: calc(50% - 30px);
    }

    body.single-aios-listings #listings-details .listings-slideshow .listings-slideshow-slide:after {
        content: "";
        position: absolute;
        z-index: 3;
        top: 0;
        left: 0;
        right: 0;
        height: 200px;
        display: block;
        background: rgb(0, 0, 0);
        background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
        pointer-events: none;
    }
}

@media only screen and (min-width: 1200px) {
    .page-id-18 #content .about-img:after {
        width: 11%;
    }

    .page-id-18 #content .about-main {
        float: right;
        width: 60%;
    }
}

@media only screen and (min-width: 992px) {
    .container-padding {
        padding-left: min(6.25vw, 100px);
        padding-right: min(6.25vw, 100px);
    }
}

@media only screen and (max-width: 1440px) {
    .header {
        padding: 20px 15px;
    }

    .header .logo-wrap {
        /*    width: 23%;*/
    }

    .header .logo-wrap a .logo h2 {
        font-size: 25px;
    }

    .header .logo-wrap a .logo span {
        font-size: 7.7px;
    }

    .header .logo-wrap a .logo-image {
        padding-left: 11px;
    }

    .header .logo-wrap a .logo-image i {
        font-size: 15px;
    }

    .header.show-fh .logo-wrap {
        /*    width: 23%;*/
    }

    .header.show-fh .logo-wrap a .logo h2 {
        font-size: 21px;
    }

    .header.show-fh .logo-wrap a .logo span {
        font-size: 6.5px;
    }

    .header.show-fh .logo-wrap a .logo-image i {
        font-size: 14px;
    }

    .header.show-fh .navigation {
        width: 60%;
        margin-left: 7%;
    }

    .header.show-fh .navigation ul li {
        padding: 0px 6px;
    }

    .header.show-fh .navigation ul li a {
        font-size: 12px;
    }

    .header.show-fh .hd-cta {
        width: 10%;
    }

    .header .navigation {
        width: 72%;
        margin-left: 2%;
    }

    .header .navigation ul li {
        padding: 0 15px;
    }

    .header .navigation ul li a {
        font-size: 12px;
    }

    .header .navigation #nav > li:last-child a {
        padding: 10px 0;
    }
}


/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */

@media only screen and (max-width: 1199px) {
    .container-padding {
        padding-left: 50px;
        padding-right: 50px;
    }

    .header .navigation {
        width: 72%;
        margin-left: 2%;
    }

    .header .navigation ul li {
        padding: 0 10px;
    }

    .hp-cta div {
        padding: 0 13.5px;
    }

    .hp-cta div a span {
        font-size: 20px;
    }

    /* Blog */
    #content .archive-list .post:first-child .entry .archive-thumbnail {
        width: 100%;
    }

    #content .archive-list .post:first-child .entry .archive-content {
        width: 100%;
        margin-left: 0;
    }

    #content .archive-list .post:first-child .entry .archive-content .archive-subtitle {
        margin: 0.75em 0;
    }

    .ft-contact-form .ft-form-title h2 {
        font-size: 45px;
    }

    .ft-contact-form .ft-form-title p {
        font-size: 15px;
    }

    #main-footer h2 {
        font-size: 13px;
        line-height: 1.2;
    }

    #main-footer .ftr-newsletter .smi a {
        width: 40px;
        height: 40px;
    }
}


/* iPad(portrait) | Galaxy Tab 4(portrait)  */

@media only screen and (max-width: 991px) {
    .default_pagination .aios-arrows {
        margin: 0 14px;
    }

    .container-padding {
        padding-left: 15px;
        padding-right: 15px;
    }

    .aios-mobile-header-wrapper {
        display: block !important;
    }

    nav#pojo-a11y-toolbar {
        display: none;
    }

    .amh-header-buttons.amh-2a .amh-navigation-trigger span * {
        padding-left: 10px;
    }

    .header {
        position: relative !important;
        background: var(--primary);
        margin-top: 54px;
    }

    .header .hd-wrap {
        justify-content: center;
    }

    .header .navigation {
        display: none;
    }

    .header .logo-wrap {
        width: 100%;
        margin: 0 auto;
        max-width: 200px;
    }

    .header .logo-wrap a {
        justify-content: center;
        text-align: center;
    }

    .header .logo-wrap a .logo h2 {
        font-size: 30px;
    }

    .header .logo-wrap a .logo span {
        font-size: 13px;
    }

    .header .logo-wrap a .logo-image i {
        font-size: 20px;
    }

    .hp-cta-wrap {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .hp-cta {
        display: block;
        margin: 0;
    }

    .hp-cta div {
        width: 100%;
        padding: 20px 0;
        max-width: 450px;
        margin: 0 auto;
    }

    #main-footer .ft-copyright .compass-logo {
        font-size: 25px;
    }

    /* The following are used on inner pages. Please edit carefully. */
    .inner {
        width: 100%;
    }

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

    .outer {
        width: 100%;
        min-width: 100%;
    }

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

    #content {
        /* Blog */
        /* Blog */
    }

    #content .archive-list {
        margin: 0;
    }

    #content .archive-list .post {
        width: 100%;
        padding: 15px 0;
    }

    #content .archive-list .post .archive-content .archive-subtitle {
        text-align: left;
    }

    #content .archive-list .post:first-child .entry .archive-thumbnail {
        width: 100%;
    }

    #content .archive-list .post:first-child .entry .archive-content {
        width: 100%;
        margin-left: 0;
    }

    .ft-contact-form .ft-form-title {
        text-align: center;
        padding-bottom: 50px;
    }

    .ft-contact-form .wpcf7 form .wpcf7-response-output {
        position: static;
    }

    #main-footer .ftr-newsletter {
        padding-top: 40px;
    }

    #pojo-a11y-toolbar {
        display: none;
    }
}


/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */

@media only screen and (max-width: 767px) {
    .default_button {
        font-size: 12px;
    }

    .default_title {
        font-size: 45px;
    }

    .default_title span {
        font-size: 16px;
    }

    .header .logo-wrap .logo h2 {
        font-size: 25px;
    }

    .header .logo-wrap .logo span {
        font-size: 10.5px;
    }

    .ip-banner .container {
        width: 100%;
    }

    .ft-contact-form .wpcf7-not-valid-tip {
        font-size: 11px;
    }

    .ft-contact-form .ft-form .fieldWrap {
        margin: 0;
    }

    .ft-contact-form .ft-form .field-input.field-sm,
    .ft-contact-form .ft-form .field-input.field-lg {
        width: 100%;
        padding: 16px 0;
    }

    #main-footer {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    #main-footer h2 {
        font-size: 17px;
        margin-bottom: 31px;
    }

    #main-footer .ft-logo {
        margin-bottom: 40px;
    }

    #main-footer .ft-rows {
        flex-flow: column;
    }

    #main-footer .ft-row {
        width: 100% !important;
        margin: 20px 0 !important;
    }

    #main-footer .ft-row ul li .ai-mobile-phone {
        margin-top: 0;
    }
}


/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */

@media only screen and (max-width: 480px) {
    .header .logo-wrap a .logo span {
        letter-spacing: 0.09em;
    }

    .header .logo-wrap a .logo-image i {
        font-size: 16px;
    }

    .ft-contact-form .ft-form-title h2 {
        font-size: 38px;
    }

    body.aios-custom-ihomefinder-template #listings-results .listings-grid .listings-plan span {
        font-size: 12px;
    }

    body.aios-custom-ihomefinder-template #listings-results .listings-grid .listings-plan span + span {
        margin-left: 10px;
    }

    body.aios-custom-ihomefinder-template #listings-results .listings-grid .listings-address {
        font-size: 12px;
    }

    body.aios-custom-ihomefinder-template #listings-results .listings-grid .listings-address span {
        font-size: 18px;
    }

    body.aios-custom-ihomefinder-template #listings-results .listings-grid .listings-item .listings-price {
        font-size: 16px;
    }

    body .amh-header-buttons.amh-2b .amh-header-right-btn .amh-phone-secondary {
        margin-left: 10px;
        padding-left: 10px;
    }

    body .amh-header-buttons.amh-2b .amh-header-right-btn.amh-dual-phone {
        font-size: 14px;
    }
}