/*
Theme Name: DG Realty Group
Description: AIOS mobile semi-custom theme.
Author: AgentImage
Author URI: http://www.agentimage.com
Version: 1.6.1
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. Variables
2. Custom CSS
3. IP styles
4. MEDIA QUERIES ARE AUTOMATICALLY REMOVED FROM THIS FILE, they must be placed in style-media-queries.css

*/
/*******************************************************

 *

 * 1. Variables

 *

 *******************************************************/
:root {
    /** Font default */
    --font-family-default: 'Cormorant Garamond', serif;
    --font-family-title: 'Syncopate', sans-serif;
    --font-size-default: 18px;
    --font-color-default: #000;
    /** Use for input, button, and any other element */
    --primary: #022349;
    --secondary: #666;
    --white-text: #fff;
    --success: #022349;
    --animate: all .3s ease-in-out;
    --animate2: all .5s ease-in-out;
    --default-transition: .3s cubic-bezier(.4, 0, .2, 1);
}

.syncopate {
    font-family: var(--font-family-title);
}

/*******************************************************

 *
 * 2. Navigation

 *
 *******************************************************/
.hdrnav {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.hdrnav > li {
    position: relative;
    /* margin: 0 0 0 min(4.563vw, 73px); */
    margin: 0 0 0 min(2.563vw, 40px);
}

.hdrnav > li:first-of-type {
    margin-left: 0;
}

.hdrnav > li > a {
    /* font-size: 15px; */
    font-size: 12px;
    color: var(--white-text);
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: .2em;
    padding: 35px 0;
    display: block;
    position: relative;
    transition: var(--animate);
    font-weight: bold;
    white-space: nowrap;
}

.hdrnav > li > a:after {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: #fff;
    opacity: 0;
    z-index: 1;
    transition: var(--animate);
}

.hdrnav > li:hover > a:after,
.hdrnav > li:focus > a:after {
    opacity: 1;
}

.hdrnav .sub-menu {
    list-style: none outside none;
    margin: 0;
    padding: 0;
    position: absolute;
    width: 100%;
    min-width: 220px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    transition: var(--animate);
    opacity: 0;
    visibility: hidden;
}

.hdrnav li:hover > .sub-menu,
.hdrnav li:focus > .sub-menu,
.hdrnav li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
}

.hdrnav .sub-menu li {
    display: block;
    position: relative;
    padding: 0;
    margin-bottom: 1px;
}

.hdrnav .sub-menu a {
    font-size: 15px;
    color: var(--white-text);
    line-height: 1;
    letter-spacing: .15em;
    display: block;
    text-align: center;
    padding: 15px 10px !important;
    background: var(--primary);
    text-transform: uppercase;
    line-height: 1;
    transition: var(--animate);
    font-weight: bold;
}

.hdrnav .sub-menu a:hover,
.hdrnav .sub-menu a:focus {
    background: var(--secondary);
    color: var(--white-text);
}

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

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

.listings-disclaimer {
    margin-top: 30px;
}

#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: 50%;
    transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    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;
}

#content #ihf-main-container ul.dropdown-menu li.active a,
#content #ihf-main-container ul.dropdown-menu a:hover {
    color: #fff;
}

#content ul.select2-selection__rendered {
    margin: 0 0 0;
}

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

/* High contrast and Negative contrast break canvas elements with backgrounds */
#pojo-a11y-toolbar .pojo-a11y-btn-light-background,
#pojo-a11y-toolbar .pojo-a11y-btn-grayscale,
#pojo-a11y-toolbar .pojo-a11y-btn-high-contrast,
#pojo-a11y-toolbar .pojo-a11y-btn-negative-contrast {
    display: none !important;
}

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

 *

 * 3. Custom CSS

 *

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

.home a,
.header a,
.fixed-header a,
footer a,
.sidebar a {
    text-decoration: none !important;
    outline: 0;
}

.transition {
    transition: var(--animate);
}

.transition2 {
    transition: var(--animate2);
}

#main-wrapper {
    overflow: hidden;
}

.flex {
    display: flex;
}

.j-center {
    justify-content: center;
}

.j-end {
    justify-content: flex-end;
}

.j-spacebet {
    justify-content: space-between;
}

.a-start {
    align-items: flex-start;
}

.a-center {
    align-items: center;
}

.a-end {
    align-items: flex-end;
}

