/* MLS Search */

/* Hide Banner, SMIs & Footer */
div#inner-page-banner,
.ip-container .floating-smi,
.footer {
    display: none;
}

/* Force header to active state */
.header {
    background: #a17a65;
}
.header .header-wrap .header-logo {
    padding: 7px 0;
}
.header .header-wrap .header-brokerage {
    height: 91px;
    margin-bottom: 0;
}

/* Content */
div#inner-page-wrapper {
    padding-top: 100px;
    margin-bottom: 0;
}
    div#inner-page-wrapper > .container {
        width: 100%;
        padding: 0;
    }

.mls-search-wrapper {
    font-size: 0;
}
    .mls-search-form {
        border-bottom: 1px solid #e7e7e7;
        padding: 16px 0 8px 34px;
    }
        .mls-search-form-field {
            display: inline-block;
            vertical-align: top;
        }
            .mls-search-form-field label {
                display: block;
                font-family: "Montserrat", sans-serif;
                font-size: 13px;
                font-weight: 400;
                color: #3e3e3e;
                text-transform: uppercase;
            }
            .mls-search-form-field select {
                -webkit-appearance: none;
                -moz-appearance: none;
                outline: none;
                border: none;
                font-family: "Montserrat", sans-serif;
                font-size: 13px;
                font-weight: 400;
                color: #818181;
                width: 100%;
                height: 34px;
                border-bottom: 1px solid #c0c0c0;
                background-image: url('../../images/select-arrow-icon.png');
                background-size: 15px 9px;
                background-repeat: no-repeat;
                background-position: center right 11px;
            }
        .neighbourhoods-wrap,
        .property-type-wrap {
            width: 17.24%;
            padding-right: 32px;
        }
        .beds-wrap {
            width: 7.91%;
            padding-right: 10px;
        }
        .baths-wrap {
            width: 9.13%;
            padding-right: 30px;
        }
        .price-wrap {
            width: 18%;
            padding-right: 41px;
        }
            .price-wrap .irs--flat {
                margin-top: 7px;
            }
            .price-wrap .irs-line {
                height: 2px;
                background-color: #c0c0c0;
                border-radius: 0;
            }
            .price-wrap .irs-bar {
                height: 2px;
                background-color: #c0c0c0;
            }
            .price-wrap .irs-handle {
                top: 20px;
                width: 11px;
                height: 11px;
                background-color: #a17a65;
                border-radius: 50%;
            }
            .price-wrap .irs-handle>i:first-child {
                opacity: 0;
            }
            .price-wrap .irs--flat .irs-from,
            .price-wrap .irs--flat .irs-to,
            .price-wrap .irs--flat .irs-single {
                font-family: "Montserrat", sans-serif;
                font-size: 13px;
                font-weight: 400;
                color: #818181;
                padding: 0;
                background-color: transparent;
                border-radius: 0;
            }
            .price-wrap .irs--flat .irs-from {
                margin-left: 25px;
            }
            .price-wrap .irs--flat .irs-to {
                margin-left: -40px;
            }
            .price-wrap .irs--flat .irs-from:before,
            .price-wrap .irs--flat .irs-to:before,
            .price-wrap .irs--flat .irs-single:before {
                opacity: 0;
            }
        .submit-wrap {
            width: 12.62%;
        }
            .submit-wrap input {
                -webkit-appearance: none;
                -moz-appearance: none;
                outline: none;
                border: none;
                font-family: "Montserrat", sans-serif;
                font-size: 16px;
                font-weight: 400;
                color: #3e3e3e;
                text-transform: uppercase;
                text-align: center;
                display: block;
                width: 100%;
                height: 50px;
                background: transparent;
                border: 2px solid #818181;
                transition: all .4s ease-in-out;
            }
            .submit-wrap input:hover {
                border-color: #a17a65;
                background: #a17a65;
                color: #fff;
            }
    .mls-search-result-wrap {
        position: relative;
    }
        .mls-search-result-col {
            display: inline-block;
            vertical-align: top;
            width: 50%;
        }
            .mls-search-result-list-wrap {
                padding: 21px 22px 0 28px;
            }
                .mls-search-result-list {
                    margin: 0 -3px;
                    max-height: 732px;
                }
                .mls-search-result-list-inner {
                    padding-top: 5px;
                    padding-right: 40px;
                }
                    .mls-search-result-list .simplebar-track.vertical::before,
                    .mls-search-result-list .simplebar-track.vertical::after {
                        content: "";
                        position: absolute;
                        right: 0;
                        width: 17px;
                        height: 17px;
                        display: block;
                        background-size: 17px 9px;
                        background-repeat: no-repeat;
                        background-position: center;
                        background-color: #fff;
                        z-index: 1;
                    }
                    .mls-search-result-list .simplebar-track.vertical::before {
                        top: 2px;
                        background-image: url('../../images/sroller-arrow-up.png');
                    }
                    .mls-search-result-list .simplebar-track.vertical::after {
                        bottom: 2px;
                        background-image: url('../../images/sroller-arrow-down.png');
                    }
                    .mls-search-result-list .simplebar-track {
                        width: 17px;
                    }
                    .mls-search-result-list .simplebar-scrollbar {
                        width: 17px;
                        right: 0px;
                    }
                    .mls-search-result-list .simplebar-track.vertical .simplebar-scrollbar:before {
                        opacity: 1;
                        background: #a17a65;
                        border-radius: 0;
                    }
                    .mls-search-result-item {
                        display: inline-block;
                        vertical-align: top;
                        width: 50%; 
                        padding: 0 3px;
                        margin-bottom: 7px;
                    }
                    .mls-search-result-item a:hover .mls-search-result-item-image {
                        opacity: .7;
                    }
                        .mls-search-result-item-image {
                            position: relative;
                            background-size: cover;
                            background-repeat: no-repeat;
                            background-position: center;
                            height: 242px;
                            transition: all .4s ease-in-out;
                        }
                            .mls-search-result-item-image::after {
                                content: "";
                                position: absolute;
                                bottom: 0;
                                left: 0;
                                width: 9px;
                                height: 49px;
                                background: #000;
                                z-index: 1;
                            }
                            .mls-search-result-item-details {
                                position: absolute;
                                bottom: 0;
                                left: 0;
                                width: 100%;
                                max-width: 238px;
                                background: rgba(255,255,255,.8);
                                padding: 16px 0 0 30px;
                            }
                                .mls-search-result-item-details-address-line1 {
                                    font-family: "Montserrat", sans-serif;
                                    font-size: 18px;
                                    font-weight: 500;
                                    color: #000;
                                    text-transform: uppercase;
                                    line-height: 24px;
                                    max-width: 195px;
                                    margin-bottom: 4px;
                                }
                                .mls-search-result-item-details-address-line2 {
                                    font-family: "Montserrat", sans-serif;
                                    font-size: 14px;
                                    font-weight: 400;
                                    color: #838383;
                                    margin-bottom: 19px;
                                }
                                .mls-search-result-item-details-price {
                                    font-family: "Montserrat", sans-serif;
                                    font-size: 18px;
                                    font-weight: 400;
                                    color: #4f4f4f;
                                    margin-bottom: 13px;
                                }
            .mls-search-result-map-wrap iframe {
                width: 100%;
            }
            .mls-search-bottom-pagination {
                padding: 13px 0;
                border-top: 1px solid #e7e7e7;
            }
                .mls-search-bottom-pagination-col {
                    display: inline-block;
                    vertical-align: middle;
                }
                .mls-search-paginate {
                    width: 20%;
                    padding: 0 10px;
                }
                    .mls-search-paginate:last-child a {
                        margin-left: auto;
                    }
                    .mls-search-paginate a {
                        display: block;
                        width: 44px;
                        padding: 19px 0;
                        color: #484848;
                        text-align: center;
                        border: 1px solid #e4e4e4;
                        transition: all .4s ease-in-out;
                    }
                    .mls-search-paginate a:hover {
                        background: #a17a65;
                        border-color: #a17a65;
                        color: #fff;
                    }
                        .mls-search-paginate a span {
                            font-size: 23px;
                        }
                .mls-search-paginate-text {
                    width: 60%;
                }
                    .mls-search-paginate-text p {
                        font-family: "Montserrat", sans-serif;
                        font-size: 14px;
                        font-weight: 400;
                        color: #818181;
                        text-align: center;
                        text-transform: uppercase;
                        letter-spacing: 1px;
                    }

