#main-wrapper{overflow: hidden;}
#filter-items{
    margin-top: 0;
    position: relative;
    z-index: 3;
}
    .filter-item{
        margin: 70px 35px 0;
    }
        .filter-item a{
            display: block;
            position: relative;
            width: 75px;
            font-size: 45px;
            color: #000000;
            text-align: center;
            text-transform: uppercase;
            text-decoration: none !important;
            line-height: 75px;
            transition: all 0.3s linear;
        }
            .filter-item a:hover,
            .filter-active a{
                background: #000 !important;
                color: #FFF !important;
            }
            .filter-item a.ai-font-envelope-o::before{
                font-size: 34px;
            }
            .filter-item a.ai-font-magnifying-glass-g::before{
                transform: rotate(90deg);
            }
            .filter-item .ai-font-location-b:after {
                content: "\b0060";
                position: absolute;
                top: 1px;
                left: 50%;
                transform: translate(-50%);
            }
            .filter-item-neighborhoods{
                width: 845px;
            }
                .filter-item-neighborhoods ul{
                    column-count: 3;
                }
            .filter-item a span{
                display: inline-block;
                position: absolute;
                top: -60px;
                left: 50%;
                /* width: 100%; */
                font-weight: 500;
                font-family: 'Quicksand', sans-serif;
                font-size: 15px;
                color: #999999;
                letter-spacing: 0.1em;
                transition: opacity 0.3s linear;
                opacity: 0;
                transform: translateX(-50%);
            }
                .filter-item a:hover span,
                .filter-active a span{
                    opacity: 1;
                }
            .filter-item-content{
                display: block;
                background: rgba(0,0,0,0.8);
                position: absolute;
                left: 50%;
                bottom: calc(100% + 70px);
                transform: translateX(-50%);
                min-width: 277px;
                padding: 27px 45px;
                font-weight: 500;
                font-size: 13px;
                color: #FFF;
                text-transform: uppercase;
                letter-spacing: 0.1em;
                visibility: hidden;
                opacity: 0;
                transition: all 0.3s, opacity 0.3s ease-in-out;
            }
                .filter-item-content.filter-search-text{
                    padding-right: 15px;
                    padding-left: 15px;
                    min-width: 600px;
                }
                    .filter-search-features{
                        display: flex;
                        margin-left: -5px;
                        margin-right: -5px;
                    }
                        .filter-search-features-col{
                            width: 25%;
                            margin-top: 7px;
                            padding-left: 5px;
                            padding-right: 5px;
                        }
                        .filter-item-content input[type=submit]{
                            -webkit-appearance: none;
                            -moz-appearance: none;
                            appearance: none;
                            border: 0 !important;
                        }
                .filter-item-content.filter-item-smi{
                    padding-right: 10px;
                    padding-left: 10px;
                }
                .filter-item-content::before{
                    content: '';
                    width: 0;
                    height: 0;
                    border-style: solid;
                    border-width: 11px 13.5px 0 13.5px;
                    border-color: rgba(0,0,0,0.8) transparent transparent transparent;
                    position: absolute;
                    top: 100%;
                    left: 50%;
                    margin-left: -13.5px;
                }
                .filter-item-close{
                    display: none;
                    position: absolute;
                    top: 15px;
                    right: 15px;
                    font-weight: 300;
                    font-size: 26px;
                }
                .filter-active .filter-item-content{
                    visibility: visible;
                    opacity: 1;
                }
                .filter-item-content .share-listings{
                    background: transparent !important;
                    width: auto !important;
                    height: auto !important;
                    padding: 5px;
                    font-size: 16px;
                    text-align: left;
                    color: #FFF !important;
                    line-height: 1em;
                    text-transform: none;
                }
                    .filter-item-content .share-listings:hover{
                        background: transparent !important;
                        color: #8e8d8d !important;
                    }
                    .filter-item-content .share-listings em{
                        display: inline-block;
                        width: 20px;
                        text-align: center;
                    }
                        .filter-item-content .share-listings em.ai-font-envelope{
                            font-size: 10px;
                        }
                    .filter-item-content .share-listings span{
                        display: inline-block !important;
                        position: static !important;
                        width: auto !important;
                        height: auto !important;
                        padding: 0 !important;
                        font-size: 14px;
                        transform: translateX(0);
                        letter-spacing: 0.2em;
                    }
                .filter-item-content label{
                    display: block;
                    margin-bottom: 8px;
                    font-size: 12px;
                }
                    .filter-item-content label span{
                        display: inline-block;
                        vertical-align: middle;
                        cursor: pointer;
                        letter-spacing: 0.2em;
                    }
                        .filter-item-content label:hover span{
                            color: #777;
                        }
                    .filter-item-content input[type=text],
                    .filter-item-content input[type=checkbox],
                    .filter-item-content input[type=radio],
                    .filter-item-content select{
                        -webkit-appearance: none;
                        display: inline-block;
                        vertical-align: middle;
                        position: relative;
                        background: transparent;
                        color: #555;
                        clear: none;
                        cursor: pointer;
                        margin: 0 10px 0 0;
                        outline: 0;
                        padding: 0 !important;
                        font-family: 'Quicksand', sans-serif;
                        text-align: center;
                        letter-spacing: 0.2em;
                        vertical-align: top;
                        min-width: 16px;
                        transition: .05s border-color ease-in-out;
                        width: 18px;
                        height: 18px;
                        border: solid 1px #8e8d8d;
                        box-shadow: 0 0 0 0 transparent;
                        overflow: hidden;
                        border-radius: 0;
                        outline: 0 !important;
                    }
                        .filter-item-content input[type=text],
                        .filter-item-content select{
                            border-top: none !important;
                            border-right: none !important;
                            border-left: none !important;
                            border-bottom: 1px solid #8e8d8d;
                            width: 100%;
                            height: 50px;
                            margin-right: 0;
                            padding: 0 15px !important;
                            font-weight: 300;
                            font-size: 14px;
                            color: #FFF;
                            text-align: left;
                            cursor: text !important;
                            text-transform: uppercase;
                        }
                            .filter-item-content select{
                                background: url(../images/select-arrow.png) no-repeat 100% 50%;
                            }
                            .filter-item-content select option{
                                background-color: #000;
                            }
                        .filter-neighborhoods .filter-item-content input[type=radio]{
                            display: none !important;
                            border-radius: 50% !important;
                        }
                        .filter-item-content input[type=checkbox]:checked,
                        .filter-item-content input[type=radio]:checked{
                            border: solid 1px #000
                        }
                        .filter-item-content input[type=checkbox]:checked:before,
                        .filter-item-content input[type=radio]:checked:before{
                            content: '';
                            display: inline-block;
                            background-color: #000;
                            margin: 0;
                            padding: 0;
                            width: 20px;
                            height: 20px
                        }
                        .filter-item-content input[type=checkbox]:checked:after,
                        .filter-item-content input[type=radio]:checked:after{
                            content: '';
                            display: inline-block;
                            position: absolute;
                            top: 0;
                            left: 0;
                            z-index: 2;
                            width: 6px;
                            height: 11px;
                            border: solid #FFF;
                            border-width: 0 2px 2px 0;
                            transform: rotate(45deg);
                            margin: 2px 0 0 4px;
                        }
                        .filter-neighborhoods .filter-item-content input[type=radio]:checked:after{
                            left: 1px;
                            width: 5px;
                            height: 9px;
                        }
                        .filter-item-content input[type=radio]:checked + span{
                            color: #777;
                        }

