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

/*

TABLE OF CONTENTS

1. Custom CSS
2. IP styles
3. MEDIA QUERIES ARE AUTOMATICALLY REMOVED FROM THIS FILE, they must be placed in style-media-queries.css

*/


/*******************************************************
 *
 * 1. Navigation
 *
 *******************************************************/


/* Sub Menu */
#nav li {
    position:relative;
    display: inline-block;
}

#nav .sub-menu {
    background: transparent;
    display: block;
    opacity: 0;
    visibility: hidden;
    margin-top: 20px;
    width: max-content;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 6px;
    position: absolute;
    min-width: 180px;
    list-style: none outside none;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}
#nav .sub-menu a {
    color: #FFFFFF;
    display: block;
    padding: 10px;
}
#nav .sub-menu a:hover {
    background: none repeat scroll 0 0 #b2b2b2;
    color: #000000;
    text-decoration: none;
}
#nav .sub-menu .sub-menu {
    margin-left: 100%;
 	top:0;
}
#nav li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}
#nav .sub-menu li {
    position: relative;
}


/*******************************************************
 *
 * 2. Custom CSS
 *
 *******************************************************/

/* Global */

body{
	font-family: 'Poppins', Helvetica, Georgia, Sans-serif;
	font-size: 14px;
	background: #FFF;
	color: #000000;
	margin: 0;

    /* Remove the comment from line 85 to 86 if the font issue in safari occurs */
    /* -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; */
}

a:hover, a:focus {
    color: #bfbfbf;
}

.full-container {
    position: relative;
    z-index: 10;
    width: 100%;
}

.outer-container {
    max-width: 1470px;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.inner-container {
    max-width: 1170px;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

#main-wrapper {
    overflow: hidden;
}

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

.section-title .small {
    font-size: 25px;
    color: #848484;
    font-weight: 500;
    display: block;
    letter-spacing: 0.1em;
    margin-bottom: -2px;
    line-height: 1;
}

.section-title h2 {
    font-size: 65px !important;
    color: #941b1f;
    font-family: 'Cormorant Garamond';
    font-weight: 400 !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.hp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 46px;
    border: 1px solid #808080;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.1em;
    color: #000000;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.hp-btn:hover {
    background: #941b1f;
    color: #fff;
}

/* Mobile Logo */
.mobile-logo {
    background: #941b1f;
    text-align: center;
    padding: 25px;
    display: none;
}

.mobile-logo a {
    max-width: 410px;
    display: block;
    margin: 0 auto;
    font-size: 0;
}

.mobile-logo img {
    width: 100%;
}

/* Header */
#main-header {
    padding: 40px 0;
    position: fixed;
    z-index: 1000;
    width: 100%;
    background: transparent;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-logo {
    max-width: 410px;
    width: 30%;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.main-logo a {
    display: block;
    font-size: 0;
}

.main-logo img {
    width: 100%;
}

.main-navigation {
    margin-left: 20px;
}

#nav {
    display: flex;
    align-items: center;
}

#nav > li {
    margin-left: 35px;
    white-space: nowrap;
}

#nav > li:first-child {
    margin-left: 0;
}

#nav > li > a {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.075em;
    color: #fff;
    padding: 10px 0;
    position: relative;
    display: block;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

#nav > li.red-box > a {
    background: #941b1f;
    padding: 7.5px 30px;
}

#nav > li.red-box {
    margin-left: 25px;
}

#nav > li > a:after {
    width: 0;
    height: 3px;
    content: '';
    background: #fff;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    position: absolute;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

#nav > li:hover > a:after {
    width: 100%;
}

#nav .sub-menu li {
    display: block;
    margin-top: 1px;
    text-align: center;
}

#nav .sub-menu li a {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.075em;
    color: #ffffff;
    background: rgba(148,27,31,0.85);
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    padding: 8px 13px;
    display: block;
}

#nav .sub-menu li a:hover {
    color: #fff;
    background: #941b1f;
}