.canvas-img {
    display: block;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.canvas-img canvas {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 0;
}

.canvas-img img {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: var(--animate);
    object-fit: cover;
    object-position: center;
}

.home section,
footer {
    position: relative;
}

.accent {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.accent canvas {
    background-size: cover;
    width: 100%;
    height: 100%;
    background-position: center center;
}

.accent.grayscale canvas,
.canvas-img.grayscale img {
    filter: grayscale(1);
}

.accent:before,
.accent:after {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hp-inner {
    max-width: 100%;
    margin: 0 auto;
}

.section-title {}

.section-title.right {
    text-align: right;
}

.section-title.center {
    text-align: center;
}

.section-title-inner {
    display: inline-block;
    position: relative;
}

.section-title :is(h1, h2) {
    font-family: var(--font-family-title);
    font-size: 50px !important;
    margin: 0 !important;
    font-weight: 400 !important;
    color: var(--primary);
    letter-spacing: .09em;
    text-transform: uppercase;
    line-height: 1;
    position: relative;
}

.hp-cta .section-title h2,
.hp-work .section-title h2 {
    line-height: 37px !important
}

.section-title :is(h1 span, h2 span) {
    color: #000;
}

.section-title.white :is(h1, h2) {
    color: var(--white-text);
}

.section-title h1.with-accent,
.section-title h2.with-accent {
    padding-left: 85px;
    position: relative;
}

.section-title h1.with-accent:before,
.section-title h2.with-accent:before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 49px;
    height: 34px;
    background: url('images/dg-monogram.png');
    filter: grayscale(1) brightness(0);
}

.section-title h2.with-line {
    padding-bottom: 30px;
}

.section-title h2.with-line:after {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 100px;
    height: 1px;
    background: #fff;
}

.section-title.center h2.with-line:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title .sub-title {
    display: block;
    color: var(--secondary);
    font-size: 28px;
    letter-spacing: .05em;
    text-align: right;
    position: relative;
}

.section-title .sub-title:before {
    position: absolute;
    content: '';
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #999;
    z-index: 0;
}

.section-title .sub-title span {
    display: inline-block;
    padding-left: 30px;
    background: #fff;
    position: relative;
    z-index: 2;
}

.section-title .sub-title span i {
    font-style: normal !important;
    font-family: var(--font-family-title);
}

/* accent line used in the CTA and FC sections */
.tile-item .line-accent-top {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 50px;
    height: 50px;
    z-index: 5;
}

.tile-item .line-accent-top:before,
.tile-item .line-accent-top:after {
    position: absolute;
    content: '';
    left: 0;
    top: 25px;
    width: 100%;
    height: 1px;
    background: #fff;
    transition: var(--animate);
    opacity: 0;
}

.tile-item .line-accent-top:after {
    left: 25px;
    top: 0;
    width: 1px;
    height: 100%;
}

.tile-item a:hover .line-accent-top:before,
.tile-item a:focus .line-accent-top:before {
    top: 5px;
    opacity: 1;
}

.tile-item a:hover .line-accent-top:after,
.tile-item a:hover .line-accent-top:after {
    left: 5px;
    opacity: 1;
}

.tile-item .line-accent-bot {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    z-index: 5;
}

.tile-item .line-accent-bot:before,
.tile-item .line-accent-bot:after {
    position: absolute;
    content: '';
    right: 0;
    bottom: 25px;
    width: 100%;
    height: 1px;
    background: #fff;
    transition: var(--animate);
    opacity: 0;
}

.tile-item .line-accent-bot:after {
    right: 25px;
    bottom: 0;
    width: 1px;
    height: 100%;
}

.tile-item a:hover .line-accent-bot:before,
.tile-item a:hover .line-accent-bot:before {
    bottom: 5px;
    opacity: 1;
}

.tile-item a:hover .line-accent-bot:after,
.tile-item a:hover .line-accent-bot:after {
    right: 5px;
    opacity: 1;
}

/* end accent line */
/* popup form */
.aiosp-container.aiosp-inline-holder[class*="popup-form"] .aiosp-content {
    width: 90% !important;
    max-width: 765px;
    min-height: 390px !important;
    background: #fff !important;
    border: 5px solid #fff;
}

.aiosp-container.aiosp-inline-holder[class*="popup-form"] .aiosp-content .aiosp-close {
    opacity: 1;
    color: var(--white-text);
    font-size: 46px;
    font-family: var(--font-family-title);
    top: 15px;
    right: 15px;
}

.popup-img {
    width: 43.3%;
}

.popup-img canvas {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.news-form {
    width: 56.7%;
    padding: 0 45px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background: var(--primary);
}

.news-form h2 {
    font-size: 30px;
    line-height: 36px;
    letter-spacing: .09em;
    text-transform: uppercase;
    text-align: center;
    color: var(--white-text);
    padding-bottom: 30px;
    margin-bottom: 30px;
    position: relative;
}

.news-form h2:after {
    position: absolute;
    content: '';
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: #999;
    z-index: 1;
}

.news-form-wrap {
    position: relative;
}

.news-form-wrap input {
    width: 100%;
    background: transparent;
    border: 0;
    border: 1px solid #4e5e71;
    height: 40px;
    font-size: 15px;
    letter-spacing: .025em;
    outline: 0;
    margin-bottom: 10px;
    color: var(--white-text);
    padding: 0 12px;
}

.news-form-wrap input[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    padding: 0;
    width: 180px;
    height: 40px;
    border: 2px solid #fff;
    font-size: 13px;
    letter-spacing: .25em;
    text-transform: uppercase;
    transition: var(--animate2);
}

.news-form-wrap input[type="submit"]:hover {
    background: #fff;
    color: var(--primary);
}

.news-form-wrap .wpcf7 form .wpcf7-response-output {
    position: absolute;
    left: 0;
    width: 100%;
    margin: 0;
    font-size: 13px;
    margin-top: 5px;
    color: var(--white-text) !important;
}

/* header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 15px 0;
    z-index: 99;
    transition: var(--animate2);
}

.header.fixed {
    background: var(--primary);
    padding-top: 0;
}

.hdr-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.header .logo img {
    filter: invert(1) brightness(5);
}

.header.fixed .logo img.logo-def {
    max-width: 72px;
}

.header .logo img.logo-def {
    max-width: 72px;

}

.header.fixed .logo img.broker-logo {
    max-width: 102px;
}

.header .logo .main-logo {
    padding-right: 20px;
    margin-right: 20px;
    border-right: 1px solid #fff;
}

/* homepage */
.hp-slide {
    display: block;
    position: relative;
}

.hp-slide:before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.4) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.4) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.4) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4d000000', endColorstr='#4d000000', GradientType=0);
    /* IE6-9 */
    pointer-events: none;
}

.hp-cta-welcome {
    position: relative;
}

.hp-cta-welcome .accent {
    width: 100%;
    height: 40%;
    top: 25%;
}

.hp-cta {
    padding: 90px 15px 44px;
}

.hp-cta .section-title {
    padding-right: 95px;
}

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

