/*** Slideshow ***/

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

.hp-slideshow {}

.hp-slideshow-inner {
    position: relative;
}

.hp-slideshow-inner::before {
    content: '';
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.15;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hp-slideshow-inner::after {
    content: '';
    width: 100%;
    height: 100%;
    background-image: url('../images/slideshow-overlay.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hp-slideshow-inner canvas.ss-canvas {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100vh;
}

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

.hp-slideshow-inner .aios-slider .aios-slider-img {}

.hp-slideshow-inner .aios-slider .aios-slider-img canvas {
    min-height: auto !important;
    max-height: 100vh;
}

.hp-slideshow-inner .aios-slider .aios-slider-img img {}


.home #aios-slider-hp-slideshow .aios-slider-volume {
    bottom: 80px;
}


/*** Welcome ***/

#hp-welcome {
    position: relative;
    z-index: 1;
    background: #000;
}

.hp-welcome {
    padding: 0 30px;
    padding: 0 1.875vw;
}

.hp-welcome-inner {
    max-width: 1140px;
    max-width: 71.25vw;
    margin: auto;
    padding: 170px 0 0;
    padding: 10.625vw 0 0;
}

.welcome-title {
    margin: 0 0 152px;
    margin: 0 0 9.5vw;
}

.welcome-title h2 {
    font-size: 110px;
    font-size: 6.875vw;
    line-height: 1;
}

.welcome-text {}

.welcome-text p {
    font-size: 18px;
    font-size: 1.125vw;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.889;
    color: #cac7bf;
    text-align: center;
    padding: 0 0 0 0.05em;
}

.welcome-text p:not(:last-child) {
    margin: 0 0 34px;
    margin: 0 0 2.125vw;
}

.welcome-photo {
    margin: 140px calc(calc(-100vw + 100%) / 2) 0;
    margin: 8.75vw calc(calc(-100vw + 100%) / 2) 0;
    opacity: 0.8;
}


/*** Testimonials ***/

#hp-testi {
    position: relative;
    z-index: 1;
    background: #000;
}

.hp-testi {
    padding: 0 30px;
    padding: 0 1.875vw;
}

.hp-testi-inner {
    max-width: 940px;
    max-width: 58.75vw;
    margin: auto;
    padding: 193px 0 192px;
    padding: 12.063vw 0 12vw;
}

.hp-testi-inner::before {
    content: '';
    display: block;
    width: 43px;
    width: 2.688vw;
    height: 35px;
    height: 2.188vw;
    background: #dfd6cb;
    -webkit-mask-image: url(../images/testi-quote.png);
    -webkit-mask-size: contain;
    -webkit-mask-position: center center;
    -webkit-mask-repeat: no-repeat;
    transition: var(--default-transition);
    margin: 0 0 61px;
    margin: 0 0 3.813vw;
}

.testi-items {
    max-width: 830px;
    max-width: 51.875vw;
}

.testi-item {}

.testi-item-inner {}

.testi-item-inner p {
    font-size: 18px;
    font-size: 1.125vw;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.889;
    color: #cac7bf;
}

.testi-item-inner p:not(:last-child) {
    margin: 0 0 34px;
    margin: 0 0 2.125vw;
}

.testi-item-inner h2 {
    font-size: 18px;
    font-size: 1.125vw;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: #dfd6cb;
    text-transform: uppercase;
    margin: 50px 0 0;
    margin: 3.125vw 0 0;
}

.testi-arrows-button {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    margin: 75px 0 0;
    margin: 4.688vw 0 0;
}

.testi-button {
    min-width: 300px;
    min-width: 18.75vw;
    margin: 0 25px;
    margin: 0 1.563vw;
}


/*** Communities ***/

#hp-comm {
    position: relative;
    z-index: 1;
    background: #000;
}

.hp-comm {
    padding: 0 30px;
    padding: 0 1.875vw;
}

.hp-comm-inner {
    max-width: 1140px;
    max-width: 71.25vw;
    margin: auto;
    padding: 180px 0 947px;
    padding: 11.25vw 0 59.188vw;
}

.comm-bg {}