#nav > li.red-box > a:after {
    display: none;
}

#nav > li.red-box:hover > a {
    background: rgba(148,27,31,0.85);
}

#main-header.active {
    padding: 23px 0;
    background: rgba(0,0,0,0.85);
}

#main-header.active .main-logo {
    max-width: 296px;
}

#main-header.active #nav .sub-menu {
    padding-top: 25px;
}

/* Get In Touch */
.git-btn {
    width: 188px;
    height: 41px;
    background: #941b1f;
    text-align: center;
    border-right: 7px solid #d31245;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    position: fixed;
    transform: rotate(-90deg) translateZ(0);
    z-index: 900;
    top: 50%;
    cursor: pointer;
    left: -74px;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.git-btn:hover {
    background: #d31245;
    color: #fff;
}

.home .aiosp-wrap .aiosp-container .aios-popup-body {
    background: rgba(148,27,31,0.85);
    padding: 50px 10px 60px;
    box-shadow: 0 0 8px 3px rgb(0 0 0 / 40%);
}

.home .aiosp-content {
    max-width: 795px;
}

.home .aiosp-bg.aiosp-ready {
    background: rgba(225,220,215,0.5);
}

.home .aiosp-content .wpcf7-response-output {
    padding: 5px;
    margin: 10px auto 0;
    position: absolute;
    width: 100%;
}

.git-box {
    position: relative;
}

.gp-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.git-title {
    margin-bottom: 10px;
}

.git-title h2 {
    font-size: 45px;
    font-family: 'Cormorant Garamond';
    text-transform: uppercase;
}

.git-content {
    margin-bottom: 20px;
}

.git-content p {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    line-height: 2.1;
    letter-spacing: 0.2em;
    text-align: center;
    text-transform: uppercase;
}

.git-form {
    width: 100%;
}

.git-form textarea {
    width: 100%;
    border: none;
    background: #fff;
    color: #2b262b;
    padding: 20px;
    max-height: 122px;
    min-height: 122px;
    letter-spacing: 0.05em;
    outline: 0;
    font-size: 14px;
}

.git-message {
    font-size: 0;
    margin-bottom: 10px;
}

.git-form input {
    width: 100%;
    border: none;
    background: #fff;
    color: #2b262b;
    padding: 10px 20px;
    letter-spacing: 0.05em;
    outline: 0;
    font-size: 14px;
    height: 62px;
}

.git-form input[type="submit"] {
    background: transparent;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.2em;
    border: 2px solid #fff;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.git-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.git-send {
    margin-left: 10px;
    position: relative;
    min-width: 212px;
}

.git-send .ajax-loader {
    position: absolute;
}

.git-email {
    width: 75%;
}

.git-form input[type="submit"]:hover {
    background: #941b1f;
    border-color: #941b1f;
}

.git-bottom {
    margin-top: 50px;
}

.git-bottom p {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    line-height: 2.1;
    letter-spacing: 0.2em;
    text-align: center;
    text-transform: uppercase;
}

.git-bottom p a {
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.git-bottom p a:hover {
    color: #bfbfbf;
}

.home .aios-popup-body .aiosp-close {
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 1 !important;
    color: #fff;
    font-size: 55px;
    font-family: 'Poppins';
    font-weight: 200;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.home .aios-popup-body .aiosp-close:hover {
    opacity: 0.7 !important;
}

/* Quick Search */
#main-slideshow {
    position: relative;

}

.slideshow-container {
    position: relative;

}

.slideshow-container:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: rgba(0,0,0,0.15);
}

.main-qs {
    position: absolute;
    width: 100%;
    bottom: -33px;
    z-index: 15;
}

#qs-form {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#qs-form .bootstrap-select.btn-group .dropdown-menu {
    max-height: 211px !important;
}