.hp-cta-item {
    width: 33.33%;
    padding: 10px;
}

.hp-cta-item a {
    display: block;
    position: relative;
    max-width: 430px;
    margin: 0 auto;
}

.hp-cta-item a:before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1;
    opacity: .25;
    transition: var(--animate);
}

.hp-cta-item a:hover:before,
.hp-cta-item a:focus:before {
    background: var(--primary);
    opacity: .75;
}

.hp-cta-title {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding: 0 20px;
    color: var(--white-text);
    text-align: center;
    font-size: 26px;
    line-height: 30px;
    letter-spacing: .09em;
    text-transform: uppercase;
    z-index: 4;
}

.hp-welcome {
    padding: 45px 15px 90px;
}

.hp-welcome-left {
    width: 45%;
    padding-right: 10px;
}

.hp-welcome-left .section-title :is(h1, h2) {
    font-size: min(3.125vw, 50px) !important;
}

.hp-welcome-left p {
    margin: 40px 0;
    color: var(--white-text);
    font-size: 18px;
    line-height: 26px;
    letter-spacing: .05em;
    padding-right: 10%;
}

.hp-welcome-left .welcome-video {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 125px;
    height: 125px;
    background: var(--primary);
    border-radius: 50%;
    color: var(--white-text);
    font-size: 22px;
    position: relative;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
    transition: var(--animate);
}

.hp-welcome-left .welcome-video:before {
    position: absolute;
    content: '';
    top: 7px;
    left: 7px;
    width: calc(100% - 14px);
    height: calc(100% - 14px);
    border-radius: 50%;
    border: 1px solid #536a84;
}

.hp-welcome-left .welcome-video:hover,
.hp-welcome-left .welcome-video:focus {
    background: var(--secondary);
}

.hp-welcome-right {
    width: 55%;
}

.hp-welcome-right img {
    border: 1px solid #fff;
}

.hp-partners {
    padding: 90px 0 0;
}

.hp-partners p {
    font-size: 22px;
    color: var(--secondary);
    line-height: 32px;
    letter-spacing: .05em;
    text-align: center;
    padding: 0 17%;
    font-style: italic;
    margin-bottom: 60px;
}

.hp-partners .slick-track {
    display: flex;
    align-items: center;
    height: 100px;
}

.hp-partners .slick-slide {
    display: flex !important;
    align-items: center;
}

.hp-partners-item {
    padding: 0 35px;
    position: relative;
    display: block;
    font-size: 0;
}

.hp-partners-item:before {
    position: absolute;
    content: '';
    left: 0;
    top: -100%;
    width: 1px;
    height: 500%;
    background: #dedede;
}

.hp-partners-item img {
    filter: grayscale(1) invert(.5);
    transition: var(--animate);
}

.hp-partners-item:hover img,
.hp-partners-item:focus img {
    filter: grayscale(0) invert(0);
}

.hp-distinction {
    padding: 90px 15px;
}

.hp-distinction .accent:before {
    background: rgba(0, 0, 0, .7);
}

.hp-distinction .section-title h2.with-line:after {
    background: #999;
}

.hp-distinction-list {
    margin-top: 55px;
}

.hp-distinction-list .sep {
    width: 1px;
    background: rgba(255, 255, 255, .2);
}

.hp-distinction-item {
    padding: 15px 0;
    font-size: 1.2vw;
    letter-spacing: .075em;
    line-height: 24px;
    text-align: center;
    color: var(--white-text);
    position: relative;
    width: 20%;
}

.hp-distinction-item > div {
    font-size: 3vw;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 30px;
    min-width: 0;
    text-align: center;
}

.hp-fp {
    padding: 90px 15px;
}

.hp-fp .section-title .sub-title {
    font-size: 18px;
    margin-top: 15px;
}

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

.hp-fp-item {
    padding: 0 10px;
    width: 33.33%;
}

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

.hp-fp-item a .canvas-img {
    background: var(--primary);
}

.hp-fp-item a:hover .canvas-img img,
.hp-fp-item a:focus .canvas-img img {
    opacity: .24;
}

.hp-fp-stat {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    letter-spacing: .075em;
    color: var(--white-text);
    font-style: italic;
    padding: 10px 20px;
    background: var(--primary);
    z-index: 5;
}

.hp-fp-info {
    margin-top: 25px;
    color: var(--primary);
}

.hp-fp-info > span {
    display: block;
}

.hp-fp-price {
    font-size: 22px;
    letter-spacing: .1em;
}

.hp-fp-address {
    font-size: 18px;
    letter-spacing: .025em;
    line-height: 1;
    padding: 10px 0 15px;
    font-style: italic;
    color: #999;
}

.hp-fp-beds {
    display: flex;
    padding-top: 12px;
    font-size: 12px;
    letter-spacing: .05em;
    position: relative;
}

.hp-fp-beds:before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    background: #dee3e7;
    max-width: 365px;
}

.hp-fp-beds > span {
    padding: 5px min(1.125vw, 18px);
    border-left: 1px solid #dee3e7;
}

.hp-fp-beds > span:first-of-type {
    padding-left: 0;
    border: 0;
}

.hp-fp-beds > span:last-of-type {
    padding-right: 0;
}

.hp-fp-beds span span {
    color: #999;
}

.hp-video {
    padding: 90px 0 45px;
}

.hp-video:before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 70%;
    background: var(--primary);
    z-index: -1;
}

.hp-video .section-title {
    margin-bottom: 40px;
}

.hp-video .section-title h2.with-line:after {
    background: #999;
}

.hp-video a {
    display: block;
    border: 1px solid #fff;
    position: relative;
    overflow: hidden;
}

.hp-video a:before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1;
    transition: var(--animate);
    opacity: .25;
    display: none;
}

