/** Add this to innerpage */
#inner-page-wrapper{
    z-index: 10 !important;
}
.ip-contact-form .cfwrap h2 span{
    display: block;
    font-weight: 500;
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
    letter-spacing: 0.55em;
    line-height: 1.3em;
}

/** Floating Button */
#floating-side-btn{
    position: fixed;
    width: 220px;
    top: 50%;
    left: -93px;
    z-index: 10;
    transform: translateY(-50%) rotate(-90deg);
}
    #floating-side-btn a{
        margin: 0 !important;
        font-size: 13px;
    }

/** Hero */
#hero-listings{
    position: relative;
    width: calc(100% - 30px);
    margin: 15px 15px 0;
    overflow: hidden;
}
    .listings-banner{
        left: auto !important;
        right: -63px !important;
        transform: translateY(50%) rotate(90deg) !important;
    }
    #hero-listings .cycloneslider-template-listings::before {
        opacity: 0;
    }
#hero-listings .cycloneslider-template-listings::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    pointer-events: none;
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%);
    z-index: 6;
}


    .hero-listings-title{
        display: inline-block;
        background: #000;
        min-width: 600px;
        position: absolute;
        bottom: 0;
        left: 55px;
        z-index: 1;
        font-weight: 300;
        font-size: 28px;
        color: #FFF;
        text-decoration: none !important;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        padding: 30px 40px 30px 25px;
        margin: 0 !important;
    }
        .hero-listings-title em{
            display: block;
            font-family: 'Italiana', sans-serif;
            font-weight: 400;
            font-size: 45px;
            font-style: normal;
            line-height: 0.9;
        }

#listing-featured-details{}
    .listing-detail-item{
        text-align: center;
        padding: 60px 25px !important;
    }
        .listing-detail-item span{
            display: block;
            margin-bottom: 25px;
            font-weight: 500;
            font-size: 15px;
            color: #999999;
            letter-spacing: 0.07em;
            text-transform: uppercase;
        }
            .listing-detail-item span em{
                
                font-style: normal;
               
            }

#listing-about{
    position: relative;
    width: calc(100% - 30px);
    min-height: 535px;
    margin: 0 auto;
    padding-top: 75px;
}
    #listing-about::before{
        content: '';
        display: inline-block;
        background: #353535;
        position: absolute;
        top: 117px;
        left: 0;
        z-index: 1;
        width: 65.605096%;
        height: 2px;
    }
    .listing-about-background{
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
        background: url(../images/about-background.jpg) no-repeat center center;
        background-size: cover;
        width: 100%;
        max-height: 535px;
    }
    .custom-container{
        position: relative;
        z-index: 2;
    }
        .listing-about-description{
            float: left;
            position: relative;
            z-index: 1;
            background: #FFF;
            width: 40.272793%;
            min-height: 550px;
            padding: 50px 30px;
            color: #000;
        }
            .listing-about-description p{
                font-weight: 300;
                font-size: 14px;
                line-height: 1.7;
                letter-spacing: 0.02em;
                margin-top: 20px;
            }
        .listing-about-image{
            float: right;
            position: absolute;
            bottom: 0;
            right: 15px;
            z-index: 0;
            width: calc( 59.727207% - 18px );
            background-repeat: no-repeat;
            background-position: center center;
            background-size: cover;
        }
        #listing-about .listings-banner{
            right: -44px !important;
        }