#qs-form label {
    display: none;
}
#qs-form button.btn.dropdown-toggle.btn-default {
    background: #fff url(images/city.png) no-repeat left 22px center;
    width: 100%;
    height: 70px;
    outline: 0;
    /*background: #fff;*/
    border: 1px solid #dddddd;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    padding-left: 48px;
    padding-right: 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #848484;
    border-radius: 0;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

#qs-form select {
    width: 100%;
    height: 70px;
    outline: 0;
    background: #fff;
    border: 1px solid #dddddd;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    padding-left: 48px;
    padding-right: 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #848484;
}

.qs-submit input {
    width: 100%;
    height: 70px;
    background: #941b1f url(images/magnify.png) no-repeat center center;
    border: none;
    font-size: 0;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.qs-submit {
    min-width: 89px;
}

.qs-submit input:hover {
    background: #d31245 url(images/magnify.png) no-repeat center center;
}

#qs-form > .p-type {
    max-width: 230px;
    width: 21%;
}

#qs-form > div {
    margin-left: -1px;
}

#qs-form > .p-type select {
    background: #fff url(images/ptype.png) no-repeat left 20px center;
}

#qs-form > .city {max-width: 220px;width: 20%;}

#qs-form > .city select {
    background: #fff url(images/city.png) no-repeat left 22px center;
}

#qs-form > .beds {
    max-width: 146px;
    width: 13%;
}

#qs-form > .beds select {
    background: #fff url(images/bed.png) no-repeat left 19px center;
}

#qs-form > .baths {
    max-width: 162px;
    width: 15%;
}

#qs-form > .baths select {
    background: #FFF url(images/bath.png) no-repeat left 20px center;
}

#qs-form > .min-price, #qs-form > .max-price {
    max-width: 150px;
    width: 14%;
}

#qs-form > .min-price select, #qs-form > .max-price select {
    background: #FFF url(images/price.png) no-repeat left 20px center;
}

/* Featured Listings */
.main-fl {
    padding: 220px 0 70px;
    position: relative;
}

.main-fl .outer-container {
    max-width: 1490px;
    padding: 0 30px;
}

.fl-tbg {
    width: 100%;
    height: 835px;
    position: absolute;
    left: 0;
    top: 0;
    background: url(images/fl-bg.jpg) no-repeat center center/ cover;
    z-index: 0;
}

.main-fl:before {
    content: '';
    position: absolute;
    right: 0;
    top: 106px;
    height: 229px;
    max-width: 672px;
    width: 42%;
    background: url(images/fl-logo.png) no-repeat center center/ contain;
    z-index: 1;
}

.fl-title {
    max-width: 595px;
    margin: 0 0 0 auto;
    position: relative;
    z-index: 15;
    width: 41.6%;
}

.fl-title .section-title .small {
    font-size: 37px;
    margin-bottom: 5px;
}

.fl-title .section-title h2 {
    font-size: 98px !important;
    font-weight: 500 !important;
    padding-left: 75px;
}

.fl-btn {
    margin-top: 20px;
    max-width: 184px;
    margin-left: 16px;
}

.fl-wrap {
    margin-top: -22.22%;
}

.fl-item-wrap {
    position: relative;
    width: 100%;
    z-index: 1;
    pointer-events: none;
}

.fl-item {
    display: block;
    position: relative;
    width: 100%;
    max-width: 603px;
    width: 42.16%;
    pointer-events: auto;
}

.fl-img {
    font-size: 0;
    position: relative;
}

.fl-img canvas {
    width: 100%;
    display: block;
    background: #000;
}