.hp-video a:hover:before,
.hp-video a:focus:before {
    /* background: var(--primary);







                    opacity: .76;*/
}

.hp-video-play {
    position: absolute;
    content: '';
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, .54);
    border-radius: 50%;
    color: var(--white-text);
    font-size: 22px;
    z-index: 1;
}

.hp-video-play > span {
    position: relative;
    width: calc(100% - 14px);
    height: calc(100% - 14px);
    border-radius: 50%;
    background: var(--primary);
}

.hp-video-play > span:after {
    position: absolute;
    content: '';
    left: 5px;
    top: 5px;
    border-radius: 50%;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    border: 1px solid #536a84;
    z-index: 1;
}

.hp-newsletter {
    padding: 45px 0 90px;
}

.hp-newsletter .section-title {
    padding: 0 15%;
}

.hp-newsletter .section-title h2.with-line:after {
    background: #999;
}

.hp-newsletter .form-wrap {
    max-width: 945px;
    margin: 45px auto 0;
    position: relative;
}

.hp-newsletter .form-row {
    display: flex;
    justify-content: space-between;
}

.hp-newsletter .form-col {
    width: 39.6%;
}

.hp-newsletter .form-sub {
    width: 19%;
}

.hp-newsletter input {
    width: 100%;
    height: 40px;
    border: 1px solid #ccc;
    outline: 0;
    font-size: 15px;
    letter-spacing: .035em;
    color: var(--primary);
    padding: 0 12px;
    background: transparent;
}

.hp-newsletter .form-sub input {
    border: 2px solid var(--primary);
    font-size: 13px;
    letter-spacing: .25em;
    text-transform: uppercase;
    transition: var(--animate);
}

.hp-newsletter .form-sub input:hover,
.hp-newsletter .form-sub input:focus {
    background: var(--primary);
    color: var(--white-text);
}

.hp-newsletter div.wpcf7-response-output {
    position: absolute;
    left: 0;
    width: 100%;
    margin: 10px 0 0;
    font-size: 12px;
}

.hp-fc-list {
    flex-wrap: wrap;
}

.hp-fc-item {
    width: 50%;
    position: relative;
}

.hp-fc-item.tile-item .line-accent-top {
    top: 20px;
    left: 20px;
}

.hp-fc-item.tile-item .line-accent-bot {
    bottom: 20px;
    right: 20px;
}

.hp-fc-item > a {
    display: block;
    position: relative;
    z-index: 2;
}

.hp-fc-item .canvas-img canvas {
    min-height: 350px;
}

.hp-fc-item > a:before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .15;
    z-index: 1;
    transition: var(--animate);
}

.hp-fc-item > a:hover:before,
.hp-fc-item > a:focus:before {
    background: var(--primary);
    opacity: .76;
}

.hp-fc-info {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding: 0 15px;
    text-align: center;
    z-index: 3;
}

.hp-fc-info h2 {
    font-size: min(2.500vw, 40px);
    color: var(--white-text);
    text-transform: uppercase;
    line-height: 1;
    position: relative;
}

.hp-fc-title .hp-fc-info h2 {
    font-size: min(3.125vw, 50px);
    line-height: min(3.125vw, 50px);
}

.hp-fc-info h2.with-line {
    padding-bottom: 35px;
}

.hp-fc-info h2.with-line:after {
    position: absolute;
    content: '';
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: #fff;
}

.hp-fc-info p {
    font-size: 18px;
    letter-spacing: .05em;
    margin: 25px 0 0;
    color: var(--white-text);
}

.hp-fc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 182px;
    height: 42px;
    border: 2px solid #fff;
    color: var(--white-text);
    font-size: 13px;
    letter-spacing: .25em;
    text-transform: uppercase;
    background: rgba(2, 35, 73, .5);
    margin: 45px auto 0;
}

.hp-fc-title .hp-fc-btn {
    background: transparent;
}

.hp-fc-item a.hp-fc-btn:hover,
.hp-fc-item a.hp-fc-btn:focus {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white-text);
}

.hp-advisor {
    padding: 90px 15px;
}

.hp-advisor .section-title .sub-title {
    font-size: 18px;
    padding-left: 130px;
    margin-top: 15px;
}

.hp-advisor .section-title .sub-title:before {
    width: 100px;
}

.hp-advisor-list {
    margin: 45px -10px 0;
    flex-wrap: wrap;
}

.hp-advisor-item {
    width: 33.33%;
    padding: 0 10px;
}

.hp-advisor-item a.canvas-img {
    background: var(--primary);
}

.hp-advisor-item a.canvas-img:hover img {
    opacity: .24;
}

.hp-advisor-item h2 {
    font-size: 22px;
    letter-spacing: .1em;
    line-height: 28px;
    color: var(--primary);
    text-transform: uppercase;
    margin-top: 25px;
    padding-right: 12%;
}

.hp-advisor-item p {
    font-size: 15px;
    line-height: 22px;
    letter-spacing: .025em;
    color: #999;
    margin: 15px 0 20px;
    padding-right: 18%;
}

.hp-advisor-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 40px;
    font-size: 13px;
    letter-spacing: .25em;
    text-transform: uppercase;
    border: 2px solid var(--primary);
    transition: var(--animate);
}

.hp-advisor-btn:hover,
.hp-advisor-btn:focus {
    background: var(--primary);
    color: var(--white-text);
}

.hp-work {
    padding: 90px 0;
}

.hp-work .section-title h2.with-accent:before {
    filter: grayscale(0);
}

.hp-work .section-title h2.with-line:after {
    background: #999;
}

.hp-work p {
    font-size: 18px;
    line-height: 28px;
    letter-spacing: .05em;
    color: var(--secondary);
    margin: 35px 0;
    max-width: 560px;
}

