/*
 * Template Name: Enhanced Community
 */

body::-webkit-scrollbar {
/*    display: none;*/
}

a,
button {
    transition: all 0.3s ease-in-out;
}

#inner-page-wrapper {
    margin: 0;
}

#inner-page-wrapper > .container {
    width: 100%;
}

#content-full {
    margin: 0;
}

#content .entry-title {
    display: none;
}

.img-wrapper {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.img-wrapper canvas {
    display: block;
    width: 100%;
    height: auto;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.img-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

.bg-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.bg-wrapper canvas {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.bg-wrapper.fixed canvas {
    background-attachment: fixed;
}

#content .entry > div {
    position: relative;
}

.s-content {
    max-width: 1200px;
    margin: auto;
}

.s-title {}

.s-title h2 {
    font-size: 64px !important;
    font-weight: 600 !important;
    line-height: 1;
    color: #383838;
    text-align: center;
    text-transform: uppercase;
    margin: 0 !important;
}

.s-title h2 span {
    display: block;
    font-size: 43px;
    font-weight: 300;
    margin: 0 0 4px;
}

.s-text {}

.s-text p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.625;
    color: #383838;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto !important;
}

.s-text p:not(:last-child) {
    margin: 0 auto 26px !important;
}

.s-text h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1;
    color: #383838;
    text-align: center;
    margin: 37px 0 14px !important;
}

.s-stats {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin: 0 -60px 59px;
}

.s-stats > div {
    width: 50%;
    padding: 0 60px;
}

.s-stats h2 {
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 1;
    color: #383838;
    text-align: center;
    text-transform: uppercase;
    margin: 0 !important;
}

.s-stats h2::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #383838;
    opacity: 0.4;
    margin: 32px auto 0;
}

.s-stats h2 span {
    font-weight: 300 !important;
}

.s-stats ul {
    display: flex;
    flex-flow: row wrap;
    list-style: none !important;
    margin: 0 !important;
}

.s-stats ul li {
    width: 33.33%;
}

.s-stats ul li::before {
    content: '';
    display: block;
    width: 1px;
    height: 30px;
    background: #383838;
    opacity: 0.4;
    margin: 0 auto 9px;
}

.s-stats ul li:nth-child(2)::before {
    height: 70px;
}

.s-stats ul li span {
    display: block;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    color: #383838;
    text-align: center;
    text-transform: uppercase;
    margin: 0 -100%;
}

.s-stats ul li span em {
    display: block;
    font-size: 16px;
    font-weight: 300;
    font-style: normal !important;
    margin: 4px 0 0;
}

.s-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.s-button a {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #383838;
    text-align: center;
    text-transform: uppercase;
}

.s-button a:hover {
    color: #c1b283;
}

.s1 {
    padding: 88px 0 71px;
}

.s1-title {
    margin: 0 0 66px;
}

.s1 .s-text p {
    max-width: 100%;
}

.s2 {
    padding: 0 0 103px;
}

.s2 .s-content {
    max-width: 1600px;
    margin: 0 auto;
}

.s-listings {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin: 0 -4px;
}

.s-listing {
    width: 33.33%;
    padding: 0 4px;
    margin: 0 0 8px;
}

.s-listing a {
    display: block;
    position: relative;
}

.s-listing-photo {}

.s-listing-photo::before {
    content: '';
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    opacity: 0.8;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.s-listing a:hover .s-listing-photo img {
    transform: scale(1.1);
}

.s-listing-info {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 38px;
}

.s-listing-info h2 {
    font-size: 26px !important;
    font-weight: 600 !important;
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
}

.s-listing-info h2 span {
    display: block;
    font-size: 20px;
    margin: 5px 0 0;
}

.s2-button {
    margin: 74px 0 0;
}

.s3 {
    padding: 134px 0 115px;
}

.s3-bg {
    width: calc(100% + calc(100vw - 100%));
    left: calc(calc(-100vw + 100%) / 2);
}

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

.s3-bg canvas {
    filter: grayscale(1);
}

.s3 .s-content {
    position: relative;
    z-index: 1;
}

.s3-stats {}

.s3-stats h2 {
    font-size: 36px !important;
    font-weight: 300 !important;
    letter-spacing: 0.2em;
    line-height: 1;
    color: #04392d;
    text-align: center;
    text-transform: uppercase;
    padding: 0 0 0 0.2em;
    margin: 0 0 51px !important;
}

.s3-stats ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    list-style: none !important;
    margin: 0 !important;
}

.s3-stats ul li {
    padding: 0 43px;
}

.s3-stats ul li span {
    display: block;
    font-size: 46px;
    font-weight: 700;
    line-height: 1;
    color: #04392d;
    text-align: center;
    text-transform: uppercase;
}

.s3-stats ul li span em {
    display: block;
    font-size: 16px;
    font-weight: 300;
    font-style: normal !important;
    margin: 2px 0 0;
}

.s4 {
    padding: 92px 0 0;
}

.s4-title {
    margin: 0 0 39px;
}

.s4-photo {
    margin: 53px 0 0;
}

.s5 {
    padding: 90px 0 0;
}

.s5-title {
    margin: 0 0 39px;
}

.s6 {
    padding: 106px 0 0;
}

.s6-title {
    margin: 0 0 39px;
}

.s6-photo {
    margin: 42px 0 0;
}

.s7 {
    padding: 92px 0 70px;
}

.s7-title {
    margin: 0 0 39px;
}
@media only screen and (max-width: 1600px) {
    .s2 .s-content {
        margin: 0 calc(calc(-100vw + 100%) / 2);
    }
}



@media only screen and (max-width: 991px) {
    .s-content {
        max-width: 720px;
    }
    .s-stats > div {
        width: 100%;
    }
    .s-stats > div:not(:last-child) {
        margin: 0 0 60px;
    }
    .s-listing {
        width: 50%;
    }
}

@media only screen and (max-width: 480px) {
    .s-listing {
        width: 100%;
    }
    .s3-stats ul li {
        width: 100%;
    }
    .s3-stats ul li:not(:last-child) {
        margin: 0 0 30px;
    }
}