.fl-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.fl-img:after {
    background: url(images/fl-overlay.png) no-repeat bottom center/ cover;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.fl-item:hover .fl-img img {
    opacity: 0.42;
}

.fl-desc-wrap {
    position: absolute;
    left: -114px;
    bottom: 50%;
    max-width: 304px;
    border: 4px solid rgba(255,255,255,0.93);
    background: rgba(148,27,31,0.93);
    color: #fff;
    left: 0;
    padding: 5px 0 5px 22px;
    transform: translateY(50%);
    width: 100%;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    height: 40%;
    max-height: 150px;
    display: flex;
    align-items: center;
    width: 50.4%;
}

.fl-desc {
    width: 100%;
    line-height: 1;
}

.fl-desc .price {
    display: block;
    margin-bottom: 25px;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding-left: 10px;
    padding-top: 5px;
}

.fl-desc .address {
    padding: 4px 8px;
    border-left: 3px solid #c91641;
}

.fl-desc .address .line1 {
    display: block;
    font-size: 21px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.fl-desc .address .line2 {
    display: block;
    font-size: 12.5px;
    margin-top: 5px;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.view-details {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
    max-width: max-content;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    margin-left: 5px;
}

.view-details:after {
    background: #fff;
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    bottom: -3px;
    content: '';
}

.fl-item:hover .view-details {
    opacity: 1;
    max-height: 18px;
    visibility: visible;
    margin-top: 20px;
}

.fl-item:hover .fl-desc-wrap {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    border: 4px solid rgba(255,255,255,0.76);
    background: rgba(148,27,31,0.76);
    left: 0 !important;
    bottom: 50% !important;
    transform: translateY(50%) !important;
    top: unset !important;
    right: unset !important;
    padding-bottom: 55px;
    height: 100%;
}

.fl-item-wrap.fl-item1 .fl-item {
    margin-left: 8.18%;
}

.fl-item1 .fl-desc-wrap {
    left: -20.2%;
}

.fl-item-wrap.fl-item2 {
    margin-top: -22px;
}

.fl-item-wrap.fl-item1 {
    z-index: 2;
}

.fl-item-wrap.fl-item2 .fl-desc-wrap {
    top: unset;
    transform: unset;
    bottom: -37px;
    left: 37px;
}

.fl-item-wrap.fl-item3 {
    margin-top: -23.34%;
}

.fl-item-wrap.fl-item3 .fl-item {
    margin: 0 0 0 auto;
    margin-right: 2.95%;
}

.fl-item-wrap.fl-item3 .fl-desc-wrap {
    left: -20.2%;
}

.fl-item-wrap.fl-item4 {
    margin-top: 2px;
}

.fl-item-wrap.fl-item4 .fl-desc-wrap {
    bottom: -38px;
    transform: unset;
    left: -9.78%;
}

.fl-item-wrap.fl-item5 {
    margin-top: -22.14%;
}

.fl-item-wrap.fl-item5 .fl-item {
    margin:  0 0 0 auto;
}

.fl-item-wrap.fl-item5 .fl-item {
    margin-right: 5.3%;
}

.fl-item-wrap.fl-item5 .fl-desc-wrap {
    left: 58%;
}

.fl-item-wrap.fl-item2 .fl-item {
    margin-left: 12px;
}

.fl-item-wrap.fl-item4 .fl-item {
    margin-left: 8.18%;
}

/* About */
#main-about {
    padding: 75px 0;
}

.about-flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.about-left {
    max-width: 458px;
    width: 41%;
}

.agent-photo {
    font-size: 0;
}

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

.about-right {
    margin-left: 30px;
    max-width: 617px;
    width: 55%;
}

.about-title {
    margin-bottom: 10px;
}

.about-content {
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 25px;
    color: #3b3b3b;
}

.about-btn {
    max-width: 184px;
}

/* Meet The Team */
#main-mtt {
    padding: 70px 0 210px;
}

#main-mtt .outer-container {
    max-width: 1281px;
}

.mtt-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.mtt-left {
    max-width: 90px;
    position: relative;
    margin-right: 30px;
    width: 10%;
}

.mtt-title {
    position: absolute;
    top: -70px;
    width: max-content;
    transform: rotate(-90deg);
    left: -115px;
}

.mtt-right {
    max-width: 1116px;
    width: 90%;
}

.mtt-slider-wrap {
    position: relative;
    width: 100%;
}

