/*******************************************************
 *
 * Listings
 *
 *******************************************************/
.page-template-listings .ip-banner canvas {
    max-height: 245px;
    min-height: auto;
    background-image: none !important;
}


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

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

.img-canvas{
    position: relative;
    overflow: hidden;
}

.img-canvas canvas{
    display: block;
    width: 100%;
    height: auto;
}

.img-canvas img{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    transition: 0.3s;
}

.p-rel {
    position: relative;
}

.ip-listings-wrap {
}

.ip-listings-wrap .custom-breadcrumbs {
    position: absolute;
    width: 100%;
    top: 0;
    padding: 20px;
}

    .ip-listings-wrap .custom-breadcrumbs #breadcrumbs {
        max-width: 1140px;
        margin: 0 auto;
    }


.ip-listings-title {
    padding: 110px 20px 60px;
}

    .ip-listings-title-inner {
        width: 100%;
        max-width: max(1390px,86.875vw);
        margin: 0 auto;
        padding: 90px 565px 125px clamp(50px,7.813vw,125px);
        border: 1px solid #ccc;
    }

        .ip-listings-title-inner h2 span {
            font-size: clamp(40px,7.500vw,120px);
        }

    .ip-listings-title-logo {
        position: absolute;
        top: -53px;
        right: 47px;
    }

.ip-listings-content {
    padding-bottom: 90px
}

    .ip-list-bg {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
    }

        .ip-list-bg canvas {
            display: block;
            width: 100%;
            height: 100%;
            background: center/cover fixed no-repeat;
        }

        .safari-true .ip-list-bg canvas {
            background-attachment: scroll;
        }

        .ip-list-bg:before {
            position: absolute;
            content: '';
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            background: #081628;
            z-index: 1;
            opacity: 0.8;
        }

        .ip-list-bg::after {
            position: absolute;
            content: '';
            width: 100%;
            height: 30vw;
            left: 0;
            top: 43%;
            background: #fff;
            z-index: 1;
        }
        .ip-list-bg.no-after::after {
            display: none;
        }


    .ip-listings-rows {
    }

        .ip-listings-rows:before {
            position: absolute;
            content: '';
            width: 100%;
            height: 80px;
            top: -1px;
            left: 0;
            background: #fff;
        }

        .ip-listings-row {
            display: flex;
            justify-content: end;
            margin-bottom: 80px;
            flex-wrap: wrap;
        }

        .ip-listings-row:last-child {
            margin: 0;
        }

        .ip-listings-row:nth-child(even) {
            justify-content: start;
        }

            .ip-listings-item:first-child {
                margin-right: 7px;
            }

            .ip-listings-item {
                position: relative;
                width: calc((713/1600)*100%);
                overflow: hidden;
            }
                .ip-listings-photo {}

                    .ip-listings-photo:before {
                        position: absolute;
                        content: '';
                        width: 100%;
                        height: 30%;
                        bottom: 0;
                        left: 0;
                        background: linear-gradient(0deg, black, transparent);
                        z-index: 1;
                        opacity: 0.8;
                    }

                        .ip-listings-item:hover .ip-listings-photo img {
                            filter: brightness(0.8);
                            transform: scale(1.15);
                        }

                .ip-listings-details {
                    position: absolute;
                    bottom: 20px;
                    color: #fff;
                    width: 100%;
                    z-index: 2;
                    padding: 0 30px 15px;
                    transition: 0.3s;
                }

                    .ip-listings-details h2 {
                        font-size: clamp(20px,2.250vw,36px);
                        color: #fff;
                        letter-spacing: 0.1em;
                    }

                    .ip-listings-details > span {
                        font-size: clamp(20px,1.688vw,27px);
                        font-family: var(--title-font);
                        letter-spacing: 0.02em;
                        line-height: 27px;
                        display: inline-block;
                        padding-top: 5px
                    }

                    .ip-list-features {
                        padding: 12px 0;
                        height: 0;
                        padding: 0;
                        overflow: hidden;
                        transition: 0.4s;
                        opacity: 0;
                    }

                        .ip-list-features span {
                            font-size: 17px;
                            letter-spacing: 0.02em;
                            line-height: 25px;
                            display: inline-block;
                            padding: 0 20px;
                            position: relative;
                        }

                        .ip-list-features span:first-child {
                            padding-left: 0;
                        }

                            .ip-list-features span:nth-child(2):before {
                                position: absolute;
                                content: '';
                                width: 100%;
                                height: 49%;
                                top: 50%;
                                left: 0;
                                transform: translateY(-50%);
                                border-right: 2px solid #fff;
                                border-left: 2px solid #fff;
                            }

                    .ip-listings-item:hover .ip-listings-details {
                        bottom: 0px;
                    }

                    .ip-listings-item:hover .ip-list-features {
                        height: auto;
                        padding: 12px 0;
                        opacity: 1;
                    }

                .ip-listings-hover {
                    position: absolute;
                    bottom: 0;
                    opacity: 0;
                    right: -19px;
                    transition: 0.3s;
                }

                    .ip-listings-hover img {
                        height: auto;
                        width: 100%;
                        max-width: clamp(200px,29.875vw,478px);
                    }

                    .ip-listings-item:hover .ip-listings-hover {
                        opacity: 0.25;
                    }



    .ip-listings-navigation {
        padding: 50px 20px;
    }


        .ip-listings-navigation ul {
            display: flex;
            justify-content: center;
        }

            .ip-listings-navigation ul li:last-child {
                padding-left: 3px;
            }

            .ip-listings-navigation ul li {
                font-size: 21px;
                padding: 12px 17px;
                color: #fff;
            }

            .ip-listings-navigation ul li.list-active {
                border: 1px solid var(--secondary-color);
            }

            .ip-listings-navigation ul li:hover {
                color: var(--secondary-color);
            }
    .ip-listings-buttons {
        display: flex;
        justify-content: center;
    }

        .ip-listings-buttons a {
            font-size: clamp(20px,2.188vw,35px);
            font-family: var(--title-font);
            display: flex;
            align-items: center;
            margin: 0 23px;
            color: #fff;
            transition: 0.3s;
        }

            .ip-listings-buttons a:hover {
                color: var(--secondary-color);
            }

            .ip-listings-buttons a em {
                width: 75px;
                height: 1px;
                background: var(--secondary-color);
                display: inline-block;
                margin-right: 15px
            }

