/***
Template Style: Listings Template
***/
#content-full {
    margin-top: 10px;
}

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


.custom-ip-banner, .entry-title {
    display: none;
}

/*.container {
    width: unset;
}
*/



.custom-ip-banner {
    margin-bottom: 6px;
    background-size: cover !important;
    position: relative;
}

.custom-ip-banner:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
}

.custom-ip-banner canvas {
    width: 100%;
}

.no-res-margin{
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    width: 1170px;
}

#content .custom-page-title {
    font-size: 55px;
    text-align: left;
    padding-left: 0;
    padding-top: 16px;
    font-weight: 400;
    margin-top: 11px;
}

/*.custom-breadcrumbs {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
}*/



/*p#breadcrumbs {
    padding-left: 15px;
    padding-right: 15px;
}*/

.custom-breadcrumbs p {
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 24px 0;
}

#breadcrumbs a:hover, #breadcrumbs a:focus {
    color: #fff;
    opacity: 0.6;
}

.custom-breadcrumbs a {
    color: #999 !important;
}
#content .custom-page-title:before {
    display: none;
}

#content .custom-page-title:after {
    left: 0;
}

.ls-slider {
/*    max-width: 1530px;*/
    max-width: 100%;
    padding: 0 50px;
    margin: 10px auto 0;
}

.ls-row {
    display: flex;
}

.ls-row:nth-child(2n) {
    flex-direction: row-reverse;
}

.ls-item {
    padding: 15px;
}

.ls-item a {
    display: block;
    position: relative;
    overflow: hidden;
}

.ls-item a:hover .ls-icon, .ls-item a:focus .ls-icon {
    opacity: 0;
}

.ls-item a:hover .ls-btn, .ls-item a:focus .ls-btn {
    opacity: 1;
}

.ls-item a:hover .ls-img, .ls-item a:focus .ls-img {
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.ls-img {
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
    -webkit-transform: scale(1);
    transform: scale(1);
}

.ls-info {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    padding: 35px 199px 35px 30px;
    text-shadow: 3px 4px 5px rgba(0, 0, 0, 0.75);
}

.ls-price {
    font-family: var(--font-family-title);
    font-size: 30px;
    letter-spacing: 0.3em;
    line-height: 1;
}

.ls-add {
    font-family: var(--font-family-title);
    font-size: 40px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1.2;
}

.ls-add span {
    display: block;
    font-family: var(--font-family-default);
    font-size: 20px;
    letter-spacing: 0.3em;
}

.ls-add span em {
    font-style: normal!important;
}

.ls-text {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    line-height: 1.5;
    margin-top: 5px;
}

.ls-icon {
    position: absolute;
    right: 31px;
    bottom: 39px;
    -webkit-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}

.ls-btn {
    position: absolute;
    right: 28px;
    bottom: 40px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--accent-color);
    padding: 23px 34px;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
    text-shadow: none;
}

.ls-nav {
    display: flex;
    align-items: center;
    justify-content: center;
/*    margin: 63px 0 106px;*/
    margin: 63px 0 50px;
}

.ls-nav > button {
    border: 3px solid #cbcbcb;
    width: 73px;
    height: 71px;
    background: transparent;
    position: relative;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ls-nav > button:before {
    content: '';
    width: 11px;
    height: 11px;
    background: url(../../images/listings/ls-arrow.png) no-repeat;
    display: inline-block;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.ls-nav > button.ls-next:before {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.ls-nav > button:hover, .ls-nav > button:focus {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.ls-nav > button:hover:before, .ls-nav > button:focus:before {
    -webkit-filter: invert(1);
    filter: invert(1);
}

.ls-pagination ul {
    display: flex !important;
    align-items: center;
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 26px !important;
}

.ls-pagination li:not(:last-of-type) {
    margin-right: 20px;
}

.ls-pagination button {
    width: 36px;
    height: 71px;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #949494;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ls-pagination .slick-active button {
    border-bottom-color: var(--accent-color);
    color: #1f1f1f;
}

.listings-pagination ul {
    list-style-type: none;
    display: flex !important;
    align-items: center;
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 26px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 63px 0 106px;
}

.listings-pagination li:not(:last-of-type) {
    margin-right: 20px;
}

.listings-pagination li a {
    width: 36px;
    height: 71px;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #949494;
    display: flex;
    align-items: center;
    justify-content: center;
}

.listings-pagination li.active a {
    border-bottom-color: var(--accent-color);
    color: #1f1f1f;
}

li.arrow.prev a:before {
    content: '';
    width: 11px;
    height: 11px;
    background: url(../../images/listings/ls-arrow.png) no-repeat;
    display: inline-block;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

li.arrow.next a:before {
    content: '';
    width: 11px;
    height: 11px;
    background: url(../../images/listings/ls-arrow.png) no-repeat;
    display: inline-block;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    transform: rotateY(180deg);
}

li.arrow a {
    border: 3px solid #cbcbcb;
    width: 73px;
    height: 71px;
    background: transparent;
    position: relative;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-aios-communities .ai-modern-community-details-main #content-full {
    margin-top: 0;
}

.single-aios-communities #ai-modern-community-details .ai-modern-community-details-main {
    padding-left: unset;
}

.single-aios-communities .ai-modern-community-details-main #content-full:before, .single-aios-communities .ai-modern-community-details-main #content-full:after {
    display: table;
    content: '';
    clear: both;
}

.single-aios-communities #content-full #content {
    margin-top: -4px;
}

.single-aios-communities #content .custom-page-title em {
    font-style: normal;
    max-width: max-content;
    display: inline-block;
    vertical-align: top;
    position: relative;
    position: relative;
}

.single-aios-communities #content .custom-page-title {
    text-align: center;
    display: inline-block;
}