.mtt-item-wrap {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    /* max-width: 276px; */
    margin: 0 auto;
}

.mtt-item {
    position: relative;
    display: block;
    outline: 0 !important;
}

.mtt-img {
    font-size: 0;
    position: relative;
    width: 100%;
}

.mtt-slider .slick-slide {
    margin: 0 2px;
    text-align: center;
}

.mtt-img canvas {
    width: 100%;
    display: block;
}

.mtt-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center;
}

.mtt-img:before {
    z-index: 2;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.mtt-item:hover .mtt-img:before {
    opacity: 1;
}

.mtt-desc {
    text-align: center;
    padding-top: 10px;
}

.mtt-desc h3 {
    text-transform: uppercase;
    font-size: 23px;
    font-weight: 500;
    color: #6f6f6f;
}

.mtt-desc span {
    display: block;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #bfbfbf;
    margin-top: 5px;
}

.mtt-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mtt-buttons button {
    width: 43px;
    height: 43px;
    border: none;
    font-size: 16px;
    padding: 0;
    margin: 0;
    z-index: 10;
    
    color: #000;
    background: rgba(255,255,255,0.5);
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.mtt-buttons button:hover {
    background: #fff;
    color: #7c7c7c;
}

.mtt-buttons button.prev-slick {
    left: 10px
}

.mtt-buttons button.next-slick {
    right: 10px
}

/* Testimonials */
#main-testimonials {
    padding: 70px 0 90px;
    position: relative;
}

.testi-rbg {
    width: 67.625%;
    height: 508px;
    position: absolute;
    right: 0;
    top: 0;
    background: url(images/testi-rbg.jpg) no-repeat center center/ cover;
}

.testi-rbg:before {
    content: '';
    background: rgba(255,255,255,0.93);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.testi-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.testi-left {
    max-width: 562px;
    position: absolute;
    left: 0;
    top: -165px;
    width: 39%;
}

.testi-right {
    max-width: 946px;
    position: relative;
    z-index: 10;
    width: 66%;
}

.testi-img {
    width: 100%;
    font-size: 0;
}

.testi-img img {
    width: 100%;
}

.testi-title {
    margin-bottom: 35px;
    display: flex;
    justify-content: flex-end;
    padding-right: 40px;
}

.testi-box {
    padding: 80px 30px 65px;
    text-align: center;
    background: #941b1f url(images/testi-bg.png) no-repeat right center/ cover;
    color: #fff;
}

.testi-slider-wrap {
    width: 100%;
    position: relative;
}

.testi-slider {
    max-width: 730px;
    margin: 0 auto;
    width: 85%;
}

.testi-item {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
}

.testi-item p {
    font-size: 15px;
    line-height: 25px;
    letter-spacing: 0.05em;
}

.testi-item .author {
    display: block;
    margin-top: 20px;
    font-size: 15px;
    letter-spacing: 0.05em;
    font-weight: 500;
    display: none;
}

.testi-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testi-buttons button {
    background: transparent;
    border: none;
    padding: 0;
    font-size: 16px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.testi-buttons button.prev-slick {
    left: 0;
}

.testi-buttons button.next-slick {
    right: 0;
}

.testi-buttons button:hover {
    opacity: 0.7;
}

.testi-btn {
    max-width: 184px;
    margin: 45px auto 0;
}

.testi-btn .hp-btn {
    color: #fff;
    border-color: #fff;
}

.testi-btn .hp-btn:hover {
    background: #fff;
    color: #941b1f;
}

/* Contact */
#main-contact {
    position: relative;
    padding: 80px 0 90px;
    background: url(images/cu-bg-new.jpg) no-repeat center center/ cover;
}

.contact-flex {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.contact-box {
    max-width: 756px;
    width: 53%;
    text-align: center;
    padding: 65px 20px 60px;
    background: rgba(148,27,31,0.97);
    background: linear-gradient(134deg, rgba(148,27,31,0.97) 0%, rgba(36,31,35,0.97) 100%);
}

.cb-inner {
    max-width: 484px;
    margin: 0 auto;
    width: 85%;
}

.contact-title {
    margin-bottom: 40px;
}

.contact-title .section-title .small {
    color: #fff;
}

.contact-title .section-title h2 {
    color: #fff;
}

.contact-content {
    margin-bottom: 40px;
}

.contact-content p {
    font-size: 12px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    line-height: 1.3;
}

.cb-form {
    width: 100%;
    position: relative;
}

.cb-form input {
    width: 100%;
    padding: 17px 0;
    border: none;
    border-bottom: 2px solid #c29697;
    text-transform: uppercase;
    background: transparent;
    outline: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.cb-form textarea {
    width: 100%;
    padding: 17px 0;
    border: none;
    border-bottom: 2px solid #c29697;
    text-transform: uppercase;
    background: transparent;
    outline: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.1em;
    min-height: 100px;
    max-height: 100px;
}

.cb-form input[type="submit"] {
    width: 100%;
    height: 47px;
    border: 1px solid #fff;
    font-size: 13px;
    color: #fff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.cb-form input[type="submit"]:hover {
    background: #941b1f;
    color: #fff;
    border-color: #941b1f;
}

.cb-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.cb-flex > div {
    width: 50%;
}

.cb-flex > .cb-phone {
    margin-left: 17px;
}

.cb-name {
    margin-bottom: 15px;
}

.cb-message {
    margin-bottom: 40px;
}

.cb-send {
    position: relative;
    max-width: 184px;
    margin: 0 auto;
}

.cb-send .ajax-loader {
    position: absolute;
}

.cb-box .wpcf7-response-output {
    padding: 10px;
    text-align: center;
    color: #fff;
    margin: 10px auto 0;
    position: absolute;
    width: 100%;
    font-size: 12px;
}

.cb-box {
    position: relative;
}

/* Footer */
#main-footer {
    padding: 85px 0 60px;
    background: url(images/footer-bg.jpg) no-repeat top center/ cover;
    position: relative;
    color: #fff;
}

#main-footer:before {
    background: rgba(148,27,31,0.9);
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.footer-top {
    padding-bottom: 70px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.ft-flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.ft-left {
    max-width: 458px;
    width: 41%;
}

.ft-left a {
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}
.footer-logo {
    margin-bottom: 40px;
}

.footer-logo a {
    display: block;
    font-size: 0;
}

.footer-logo img {
    width: 100%;
}

.footer-contact {
    margin-bottom: 30px;
}

.footer-contact h4 {
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.fc-contact {
    display: flex;
    align-items: center;
    font-size: 15px;
    letter-spacing: 0.025em;
    font-weight: 500;
    margin-bottom: 15px;
}

.fc-contact i {
    min-width: 26px;
    text-align: center;
    font-size: 21px;
    margin-right: 14px;
}

.fc-contact .ai-envelope-o {
    font-size: 18px;
}

.fc-contact .ai-font-location-c {
    font-size: 24px;
}

.fc-contact .ai-cellphone {
    font-size: 27px;
}

.fc-contact:last-child a {
    margin-right: 5px;
}

.footer-follow {
    width: 100%;
}

.footer-follow h4 {
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.footer-follow h4 a {
    text-transform: none;
}

.footer-smi {
    display: flex;
    align-items: center;
}

.footer-smi a {
    width: 35px;
    height: 35px;
    color: #fff;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50px;
    border: 1px solid #fff;
    margin-left: 10px;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.footer-smi a:first-child {
    margin-left: 0;
}

.footer-smi a:hover {
    background: #fff;
    color: #941b1f;
}

.ft-right {
    max-width: 555px;
    width: 49%;
}

.sc-box {
    padding: 75px 20px 45px;
    text-align: center;
    background: rgba(148,27,31,1);
    background: linear-gradient(134deg, rgba(148,27,31,1) 0%, rgba(36,31,35,1) 100%);
}

.sc-inner {
    max-width: 397px;
    margin: 0 auto;
}

.sc-title {
    margin-bottom: 15px;
}

.sc-title h3 {
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.sc-content {
    margin-bottom: 30px;
}

.sc-content p {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 25px;
    letter-spacing: 0.3em;
}

.sc-contact {
    margin-bottom: 50px;
    position: relative;
}

.sc-form {
    width: 100%;
}

.sc-form input {
    background: #fff;
    outline: 0;
    border: none;
    padding: 10px 20px;
    height: 48px;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5f5f5f;
    width: 100%;
}

.sc-form input[type="submit"] {
    background: #d31245;
    color: #fff;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.sc-form input[type="submit"]:hover {
    background: #941b1f;
}

.sc-flex {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.sc-send .ajax-loader {
    position: absolute;
}

.sc-send {
    min-width: 107px;
}

.sc-email {
    width: 100%;
}

.sc-contact .wpcf7-response-output {
    font-size: 11px;
    padding: 5px 10px;
    position: absolute;
    width: 100%;
    margin: 10px auto 0;
}

.sc-text {
    width: 100%;
}

.sc-text p {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.025em;
}

.sc-text p a {
    text-decoration: underline;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.footer-bottom {
    padding-top: 45px;
}

.fb-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0.025em;
}

.footer-copyright a {
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.footer-mls {
    font-size: 29px;
}

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

html body.pojo-a11y-focusable a:focus {
    outline-style: initial !important;
    outline-width: 1px !important;
    outline-color: #FF0000 !important;
}
/*******************************************************
 *
 * 3. IP Styles
 *
 *******************************************************/
.ip-banner{
    position: relative;
    width: 100%;
}
    .ip-banner::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
        background: rgba(0,0,0,.6);
    }
    .ip-banner canvas{
        display: block;
        position: relative;
        z-index: 0;
        width: 100%;
        min-height: 250px;
        background-color: #f9f7f7;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .ip-banner .container{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        z-index: 2;
    }
        .ip-banner h1 {
            font-weight: 700;
            font-size: 32px;
            text-align: center;
            color: #FFF;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            line-height: 1.7;
        }
            .ip-banner h1 span{
                display: block;
                font-size: 24px;
                font-weight: 400;
                text-transform: none;
                letter-spacing: 0.01em;
            }
/* Adjust minimum height of page area */
#content-sidebar, #content-full{ min-height: 500px; margin-top: 20px;}

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

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

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

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

/* Style .entry-title(post/page) and .archive-title(category/archive/etc) main headings (h1) */
#content .entry-title,
#content .archive-title {

}

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

}

.single-aios-agents #breadcrumbs,
.post-page-meet-the-team #breadcrumbs{
    margin-top: 20px !important;
}

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

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


#agents-results .agents-item {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    overflow: hidden;
}

#agents-results .agents-img {
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
    width: 350px;
}

#agents-results .agents-img canvas {
    display: block;
    width: 100%;
    transition: all 0.4s ease;
}

#agents-results .agents-img img{
    object-fit: cover;
    object-position: top center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    transition: all 0.4s ease;
}

/*
#agents-results .agents-img:hover img{
    transform: scale(1.1);
}
*/


#agents-results .agents-main {
    position: relative;
    flex-grow: 1;
    margin-left: 60px;
    display: flex;
    align-items: center;
    flex-flow: row wrap;
}

#agents-results .agents-name {
    width: 100%;
    font-size: 45px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    flex-flow: row wrap;
    margin-bottom: 18px;
    color: #000;
}