.comm-bg::before {
    content: '';
    width: 100%;
    height: 100%;
    background: #1b1712;
    opacity: 0.2;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.comm-title {
    margin: 0 0 81px;
    margin: 0 0 5.063vw;
    position: relative;
    z-index: 1;
}

.comm-text {
    position: relative;
    z-index: 1;
}

.comm-text p {
    font-size: 18px;
    font-size: 1.125vw;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.778;
    color: #dfd6cb;
    text-align: center;
    padding: 0 0 0 0.05em;
}

.comm-text p:not(:last-child) {
    margin: 0 0 34px;
    margin: 0 0 2.125vw;
}

.comm-items {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin: 104px 0 0;
    margin: 6.5vw 0 0;
    position: relative;
    z-index: 1;
}

.comm-item {
    margin: 0 26.5px 53px;
    margin: 0 1.656vw 3.313vw;
}

.comm-item a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    min-width: 250px;
    min-width: 15.625vw;
    height: 56px;
    height: 3.5vw;
    background: transparent;
    border: none;
    font-family: var(--font-family-title);
    font-size: 20px;
    font-size: 1.25vw;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #fff;
    text-align: center;
    padding: 0 15px 0 calc(15px + 0.05em);
    padding: 0 0.938vw 0 calc(0.938vw + 0.05em);
    position: relative;
    overflow: hidden;
}

.comm-item a:hover {
    background: #dfd6cb;
    color: #000;
}

.comm-item a::before {
    content: '';
    width: 100%;
    height: 100%;
    border-style: solid;
    border-width: 2px;
    border-width: 0.125vw;
    border-image: linear-gradient(to right, rgba(192, 190, 187, 1) 0%, rgba(193, 191, 189, 1) 100%);
    border-image-slice: 1;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    transition: var(--default-transition);
}

.comm-item a:hover::before {
    opacity: 0;
}

.comm-item a::after {
    content: '';
    display: none;
    width: 100%;
    height: 5px;
    height: 0.313vw;
    background: linear-gradient(to right, rgba(192, 190, 187, 1) 0%, rgba(193, 191, 189, 1) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    transform: translateX(-100%);
    transition: var(--default-transition);
}

.comm-item a:hover::after {
    transform: translateX(0);
}


/*** Featured Listings ***/

#hp-fl {
    position: relative;
    z-index: 1;
    background: #000;
}

.hp-fl {
    padding: 0 30px;
    padding: 0 1.875vw;
}

.hp-fl-inner {
    max-width: 1360px;
    max-width: 85vw;
    margin: auto;
    padding: 177px 0 124px;
    padding: 11.063vw 0 7.75vw;
}

.fl-title {
    justify-content: flex-end;
    margin: 0 0 90px;
    margin: 0 0 5.625vw;
}

.fl-title h2::before {
    content: '';
    width: 100vw;
    height: 1px;
    height: 0.063vw;
    background: #757575;
    opacity: 0.5;
    position: absolute;
    top: 0;
    bottom: 0;
    right: calc(100% + 47px);
    right: calc(100% + 2.938vw);
    margin: auto;
}

.fl-title h2::after {
    content: '';
    width: 11px;
    width: 0.688vw;
    height: 11px;
    height: 0.688vw;
    border: 2px solid #757575;
    border: 0.125vw solid #757575;
    border-radius: 50%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: calc(100% + 36px);
    right: calc(100% + 2.25vw);
    margin: auto;
}

.fl-items {
    margin: 0 calc(calc(-100vw + 100%) / 2);
}

.fl-item {}

.fl-item-inner {
    display: flex;
    flex-flow: row wrap;
}

.fl-item:nth-child(even) .fl-item-inner {
    flex-flow: row-reverse wrap;
}

.fl-item-info {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 50%;
}

.fl-item-info h2 {
    font-family: var(--font-family-title);
    font-size: 20px;
    font-size: 1.25vw;
    font-weight: 300;
    letter-spacing: -0.025em;
    line-height: 2;
    color: #fff;
    text-align: center;
}

.fl-item-info span {
    display: block;
    font-size: 24px;
    font-size: 1.5vw;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: #757575;
    text-align: center;
    padding: 0 0 0 0.02em;
    margin: 43px 0 0;
    margin: 2.688vw 0 0;
}

.fl-item-button {
    margin: 210px 0 0;
    margin: 13.125vw 0 0;
}

.fl-item-photo {
    width: 50%;
    overflow: hidden;
}

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

.fl-item-photo a::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(243,223,186,0.5);
    opacity: 0;
    z-index: 10;
    transition: var(--default-transition);
}

.fl-item-photo a:hover::after {
    opacity: 1;
}

/* .fl-item-photo a:hover .img-wrapper img {
    transform: scale(1.1);
} */

.fl-button {
    margin: 123px 0 0;
    margin: 7.688vw 0 0;
}


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

@media only screen and (max-width: 1199px) {

   .home #aios-slider-hp-slideshow .aios-slider-volume {
      bottom: 50px;
   }
}


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