.hp-work-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 210px;
    height: 40px;
    font-size: 13px;
    letter-spacing: .25em;
    text-transform: uppercase;
    border: 2px solid var(--primary);
    transition: var(--animate);
}

.hp-work-btn:hover,
.hp-work-btn:focus {
    background: var(--primary);
    color: var(--white-text);
}

.f-separator {
    height: 55px;
    background: var(--primary);
}

.footer {
    padding: 80px 0 25px;
}

.footer .accent:before {
    background: rgba(255, 255, 255, .9);
}

.footer .main-logo {
    padding-right: 30px;
    margin-right: 30px;
    border-right: 1px solid var(--primary);
}

.f-contact-wrap {
    margin: 50px 0 0;
    font-size: 18px;
    letter-spacing: .05em;
    line-height: 24px;
    color: var(--secondary);
}

.f-contact-wrap h2 {
    color: #000;
    font-size: 24px;
    letter-spacing: .09em;
    margin-bottom: 20px;
    line-height: 1;
    text-transform: uppercase;
}

.f-contact-col {
    white-space: nowrap;
}

.f-contact-col > div {
    margin-bottom: 8px;
}

.f-contact-col:last-of-type {
    margin-left: 115px;
}

.f-contact-col span {
    width: 27px;
    color: var(--primary);
    font-size: 12px;
    display: inline-block;
    vertical-align: middle;
}

.f-contact-col span.ai-font-phone {
    font-size: 14px;
}

.f-contact-col span.ai-font-location-c {
    font-size: 22px;
    float: left;
    margin-bottom: 20px;
    margin-top: 5px;
}

.footer-nav-smi {
    margin: 35px 0;
}

.footernav li {
    display: inline-block;
    text-transform: uppercase;
    margin-left: min(3vw, 38px);
}

.footernav li:first-of-type {
    margin-left: 0;
}

.footernav li a {
    font-size: 15px;
    letter-spacing: .2em;
    color: var(--secondary);
}

.f-smi-wrap a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 16px;
    margin-left: 12px;
    transition: var(--animate);
}

.f-smi-wrap a:hover,
.f-smi-wrap a:focus {
    background: var(--primary);
    color: var(--white-text) !important;
}

.footer-disc {
    font-size: 13px;
    letter-spacing: .08em;
    line-height: 22px;
    color: var(--secondary);
    margin: 0 0 25px;
}

.footer-disc .ai-icon {
    color: var(--primary);
    font-size: 24px;
    margin-top: 20px;
    display: inline-block;
}

.footer .copyright {
    font-size: 13px;
    color: var(--secondary);
    letter-spacing: .1em;
    padding-top: 25px;
    margin-top: 25px;
    border-top: 1px solid #c9c9c9;
}

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

/*******************************************************
 *

 * 4. 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, .3);
    pointer-events: none;
}

.ip-banner canvas {
    display: block;
    position: relative;
    z-index: 0;
    width: 100%;
    min-height: 250px;
    background-color: var(--dark);
    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;
}

/* 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-family: var(--font-family-title);
    font-size: 50px;
    color: var(--primary);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: .09em;
}

p#breadcrumbs {
    line-height: 1.7;
    margin: calc(1.12em + 3px) 0 1.12em;
}

/* Styles for category/archive/search/etc subheadings (h2) */
#content .archive-subtitle {}

/* CF7 override */
div.wpcf7-response-output {
    text-align: center;
}

.use-floating-validation-tip .wpcf7-not-valid-tip {
    position: absolute;
    top: 20%;
    left: 20%;
    width: auto;
    right: auto;
    font-size: 12px;
}

.wpcf7-spinner {
    position: absolute;
}

/* ihf override */
#ihf-main-container .mc-total-payment-subline {
    color: var(--secondary);
}

.leaflet-container .leaflet-top.leaflet-right {
    z-index: 999;
}

#ihf-main-container ul {
    margin-left: 0;
}

#listings-details .listings-form textarea {
    padding-right: 50px !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.pojo-a11y-grayscale {
    overflow-x: hidden;
    overflow-y: auto;
}

body.pojo-a11y-grayscale {
    filter: none !important;
    -webkit-filter: none !important;
    -webkit-filter: none !important;
    -moz-filter: none !important;
    -ms-filter: none !important;
    -o-filter: none !important;
}

body.pojo-a11y-grayscale #main-wrapper {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -webkit-filter: grayscale(1);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: gray;
}

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

/***Global IP Listings***/
.props-banner {
    position: relative;
}

.props-banner-bg {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-position: center center;
    background-size: cover;
    background-color: #002566;
    background-image: none !important;
}

.props-banner-bg:before {
    content: '';
    display: block;
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/properties/properties-banner_fade.png') center center no-repeat;
    background-size: cover;
}

.props-banner-inner {
    position: relative;
    z-index: 1;
    width: 1150px;
    margin: 0 auto;
    max-width: calc(100% - 30px);
    color: #fff;
    padding: 353px 0 min(2.1875vw, 35px);
}

.props-banner-title {
    font-size: 50px;
    letter-spacing: 0.090em;
    max-width: 935px;
}

.props-banner-subtitle {
    position: relative;
    line-height: 2;
    font-size: 18px;
    letter-spacing: 0.050em;
    margin: 10px 0 0;
}

.props-container {
    margin: 0 auto 0;
    width: 1332px;
    max-width: calc(100% - 30px);
    padding: 0 0 55px;
}

.props-slide {
    margin: 0 -10px 0;
}

.props-slide:not(.slick-initialized) {
    display: flex;
    overflow: hidden;
}

.prop-item {
    padding: 0 10px;
    width: calc(100% / 3);
}

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