#agents-results .agents-name a {
    color: inherit;
    text-decoration: none;
    transition: all 0.4s ease;
}

/*
#agents-results .agents-name a:hover {
    color: #cbc07a;
}
*/

#agents-results .agents-name:after {
    content: "";
    display: none;
    width: auto;
    height: 10px;
    flex-grow: 1;
    background: #eee;
    margin-left: 45px;
}

#agents-results .agents-description {
    position: relative;
    width: 100%;
    margin: 18px 0;
    text-align: justify;
}

#agents-results .agents-description p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.67;
    letter-spacing: 0.05px;
}

.agents-position {
    display: block;
    text-transform: uppercase;
    font-size: 24px;
}

.post-page-new-developments .agents-results {
    padding-top: 50px;
}

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

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

.back-to-link {
    position: relative;
}

.back-to-link a {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
    padding: 5px 0;
    position: relative;
    margin-top: 75px;
    -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;
}

.back-to-link a:hover {
}
/** End of Single Default Layout (Post Content) */

/** Archive Default Layout (Archive Page) */
#content .archive-list {
    position: relative;
}

#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 {
    display: inline-block;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-style: normal;
    text-decoration: none;
    position: relative;
    -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;
}

#content .archive-more:after {
    content: '';
    position: absolute;
    left: calc(100% + 23px);
    top: calc(50% - 1px);
    background: #ded1c1;
    width: 0;
    height: 2px;
    pointer-events: none;
    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;
}

