/* SIDE NAV */
#side-nav {
    position: fixed;
    top: 50%;
    z-index: 2;
    color: #fff;
    right: min(40px, 2.5vw);
    transform: translateY(-50%);
}

#side-nav .floating-icons {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

#side-nav .floating-icons a {
    height: 1em;
    line-height: 1;
    font-size: 1em;
    color: currentColor;
    display: inline-block;
    text-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.9);
}

#side-nav .floating-icons a:not(:last-child) {
    margin-bottom: 2.438em;
}

#side-nav .floating-icons a i {
    display: block;
}

#side-nav .floating-icons a i.ai-font-cellphone {
    font-size: 1.063em;
}

#side-nav .floating-icons a i.ai-font-envelope-f {
    font-size: 0.75em;
}

#side-nav .floating-icons a i.ai-font-facebook {
    font-size: 1.063em;
}

#side-nav .floating-icons a i.ai-font-google {
    font-size: 0.938em;
}

#side-nav .floating-icons a:hover,
#side-nav .floating-icons a:focus {
    color: var(--secondary);
}

/* SLIDESHOW */
.slideshow-wrap {
    position: relative;
}

.slideshow-slider {
    position: relative;
}

.slideshow-slider::before,
.slideshow-slider::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.slideshow-slider::before {
    z-index: 1;
    background: rgba(0, 0, 0, 0.1);
}

.slideshow-slider::after {
    opacity: 0.65;
    background: linear-gradient(0deg, rgb(0, 0, 0), transparent 55.875% 66.875%, rgba(0, 0, 0, 0.9));
}

.slideshow-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: 300ms ease;
}

.slideshow-slider .aios-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slideshow-slider > canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.slideshow-tagline {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc((103/800)*100%);
    color: #fff;
    z-index: 1;
}

.slideshow-tagline a {
    margin-top: 2.154em;
}

/* CALL TO ACTION */
.cta-wrap {
    color: #fff;
    display: flex;
    padding: min(50px, 3.125vw) 0;
}

.cta-card {
    width: 50%;
    display: block;
    position: relative;
    background: var(--primary);
}

.cta-card-photo img {
    opacity: 0.5;
}

.cta-card-text {
    line-height: 1;
    font-size: 2.25em;
    font-weight: 400;
    letter-spacing: 0.05em;
    font-family: var(--font-family-title);

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    transition: var(--default-transition);
}

.cta-card:hover,
.cta-card:focus {
    color: #fff;
}

.cta-card:hover .cta-card-photo img,
.cta-card:focus .cta-card-photo img {
    -webkit-filter: grayscale();
    filter: grayscale();
}

/* ABOUT */
.about-wrap {
    display: flex;
    position: relative;
    padding: min(50px, 3.125vw) 0 min(104px, 6.5vw);
}

.about-photo {
    position: absolute;
    top: 0;
    right: 0;
    width: calc((588/1400)*100%);
    margin: calc((50/1400)*100%) 0 0 calc((-486/1400)*100%);
}

.about-text {
    color: #fff;
    background: var(--primary);
    margin: calc((50/1400)*100%) calc((100/1400)*100%) 0 0;
    padding: calc((84/1400)*100%) calc((608/1400)*100%) calc((90/1400)*100%) calc((135/1400)*100%);
}

.about-buttons {
    display: flex;
    align-items: center;
    margin-top: 3.313em;
}

.about-buttons a {
    margin-right: 8.077em;
}

/* TEAM */
.team-wrap {
    color: #fff;
    position: relative;
    padding: min(97px, 6.0625vw) 0 min(102px, 6.375vw);
}

.team-title {
    padding: 0 calc((135/1400)*100%);
}

.team-list {
    display: flex;
    padding: 0 calc((40/1400)*100%);
    margin-top: calc((38/1400)*100%);
}

.team-agent {
    color: #fff;
    display: block;
    overflow: hidden;
    position: relative;
    width: calc((410/1320)*100%);
    margin: 0 calc((15/1320)*100%);
}

.team-agent-photo::before {
    position: absolute;
    content: '';
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transition: 400ms ease;
}