#listing-cta-form{
    padding-top: 10px;
    padding-bottom: 10px;
}
    .listing-cta-item{
        text-align: center;
        padding: 30px 15px !important;
    }
        .listing-cta-item a{
            display: block;
            padding: 30px;
            text-decoration: none !important;
            transition: all 0.3s linear;
        }
            .listing-cta-item-active a,
            .listing-cta-item a:hover{
                background: #000;
            }
            .listing-cta-item a img{
                transition: all 0.3s linear;
            }
                .listing-cta-item-active a img,
                .listing-cta-item a:hover img{
                    filter: invert(100%);
                }
            .listing-cta-item span{
                display: block;
                margin-top: 25px;
                font-weight: 500;
                font-size: 15px;
                color: #999999;
                letter-spacing: 0.07em;
                text-transform: uppercase;
            }
            
        .listing-cta-content{
            display: block;
            background: rgba(0,0,0,0.8);
            position: absolute;
            left: 50%;
            bottom: calc(100% - 20px);
            transform: translateX(-50%);
            min-width: 295px;
            padding: 27px 10px;
            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;
        }
            .listing-cta-item-active .listing-cta-content {
                visibility: visible;
                opacity: 1;
            }
            .listing-cta-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;
            }
            .listing-cta-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;
            }
                .listing-cta-content .share-listings:hover{
                    background: transparent !important;
                    color: #8e8d8d !important;
                }
                .listing-cta-content .share-listings em{
                    display: inline-block;
                    width: 20px;
                    text-align: center;
                }
                    .listing-cta-content .share-listings em.ai-font-envelope{
                        font-size: 10px;
                    }
                .listing-cta-content .share-listings span{
                    display: inline-block !important;
                    position: static !important;
                    width: auto !important;
                    height: auto !important;
                    padding: 0 !important;
                    font-weight: 500;
                    font-family: 'Quicksand', sans-serif;
                    font-size: 14px;
                    transform: translateX(0);
                    margin-top: 0 !important;
                    color: #999999;
                    letter-spacing: 0.1em;
                    text-transform: none;
                    text-transform: uppercase;
                }
                .modal-listings .modal-content p{
                    text-transform: uppercase;
                }
#listing-gallery{}
    #listing-gallery .row:nth-of-type(2) .listing-gallery-item canvas,
    #listing-gallery .row:nth-of-type(5) .listing-gallery-item canvas,
    #listing-gallery .row:nth-of-type(8) .listing-gallery-item canvas,
    #listing-gallery .row:nth-of-type(11) .listing-gallery-item canvas{
        height: 635px;
    }
    .listing-gallery-item{
        float: left;
        position: relative;
        min-height: 1px;
        padding: 15px;
    }
        .listing-gallery-item canvas{
            display: block;
            width: 100%;
            height: 380px;
            background-repeat: no-repeat;
            background-position: center;
            background-size: cover;
            filter: grayscale(0);
            transition: all 0.3s linear;
            cursor: pointer;
        }
            .listing-gallery-item canvas:hover{
                filter: grayscale(1);
            }

#listing-info{
    margin-top: 70px;
    color: #000;
}
    .listing-info-left{
        text-transform: uppercase;
    }
        .listing-info-left span{
            font-family: 'Italiana', sans-serif;
            font-size: 65px;
            line-height: 1.2em;
            letter-spacing: 0.05em;
        }
        .listing-info-text{
            margin-top: 50px;
        }
        .listing-info-text:nth-of-type(1){
            margin-top: 0 !important;
        }
            .listing-info-text .default-small{
                font-size: 40px;
            }
    .listing-info-right{}
        .listing-info-amenities{
            margin-top: 10px;
            column-count: 2;
            column-gap: 80px;
        }
            .listing-info-amenities li{
                font-weight: 300;
                font-size: 14px;
                letter-spacing: 0.02em;
                line-height: 2.1;
            }
                .listing-info-amenities li::before{
                    content: '+';
                    display: inline-block;
                    margin-right: 15px;
                    font-weight: 400;
                }
    .listing-cta-btn{
        margin-top: 35px;
    }

#listing-map{
    display: block;
    width: calc(100% - 30px);
    margin: 80px auto 0;

    display: none;
}
    #listing-map-canvas{
        min-height: 500px;
    }
    .listing-map-canvas{
        background: url(../images/map-address-placeholder.jpg) no-repeat center center;
        background-size: cover;
        width: 100%;
    }