.prop-item a .canvas-img {
    background: var(--primary);
}

.prop-item a:hover .canvas-img img,
.prop-item a:focus .canvas-img img {
    opacity: .24;
}

.prop-stat {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    letter-spacing: .075em;
    color: var(--white-text);
    font-style: italic;
    padding: 10px 20px;
    background: var(--primary);
    z-index: 5;
}

.prop-info {
    margin-top: 25px;
    color: var(--primary);
}

.prop-info > span {
    display: block;
}

.prop-price {
    font-size: 22px;
    letter-spacing: .1em;
}

.prop-address {
    font-size: 18px;
    letter-spacing: .025em;
    line-height: 1;
    padding: 10px 0 15px;
    font-style: italic;
    color: #999;
}

.prop-beds {
    display: flex;
    padding-top: 12px;
    font-size: 12px;
    letter-spacing: .05em;
    position: relative;
}

.prop-beds:before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    background: #dee3e7;
    max-width: 365px;
}

.prop-beds > span {
    padding: 5px min(1.125vw, 18px);
    border-left: 1px solid #dee3e7;
}

.prop-beds > span:first-of-type {
    padding-left: 0;
    border: 0;
}

.prop-beds > span:last-of-type {
    padding-right: 0;
}

.prop-beds span span {
    color: #999;
}

.props-list {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: center;
    margin: 80px -10px 0;
}

.props-list .prop-address {
    font-style: normal;
}

.props-navs {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    margin: 50px 0 0;
}

.props-navs .props-arrow {}

.props-navs .props-arrow a {
    font-size: 13px;
    color: #999;
}

.props-navs .props-arrow a:hover {
    color: var(--primary);
}

.props-navs .props-pagination {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    margin: 0 15px;
}

.props-navs .props-pagination a {
    pointer-events: auto;
    border: 2px solid var(--primary);
    color: var(--primary);
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    width: 41px;
    height: 41px;
    font-size: 18px;
    margin-left: 10px;
    border-radius: 25px;
    background: rgba(0, 0, 0, 0);
    transition: all ease 4s;
    -moz-transition: all ease 4s;
    -webkit-transition: all ease 4s;
}

.props-navs .props-pagination a:first-child {
    margin: 0 0 0;
}

.props-navs .props-pagination a.active {
    background: var(--primary);
    color: #fff;
    pointer-events: none;
}

.props-navs .props-pagination a:hover {
    background: var(--primary);
    color: #fff;
}

/***Custom Blog Template***/
/** Single Default Layout (Post Content) */
#content .entry-thumbnail {
    position: relative;
    margin-bottom: 50px;
}

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

/** End of Single Default Layout (Post Content) */
/** Archive Default Layout (Archive Page) */
#content .archive-list {
    position: relative;
    display: flex;
    flex-flow: row wrap;
}

#content .archive-list:before,
#content .archive-list:after {
    display: none;
}

#content .archive-list > article {
    float: none;
}

#content .archive-list .post {
    border-bottom: none;
}

#content .archive-list .archive-thumbnail,
#content .archive-list .archive-content {
    width: 100%;
}

#content .archive-list .archive-thumbnail a {
    display: block;
    outline: none;
}

#content .archive-list .archive-thumbnail canvas {
    display: block;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#content .archive-list .article-long .archive-thumbnail {
    width: 60%;
}

#content .archive-list .article-long .archive-has-thumbnail {
    width: 37%;
    margin-left: 3%;
}

#content .archive-list .article-long .archive-has-thumbnail .archive-subtitle {
    margin-top: 0;
    font-size: 32px;
}

#content .archive-list .article-long p {
    font-size: 22px;
}

#content .archive-more {
    font-style: normal;
    text-decoration: none;
}

/** End of Archive Default Layout (Archive Page) */
/** Button */
.archive a.btn-a,
.archive .btn-a {
    display: inline-block;
    vertical-align: top;
    max-width: 100%;
    width: 338px;
    padding: 26px 0 23px;
    font-size: 13px;
    letter-spacing: .46em;
    color: #022349;
    font-family: 'Source Serif Pro', serif;
    text-transform: uppercase;
    border: 1px solid #022349;
    background: transparent;
    text-align: center;
    -webkit-transition: background .3s, color .3s, border .3s;
    -o-transition: background .3s, color .3s, border .3s;
    transition: background .3s, color .3s, border .3s;
}

.archive a.btn-a:hover,
.archive .btn-a:hover {
    background: #022349;
    border-color: #022349;
    color: #fff;
}

/** End of Button */
/***End Custom Blog Template***/
/***Off Canvas***/
.off-canvas-trigger {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: flex-end;
    width: 55px;
    min-width: 55px;
    height: 55px;
    min-height: 55px;
    cursor: pointer;
    position: relative;
    padding-right: 17px;
    background: #fff;
    border-radius: 50%;
}

.off-canvas-trigger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    margin: 0 0 6px;
}

.off-canvas-trigger span:last-child {
    margin: 0;
    width: 12px;
}

.off-canvas-trigger:hover span:last-child {
    width: 24px;
}

.off-canvas-trigger:hover span:first-child {
    width: 12px;
}

.off-canvas-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1001;
    visibility: hidden;
    pointer-events: none;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.off-canvas-wrapper.off-canvas-open {
    visibility: visible;
    pointer-events: auto;
}

.off-canvas-wrapper::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #000;
    opacity: 0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.off-canvas-wrapper.off-canvas-open::before {
    opacity: 0.5;
}

.off-canvas {
    overflow: hidden;
    overflow-y: auto;
    width: 100%;
    max-width: 590px;
    height: 100%;
    visibility: hidden;
    pointer-events: none;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    position: relative;
    margin: 0 0 0 auto;
    opacity: 0;
}