.team-agent-photo::after {
    position: absolute;
    content: '';
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 45%;
    opacity: 0.65;
    transition: 400ms ease;
    background: linear-gradient(0deg, #000, transparent);
}

.team-agent-photo canvas {
    background-size: cover;
    background-color: #e1e1e1;
    background-position: center;
    background-repeat: no-repeat;
    /*background-image: url('../images/agent-bg.jpg');*/
    transition: var(--default-transition);
}

.team-agent-text {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.938em;
    text-align: center;
    position: absolute;
    transform: translateY(3.188em);
    transition: var(--default-transition);
}

.team-agent-text strong {
    display: block;
    line-height: 1;
    font-weight: 400;
    font-size: 1.875em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: var(--font-family-title);
}

.team-agent-text span {
    opacity: 0;
    display: block;
    margin-top: 2em;
    transition: var(--default-transition);
}

.team-agent:hover,
.team-agent:focus {
    color: #fff;
}

.team-agent:hover .team-agent-photo img {
    -webkit-filter: grayscale();
    filter: grayscale();
    opacity: 0.5;
}

.team-agent:hover .team-agent-photo::before {
    opacity: 1;
}

.team-agent:hover .team-agent-photo::after {
    opacity: 0.75;
}

.team-agent:hover .team-agent-text {
    transform: translateY(0);
}

.team-agent:hover .team-agent-text span {
    opacity: 1;
}

.team-agent-text span:hover,
.team-agent-text span:focus {
    color: #fff;
}

.team-buttons {
    position: absolute;
    top: calc((97/737)*100%);
    right: calc((54/1400)*100%);
    padding: 2.875em 4.625em 0 0;
}

.team-bg {
    background: var(--primary);
}

.team-bg canvas {
    opacity: 0.1;
    mix-blend-mode: luminosity;
    background-attachment: fixed;
}

.safari-true .team-bg canvas {
    background-attachment: scroll;
}

/* STATISTICS */
.stats-wrap {
    color: #fff;
    padding: min(100px, 6.25vw) 0 min(154px, 9.625vw);
}

.stats-title .site-title {
    text-align: center;
    position: relative;
    padding-top: 0.533em;
}

.stats-title .site-title::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    margin: auto;
    width: 5.333em;
    background: var(--secondary);
}

.stats-list {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: calc((107/1400)*100%);
}

