﻿

.entityImage {
    width: 100%;
    margin-bottom: 15px;
}

.h1-fake {
    font-family: "PT Sans Narrow";
    -webkit-font-smoothing: antialiased;
    font-size: 36px;
    line-height: 40px;
    color: #005f27;
    font-weight: normal;
    margin-bottom: 0;
    margin-top: 15px;
    display: block;
}

.profileLink {
    font-size: 14px !important;
    padding-left: 10px;
    font-family: "PT Sans Narrow";
}

.resultsView {
    display: inline-block;
    float: right;
}

.resultViewFilter {
    display: inline-block;
    width: 42px;
    height: 42px;
    margin: 0 4px 0 0;
    background: #f3f3f3; /* Old browsers */
    background: -moz-linear-gradient(top, #f3f3f3 1%, #cecece 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #f3f3f3), color-stop(100%, #cecece)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #f3f3f3 1%, #cecece 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #f3f3f3 1%, #cecece 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #f3f3f3 1%, #cecece 100%); /* IE10+ */
    background: linear-gradient(to bottom, #f3f3f3 1%, #cecece 100%); /* W3C */
    -webkit-box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, .4);
    -moz-box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, .4);
    -o-box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, .4);
    box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, .4);
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -o-border-radius: 2px;
}

    .resultViewFilter:hover {
        background: #cecece;
    }

    .resultViewFilter.selected {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        -o-box-shadow: none;
        box-shadow: none;
        border: 1px solid #d2d1d1;
        background: #fff;
    }

    .resultViewFilter span {
        background-color: transparent;
        background-image: url(/Resources/images/elements.png);
        background-repeat: no-repeat;
        display: block;
        text-indent: -9999em;
        width: 42px;
        height: 42px;
    }

    .resultViewFilter.listView span {
        background-position: -501px -147px;
    }

    .resultViewFilter.galleryView span {
        background-position: -553px -147px;
    }

    .resultViewFilter.mapView span {
        background-position: -602px -147px;
    }


#agents-wrapper-js {
    width: 100%;
}

.main-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    object-fit: cover;
}

.agents-results-wrapper {
    margin-top: 35px;
}

.search-property-item-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 15px 0 15px 0;
    border: 1px solid #e0dfdf;
    margin: 0 0 19px 0;
    background: #fff;
    box-sizing: border-box;
    vertical-align: top;
}

    .search-property-item-wrapper:not(.no-redirect):hover {
        background: #f3f3f3;
    }

    .search-property-item-wrapper.no-redirect {
        cursor: default;
    }



.search-image-wrapper {
    margin: 0;
}

.galleryView .search-image-wrapper {
    margin: 0;
    padding-right: 30px;
    padding-left: 30px;
/*    height: 295px;*/
}

.galleryView .property-contents {
    margin: 0;
    padding-right: 30px;
    padding-left: 30px;
    padding-top: 15px;
}

.listView .property-contents .content-row {
    margin: 0;
}