#listings-items{
    position: relative;
    z-index: 3;
    margin-top: 20px;
    /* overflow: hidden; */
}
    .column-listing{
        float: left;
        position: relative;
        min-height: 1px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .no-listings{
        width: 100% !important;
        text-align: center;
    }
        .no-listings p{
            font-family: 'Quicksand', sans-serif;
            font-weight: 400;
            font-size: 20px;
            margin-top: 40px;
        }
        .no-listings a.aios-default-btn{
            margin-top: 50px;
            min-width: 320px;
            padding: 10px;
            font-size: 17px;
        }
    .listings-item{
        display: block;
        position: relative;
        margin: 15px 0;
        text-transform: uppercase;
        cursor: pointer;
    }
        .listings-item.popup-open{
            z-index: 100;
        }
        .listings-banner{
            position: absolute;
            top: 37%;
            left: -63px;
            z-index: 10;
            transform: translateY(-50%) rotate(-90deg);
            z-index: 2;
            min-width: 170px;
            background: #000;
            font-size: 18px;
            color: #FFF;
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 0.07em;
            padding: 9px 10px;
        }
        .listings-item-guide{
            display: block;
            width: 100%;
            height: 380px;
        }
            #listings-items .row:nth-of-type(2) .listings-item-guide,
            #listings-items .row:nth-of-type(5) .listings-item-guide,
            #listings-items .row:nth-of-type(8) .listings-item-guide,
            #listings-items .row:nth-of-type(11) .listings-item-guide{
                height: 635px;
            }
            .listings-item-image{
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-repeat: no-repeat;
                background-position: center;
                background-size: cover;
                filter: grayscale(100);
                transition: all 0.3s linear;
            }
                .listings-item:hover .listings-item-image{
                    filter: grayscale(0);
                }
        .listings-item-title{
            display: inline-block;
            background: #000;
            max-width: 450px;
            width: calc(100% - 40px);
            position: absolute;
            bottom: 0;
            left: 20px;
            font-weight: 300;
            font-size: 18px;
            color: #FFF;
            text-decoration: none !important;
            letter-spacing: 0.1em;
            padding: 20px 25px 30px;
        }
            .listings-item-title em{
                display: block;
                font-family: 'Italiana', sans-serif;
                font-weight: 400;
                font-size: 28px;
                font-style: normal;
            }
        .listings-item-popup{
            display: block;
            background: #000;
            position: absolute;
            top: -85px;
            left: -85px;
            z-index: 10;
            width: calc(100% + 170px);
            height: calc(100% + 170px);
            visibility: hidden;
            opacity: 0;
            transition: all 0.3s, opacity 0.3s ease-in-out;
            transform: scale(0.7);
            cursor: default;
        }
            #listings-items .row:nth-of-type(2) .listings-item-popup,
            #listings-items .row:nth-of-type(5) .listings-item-popup,
            #listings-items .row:nth-of-type(8) .listings-item-popup,
            #listings-items .row:nth-of-type(11) .listings-item-popup{
                top: -50px;
                left: -50px;
                width: calc(100% + 100px);
                height: calc(100% + 100px);
            }
            .listings-item.popup-open .listings-item-popup{
                transform: scale(1);
                visibility: visible;
                opacity: 1;
            }
            .listings-item-popup-slides{
                display: block;
                width: 100%;
                height: 100%;
            }
            .listings-item-popup-close{
                position: absolute;
                top: 20px;
                right: 20px;
                z-index: 2;
                cursor: pointer;
                font-size: 32px;
                color: #FFF;
                text-shadow: 0px 1px 3px rgba(0,0,0,0.3);
            }
            .listings-item-popup-slides .slick-list,
            .listings-item-popup-slides .slick-track,
            .listings-item-popup-slides .slick-slide,
            .listings-item-popup-slides .slick-slide div{
                height: 100% !important;
            }
                .listings-item-popup-slide{
                    display: block;
                    width: 100%;
                    height: 100%;
                }
                    .listings-item-popup-slide canvas{
                        display: block;
                        width: 100%;
                        height: 100%;
                        background-repeat: no-repeat;
                        background-position: center;
                        background-size: cover;
                    }
            .listings-item-popup-link{
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                z-index: 1;
            }
            .listings-item-popup-info{
                display: block;
                background: #000;
                width: calc(100% - 80px);
                position: absolute;
                bottom: 0;
                left: 40px;
                z-index: 2;
                padding: 25px 65px;
                font-size: 14px;
                color: #FFF;
                letter-spacing: 0.1em;
                text-align: center;
            }
                .listings-item-arrow{
                    position: absolute;
                    top: 50%;
                    font-size: 34px;
                    color: #FFF;
                    transform: translateY(-50%);
                    opacity: 0.27;
                    cursor: pointer;
                    transition: all 0.3s linear;
                }
                    .listings-item-arrow.slick-prev{
                        left: 15px;
                    }
                    .listings-item-arrow.slick-next{
                        right: 15px;
                    }
                    .listings-item-arrow:hover{
                        opacity: 1;
                    }
                .listings-item-popup-title{
                    font-weight: 300;
                    font-size: 14px;
                    text-decoration: none !important;
                    text-align: left;
                    letter-spacing: 0.2em;
                    width: 50%;
                }
                    .listings-item-popup-title em{
                        display: block;
                        font-family: 'Italiana', sans-serif;
                        font-weight: 400;
                        font-size: 22px;
                        font-style: normal;
                        line-height: 29px;
                        letter-spacing: 0.1em;
                    }
                span[class*=listings-item-popup-icon-]{
                    display: block;
                    background-repeat: no-repeat;
                    background-position: center;
                    width: 33px;
                    height: 23px;
                    margin: 0 auto 10px;
                }
                    span.listings-item-popup-icon-price{
                        background-image: url(../images/icon-price.png);
                    }
                    span.listings-item-popup-icon-beds{
                        background-image: url(../images/icon-beds.png);
                    }
                    span.listings-item-popup-icon-baths{
                        background-image: url(../images/icon-baths.png);
                    }