.off-canvas-wrapper.off-canvas-open .off-canvas {
    visibility: visible;
    pointer-events: auto;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
}

.off-canvas-inner {
    position: relative;
    padding: 45px 60px 54px;
    background: #fff;
    min-height: 100vh;
}

.off-canvas-close {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 70px;
    right: 60px;
    z-index: 10;
    cursor: pointer;
    color: #022349;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.off-canvas-close i {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    color: #022349;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    margin-left: 15px;
}

.off-canvas-close:hover i,
.off-canvas-close:hover {
    color: #000;
}

.off-canvas-content {
    display: flex;
    flex-flow: column;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.off-canvas-navigation {
    margin: 40px 0 34px 0;
}

.off-canvas-navigation .menu {
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    /*    max-height: 466px;*/
    padding: 44px 0 0;
}

.off-canvas-navigation .menu > li {
    margin: 0 0 40px;
    position: relative;
}

.off-canvas-navigation .menu li:after {
    width: 100vw;
    content: '';
    height: 1px;
    background: #e9e9e9;
    top: calc(100% + 20px);
    position: absolute;
    left: -100%;
}

.off-canvas-navigation .menu > li:last-child {
    margin: 0;
}

.off-canvas-navigation .menu > li > a {
    display: block;
    font-family: var(--font-family-title);
    font-size: 12pt;
    font-weight: 400;
    letter-spacing: .05em;
    ;
    color: #000;
    text-transform: uppercase;
}

.off-canvas-navigation .menu > li:hover > a {
    /*color: var(--tertiary-color-hex);*/
    color: #999;
}

.off-canvas-navigation .menu > li > .sub-menu {
    padding: 10px 0 0;
    /*  display: none;*/
}

.off-canvas-navigation .menu > li > .sub-menu > li {}

.off-canvas-navigation .menu > li > .sub-menu > li:not(:last-child) {
    margin: 0 0 8px;
}

.off-canvas-navigation .menu > li > .sub-menu > li > a {
    display: block;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: #000;
    text-transform: uppercase;
}

.off-canvas-navigation .menu > li > .sub-menu > li:hover > a {
    color: var(--tertiary-color-hex);
}

.off-canvas-contact-smis {}

.off-canvas-smis {
    margin: 42px 0 0;
}

.off-canvas-smis-inner {
    justify-content: flex-end;
}

.off-canvas-smis-inner a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 16px;
    transition: var(--animate);
}

.off-canvas-smis-inner a:not(:first-child) {
    margin: 0 0 0 12px;
}

.off-canvas-smis-inner a:hover,
.f-smi-wrap a:focus {
    background: var(--primary);
    color: var(--white-text) !important;
}

body.off-canvas-open {
    overflow: hidden;
}

/***End Off Canvas

/***Global IP Listings End***/

/* MEDIA QUERIES ARE AUTOMATICALLY REMOVED FROM THIS FILE, they must be placed in style-media-queries.css */

.single-aios-rm-financing #content .aios-roadmaps-default-wrapper .aios-roadmaps-theme-1-headings div {
    width: calc(100% / 4);
}

.post-page-the-noble #content .entry .center {
    display: block;
    text-align: center;
    list-style-position: inside;
    margin-left: 0;
}

.off-canvas-only {
    display: none !important;
}

.off-canvas-navigation .off-canvas-only {
    display: block !important;
}

nav.navigation {
    margin-left: 30px;
    margin-right: 30px;
}

#agents-single .agents-img img,
#agents-results .agents-list .agents-box-col > .agents-box > div .agent-image-photo img {
    object-fit: contain !important;
}

.ip-banner h1 {
    font-family: var(--font-family-title);
    font-size: 50px;
    color: #fff;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: .09em;
}

.post-page-who-you-work-with-matters #content .entry-title {
    display: none;
}

.post-page-who-you-work-with-matters #content .entry .center {
    text-align: center;
}

.post-page-who-you-work-with-matters #content .entry h3 {
    font-size: 27px;
    margin-top: 0;
}

.bottom-bar {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
}

.arrows,
.button-holder {
    display: flex;
    margin-bottom: 30px;
}

.btnPrev,
.btnNext {
    border: 1px solid var(--primary);
    color: #000;
    padding: 5px;
    border-radius: 50px;
    font-size: 15px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    flex-flow: row;
    margin-right: 20px;
    height: 50px;
    width: 50px;
    display: flex;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.btnNext {
    margin-right: 0;
}

.btnPrev:hover,
.btnNext:hover {
    border: 1px solid var(--primary);
    background: var(--primary);
    color: var(--white-text);
}

/***IP Custom Banner***/
.ip-com-head {
    position: absolute;
    top: -133px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1170px;
    padding: 0 15px;
    margin: 0 auto;
}

.ip-com-head .section-title :is(h1, h2) {
    color: #fff;
    letter-spacing: 3.3px;
    line-height: 1.3;
}

.ip-com-head .section-title .sub-title span {
    background: transparent;
    color: #fff;
    font-size: 18px;
    letter-spacing: 0.7px;
    margin-right: -65px;
}

.ip-com-head .section-title .sub-title:before {
    width: 133px;
    top: 59%;
}

.video-frame canvas {
    display: block;
    width: 100%;
    height: auto;
}

.video-frame img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-position: center;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.video-frame.active img {
    display: none;
}

.video-frame.active iframe {
    opacity: 1;
    display: block;
}

/***IP Custom Banner End***/
body.page-id-18 p#breadcrumbs,
body.page-id-22 p#breadcrumbs {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

body.page-id-18 p#breadcrumbs {
    width: calc((100vw - 215px));
    padding: 0;
}