.navigation-ul {
    display: flex;
    justify-content: center;
}

.navigation-ul .page-numbers {
    font-size: 21px;
    padding: 12px 17px;
    color: #fff;
}

.navigation-ul .page-numbers:hover {
    color: var(--secondary-color);
}

.navigation-ul .page-numbers.current {
    pointer-events: none;
    border: 1px solid var(--secondary-color);
}

/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
    .ip-listings-title-inner {
        padding-left: 50px;
    }

    .ip-listings-title-logo img {
        max-width: 500px;
        height: auto;
    }

    .ip-listings-title {
        padding: 65px 20px;
    }

    .ip-listings-title-logo {
        top: -62px;
    }

    .ip-list-bg canvas {
        background-attachment: scroll;
    }
} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
    .ip-listings-wrap .custom-breadcrumbs {
        position: relative;
    }
	
	.ip-listings-title-logo img {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .ip-listings-title-logo {
        position: relative;
        top: auto;
        right: auto;
        text-align: center;
    }

    .ip-listings-title-inner {
        padding: 20px;
        border: none;
    }

    .ip-listings-title {
        width: calc(100% - 40px);
        margin: 0 auto;
        border: 1px solid #ccc;
        padding: 30px 20px
    }

    .ip-listings-wrap {
        padding: 20px 0;
    }

    .ip-listings-row {
        justify-content: space-between !important;
    }

    .ip-listings-item {
        margin: 0 !important;
        width: 49.7%;
    }

} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {

    .ip-listings-item {
        width: 100%;
    }

    .ip-listings-buttons a {
        margin: 20px 0;
    }

    .ip-listings-buttons {
        flex-direction: column;
        align-items: center;
    }

}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {

    .ip-listings-details {
        text-align: center;
    }

    .ip-list-features span {
        font-size: 12px;
        padding: 0 10px !important;
    }
    .ip-list-features {
        align-items: center;
    }

    .ip-listings-navigation ul li {
        font-size: 15px;
    }

}
 