#listings-cta{
    display: block;
    position: relative;
    padding: 45px 0 0;
    width: calc(100% - 30px);
    min-height: 324px;
    margin: 70px auto 0;
}
    #listings-cta::before{
        content: '';
        display: inline-block;
        background: url(../images/cta-background.jpg) no-repeat center top;
        background-size: cover;
        background-attachment: fixed;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 324px;
    }
    .listings-cta-item{
        display: block;
        position: relative;
        max-width: 365px;
        margin: 25px auto 0;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
        .listings-cta-item canvas{
            display: block;
            width: 100%;
        }
        .listings-cta-item span{
            display: inline-block;
            background: #000;
            position: absolute;
            top: 50%;
            width: calc(100% - 30px);
            left: 15px;
            transform: translateY(-50%);
            padding: 20px 15px;
            font-size: 10px;
            color: #FFF !important;
            text-transform: uppercase;
            text-decoration: none !important;
            text-align: center;
            letter-spacing: 0.2em;
            transition: all 0.3s linear;
        }
            .listings-cta-item:hover span{
                background: #fff;
                color: #000 !important;
            }
            .listings-cta-item span em{
                display: block;
                font-family: 'Italiana', sans-serif;
                font-size: 35px;
                font-style: normal;
                letter-spacing: 0.05em;
            }

.ajax-ellipsis {
    display: block;
    position: relative;
    width: 64px;
    height: 100px;
    margin: 0 auto;
}
.ajax-ellipsis div {
    position: absolute;
    top: 27px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #777;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
    margin-top: 18px;
}
.ajax-ellipsis div:nth-child(1) {
    left: 6px;
    animation: ajax-ellipsis1 0.6s infinite;
}
.ajax-ellipsis div:nth-child(2) {
    left: 6px;
    animation: ajax-ellipsis2 0.6s infinite;
}
.ajax-ellipsis div:nth-child(3) {
    left: 26px;
    animation: ajax-ellipsis2 0.6s infinite;
}
.ajax-ellipsis div:nth-child(4) {
    left: 45px;
    animation: ajax-ellipsis3 0.6s infinite;
}
@keyframes ajax-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes ajax-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes ajax-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(19px, 0);
    }
}            