.single-aios-communities #content .listing-title {
    display: block;
    text-align: center;
}

.single-aios-communities #content .custom-page-title em+em {
    margin-left: 15px;
}

.single-aios-communities.single-aios-communities #ai-modern-community-details .ai-modern-community-details-title h2 span em {
    width: 100%;
    max-width: 690px;
}

.single-aios-communities #content .custom-page-title em:first-child:before {
    content: "";
    width: 62px;
    height: 2px;
    background: var(--accent-color);
    position: absolute;
    top: -15px;
}

.page-id-0 .custom-details-page .custom-details-page-content,
.single-aios-communities #content .custom-page-title:after {
    display: none;
}

.ls-row {
    margin: 0 -30px;
}
.ls-item:first-child {
    width: calc((610 / 1500) * 100%);
}
.ls-item:last-child {
    width: calc(100% - calc((610 / 1500) * 100%));
}

.ls-img {
    height: 100%;
}

.ls-img canvas {
    max-height: 660px;
}

.ls-item a {
    height: 100%;
}

.ls-item:first-child {
    width: calc((610 / 1500) * 100%);
}
.ls-item:last-child {
    width: calc(100% - calc((610 / 1500) * 100%));
}

.listing-disclaimer {
    padding: 0 15px;
}
.ls-pagination li {
    color: #999;
    position: relative;
}
.ls-pagination li:before {
    position: absolute;
    content: '';
    width: 35px;
    height: 2px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    width: 0;
}
.ls-pagination li.current:before {
    width: 35px;
}
.ls-pagination li:not(:last-of-type) {
    margin-right: 50px;
}
.ls-newdev {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fff;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 18px;
    padding: 13px 25px;
}
.listing-desc {
    padding-bottom: 40px;
}
/*** Media Queries ***/
@media only screen and (max-width: 1500px) {
    .ls-info {
        padding: 35px 167px 25px 20px;
    }

    .ls-add {
        font-size: 35px;
        letter-spacing: 0.05em;
    }

    .ls-add span {
        font-size: 15px;
        letter-spacing: 0.2em;
    }

    .ls-text {
        font-size: 10px;
    }

    .ls-btn {
        right: 15px;
        bottom: 25px;
        font-size: 12px;
        padding: 16px 23px;
    }
}

@media only screen and (max-width: 1440px) {
    .single-aios-communities.single-aios-communities #ai-modern-community-details .ai-modern-community-details-title h2 span em {
        max-width: 660px;
    }
}

@media only screen and (max-width: 1199px) {
    .ls-item {
        padding: 7px;
    }

    .ls-price {
        font-size: 20px;
    }

    .ls-add {
        font-size: 25px;
    }

    .ls-add span {
        font-size: 12px;
    }

    .ls-text {
        font-size: 8px;
    }

    .ls-btn {
        font-size: 11px;
        padding: 13px 17px;
    }

    .single-aios-communities.single-aios-communities #ai-modern-community-details .ai-modern-community-details-title h2 span em {
        max-width: 330px;
    }

    .ls-newdev {
        top: 10px;
        left: 10px;
        font-size: 13px;
    }

}

@media only screen and (max-width: 991px) {
    .ls-row, .ls-row:nth-child(2n) {
        display: flex;
        flex-direction: column;
    }

    .ls-slider {
        max-width: 500px;
    }

    .ls-icon {
        position: relative;
        right: 0;
        bottom: 0;
        opacity: 1;
        margin: 15px 0;
    }

    .ls-btn {
        right: 0;
        bottom: 0;
        opacity: 1;
        position: relative;
    }

    .ls-item a:hover .ls-icon, .ls-item a:focus .ls-icon {
        opacity: 1;
    }

    .ls-info {
        padding: 35px 20px;
        align-items: center;
        text-align: center;
    }

    .ls-img.canvas-img canvas {
        width: 100%;
        min-height: 400px;
    }

    #content .custom-page-title {
        font-size: 45px;
    }

    .single-aios-communities.single-aios-communities #ai-modern-community-details .ai-modern-community-details-title h2 span em {
        max-width: max-content;
    }


.ls-btn {
    background: #000;
}
.ls-btn:hover {
    background: var(--accent-color);
}


.ls-item {
    width: 100% !important;
}
.ls-newdev {
    width: calc(100% - 10px);
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}
}

@media only screen and (max-width: 480px) {
    .ls-pagination ul {
        margin: 0 10px !important;
    }

    .ls-pagination li:not(:last-of-type) {
        margin-right: 10px;
    }
}