.listView .search-image-wrapper {
    margin: 0;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.main-image-link {
    display: block;
    margin-left: 18px;
    padding-top: 75%;
}


.button-wrapper {
    margin-right: 0;
}



    .button-wrapper .btn {
        margin: 5px 0 5px 0;
        width: 100% !important;
    }

    .button-wrapper .btn-secondary.btn-with-arrow {
        background: #cecece url(/Resources/images/elements.png) 165px -323px no-repeat !important;
        background: url(/Resources/images/elements.png) 165px -323px no-repeat, -moz-linear-gradient(top, #f3f3f3 1%, #cecece 100%) !important;
        background: url(/Resources/images/elements.png) 165px -323px no-repeat, -webkit-gradient(linear, left top, left bottom, color-stop(1%, #f3f3f3), color-stop(100%, #cecece)) !important;
        background: url(/Resources/images/elements.png) 165px -323px no-repeat, -webkit-linear-gradient(top, #f3f3f3 1%, #cecece 100%) !important;
        background: url(/Resources/images/elements.png) 165px -323px no-repeat, -o-linear-gradient(top, #f3f3f3 1%, #cecece 100%) !important;
        background: url(/Resources/images/elements.png) 165px -323px no-repeat, -ms-linear-gradient(top, #f3f3f3 1%, #cecece 100%) !important;
        background: url(/Resources/images/elements.png) 165px -323px no-repeat, linear-gradient(to bottom, #f3f3f3 1%, #cecece 100%) !important;
    }

        .button-wrapper .btn-secondary.btn-with-arrow:hover {
            background: #cecece url(/Resources/images/elements.png) 165px -323px no-repeat !important;
            text-decoration: none;
            transition: none !important;
        }

    .button-wrapper .btn-primary.btn-with-arrow {
        background: #005f27 url(/Resources/images/elements.png) 155px -153px no-repeat !important;
        background: url(/Resources/images/elements.png) 155px -153px no-repeat, -moz-linear-gradient(top, #15800a 1%, #005f27 100%) !important;
        background: url(/Resources/images/elements.png) 155px -153px no-repeat, -webkit-gradient(linear, left top, left bottom, color-stop(1%, #f3f3f3), color-stop(100%, #005f27)) !important;
        background: url(/Resources/images/elements.png) 155px -153px no-repeat, -webkit-linear-gradient(top, #15800a 1%, #cecece 100%) !important;
        background: url(/Resources/images/elements.png) 155px -153px no-repeat, -o-linear-gradient(top, #15800a 1%, #005f27 100%) !important;
        background: url(/Resources/images/elements.png) 155px -153px no-repeat, -ms-linear-gradient(top, #15800a 1%, #005f27 100%) !important;
        background: url(/Resources/images/elements.png) 155px -153px no-repeat, linear-gradient(to bottom, #15800a 1%, #005f27 100%) !important;
    }

        .button-wrapper .btn-primary.btn-with-arrow:hover {
            background: #005f27 url(/Resources/images/elements.png) 155px -153px no-repeat !important;
            text-decoration: none;
            transition: none !important;
        }




.search-property-item .listingBanner {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.galleryView .search-property-item .listingBanner {
    margin-left: 30px;
}

.listView .search-property-item .listingBanner {
    margin-left: 33px;
}

.search-property-item .listingBanner.alternate {
    position: absolute;
    bottom: 0;
    top: auto;
    left: 0;
    z-index: 1;
    width: 100%;
    font-family: "Trebuchet MS";
    color: #fff;
    font-size: 14px;
    background: #072e14;
    font-weight: bold;
    text-transform: uppercase;
    height: 24px;
    vertical-align: middle;
    line-height: 23px;
    text-align: center;
    margin: 0;
    padding: 0;
    background: none;
}

.galleryView .search-property-item .listingBanner.alternate .alternate-text {
    margin: 0;
    margin-left: 30px;
    margin-right: 30px;
    padding: 0;
    font-family: 'Trebuchet MS';
    line-height: 23px;
    font-size: 14px;
    height: 24px;
    background: #062911;
}

    .galleryView .search-property-item .listingBanner.alternate .alternate-text.red {
        background: #D90303;
    }

.listView .search-property-item .listingBanner.alternate .alternate-text {
    margin: 0;
    margin-left: 33px;
    margin-right: 15px;
    padding: 0;
    font-family: 'Trebuchet MS';
    line-height: 23px;
    font-size: 14px;
    height: 24px;
    background: #062911;
}

    .listView .search-property-item .listingBanner.alternate .alternate-text.red {
        background: #D90303;
    }





.listings-results-wrapper.listView .property-contents {
    margin: 0;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.search-property-item .propertyActions {
    display: inline-block;
    margin: 15px 0 15px 0;
}

    .search-property-item .propertyActions .btn {
        width: 100%;
        margin-bottom: 5px;
    }


.listView .search-property-item .propertyActions {
    margin: 0;
    flex: 0 0 50%;
    max-width: 50%;
}

.search-property-item .propertyFeatures {
    display: inline-block;
    margin: 15px 0 15px 0;
}

.listView .search-property-item .propertyFeatures {
    margin: 0;
    flex: 0 0 50%;
    max-width: 50%;
    line-height: 20px;
}




.search-property-item .propertyFeatures .propertyFeature {
    display: inline-block;
    padding: 3px 2px 4px 4px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -o-border-radius: 3px;
    vertical-align: top;
    background: #f3f3f3;
    margin-right: 5px;
}

.search-property-item :hover .propertyFeatures .propertyFeature {
    background: #fff;
    margin-right: 5px;
}

.search-property-item .propertyFeatures .propertyFeature .icon {
    background-color: transparent;
    /*background-image: url(/Resources/images/property_icons.png);*/
    background-repeat: no-repeat;
    margin-top: -8px;
}

.search-property-item .propertyFeatures .propertyFeature p {
    margin: 0;
    padding: 0;
    color: #a9a9a9;
    font-family: "Trebuchet MS";
    font-size: 12px;
    text-align: right;
    line-height: 1em;
    vertical-align: top;
}

.search-property-item .propertyFeatures .propertyFeature.bedroom .icon {
    background-image: url(/Resources/images/property/icons/propertyIcon_beds.png);
    width: 27px;
    height: 25px;
    display: block;
}

.search-property-item .propertyFeatures .propertyFeature.bathroom .icon {
    background-image: url(/Resources/images/property/icons/propertyIcon_baths.png);
    width: 27px;
    height: 25px;
    display: block;
}

.search-property-item .propertyFeatures .propertyFeature.garage .icon {
    background-image: url(/Resources/images/property/icons/propertyIcon_garage.png);
    width: 27px;
    height: 25px;
    display: block;
}

.search-property-item .propertyFeatures .propertyFeature.parking .icon {
    background-image: url(/Resources/images/property/icons/propertyIcon_parking.png);
    width: 27px;
    height: 25px;
    display: block;
}

.search-property-item .propertyFeatures .propertyFeature.rooms .icon {
    background-image: url(/Resources/images/property/icons/propertyIcon_rooms.png);
    width: 27px;
    height: 25px;
    display: block;
}

.search-property-item .propertyFeatures .propertyFeature.starRating p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 21px;
    font-weight: normal;
    width: 32px;
    margin: 7px 2px -3px -2px;
    letter-spacing: -2px;
    text-align: center;
    line-height: 13px;
}

.search-property-item .propertyFeatures .propertyFeature.starRating {
    min-height: 29px;
}

.search-property-item .propertyFeatures .propertyFeature.size p {
    font-size: 14px;
    line-height: 2.1em;
}

.search-property-item .propertyFeatures .propertyFeature.erfSize p, .search-property-item .propertyFeatures .propertyFeature.buildingSize p {
    display: inline-block;
    margin: 8px 5px 0 0;
}

.search-property-item .propertyFeatures .propertyFeature.erfSize .icon {
    background-image: url(/Resources/images/property/icons/propertyIcon_erfsize.png);
    width: 29px;
    height: 29px;
    display: inline-block;
    margin-top: -4px;
    background-position: 0 5px;
}

.search-property-item .propertyFeatures .propertyFeature.buildingSize .icon {
    background-image: url(/Resources/images/property/icons/propertyIcon_buildingsize.png);
    width: 22px;
    height: 29px;
    display: inline-block;
    margin-top: -4px;
    background-position: 0 5px;
}

.search-property-item .propertyFeatures .propertyFeature.link {
    height: 30px;
    padding: 3px 4px 4px 6px;
}

    .search-property-item .propertyFeatures .propertyFeature.link p {
        background-position: -216px -95px;
        text-align: left;
        margin-top: 10px;
        margin-left: 0px;
    }

.search-property-item p.price {
    font-size: 16px;
    margin: -5px 0 0 0;
}

.pinProperty img {
    display: inline-block;
    width: 15px;
    height: 14px;
    line-height: 25px;
}

.pinProperty.selected {
    background: #cecece !important;
}


.listings-results-wrapper.galleryView, .listings-results-wrapper.listView {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.listings-results-wrapper.galleryView {
    /* margin-left: 8px; */
    margin-left: 0;
}

    .listings-results-wrapper.galleryView .search-property-item-wrapper {
        display: inline-block;
        max-width: 48%;
        margin: 0px 5px 15px 5px;
        padding-bottom: 0;
        text-align: left;
    }

        .listings-results-wrapper.galleryView .search-property-item-wrapper .main-image-link {
            margin-left: 0;
            height: 100%;
        }

    .listings-results-wrapper.galleryView .property-description-link {
        min-height: 44px;
    }

        .listings-results-wrapper.galleryView .property-description-link:hover {
            text-decoration: underline;
        }

    .listings-results-wrapper.galleryView .property-description {
        display: none;
    }

.search-links {
    margin-top: 15px;
}

@media only screen and (max-width: 1023px) {



    .button-wrapper a {
        float: right !important;
    }

    .resultViewFilter.listView, .resultViewFilter.galleryView {
        display: none;
    }

    .search-image-wrapper {
        margin: 0;
        margin-bottom: 15px;
        padding-right: 30px;
        padding-left: 30px;
    }
}

@media only screen and (max-width: 990px) {
    .sort-container {
        padding-left: 15px !important;
    }
}

@media only screen and (max-width: 768px) {

    .listings-results-wrapper.galleryView .property-contents {
        margin: 0;
        padding-left: 15px;
        padding-right: 15px;
    }

    .search-property-item-wrapper {
        padding: 0;
    }

    .search-property-item {
        padding-top: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .agents-results-wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }

    .main-image-link {
        display: block;
    }

    .search-image-wrapper {
        margin: 0;
        margin-bottom: 15px;
        padding-right: 15px !important;
        padding-left: 15px !important;
  /*      height: 180px !important;*/
    }


    .button-wrapper {
        margin-right: 0;
        margin-left: 0;
    }

        .button-wrapper a {
            width: 100%;
            padding-right: 0;
        }

    .button-wrapper-holder {
        margin: 0;
        padding: 0;
    }

        .button-wrapper-holder .button-wrapper .btn {
            width: 100% !important;
        }

    .button-wrapper .btn-secondary.btn-with-arrow {
        background: #cecece !important;
        background: -moz-linear-gradient(top, #f3f3f3 1%, #cecece 100%) !important;
        background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #f3f3f3), color-stop(100%, #cecece)) !important;
        background: -webkit-linear-gradient(top, #f3f3f3 1%, #cecece 100%) !important;
        background: -o-linear-gradient(top, #f3f3f3 1%, #cecece 100%) !important;
        background: -ms-linear-gradient(top, #f3f3f3 1%, #cecece 100%) !important;
        background: linear-gradient(to bottom, #f3f3f3 1%, #cecece 100%) !important;
    }

        .button-wrapper .btn-secondary.btn-with-arrow:hover {
            background: #cecece !important;
            text-decoration: none;
            transition: none !important;
        }

    .button-wrapper .btn-primary.btn-with-arrow {
        background: #005f27 !important;
        background: -moz-linear-gradient(top, #15800a 1%, #005f27 100%) !important;
        background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #f3f3f3), color-stop(100%, #005f27)) !important;
        background: -webkit-linear-gradient(top, #15800a 1%, #cecece 100%) !important;
        background: -o-linear-gradient(top, #15800a 1%, #005f27 100%) !important;
        background: -ms-linear-gradient(top, #15800a 1%, #005f27 100%) !important;
        background: linear-gradient(to bottom, #15800a 1%, #005f27 100%) !important;
    }

        .button-wrapper .btn-primary.btn-with-arrow:hover {
            background: #005f27 !important;
            text-decoration: none;
            transition: none !important;
        }


    .galleryView .search-property-item .listingBanner {
        margin-left: 15px;
    }

        .galleryView .search-property-item .listingBanner.alternate .alternate-text {
            margin-left: 0;
        }
}

@media only screen and (max-width: 645px) {

    .search-image-wrapper {
        height: 100% !important;
    }

    .listings-results-wrapper.galleryView .search-property-item-wrapper {
        max-width: 100%;
        margin: 0 0 15px 0;
    }

    .galleryView .search-image-wrapper {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }

    .galleryView .property-contents {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }
}

@media only screen and (max-width: 576px) {

    .search-property-item {
        padding-top: 0;
        padding-right: 15px;
    }

    .button-wrapper a {
        padding-right: 15px;
    }

    .agents-results-wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }

    .main-image-link {
        display: block;
        margin-left: 0;
    }

    .search-image-wrapper {
        margin: 0;
        padding: 15px !important;
        margin-bottom: 15px;
    }

    .galleryView .property-contents {
        padding: 15px !important;
    }


    .button-wrapper {
        margin-right: 0;
        margin-left: 0;
    }

        .button-wrapper a {
            width: 100%;
        }

    .button-wrapper-holder {
        margin: 0;
        padding: 0;
    }

        .button-wrapper-holder .button-wrapper .btn {
            width: 100% !important;
        }

    .button-wrapper .btn-secondary.btn-with-arrow {
        background: #cecece !important;
        background: -moz-linear-gradient(top, #f3f3f3 1%, #cecece 100%) !important;
        background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #f3f3f3), color-stop(100%, #cecece)) !important;
        background: -webkit-linear-gradient(top, #f3f3f3 1%, #cecece 100%) !important;
        background: -o-linear-gradient(top, #f3f3f3 1%, #cecece 100%) !important;
        background: -ms-linear-gradient(top, #f3f3f3 1%, #cecece 100%) !important;
        background: linear-gradient(to bottom, #f3f3f3 1%, #cecece 100%) !important;
    }

        .button-wrapper .btn-secondary.btn-with-arrow:hover {
            background: #cecece !important;
            text-decoration: none;
            transition: none !important;
        }

    .button-wrapper .btn-primary.btn-with-arrow {
        background: #005f27 !important;
        background: -moz-linear-gradient(top, #15800a 1%, #005f27 100%) !important;
        background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #f3f3f3), color-stop(100%, #005f27)) !important;
        background: -webkit-linear-gradient(top, #15800a 1%, #cecece 100%) !important;
        background: -o-linear-gradient(top, #15800a 1%, #005f27 100%) !important;
        background: -ms-linear-gradient(top, #15800a 1%, #005f27 100%) !important;
        background: linear-gradient(to bottom, #15800a 1%, #005f27 100%) !important;
    }

        .button-wrapper .btn-primary.btn-with-arrow:hover {
            background: #005f27 !important;
            text-decoration: none;
            transition: none !important;
        }


    .featuresSummary, .property-description {
        display: none;
    }

    .search-property-item .propertyFeatures {
        margin: 10px 1% 10px 0;
    }

    .search-property-item .propertyActions .btn {
        width: 100%;
        margin-bottom: 5px;
    }

        .search-property-item .propertyActions .btn.pinProperty img {
            float: initial !important;
            margin: 0;
        }

    .galleryView .search-property-item .listingBanner {
        margin: 15px !important;
    }

        .galleryView .search-property-item .listingBanner.alternate .alternate-text {
            margin-left: 0px;
            margin-right: 30px;
        }
}

.search-profile-content {
    background: #e2e2e2;
    padding: 10px;
    text-align: center;
    border: 1px solid #f1f1f1;
    border-radius: 3px 3px 0 0;
}

    .search-profile-content a.profileLink {
        font-weight: bold;
        font-family: Trebuchet MS;
        display: block;
    }

.search-profile-wrapper .search-award-wrapper img {
    width: 100%;
    margin: 0 auto;
    display: block;
    max-width: 330px;
}

.search-profile-wrapper .search-award-wrapper {
    text-align: center;
    background: white;
    border: 1px solid #f1f1f1;
    border-top: none;
    box-shadow: 0px 5px 6px 0px #e2e2e25e;
    padding: 10px;
    border-radius: 0 0 3px 3px;
    position: relative;
}

    .search-profile-wrapper .search-award-wrapper .iconmenu {
        border: 1px solid #a89660;
        border-radius: 2px;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        -o-border-radius: 2px;
        -ms-border-radius: 2px;
        padding: 1px 7px 1px 7px;
        color: #a89660;
        font-size: 16px;
        font-weight: normal;
        line-height: 16px;
        position: absolute;
        right: 10px;
        top: 10px;
    }

    .search-profile-wrapper .search-award-wrapper .award-designation {
        text-align: center;
        padding-bottom: 5px;
    }

    .search-profile-wrapper .search-award-wrapper .hover-text {
        display: none;
    }

    .search-profile-wrapper .search-award-wrapper:hover .hover-text {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        background: rgba(0, 93, 38, 0.92);
        padding: 10px;
        color: #FFF;
        width: 100%;
        height: 100%;
    }

    .search-profile-wrapper .search-award-wrapper .content {
        position: absolute;
        left: 50%;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        width: 90%;
        text-align: center;
    }

.search-profile-container {
    background: transparent url(/Resources/images/header_background.png) top left repeat-x;
    padding-bottom: 15px;
}


.search-profile-image img {
    width: 100%;
}