#listing-agents{
    position: relative;
    width: calc(100% - 30px);
    margin: 100px auto 0;
    min-height: 425px;
}
    #listing-agents::before{
        content: '';
        display: block;
        background: #FFF;
        width: 68.917197%;
        height: 168px;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1;
    }
    .listing-agents-background{
        background: url(../images/agent-background.jpg) no-repeat center center;
        background-size: cover;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
        width: 100%;
        max-height: 425px;
    }
    .listing-agents-title{
        position: relative;
        z-index: 2;
        text-align: center;
    }
    .listing-agent-items{
        position: relative;
        z-index: 2;
    }
        .listing-agent-item{
            text-align: center;
            margin-top: 15px;
        }
            .listing-agent-item a{
                display: block;
                padding: 5px 0;
            }
            .listing-agent-item canvas{
                display: block;
                background-repeat: no-repeat;
                background-position: center top;
                background-size: cover;
            }
            .listing-agent-item-title{
                display: block;
                margin: 20px auto 0;
                font-weight: 400;
                font-family: 'Italiana', serif;
                font-size: 24px;
                letter-spacing: 0.1em;
                text-transform: uppercase;
            }

            .listing-agent-item p {
                margin-bottom: 20px;
                font-size: 12px;
                letter-spacing: 0.1em;
                text-transform: uppercase;
            }
            .listing-agent-item .ai-font-envelope-o,
            .listing-agent-item .ai-font-phone-o{
                display: inline-block;
                vertical-align: middle;
                position: relative;
                margin: 0 15px;
                font-size: 30px;
                color: #000 !important;
                text-decoration: none !important;
            }
                .listing-agent-item .ai-font-envelope-o{
                    font-size: 20px;
                }
                .listing-agent-item .ai-font-phone-o{
                    font-size: 20px;
                }
                    .listing-agent-item .ai-font-phone-o::after{
                        content: "\b0068";
                        position: absolute;
                        top: 1px;
                        left: 0;
                    }

#featured-listings{
    background: url(../images/about-background.jpg) no-repeat center center;
    background-size: cover;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-top: 100px;
}
    .featured-listings-arrow{
        position: absolute !important;
        top: 50%;
        left: 45px;
        transform: translateY(-50%);
        font-size: 33px;
        color: #FFF;
        cursor: pointer;
        z-index: 100;
    }
        .featured-listings-arrow.slick-next{
            left: auto;
            right: 45px;
        }
    .featured-listings-item{
        padding: 0 15px;
    }
        .featured-listings-item a{
            display: block;
            position: relative;
            text-transform: uppercase;
            cursor: pointer;
        }
            .featured-listings-item a::before{
                content: '';
                position: absolute;
                top: 0;
                right: 0;
                bottom: 0;
                left: 0 ;
                z-index: 1;
                background: rgba(0,0,0,0.5);
                opacity: 1;
                transition: opacity 0.3s linear;
            }
                .featured-listings-item a:hover::before{
                    opacity: 0;
                }
            .featured-listings-item canvas{
                display: block;
                position: relative;
                z-index: 0;
                width: 100%;
                height: 380px;
                background-repeat: no-repeat;
                background-position: center;
                background-size: cover;
                filter: grayscale(100);
                transition: all 0.3s linear;
            }
                .featured-listings-item a:hover canvas{
                    filter: grayscale(0);
                }
            .featured-listings-item-title{
                display: inline-block;
                background: #000;
                max-width: 450px;
                width: calc(100% - 40px);
                position: absolute;
                bottom: 0;
                left: 20px;
                z-index: 2;
                font-weight: 300;
                font-size: 18px;
                color: #FFF;
                text-decoration: none !important;
                letter-spacing: 0.1em;
                padding: 20px 25px 30px;
            }
                .featured-listings-item-title em{
                    display: block;
                    font-family: 'Italiana', sans-serif;
                    font-weight: 400;
                    font-size: 28px;
                    font-style: normal;
                }
    .featured-listings-items.one-only .slick-track {
        width: 100% !important;
    }
.price-icon {
    border: 2px solid #000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 43px;
    margin: 0 auto;
}

.price-icon img {
    width: 86%;
}