.stats-num {
    font-weight: 300;
    line-height: 1.6;
    font-size: 0.938em;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    min-height: 10.067em;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.stats-num:not(:last-child) {
    border-right: 1px solid var(--secondary);
}

.stats-num:first-child {
    padding-right: 5.2em;
}

.stats-num:nth-child(2) {
    min-width: 25.333em;
}

.stats-num:nth-child(3) {
    width: 23.6em;
    padding: 0 2em;
}

.stats-num:last-child {
    padding-left: 4.267em;
    width: 18.333em;
}

.stats-num strong {
    display: block;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0;
    font-size: 5.625em;
    text-transform: uppercase;
    font-family: var(--font-family-title);
    font-variant-numeric: lining-nums;
}

.stats-num:nth-child(3) strong,
.stats-num:nth-child(4) strong {
    font-size: 3.5em;
}

.stats-num strong em {
    top: -0.111em;
    font-style: normal;
    position: relative;
}

.stats-bg {
    background: var(--primary);
}

.stats-bg canvas {
    opacity: 0.2;
    background-attachment: fixed;
}

.safari-true .stats-bg canvas {
    background-attachment: scroll;
}

/* AWARDS */
.awards-wrap {
    display: flex;
    align-items: center;
    padding: min(96px, 6vw) 0 min(100px, 6.25vw);
}

.awards-title {
    color: #fff;
    background: var(--primary);
    padding: calc((50/1400)*100%) calc((52/1400)*100%) calc((40/1400)*100%) calc((50/1400)*100%);
}

.awards-list {
    display: flex;
    align-items: center;
    background: #e7e7e7;
    width: calc((1016/1400)*100%);
    padding: calc((36/1400)*100%) calc((54/1400)*100%) calc((35/1400)*100%) calc((42/1400)*100%);
}

/* .awards-slider:not(.is-initialized) {
    visibility: visible;
}

.awards-slider:not(.is-initialized) .splide__list {
    align-items: center;
}

.awards-slider:not(.is-initialized) .awards-logo {
    margin: 0 calc((49/920)*100%);
}

.awards-slider:not(.is-initialized) .awards-logo:nth-child(n+5) {
    display: none;
} 

.awards-logo.forbes {
    width: calc((145/920)*100%);
}

.awards-logo.twsj {
    width: calc((109/920)*100%);
}

.awards-logo.bbc {
    width: calc((129/920)*100%);
}*/

.awards-slider.is-initialized {
    -webkit-mask: linear-gradient(90deg, transparent, #fff 10% 90%, transparent);
    mask: linear-gradient(90deg, transparent, #fff 10% 90%, transparent);
    width: 100%;
}

.awards-slider.is-initialized .splide__slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.awards-logo.forbes {
    width: calc((145/230)*100%);
}

.awards-logo.twsj {
    width: calc((109/230)*100%);
}

.awards-logo.bbc {
    width: calc((129/230)*100%);
}

.awards-logo {
    font-size: 2em;
    font-weight: 400;
    text-align: center;
    font-family: var(--font-family-title);
    padding: 0 2em;
}

.awards-logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* PROPERTIES */
.properties {
    background: var(--primary);
}

.properties-wrap {
    color: #fff;
    margin: 0 auto;
    max-width: 1492px;
    width: calc((1492/1600)*100%);
    padding: min(68px, 4.25vw) 0 min(62px, 3.875vw);
}

.properties-title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.properties-title .site-title {
    color: var(--secondary);
}

.properties-title .site-title span {
    color: #fff;
}

.properties-slider {
    margin: calc((37/1494)*100%) -1px calc((40/1494)*100%);
}

.properties-slider:not(.slick-initialized) {
    display: flex;
    align-items: center;
}

.properties-slider:not(.slick-initialized) .properties-card {
    margin: 0 1px;
}

.properties-slider:not(.slick-initialized) .properties-card:nth-child(n+5) {
    display: none;
}

.properties-slider.slick-initialized .slick-slide > div {
    display: flex;
    margin: 0 1px;
}

.properties-card {
    position: relative;
}

.properties-card-photo {
    overflow: hidden;
    background: var(--primary);
}

.properties-card-photo::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(34, 34, 34, 0.55), transparent 50%);
}

.properties-card-photo img {
    transform: scale(1.01);
}

.properties-card-photo span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    font-weight: 300;
    font-size: 0.938em;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--secondary);
    transition: var(--default-transition);
    padding: 0 0.4em 0.533em;
    opacity: 0;
}

.properties-card-details {
    position: absolute;
    right: 0;
    left: 1.25em;
    bottom: 1.25em;
    padding: 0 0.75em;
}

.properties-card-details::before {
    position: absolute;
    content: '';
    left: 0;
    top: 0.25em;
    width: 0.125em;
    bottom: -0.438em;
    background-color: var(--secondary);
}

.properties-card-details .price {
    line-height: 1;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-family: var(--font-family-title);
}

.properties-card-details .address {
    line-height: 1;
    font-weight: 300;
    font-size: 0.938em;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 0.733em;
}

.properties-card a:hover,
.properties-card a:focus {
    color: inherit;
}

.properties-card a:hover .properties-card-photo img {
    opacity: 0.35;
}

.properties-card a:hover .properties-card-photo span {
    opacity: 1;
}

/* COMMUNITIES */
.communities-wrap {
    width: 100%;
    margin: 0 auto;
    max-width: 1600px;
    padding: min(97px, 6.0625vw) 0 min(55px, 3.4375vw);
}

.communities-title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.communities-title .site-title {
    color: var(--secondary);
}

.communities-title .site-title span {
    color: var(--primary);
}