@media only screen and (min-width: 992px) {
    #listings-items .column-listing{
        width: 50%;
    }
    /** 1st and 4th row */
    #listings-items .row:nth-of-type(1) .column-listing:nth-of-type(1),
    #listings-items .row:nth-of-type(4) .column-listing:nth-of-type(1){
        width: 58.33333333%;
    }
    #listings-items .row:nth-of-type(1) .column-listing:nth-of-type(2),
    #listings-items .row:nth-of-type(4) .column-listing:nth-of-type(2){
        width: 41.66666667%;
    }
    /** 3rrd and 6th row */
    #listings-items .row:nth-of-type(3) .column-listing:nth-of-type(1),
    #listings-items .row:nth-of-type(6) .column-listing:nth-of-type(1){
        width: 41.66666667%;
    }
    #listings-items .row:nth-of-type(3) .column-listing:nth-of-type(2),
    #listings-items .row:nth-of-type(6) .column-listing:nth-of-type(2){
        width: 58.33333333%;
    }

    /** hide on desktop */
    .filter-call{display: none !important;}
}

/********************************************
 * Total width of main content 1430px
 ********************************************/
@media only screen and (min-width: 1301px) and (max-width: 1466px) {
    #listings-items div[class*=col-md-]:nth-of-type(1) .listings-item-popup{
        left: 0;
    }
    #listings-items div[class*=col-md-]:nth-of-type(2) .listings-item-popup{
        left: -170px;
    }
    #listings-items .row:nth-of-type(2) div[class*=col-md-]:nth-of-type(2) .listings-item-popup,
    #listings-items .row:nth-of-type(5) div[class*=col-md-]:nth-of-type(2) .listings-item-popup,
    #listings-items .row:nth-of-type(8) div[class*=col-md-]:nth-of-type(2) .listings-item-popup,
    #listings-items .row:nth-of-type(11) div[class*=col-md-]:nth-of-type(2) .listings-item-popup{
        left: -100px;
    }
}
@media only screen and (max-width: 1300px) {
    .listings-item-popup{
        width: 60vw;
    }
    #listings-items div[class*=col-md-]:nth-of-type(1) .listings-item-popup{
        left: 0;
    }
    #listings-items div[class*=col-md-]:nth-of-type(2) .listings-item-popup{
        left: auto;
        right: 0;
    }
    #listings-items .row:nth-of-type(2) .listings-item-guide,
    #listings-items .row:nth-of-type(5) .listings-item-guide,
    #listings-items .row:nth-of-type(8) .listings-item-guide,
    #listings-items .row:nth-of-type(11) .listings-item-guide{
        height: 500px;
    }
}
@media only screen and (max-width: 1199px) {
    .listings-cta-item span em{
        font-size: 28px;
    }
}
@media only screen and (min-width: 991px) and (max-width: 1199px) {
    .column-listing .listings-item-popup{
        left: -4.102vw;
    }
    .column-listing:nth-of-type(2) .listings-item-popup{
        left: auto;
        right: -4.102vw;
    }
}
@media only screen and (max-width: 991px) {
    /** Check if popup is open from body class */
    .listing-popup-open{
        overflow: hidden;
    }
        .listing-popup-open #inner-page-wrapper,
        .listing-popup-open #flistings{
            z-index: 1001;
        }
    #listings-items div[class*=col-md-]:nth-of-type(2) .listings-item{
        margin-bottom: 0;
    }
        .listings-item-guide{
            min-height: 350px;
            height: auto !important;
        }
        .listings-item-popup{
            width: 100vw !important;
            height: 100vh !important;
            position: fixed;
            top: 0 !important;
            left: 0 !important;
            z-index: 10000 !important;
            transform: scale(1) !important;
        }
            .listings-item-popup-close{
                display: block !important;
            }
            .listings-item-popup-slide canvas{
                background-color: #999999;
                background-size: 100% auto;
                background-position: center center;
            }
            .column-listing{
                width: 100%;
            }
    /** Filter */       
    .filter-item-neighborhoods{
        width: 100%;
    }
        .filter-item-neighborhoods ul{
            column-count: 1;
        }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .filter-search{}
    .filter-item-content.filter-search-text{
        left: -81px;
        transform: translateX(0);
        width: 600px;
    }
        .filter-item-content.filter-search-text::before{
            margin-left: -183.5px;
        }
}