@media only screen and (max-width: 991px) {
    /*** Slideshow ***/
    #hp-slideshow {}
    .hp-slideshow {}
    .hp-slideshow-inner {}
    .hp-slideshow-inner::before {}
    .hp-slideshow-inner::after {}
    .hp-slideshow-inner > canvas {}
    .hp-slideshow-inner .aios-slider {}
    .hp-slideshow-inner .aios-slider .aios-slider-img {}
    .hp-slideshow-inner .aios-slider .aios-slider-img canvas {}
    .hp-slideshow-inner .aios-slider .aios-slider-img img {}
    /*** Welcome ***/
    #hp-welcome {}
    .hp-welcome {
        padding: 0 30px;
    }
    .hp-welcome-inner {
        max-width: 720px;
        padding: 90px 0 0;
    }
    .welcome-title {
        margin: 0 0 60px;
    }
    .welcome-title h2 {
        font-size: 90px;
        line-height: 1.056;
    }
    .welcome-text {}
    .welcome-text p {
        font-size: 18px;
    }
    .welcome-text p:not(:last-child) {
        margin: 0 0 34px;
    }
    .welcome-photo {
        margin: 140px calc(calc(-100vw + 100%) / 2) 0;
    }
    /*** Testimonials ***/
    #hp-testi {}
    .hp-testi {
        padding: 0 30px;
    }
    .hp-testi-inner {
        max-width: 720px;
        padding: 90px 0;
    }
    .hp-testi-inner::before {
        width: 43px;
        height: 35px;
        margin: 0 auto 61px;
    }
    .testi-items {
        max-width: 830px;
    }
    .testi-item {}
    .testi-item-inner {}
    .testi-item-inner p {
        font-size: 18px;
        text-align: center;
        padding: 0 0 0 0.05em;
    }
    .testi-item-inner p:not(:last-child) {
        margin: 0 0 34px;
    }
    .testi-item-inner h2 {
        font-size: 18px;
        margin: 50px 0 0;
        text-align: center;
        padding: 0 0 0 0.3em;
    }
    .testi-arrows-button {
        margin: 60px 0 0;
    }
    .testi-button {
        min-width: 300px;
        margin: 0 25px;
    }
    /*** Communities ***/
    #hp-comm {}
    .hp-comm {
        padding: 0 30px;
    }
    .hp-comm-inner {
        max-width: 720px;
        padding: 90px 0 947px;
    }
    .comm-bg {}
    .comm-bg::before {}
    .comm-title {
        margin: 0 0 60px;
    }
    .comm-text {}
    .comm-text p {
        font-size: 18px;
        text-align: center;
        padding: 0 0 0 0.05em;
    }
    .comm-text p:not(:last-child) {
        margin: 0 0 34px;
    }
    .comm-items {
        margin: 60px 0 0;
    }
    .comm-item {
        margin: 0 26.5px 53px;
    }
    .comm-item a {
        min-width: 250px;
        height: 56px;
        font-size: 20px;
        padding: 0 15px 0 calc(15px + 0.05em);
    }
    .comm-item a::before {
        border-width: 2px;
    }
    .comm-item a::after {
        height: 5px;
    }
    .comm-item a:hover::after {}
    /*** Featured Listings ***/
    #hp-fl {}
    .hp-fl {
        padding: 0 30px;
    }
    .hp-fl-inner {
        max-width: 720px;
        padding: 90px 0;
    }
    .fl-title {
        margin: 0 0 60px;
        justify-content: center;
    }
    .fl-title h2::before {
        height: 1px;
        right: calc(100% + 47px);
        display: none;
    }
    .fl-title h2::after {
        width: 11px;
        height: 11px;
        border: 2px solid #757575;
        right: calc(100% + 36px);
        display: none;
    }
    .fl-items {
        margin: 0;
    }
    .fl-item {}
    .fl-item-inner {
        flex-flow: column-reverse;
    }
    .fl-item:nth-child(even) .fl-item-inner {
        flex-flow: column-reverse;
    }
    .fl-item-info {
        width: 100%;
        padding: 60px 0;
    }
    .fl-item-info h2 {
        font-size: 20px;
    }
    .fl-item-info span {
        font-size: 24px;
        margin: 43px 0 0;
    }
    .fl-item-button {
        margin: 30px 0 0;
    }
    .fl-item-photo {
        width: 100%;
    }
    .fl-item-photo a {}
    .fl-item-photo a:hover .img-wrapper img {}
    .fl-button {
        margin: 0;
    }
}


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

@media only screen and (max-width: 767px) {
    .testi-button {
        width: 100%;
        order: 1;
        margin: 60px 0 0;
    }
}


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

@media only screen and (max-width: 480px) {
    .hp-welcome {
        padding: 0 15px;
    }
    .hp-testi {
        padding: 0 15px;
    }
    .testi-button {
        min-width: auto;
    }
    .hp-comm {
        padding: 0 15px;
    }
    .hp-fl {
        padding: 0 15px;
    }
}