.communities-list {
    -webkit-mask: linear-gradient(to right, #fff 92%, transparent);
    mask: linear-gradient(to right, #fff 92%, transparent);
}

.communities-slider {
    margin: calc((37/1600)*100%) auto;
}

.communities-slider:not(.slick-initialized) {
    display: flex;
    align-items: center;
    margin-right: calc((-360/1600)*100%);
}

.communities-slider:not(.slick-initialized) .communities-card {
    margin-left: calc((-13/1600)*100%);
}

.communities-slider:not(.slick-initialized) .communities-card:nth-child(n+5) {
    display: none;
}

.communities-slider.slick-initialized .slick-slide > div {
    display: flex;
    margin-left: calc((13/490)*100%);
}

.communities-slider.slick-initialized .slick-list {
    padding-right: calc((132/1600)*100%);
}

.communities-card {
    color: #fff;
    position: relative;
}

.communities-card-photo {
    background: var(--primary);
}

.communities-card-photo img {
    opacity: 0.70;
}

.communities-card-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.communities-card-text span {
    line-height: 1;
    font-weight: 500;
    font-size: 1.563em;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: var(--font-family-title);
    display: block;
    min-width: 7.52em;
    padding-bottom: 0.28em;
    border-bottom: 1px solid var(--secondary);
}

.communities-card a:hover,
.communities-card a:focus {
    color: inherit;
}

.communities-card a:hover .communities-card-photo img,
.communities-card a:focus .communities-card-photo img {
    opacity: 0.5;
    -webkit-filter: grayscale();
    filter: grayscale();
}

/* TESTIMONIALS */
.reviews-wrap {
    display: flex;
    align-items: center;
    padding-bottom: min(78px, 4.875vw);
}

.reviews-text {
    color: #fff;
    width: calc((812/1400)*100%);
    padding: calc((71/1400)*100%) calc((115/1400)*100%) calc((118/1400)*100%) calc((100/1400)*100%);
    background-color: var(--primary);
}

.reviews-slider {
    margin-bottom: 3.375em;
}

.reviews-slider:not(.slick-initialized) .reviews-card:not(:first-child) {
    display: none;
}

.reviews-card p {
    font-size: 2.5em;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.05em;
    font-family: var(--font-family-title);
    margin: 0.75em 0 0.525em;
    position: relative;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.reviews-card p::before {
    content: open-quote;
}

.reviews-card p::after {
    content: close-quote;
}

.reviews-card span {
    font-weight: 300;
    font-size: 0.875em;
    line-height: 1.714;
    color: var(--secondary);
    text-transform: uppercase;
}

.reviews-buttons {
    margin-left: 0;
}

/* SOCIAL */
.social {
    background: var(--primary);
}

.social-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    margin: 0 auto;
    max-width: 1120px;
    width: calc((1120/1600)*100%);
    padding: min(110px, 6.875vw) 0 min(60px, 3.75vw);
}

.social-posts {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    width: calc((500/1120)*100%);
    gap: 0.813em;
}

.social-post {
    display: block;
    width: calc((243/500)*100%);
}

.social-post:hover img {
    -webkit-filter: grayscale();
    filter: grayscale();
    opacity: 0.5;
}

.social-text {
    width: calc((495/1120)*100%);
}

.social-text .site-title span em {
    display: block;
    font-style: normal;
    color: var(--secondary);
}

.social-links {
    display: flex;
    flex-flow: row wrap;
    margin-top: 3.438em;
    gap: 1.188em;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.5);

    font-size: 0.813em;
    line-height: 1.923;
    text-align: center;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    min-width: 16.231em;
    padding: 0.769em;
}

.social-link i {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    transition: 300ms ease;
    color: var(--secondary);
    margin-right: 0.615em;
    border-radius: 50%;
    height: 2.308em;
    width: 2.308em;
}

.social-link i.ai-font-instagram::before {
    position: relative;
    font-size: 1.154em;
    width: 0.8em;
}

.social-link i.ai-font-facebook::before {
    font-size: 1.077em;
}

.social-link i.ai-font-youtube::before {
    font-size: 1.231em;
}

.social-link i.ai-font-google::before {
    font-size: 0.923em;
}

.social-link:hover {
    color: inherit;
    background: var(--secondary);
    border-color: var(--secondary);
}

.social-link:hover i {
    color: inherit
}

@media screen and (max-width: 991px) {
    #side-nav {
        display: none;
    }

    .slideshow-tagline {
        top: 0;
        bottom: 0;
        display: flex;
        text-align: center;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }

    .slideshow-slider > canvas {
        min-height: 325px;
    }

    .cta-wrap {
        flex-direction: column;
        padding: max(8vw, 55px) 0;
    }

    .cta-card {
        width: 100%;
        margin: 1px auto;
    }

    .cta-card-text {
        padding: 0 30px;
        text-align: center;
    }

    .cta-card-photo canvas {
        min-height: 200px;
    }

    .about-wrap {
        flex-direction: column-reverse;
    }

    .about-photo {
        width: 100%;
        max-width: 500px;
        position: relative;
        margin: 0 auto -8em;
    }

    .about-text {
        margin: 0;
        text-align: center;
        padding: max(18vw, 160px) max(6vw, 35px) max(8vw, 55px);
    }

    .about-buttons a {
        margin: 0 auto;
    }

    .team-wrap {
        padding: max(8vw, 55px) 0;
    }

    .team-list {
        padding: 0;
        margin-top: 3em;
        flex-direction: column;
    }

    .team-agent {
        width: 100%;
        margin: 1em auto;
        max-width: 400px;
    }

    .team-buttons {
        text-align: center;
        position: static;
        padding-right: 0;
    }

    .stats-wrap {
        padding: max(8vw, 55px) 0;
    }

    .stats-list {
        flex-direction: column;
        margin-top: 2em;
    }

    .stats-num {
        padding: max(4vw, 30px) 0 !important;
        min-width: 0 !important;
    }

    .stats-num:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid var(--secondary);
    }

    .awards-wrap {
        width: 100%;
        flex-direction: column;
        padding: max(4vw, 30px) 0;
        background-color: #e7e7e7;
    }

    .awards-list {
        padding: max(5vw, 40px) 30px;
    }

    .awards-title {
        background: none;
        color: var(--primary);
        padding: max(4vw, 30px) 30px;
    }

    .properties-wrap {
        width: 80%;
        margin: 0 auto;
        min-width: 280px;
        padding: max(8vw, 55px) 0;
    }

    .properties-list {
        max-width: 400px;
        margin: 0 auto;
    }

    .properties-slider {
        margin: 2em 0 3em;
    }

    .communities-wrap {
        width: 80%;
        min-width: 280px;
        padding: max(8vw, 55px) 0;
    }

    .communities-list {
        -webkit-mask: unset;
        mask: unset;
    }

    .communities-slider {
        margin: 2em -1em;
    }

    .communities-slider.slick-initialized .slick-list {
        padding-right: 0;
    }

    .communities-slider.slick-initialized .slick-slide > div {
        margin: 0 1em;
    }

    .reviews-wrap {
        flex-direction: column;
        padding-bottom: max(8vw, 55px);
    }

    .reviews-photo {
        margin-bottom: -9em;
        max-width: 500px;
        width: 100%;
    }

    .reviews-text {
        width: 100%;
        padding: max(20vw, 180px) max(4vw, 30px) max(8vw, 55px);
    }

    .reviews-list {
        text-align: center;
    }

    .reviews-buttons {
        margin-left: auto;
    }

    .social-wrap {
        width: 80%;
        min-width: 280px;
        padding: max(8vw, 55px) 0;
        flex-direction: column-reverse;
    }

    .social-text {
        width: 100%;
    }

    .social-links {
        width: 100%;
        margin: 2em auto;
        max-width: 600px;
        justify-content: center;
    }

    .social-posts {
        width: 100%;
        max-width: 600px;
    }

    .social-post {
        width: 48%;
    }
}

@media screen and (max-width: 767px) {}

@media screen and (max-width: 567px) {
    .about-photo {
        margin-bottom: 0;
    }

    .about-text {
        padding-top: max(8vw, 55px);
    }

    .about-buttons {
        flex-direction: column;
        gap: 2em;
    }

    .awards-wrap {
        width: 100%;
        padding: max(4vw, 30px) 0;
    }

    .awards-title {
        width: 100%;
    }

    .communities-title .site-title span {
        font-size: 3em;
    }

    .reviews-photo {
        margin-bottom: 0;
    }

    .reviews-text {
        padding-top: max(8vw, 55px);
    }

    .reviews-title .site-title span {
        font-size: 2.25em;
    }

    .reviews-card p {
        margin: 2em 0;
        font-size: 2em;
        -webkit-line-clamp: 6;
    }

    .social-posts {
        gap: 0.5em;
    }
}

@media screen and (max-width: 480px) {
    .about-wrap {
        padding: 0;
        width: 100%;
    }

    .reviews-wrap {
        width: 100%;
        padding-bottom: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }

}