@media only screen and (min-width: 992px) {
    #listing-gallery .listing-gallery-item{
        width: 50%;
    }
        #listing-gallery .listing-gallery-item:nth-of-type(1),
        #listing-gallery .listing-gallery-item:nth-of-type(6){
            width: 58.33333333%;
        }
        #listing-gallery .listing-gallery-item:nth-of-type(2),
        #listing-gallery .listing-gallery-item:nth-of-type(5){
            width: 41.66666667%;
        }
    .listing-info-left.has-border{
        padding-right: 90px !important;
        border-right: solid 3px #000;
        min-width: 320px;
    }
    .listing-info-right.has-border{
        padding-left: 90px !important;
    }

    .listing-agent-item a.hide{
        display: none !important;
    }
    .listing-detail-item {
        min-width: 215px;
    }
}

@media only screen and (min-width: 1420px) {
    #listing-about .custom-container{
        width: 1370px !important;
    }
        #listing-about .custom-container .col-md-12{
            min-height: 677px;
        }
}

@media only screen and (max-width: 991px) {
    .hero-listings-title{
        position: static;
        width: 100%;
    }
    #floating-side-btn{
        width: 90px;
        top: 20%;
        left: -27px;
    }
        #floating-side-btn a{
            font-size: 0 !important;
            padding: 10px; 
        }
            #floating-side-btn a::before{
                content: "\e904";
                display: block;
                font-family: agentimage!important;
                speak: none;
                font-style: normal;
                font-weight: 400;
                font-variant: normal;
                text-transform: none;
                line-height: 1;
                -webkit-font-smoothing: antialiased;
                -moz-osx-font-smoothing: grayscale;
                background: none !important;
                font-size: 34px !important;
                color: #FFF !important;
                text-decoration: none !important;
                opacity: 0.8 !important;
                height: 0;
            }
    #single-listing{
        padding-top: 15px;
    }
        #listing-about{
            width: 100%;
            margin-left: 0;
            margin-right: 0;
        }
            .listing-about-description{
                width: 100% !important;
            }
            .listing-about-image{
                display: none;
            }
        .listing-gallery-item{
            width: 50%;
        }
        .listing-agent-item{
            margin: 0 !important;
            padding: 20px 0;
        }
            .listing-agent-item canvas{
                margin: 0 auto;
            }
        .ip-contact-form{
            margin-top: 30px !important;
        }
        .listing-agent-item a.hide{
            display: block !important;
        }
        .listing-agent-item a.listing-agent-item-smi{
            display: inline-block !important;
            vertical-align: middle;
        }
        .listing-info-text .default-heading {
            text-align: center !important;
        }
        .listing-cta-btn{
            font-size: 0;
        }
            .listing-cta-btn a{
                display: inline-block !important;
                min-width: initial;
                margin-left: 5px;
                margin-right: 5px;
                width: calc(100% / 3 - 10px);
                font-size: 13px;
                letter-spacing: 0.1em;
            }
}

@media only screen and (max-width: 767px) {
    .hero-listings-title{
        min-width: initial;
        font-size: 20px;
    }
        .hero-listings-title em{
            font-size: 36px;
            line-height: 1.1;
        }
    #listing-featured-details{
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
        .listing-detail-item{
            padding-top: 20px !important;
            padding-bottom: 20px !important;
        }
    .listing-cta-item{
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        width: 100%;
        text-align: center;
    }
        .listing-cta-item a{
            display: inline-block !important;
        }
    .listing-gallery-item{
        width: 100%;
    }
    .property-info-bubble{
        top: -160px !important;
        left: 50% !important;
        transform: translateX(-50%);
    }
    .listing-cta-btn a{
        display: block !important;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        width: auto;
    }
}

@media only screen and (max-width: 600px) {
    #single-listing .default-heading{
        text-align: center !important;
    }
    .listing-agent-item canvas{
        width: 100%;
    }
    .listing-cta-btn{
        margin-left: auto;
        margin-right: auto; 
        max-width: 320px;
    }
        .aios-default-large{
            margin-top: 5px !important;
            padding-left: 10px !important;
            padding-right: 10px !important;
        }
}