/* Mobile */                    
@media only screen and (max-width: 1199px) {
    .price-wrap .irs--flat .irs-from,
    .price-wrap .irs--flat .irs-to,
    .price-wrap .irs--flat .irs-single {
        font-size: 9px;
    }
    .price-wrap .irs--flat .irs-to {
        margin-left: -13px;
    }
    .mls-search-result-col:first-child {
        width: 65%;
    }
    .mls-search-result-col:nth-child(2) {
        width: 35%;
    }
}

@media only screen and (max-width: 991px) {
    div#inner-page-wrapper {
        padding-top: 0;
    }
    .mls-search-form {
        padding: 10px;
    }
    .mls-search-form-field {
        padding: 10px !important;
    }
    .neighbourhoods-wrap,
    .property-type-wrap,
    .beds-wrap,
    .baths-wrap {
        width: 50%;
    }
    .price-wrap {
        width: 100%;
    }
    .submit-wrap {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .mls-search-result-col {
        width: 100% !important;
    }
    .mls-search-result-map-wrap iframe {
        height: 400px;
    }
}

@media only screen and (max-width: 767px) {
    .mls-search-result-list-inner {
        padding-right: 15px;
    }
}
@media only screen and (max-width: 480px) {
    .mls-search-result-item {
        width: 100%;
    }
    .mls-search-result-map-wrap iframe {
        height: 300px;
    }
    .mls-search-paginate-text p {
        font-size: 10px;
    }
}