body.page-id-18 #ai-modern-contact .ai-modern-contact-photo canvas {
    max-width: 100%;
}

body.page-id-22 #ai-modern-about .ai-modern-about-entry {
    padding: 0;
}

body.page-id-22 #ai-modern-about {
    margin-top: 0;
}

body #ai-modern-about .wpcf7 form .wpcf7-response-output {
    line-height: 1;
    font-size: 12px;
    color: #fff !important;
    padding: 3px !important;
}

body #ai-modern-about .ai-template-form .wpcf7-not-valid-tip {
    width: auto;
    font-size: 12px;
    max-width: 100%;
    top: 20%;
    line-height: 1;
    padding: 5px;
}

body #ai-modern-about .wpcf7-form-control-wrap {
    display: block;
}

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

body #agents-results .agents-list .agents-box-col > .agents-box > div .agent-image-photo .agent-box-hover .agent-box-hover-info > div a:hover {
    color: #a3a3a3;
}

body #agents-results .agents-list .agents-box-col > .agents-box > div .agent-image-photo .agent-box-hover .agent-box-hover-info > div a {
    color: inherit;
    -webkit-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

body #agents-results .agents-list .agents-box .agent-box-hover > .agent-box-hover-info span {
    margin-right: 10px;
}

.ihf-board-disclaimer-text {
    font-style: normal;
    line-height: normal;
}

.ihf-link-back {
    font-size: 18px;
    margin-top: 20px;
}

.page-id-638 p#breadcrumbs,
.page-id-615 p#breadcrumbs {
    margin-left: 100px;
}

.ip-banner[data-id="53"] canvas,
.ip-banner[data-id="112"] canvas,
.ip-banner[data-id="114"] canvas,
.ip-banner[data-id="52"] canvas,
.ip-banner[data-id="110"] canvas,
.ip-banner[data-id="48"] canvas {
    background-color: #002f5b;
    background-image: none !important;
}

body #ai-modern-about .ai-modern-about-photo canvas {
    background-position: center center;
}

body #ai-modern-about .ai-modern-about-photo:after {
    opacity: 0;
}

body.category-51 .ip-banner canvas {
    background-position: center 18%;
    aspect-ratio: 1600/540;
}

body.post-page-about .ip-banner canvas {
    background-position: center top;
    aspect-ratio: 1600/580;
}

body.page-id-143 .ip-banner canvas {
    background-position: center 6%;
    aspect-ratio: 1600/530;
}


/*body.post-183 .ip-banner::before{
    background: #002566;
}*/
body.postid-183 .ip-banner canvas {
    aspect-ratio: 1600/400;
    background-position: center top;
}

body.page-id-195 .ip-banner canvas {
    aspect-ratio: 2000/1070;
    min-height: 0;
}

body #ai-modern-contact .ai-modern-contact-map iframe {
    filter: unset;
}

.community-main .props-list {
    clear: both;
}

#menu-main .sub-menu.show-menu {
    display: block;
    opacity: 1;
}

#agents-results .agents-list .agents-box-row:nth-of-type(even) {
    width: 100%;
    background-color: var(--aios-agents-primary-color);
}

#agents-results .agents-list .agents-box-row:nth-of-type(even) .agents-box-col > .agents-box > div .agent-information .agent-name,
#agents-results .agents-list .agents-box-row:nth-of-type(even) .agents-box-col > .agents-box > div .agent-information .agent-position {
    color: #fff;
}

body:not(.home) .header {
    background: #002b5c;
    padding: 0px 15px;
}

.ip-banner {
    display: none !important;
}


#inner-page-wrapper {
    margin-top: 160px;
}

.ser-bttn {
    display: block;
}


.page-id-631 .props-banner-title h1 br,
.page-id-632 .props-banner-title h1 br {
    display: none;
}

.page-id-631 .props-banner-inner,
.page-id-632 .props-banner-inner {
    width: 100%;
    padding-top: 35px;
}

.page-id-631 .props-banner-title,
.page-id-632 .props-banner-title {
    width: 100%;
    display: block;
    max-width: 100%;
}

.page-id-631 .props-banner-title h1,
.page-id-632 .props-banner-title h1 {
    display: block;
    width: 100%;
}

body.admin-bar.page-id-631 #inner-page-wrapper,
body.admin-bar.page-id-632 #inner-page-wrapper {
    margin-top: 50px;
}

.page-id-631 #inner-page-wrapper,
.page-id-632 #inner-page-wrapper {
    margin-top: 82px;
}

.ser-bttn a {
    text-transform: uppercase;
    font-size: 18px;
}

.page-template-video-page #content ul.slick-dots li {
    display: inline-block;
}

.page-template-video-page #content ul.slick-dots li button {
    transition: var(--default-transition);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    letter-spacing: 0.01em;
    font-weight: 500;
    white-space: nowrap;
    width: 100%;
    font-family: var(--font-family-title);
    border: 2px solid #001a47;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    margin: 0 8px;
}

.page-template-video-page #content .slick-dots {
    margin-top: 45px;
}

.ai-modern-contact-form-container .wpcf7-spinner {
    top: -10px;
    right: 5px;
    margin: 0;
}

body #agents-single .agents-smi li a {
    color: #fff;
    border: 1px solid var(--aios-agents-primary-color);
}

body #agents-single .agents-smi li a:hover {
    background: #fff;
    color: var(--aios-agents-primary-color);
}

body.page-template-communities .ip-com-head {
    display: none;
}

body.page-template-communities p#breadcrumbs {
    max-width: 1332px;
    margin-left: auto;
    margin-right: auto;
}

body .aiosp-wrap .aiosp-ref-\#agents-popup-form input[type=submit]:hover {
    color: var(--secondary);
}