@media only screen and (max-width: 767px) {
    .filter-item{
        margin-left: 0;
        margin-right: 0;
        width: 50%;
    }
        .filter-item a{
            width: auto !important;
        }
            .filter-item a span{
                display: none !important;
            }
        .filter-item-content{
            min-width: initial !important;
            width: 100vw !important;
            left: 0;
            bottom: calc(100% + 11px);
            transform: translateX(0%);
        }
            .filter-item-content::before{
                left: calc(25vw + 15px );
            }
            .filter-item-close{
                display: block !important;
            }
            .filter-item:nth-of-type(even) .filter-item-content{
                left: auto !important;
                right: 0;
            }
                .filter-item:nth-of-type(even) .filter-item-content::before{
                    left: auto !important;
                    right: calc(25vw - 15px );
                }
            .filter-item-neighborhoods{
                padding-right: 0 !important;
                padding-left: 0 !important;
            }
                .filter-item-content-scroll{
                    padding-right: 45px !important;
                    padding-left: 45px !important;
                    height: 350px;
                    overflow: scroll;
                }
            .filter-filter .filter-item-content{
                left: -50%;
            }
                .filter-filter .filter-item-content::before{
                    left: 50vw;
                }
}

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

    .listings-item-title{
        position: static;
        font-size: 14px;
        width: 100%;
        margin-top: -1px;
    }
        .listings-item-title em{
            font-size: 20px;
        }
    .listings-item-guide{
        display: none !important;
    }
    .listings-item-image{
        display: block;
        position: static !important;
    }
    .listings-item-popup-slide canvas{
        height: calc(100% - 158px);   
    }
    .listings-item-popup-info{
        width: 100% !important;
        min-height: 158px;
        left: 0 !important;
        padding: 25px 15px;
    }
        .listings-item-arrow{
            position: fixed;
            text-shadow: 0px 1px 3px rgba(0,0,0,0.3);
            margin-top: -79px;
            opacity: 1 !important;
        }
        .listings-item-popup-info .row-flex-static{
            flex-wrap: wrap;
            /* justify-content: center; */
        }
            .listings-item-popup-title{
                font-size: 14px;
                margin-bottom: 10px;
                width: 100%;
            }
                .listings-item-popup-title em{
                    font-size: 18px;
                }
    .listings-pagination-container{
        padding-left: 0;
        padding-right: 0;
    }
        .listings-pagination-prev,
        .listings-pagination-next{
            display: none !important;
        }
    .listings-cta-item span em{
        font-size: 28px !important;
    }
}