#content .archive-more:hover {
}

#content .archive-more:hover:after {
    width: 63px;
    opacity: 1;
}

#listings-results .listings-grid .listings-price::before {
    content: 'Starting at';
    position: absolute;
    bottom: 100%;
    font-size: 26px;
}

#listings-details .listings-price,
#listings-details .listings-extras > li > span,
#listings-details .listings-extras > li > strong,
#listings-details .listings-smi h2{
    color: #fff !important;
}

#listings-results .listings-grid .listings-col {
    padding: 15px;
}
#listings-results .listings-grid .listings-img {
    display: block;
}

div.buyers-holder{

    padding: 42px 42px 10px 42px;
}

.brows {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-top: 88px;
    position: relative;
}
.bcols {
    width: 50%;
    padding: 0px 30px;
}
.bcols strong {
    color: #941b1f;
}

.brows:After {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 2px;
    background: #ececec;
    left: 50%;
    transform: translateX(-50%);
}

div.buyer-holder{

    padding: 28px 42px 28px 42px;
}


span.listtitle {
    font-size: 18px;
    font-weight: bold;
}

/** End of Archive Default Layout (Archive Page) */

.page-id-151 #content .entry h2 {
    margin-bottom: 0 !important;
}

.page-id-151 #content .entry ul {
    margin-top: 0 !important;
}

.sc-form .wpcf7-spinner {
    position: absolute;
}

/* 404 */
.error-page-cf-wrap .wpcf7 form .wpcf7-response-output {
    text-align: center;
}

.error-page-cf-wrap .use-floating-validation-tip .wpcf7-not-valid-tip {
    position: absolute !important;
    /* display: inline-block !important; */
    top: 22px !important;
    font-size: 11px !important;
    width: auto !important;
}

.thumbnail-loader img {
    position: absolute !important;
    z-index: 3;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.ihf-printable-template #breadcrumbs{
    display: none;
}


ul#ihf-search-location-tabs,
#ihf_select_property_type_chosen ul {
    margin-left: 0px !important;
}


.main-qs .bootstrap-select.btn-group .dropdown-toggle .filter-option {
    overflow: hidden;
    text-overflow: ellipsis;
}

#git-popup .wpcf7-spinner {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#git-popup .use-floating-validation-tip .wpcf7-not-valid-tip {
    position: absolute;
    bottom: -30px;
    top: auto;
}

#git-popup .wpcf7-response-output {
    margin-top: 15px
}
body.ihf-results-template #content-full #breadcrumbs {
    max-width: 1140px !important;
    margin: auto;
}

.aios-roadmaps {
    justify-content: space-between
}

#main-slideshow .main-qs {
	position: absolute;
	z-index: 100;
}
