<!--@media works here-->
<style>
    html {
        overflow-x: hidden;
    }

    /* Media Styling */
    @media screen and (max-width: 1200px) {
        .pp_expand {
            display: none !important;
        }

        .visible-desktop {
            display: none !important;
        }

        .slide_show_caption_flat {
            width: 97%;
        }

        .slide_show_caption_flat_no_background {
            width: 91%;
        }
    }

    @media screen and (max-width: 1120px) {
        .slide_show_caption_flat {
            width: 96%;
        }
    }

    @media screen and (max-width: 1100px) {

        .slide_show_caption_flat_no_background {
            width: 88%;
        }
    }

    @media screen and (max-width: 1050px) {

        .slide_show_caption_flat {
            width: 96%;
        }
    }

    /* Alerts */
    @media screen and (max-width: 600px) {
        .alertWrapper .actions, .alertWrapper .date {
            position: relative;
        }
    }

    /* Agencies */

    @media screen and (max-width: 800px) {
        .Agencies .wrapper {
            width: 95% !important;
        }
    }

    @media screen and (max-width: 440px) {
        .Agencies .wrapper .pic {
            display: none;
        }
    }

    /* News */

    @media screen and (max-width: 700px) {
        .newsWrap .newsArticleWrap {
            width: 100% !important;
        }

            .newsWrap .newsArticleWrap .clearForMobile {
                display: block;
                height: 0;
                clear: both;
                visibility: hidden;
                overflow: hidden;
            }
    }

    @media screen and (max-width: 350px) {
        .Agencies .wrapper .pic {
            display: none;
        }
    }

    /* Showcase Blocks */

    @media screen and (max-width: 935px) {
        #BlockStyle > li {
            float: none !important;
            width: 100% !important;
        }

        .slide_show_caption_flat {
            width: 96%;
        }
    }

    @media screen and (max-width: 470px) {
        .FeaturedPropertyBlock .image {
            float: none !important;
            width: auto !important;
            margin-right: 5px;
        }

        .FeaturedPropertyBlock ul.features {
            margin-top: 10px;
            float: none !important;
            width: 99% !important;
        }

        .FeaturedPropertyBlock .description {
            margin-bottom: 50px;
        }

        #BlockStyle > li, .FeaturedPropertyBlock {
            height: auto !important;
            min-width: 310px;
        }
    }

    /* Showcase Slider */

    @media screen and (max-width: 935px) {
        .iosSlider .slider .mask, .iosSlider .slider .main {
            display: none !important;
        }
    }

    @media screen and (min-width:890px) {

        .flatLayoutWrap #showDayInfo {
            display: none;
        }
    }

    @media screen and (max-width: 889px) {
        .flatLayoutWrap .leftcolumn {
            float: right;
            width: 100% !important;
            min-width: 200px;
            padding: 0px !important;
            margin: 0px !important;
            margin-top: 20px !important;
            border: none !important;
        }

        .flatLayoutWrap #showDayInfo {
            display: block;
            margin-top: 10px;
        }

            .flatLayoutWrap #showDayInfo h3 {
                height: 26px;
            }

            .flatLayoutWrap #showDayInfo .inner-wrap {
                margin-top: 10px;
            }

        .flatLayoutWrap .rightcolumnShowday {
            display: none;
        }

        .slide_show_caption_flat {
            width: 97%;
        }

        .slide_show_caption_flat_no_background {
            width: 90%;
        }

        .flatLayoutWrap .rightcolumn {
            width: 99% !important;
        }
    }

    @media screen and (max-width: 690px) {

        .iosSlider {
            width: 95% !important;
        }

        .slide_show_caption_flat, .slide_show_caption_flat_no_background {
            width: 96%;
        }

        .slide_show_caption_flat {
            bottom: 0px;
        }

        .iosSlider, .iosSlider .slider, .iosSlider .slider .item {
            min-width: 330px !important;
        }

            .iosSlider .slider .description {
                font-size: 12px !important;
                margin: 5px !important;
                bottom: 10px !important;
                padding: 0px !important;
            }

                .iosSlider .slider .description h2 {
                    margin-bottom: 0px !important;
                }

                .iosSlider .slider .description h2 {
                    font-size: 20px !important;
                }

                .iosSlider .slider .description .features li {
                    float: left !important;
                    margin: 0px 5px 10px 0px;
                }

            .iosSlider .slider .price {
                left: 0 !important;
                right: inherit !important;
                margin-left: 15% !important;
            }
    }

    /* Showcase Slider */
    @media screen and (max-width: 570px) {

        .flatLayoutWrap .imageContainerWrapper {
            min-height: inherit !important;
        }
    }

    @media screen and (max-width: 490px) {

        .slide_show_caption_flat, .slide_show_caption_flat_no_background {
            width: 95%;
        }

        #slider .slide, #slider, #wrapper {
            width: 100% !important;
            left: 0 !important;
        }

            #slider .slide-block {
                position: absolute !important;
                bottom: 0;
                left: 0;
                width: auto !important;
                margin: 5px !important;
            }

                #slider .slide-block .features li {
                    float: left;
                    padding: 10px 5px 10px 0px;
                }
    }

    /* Showcase Carousel */

    @media screen and (max-width: 660px) {
        .roundabout-holder li {
            display: none;
        }

        .roundabout-holder {
            width: 100% !important;
            height: auto !important;
        }

            .roundabout-holder li.roundabout-in-focus {
                display: block;
                position: inherit !important;
                left: 0 !important;
                top: 0 !important;
                width: 100% !important;
            }
    }

    /* Showcase Scroller Large */

    @media screen and (max-width: 400px) {
        .featuredScrollLargeWrap .SlidePropertyBlock {
            width: 94% !important;
            height: initial !important;
        }

        .featuredScrollLargeWrap ul li {
            height: initial !important;
        }

        .slide_show_caption_flat, .slide_show_caption_flat_no_background {
            width: 93%;
        }
    }

    @media screen and (max-width: 350px) {

        .slide_show_caption_flat, .slide_show_caption_flat_no_background {
            width: 92%;
        }
    }

    @media screen and (max-width: 350px) {
        .featuredScrollWrap .SlidePropertyBlock {
            width: 150px;
        }

        .slide_show_caption_flat, .slide_show_caption_flat_no_background {
            width: 88%;
        }
    }

    /* Showcase Scroller */

    @media screen and (max-width: 770px) {
        .featuredScrollWrap .next, .featuredScrollWrap .prev {
            display: block;
        }

        .flatLayoutWrap .topArrow,
        .flatLayoutWrap .bottomArrow,
        .p24LayoutWrap .topArrow,
        .p24LayoutWrap .bottomArrow {
            visibility: hidden;
        }
    }

    @media screen and (max-width: 400px) {
        .featuredScrollWrap .next, .featuredScrollWrap .prev {
            display: block;
            top: 50px;
        }

        .featuredScrollWrap .SlidePropertyBlock {
            padding: 2px;
            margin: 2px;
        }
    }

    /* Listing Page */

    @media screen and (max-width: 935px) {
        .LatestWrapper li {
            width: 33% !important;
            margin-bottom: 20px;
        }

        #agencyinfocontent img {
            max-width: 274px;
        }

        .flatLayoutWrap #listingTopTabs li a {
            padding-bottom: 4px !important;
        }

        .flatLayoutWrap #listingTopTabs li:hover a, .flatLayoutWrap #listingTopTabs li.active a {
            padding-bottom: 5px !important;
        }
    }

    @media screen and (min-width:771px) {
        .p24LayoutWrap #showDayInfo {
            display: none;
        }
    }

    @media screen and (max-width: 770px) {

        .flatLayoutWrap .imageContainerWrapper .captionFree, .largeLayoutWrap .imageContainerWrapper .captionFree, .p24LayoutWrap .imageContainerWrapper .captionFree {
            display: none !important;
        }

        .flatLayoutWrap .rightcolumn .button,
        .p24LayoutWrap .rightcolumn .button {
            width: 98% !important;
        }

        .flatLayoutWrap #listingTopTabs li a {
            padding: 5px;
            font-size: 13px;
            font-weight: normal;
        }

        .listingTitle {
            float: none;
            width: 90% !important;
            min-width: 200px;
        }

        .leftcolumn {
            float: right;
            width: 100% !important;
            min-width: 200px;
            padding: 0px !important;
            margin: 0px !important;
            margin-top: 20px !important;
            border: none !important;
        }

            .leftcolumn img.zoom {
                display: none !important;
            }

        .slide_show_caption_flat_no_background {
            width: 93%;
        }

        .right-fav {
            float: right;
            margin-top: -10px;
        }

        .rightcolumn {
            width: 99% !important;
        }

        .viewsWrap {
            margin-right: 10px;
        }

        .imageContainerWrapper, .thumbnailContainerWrapper {
            padding: 0px !important;
        }

        .thumbnailContainerWrapper {
            position: absolute !important;
            top: 30%;
        }

            .thumbnailContainerWrapper .thumbContainer {
                display: none !important;
            }

        .thumbContainer {
            padding-right: 20px;
        }

        .ListingNav {
            margin: 0 auto !important;
        }

        .topArrow, .bottomArrow {
            top: 45px;
            -webkit-filter: invert(100%);
            width: 21px;
            height: auto;
        }

        .LatestWrapper {
            display: none !important;
        }

        .descWrap h2 {
            clear: both;
        }

        .flatLayoutWrap .paging, .imageWrap {
            width: 100% !important;
        }

            .imageWrap img.mainImage {
                width: 100% !important;
            }

        .p24LayoutWrap #showDayInfo {
            display: block;
            margin-top: 10px;
        }

            .p24LayoutWrap #showDayInfo h3 {
                height: 26px;
            }

            .p24LayoutWrap #showDayInfo .inner-wrap {
                margin-top: 10px;
            }

        .p24LayoutWrap .rightcolumnShowday {
            display: none;
        }
    }

    @media screen and (max-width: 400px) {
        .flatLayoutWrap .rightcolumn .button, p24LayoutWrap .rightcolumn .button {
            width: 99% !important;
        }
    }

    /* Search Results Alerts */

    @media screen and (max-width: 800px) {
        .alertsBlockWrap .alertBody .icon {
            display: none !important;
        }

        .alertsBlockWrap .alertBody .alertRight .content {
            display:block;
        }
        
        .alertsBlockWrap #alertsDescription #emailAddress {
            width: 100%;
        }

        .alertsBlockWrap .alertBody .action .button {
            margin: 20px 0px;
            width: 100%;
        }

        .modal.p24_galleryModal .p24_photos img.img-responsive {
            position: absolute;
            max-width: 100% !important;
            max-height: 100% !important;
        }
    }

    /* Search Results Default Vertical */

    @media screen and (max-width: 580px) {

        .defaultVerticalDesktopOnly {
            display: none;
        }

        .defaultVerticalMobileOnly {
            display: block;
        }
    }

    @media screen and (max-width: 580px) {

        .defaultVerticalResultsWrap .propertyTileWrapper {
            height: auto;
        }

            .defaultVerticalResultsWrap .propertyTileWrapper .imageWrapper {
                position: static;
            }

            .defaultVerticalResultsWrap .propertyTileWrapper .content {
                position: static;
                width: auto;
                height: auto;
                padding-left: 10px;
            }

            .defaultVerticalResultsWrap .propertyTileWrapper .viewDetails {
                position: static;
                margin-top: 10px;
            }

            .defaultVerticalResultsWrap .propertyTileWrapper .status {
                top: 12px;
                left: 12px;
            }

            .defaultVerticalResultsWrap .propertyTileWrapper .viewDetails .anchorbutton {
                padding-top: 5px;
                padding-bottom: 5px;
                margin-top: 30px;
            }

        .defaultVerticalResultsWrap .p24_badges {
            right: 0;
        }
    }

    @media screen and (min-width: 1220px) {

        .defaultVerticalResultsWrap .description {
            display: block;
        }

        .defaultVerticalResultsWrap .descriptionMedium, .defaultVerticalResultsWrap .descriptionLarge {
            display: none;
        }
    }

    @media screen and (max-width: 1220px) {
        .defaultVerticalResultsWrap .propertyTileWrapper {
            width: 100% !important;
        }

        .defaultVerticalResultsWrap .description {
            display: none;
        }

        .defaultVerticalResultsWrap .descriptionMedium {
            display: block;
        }

        .defaultVerticalResultsWrap .descriptionLarge {
            display: none;
        }

        .defaultVerticalResultsWrap .propertyTileWrapper .detailsContainer span {
            padding-top: 3px;
            padding-bottom: 3px;
            margin-top: 3px;
        }
    }

    @media screen and (max-width: 500px) {

        .defaultVerticalResultsWrap .description {
            display: block;
        }

        .defaultVerticalResultsWrap .descriptionMedium, .defaultVerticalResultsWrap .descriptionLarge {
            display: none;
        }
    }
    /* Search Results Default */

    @media screen and (max-width: 750px) {
        .defaultResultsWrap .PopularSuburbs ul li {
            width: 50%;
        }
    }

    @media screen and (max-width: 450px) {

        .defaultResultsWrap .propertyTileWrapper .content .listingContent .listingSizes .sc_erfSize {
            display: block;
        }
    }

    @media screen and (max-width:580px) {
        .defaultVerticalResultsWrap .propertyTileWrapper .imageWrapper,
        .defaultVerticalResultsWrap .propertyTileWrapper .imageWrapper img.main {
            float: none !important;
            width: calc(100% - 10px) !important;
            height: auto !important;
        }
    }

    @media screen and (max-width: 680px) {
        .defaultResultsWrap .propertyTileWrapper .imageWrapper,
        .defaultResultsWrap .propertyTileWrapper .imageWrapper img.main {
            float: none !important;
            width: calc(100% - 10px) !important;
            height: auto !important;
        }

        .defaultResultsWrap .propertyTileWrapper .content {
            position: relative;
            left: 0px;
            width: 100%;
            height: auto;
        }

            .defaultResultsWrap .propertyTileWrapper .content .listingContent {
                padding: 10px 10px 10px 10px;
            }

                .defaultResultsWrap .propertyTileWrapper .content .listingContent .displayPrice {
                    font-size: 20px;
                }

                .defaultResultsWrap .propertyTileWrapper .content .listingContent .detailsContainer {
                    position: static;
                    bottom: 0px;
                }

                .defaultResultsWrap .propertyTileWrapper .content .listingContent .occupationDate {
                    display: none !important;
                }

                .defaultResultsWrap .propertyTileWrapper .content .listingContent .listingSizes {
                    position: static;
                    bottom: 0px;
                }
    }

    @media screen and (min-width: 680px) {

        .defaultResultsWrap .propertyTileWrapper .content .listingContent .listingContent {
            padding: 10px 10px 10px 0px;
        }

        .defaultResultsWrap .propertyTileWrapper .content .listingContent .detailsContainer {
            position: absolute;
            bottom: 0px;
        }

        .defaultResultsWrap .propertyTileWrapper .content .listingContent .listingSizes {
            position: absolute;
            bottom: 10px;
        }
    }

    @media screen and (max-width: 850px) {

        .defaultResultsWrap .propertyTileWrapper .content .listingContent .description {
            display: none;
        }

        .defaultResultsWrap .propertyTileWrapper .content .listingContent .descriptionSmall {
            display: block;
        }
    }

    @media screen and (min-width: 850px) {

        .defaultResultsWrap .propertyTileWrapper .content .listingContent .description {
            display: block;
        }

        .defaultResultsWrap .propertyTileWrapper .content .listingContent .descriptionSmall {
            display: none;
        }
    }

    @media screen and (max-width: 900px) {

        .defaultResultsWrap .propertyTileWrapper .content .listingContent .defaultIconVisible {
            display: none;
        }
    }

    @media screen and (min-width: 900px) {
        .defaultResultsWrap .propertyTileWrapper .content .listingContent .defaultIconVisible {
            display: block;
        }
    }

    /* Search Results Grid */
    @media screen and (min-width: 1112px) {
        .gridResultsWrap .single_right_margin {
            margin-right: 365px;
        }

        .gridResultsWrap .double_right_margin {
            margin-right: 732px;
        }
    }

    /* Search Results Pager */

    @media screen and (max-width: 540px) {
        .pager {
            min-width: 320px;
        }

            .pager .resultTotal {
                display: none;
            }
    }

    /* Footer */

    @media screen and (max-width: 950px) {
        footer .listingNumberSearchWrap {
            visibility: hidden;
        }
    }

    @media screen and (max-width: 500px) {
        footer {
            min-width: 320px;
        }

            footer .listingNumberSearchWrap {
                visibility: hidden;
            }

            footer .copy li, footer .sitelinks {
                float: left !important;
            }

            footer .popularAreas ul li {
                width: 100%;
            }

        .footer > div {
            float: none !important;
            width: 100% !important;
        }

        #PoweredBy .links {
            display: none;
        }

        #PoweredBy .copy {
            width: 100% !important;
        }
    }

    /* Home */
    @media screen and (max-width: 720px) {
        .homeWrap .FeaturedPropertyWrapper .next, .homeWrap .FeaturedPropertyWrapper .prev {
            display: block !important;
        }
    }

    /* Header */

    @media screen and (max-width: 720px) {

        .homeWrap .search-gallery-wrap .search-gallery-inner, .toRentWrap .search-gallery-wrap .search-gallery-inner {
            position: relative;
            background: #000;
        }
    }

    @media only screen and (max-width : 1206px) {
        #header .menu li a {
            padding-left: 10px !important;
            padding-right: 10px !important;
        }
    }

    @media only screen and (min-width : 600px) {
        .rotatingMobileBanner {
            display: none;
        }
    }

    @media only screen and (max-width : 599px) {
        .rotatingMobileBanner {
            display: block;
        }
    }

    @media screen and (max-width: 980px) {
        #Banner {
            display: none !important;
            height: auto !important;
        }

        #AltBanner {
            display: none !important;
        }

        #header {
            background: none !important;
        }

        #Logo, #GalleryMobile {
            max-width: 100%;
            box-sizing: border-box;
            display: block;
            max-height: 100%;
        }

        #GalleryRotator {
            padding-bottom: 0px;
        }

        #MobileLogo {
            position: absolute;
            float: left;
            z-index: 1000;
            margin-left: 40px;
        }
    }

    @media screen and (min-width: 981px) {
        #MobileLogo {
            display: none;
        }
    }

    @media screen and (min-width: 750px) {
        #BannerMobile {
            display: none !important;
            height: auto !important;
        }
    }

    @media screen and (max-width: 750px) {

        #Logo {
            padding-bottom: 0px;
        }
    }

    @media screen and (min-width: 600px) {

        .bannerLogoRotating {
            display: block;
        }
    }

    @media only screen and (max-width : 980px) {

        #header #navWrapper {
            position: relative;
        }

        #header .menu li ul ul {
            left: 0px;
            margin: 0px;
        }

        #header ul.menu {
            position: absolute;
            top: 40px;
            right: 0px;
            left: initial !important;
            width: 300px;
        }

        #header ul.menu {
            display: none;
            height: auto;
        }

            #header ul.menu span {
                display: block;
                position: relative;
                background-color: #fff;
            }

            #header ul.menu li {
                width: 100%;
                float: none;
                position: relative;
                margin: 0px;
            }

                #header ul.menu li a {
                    width: 100%;
                    float: none;
                    margin: 0px !important;
                    text-align: left;
                    padding: 15px 10px 15px 10px !important;
                    border-bottom-width: 1px;
                    border-bottom-style: solid;
                }

        #header .menu .menuItems a:hover {
            background-image: none !important;
        }

        #header .menu ul {
            width: 100%;
            position: relative;
        }

        .signin {
            left: 10px !important;
            right: initial !important;
        }

        #header a#pull {
            display: block;
            background-color: #000;
            position: relative;
            padding: 12px;
            color: #fff;
            font-weight: bold;
            text-align: right;
        }

            #header a#pull:before {
                content: "";
                background: url(https://static.sa-property.co.za/Content/Images/nav-icon.png?z=75fbde) no-repeat;
                width: 30px;
                height: 30px;
                display: inline-block;
                position: absolute;
                right: 60px;
                top: 10px;
            }

        #header .menu li:hover ul, #header .menu ul li:hover ul {
            display: none;
        }

        #header .menu .show-hide {
            width: 14px;
            height: 10px;
            float: right;
            display: block;
            position: relative;
            margin: 18px 10px;
            background: url(https://static.sa-property.co.za/Content/Images/icon_chevron_down.svg?z=75fbde);
        }

        #header .menu li .show-hide-up {
            background: url(Links. https://static.sa-property.co.za/Content/Images/up.png?z=75fbde);
        }
    }

    /* Listing Number Search*/
    @media screen and (max-width: 1010px) {
        .listingnumbersearch {
            display: none !important;
        }
    }

    .search-gallery-inner-top {
        width: 97%;
        top: 10px;
        left: 10px;
    }

    @media only screen and (max-width : 720px) {

        #search-bar .textsearch {
            padding: 0px !important;
        }

        .searchTextWrap .textsearch #visibleDropDown {
            width: 100%;
        }

        #ForSale_chosen,
        #ToRent_chosen {
            width: 100% !important;
        }

        .multiSearchWrap .textsearch #visibleDropDown .button {
            margin-left: 5px;
        }

        .multiSearchWrap > div.advanced > div.SizeRange {
            width: 250px;
        }

        .searchbar {
            min-width: 320px;
        }
    }

    @media only screen and (min-width : 1190px) {

        #search-bar .searchbar .searchbarInner, #search-bar .textsearch {
            padding-left: 0px !important;
            padding-right: 0px !important;
        }

        .searchTextWrap .textsearch #visibleDropDown, #search-bar div.token-input-dropdown-facebook, #search-bar ul.token-input-list-facebook {
            width: 920px !important;
        }

        .searchTextWrap .textsearch #visibleDropDown {
            width: 925px !important;
        }

        #visibleDropDown .chosen-container {
            width: 750px !important;
        }

        .chosen-choices {
            padding: 2px !important;
        }

        .textsearch .button {
            margin-top: 6px;
        }
    }
    /* Contact Us */
    @media screen and (max-width: 1000px) {
        .contactUsWrap .contactFormWrapper, .contactUsWrap .detailsWrapper {
            width: 100% !important;
            float: none !important;
        }
    }

    @media screen and (max-width: 500px) {
        .contactUsWrap .agencyList li {
            width: 100% !important;
        }

            .contactUsWrap .agencyList li a {
                padding: 10px;
            }
    }
    /* Agency */
    @media screen and (max-width: 850px) {
        .agencyWrap .agencyBlockWrap .Agency .MemberDetails, .agencyWrap .agencyBlockWrap .Agency .MemberDetails .details {
            width: 100%;
            margin-left: 0px;
            margin-right: 0px;
        }

            .agencyWrap .agencyBlockWrap .Agency .MemberDetails .field {
                width: 94%;
                margin-left: 0px;
                margin-right: 0px;
            }
    }

    @media screen and (max-width: 500px) {
        .agencyWrap .agencyList li {
            width: 100% !important;
        }

            .agencyWrap .agencyList li a {
                padding: 10px;
            }

        .agencyWrap .agencyBlockWrap .contactFormWrapper, .agencyWrap .agencyBlockWrap .detailsWrapper {
            width: 100% !important;
            margin: 10px 0px !important;
        }
    }

    /* Not Found */
    @media screen and (max-width: 500px) {
        .listingNotFoundWrap .master-content {
            padding: 0px;
        }

            .listingNotFoundWrap .master-content div {
                clear: both;
                width: 100%;
            }

        .listingNotFoundWrap .rowspacer100 {
            display: none;
        }
    }

    @media only screen and (max-width : 600px) {

        .galleryRotatorContainer {
            margin-bottom: 0px;
        }

            .galleryRotatorContainer .nivoSlider {
                display: block !important;
                max-height: 200px !important;
                width: 100% !important;
            }

                .galleryRotatorContainer .nivoSlider .nivo-main-image, .galleryRotatorContainer .nivoSlider .nivo-slice {
                    display: block;
                    min-height: 200px !important;
                    width: 100% !important;
                }
    }

    @media only screen and (min-width : 980px) {

        .galleryRotatorContainer .nivoSlider {
            display: none !important;
            visibility: visible;
            height: 40px;
        }

        #GalleryMobile {
            display: none !important;
        }
    }

    /* Register */

    @media only screen and (max-width : 769px) {
        .registerWrap .marketing {
            width: 250px;
            margin-right: 0px;
        }
    }

    @media only screen and (max-width : 500px) {
        .registerWrap .registationForm, .registerWrap .marketing {
            width: auto !important;
            margin: 0px !important;
            float: none !important;
            border: none !important;
            padding: 0px !important;
        }

            .registerWrap .registationForm input {
                width: 97% !important;
            }

            .registerWrap .registationForm .standardForm .editor-field {
                width: auto !important;
            }
    }

    /* Misc */

    @media only screen and (max-width : 1024px) {
        .listingNumberClass, .listingnumberinput, .listingnumberbutton {
            display: none !important;
        }
    }

    @media only screen and (max-width : 750px) {
        .resizeSearch {
            bottom: 40px;
        }

        .resizeSearchWrap {
            margin-top: 40px;
        }

        .resizeSearchRent {
            bottom: -40px;
        }

        .resizeSearchWrapRent {
            margin-top: 40px;
        }
    }

    @media only screen and (min-width : 751px) {
        .resizeSearch {
            bottom: 0px;
        }

        .resizeSearchWrap {
            margin-top: 0px;
        }

        .resizeSearchRent {
            bottom: 0px;
        }

        .resizeSearchWrapRent {
            margin-top: 0px;
        }
    }

         @media only screen and (max-width: 600px) {
             #GalleryRotator {
                 height: 40px;
             }
             .search-gallery-wrap{
                 min-height:280px;
             }
         }

    @media only screen and (max-width : 890px) {
        .p24LayoutWrap .leftcolumn {
            width: 65%;
        }
    }

    @media only screen and (max-width :859px) {
        .p24LayoutWrap .sc_listingAddress {
            display: none;
        }

        .p24LayoutWrap .sc_listingAddressMobile {
            display: block !important;
            border-left: none;
            margin-left: -170px;
            margin-bottom: -20px;
        }

        .p24LayoutWrap .listingTitle {
            height: 30px;
        }
    }

    @media only screen and (max-width :770px) {
        .p24LayoutWrap .sc_listingAddress {
            display: none;
        }

        .p24LayoutWrap .sc_listingAddressMobile {
            display: block !important;
            margin-bottom: -20px;
        }

        .p24LayoutWrap .listingTitle {
            height: 30px;
        }
    }

    @media only screen and (max-width :660px) {
        .p24LayoutWrap .sc_listingAddressMobile {
            margin-left: 10px;
            margin-top: -40px;
        }

        .p24LayoutWrap .listingTitle, .p24LayoutWrap .imageContainerWrapper {
            margin-left: 10px;
            min-width: 160px;
        }
    }

    @media only screen and (max-width :450px) {
        .p24LayoutWrap .sc_listingAddressMobile {
            display: block !important;
            margin-top: -20px;
        }
    }

    @media only screen and (min-width :770px) {
        .sc_listingAddress {
            border-left: 1px solid #dadada;
            margin-left: 10px;
            margin-top: 0px;
        }

            .sc_listingAddress h1, .sc_listingAddress p {
                margin-left: 10px;
            }
    }

    @media only screen and (max-width : 1050px) {
        .p24LayoutWrap #agencyinfocontent img {
            max-width: 250px;
        }
    }

    @media only screen and (max-width : 975px) {
        .p24LayoutWrap #agencyinfocontent img {
            max-width: 220px;
        }
    }

    @media only screen and (max-width : 870px) {
        .p24LayoutWrap #agencyinfocontent img {
            max-width: 190px;
        }
    }

    @media only screen and (max-width : 850px) {
        .p24LayoutWrap .breadCrumbPaging {
            width: 100% !important;
        }
    }

    @media only screen and (max-width : 920px) {
        .p24LayoutWrap .breadCrumbPaging {
            width: 100% !important;
            margin-top: 10px;
        }

        .p24LayoutWrap .breadcrumbs {
            height: 50px;
        }

        .p24LayoutWrap .seperator {
            display: none;
        }
    }

    @media only screen and (max-width : 980px) {
        .p24LayoutWrap .breadCrumbPaging .backSearchResults {
            margin-right: 0px;
        }

        .p24LayoutWrap .paging span {
            padding: 0px;
        }
    }

    @media only screen and (max-width : 1000px) {

        .p24LayoutWrap .thumbnailContainerWrapper {
            width: 600px;
        }


    }

    @media only screen and (max-width : 900px) {

        .p24LayoutWrap .thumbnailContainerWrapper {
            width: 580px;
        }

        body.Developments .sc_content {
            width: 100%;
            min-width: 100%;
        }

        .developmentWrap .contentSection {
            width: 100%;
            max-width: 100%;
            flex-basis: 100%;
        }

        .developmentWrap .sc_listingMediaContainer .sc_listingMainImage,
        .developmentWrap .sc_listingMediaContainer .sc_listingMainImage img.mainImage {
            height: auto;
        }

        .developmentWrap .sidebarWrapper {
            -ms-flex-preferred-size: 100%;
            flex-basis: 100%;
            max-width: 100%
        }
       
    }

    @media only screen and (max-width : 850px) {

        .p24LayoutWrap .thumbnailContainerWrapper {
            width: 500px;
        }
    }

    @media only screen and (max-width : 750px) {
        .p24LayoutWrap .breadcrumbs {
            height: 60px;
        }
    }

    @media only screen and (max-width :650px) {
        .p24LayoutWrap .breadcrumbs {
            height: 70px;
        }
    }

    @media only screen and (max-width :550px) {
        .poiHeading {
            width: 65%;
        }
    }

    @media only screen and (max-width : 740px) {

        .visible-desktop {
            display: none !important;
        }
    }

    @media only screen and (max-width: 580px) {

        .resultsPagerWrap .pager span, .resultsPagerWrap .pagenav * {
            margin-right: 2px;
        }
    }

    @media only screen and (max-width: 470px) {
        .gridResultsWrap .resultTotal, .defaultVerticalResultsWrap .resultTotal, .defaultResultsWrap .resultTotal {
            display: none;
        }

        .resultsPagerWrap .pager span, .resultsPagerWrap .pagenav * {
            margin-right: 1px;
        }
    }

    @media only screen and (max-width : 1080px) {
        .add_right_margin_single, add_right_margin_double {
            margin-right: 0px;
        }
    }

    @media only screen and (min-width:1150px) {
        .notFoundWrap .propertytile {
            width: 500px;
        }
    }

    @media only screen and (max-width:1149px) {
        .notFoundWrap .propertytile {
            width: 305px;
        }

            .notFoundWrap .propertytile .viewbutton {
                margin-top: -25px;
            }
    }

    @media only screen and (max-width:500px) {
        .notFoundWrap .propertytile .viewbutton .anchorbutton {
            width: 40px;
        }

        .notFoundWrap .master-content {
            padding: 0px !important;
            margin-left: -10px;
        }

        .notFoundWrap .propertytile {
            width: 280px;
            margin-left: -5px;
            height: 125px;
        }

        .featuredDefaultWrap .propertytile .location {
            height: 60px;
        }
    }

    @media only screen and (max-width:770px) {

        .flatLayoutWrap .badgesContainer {
            margin-bottom: 20px;
        }

            .flatLayoutWrap .badgesContainer .p24_badges {
                bottom: -10px;
            }
    }

    @media only screen and (max-width:910px) {
        .p24LayoutWrap .badgesContainer {
            margin-bottom: 30px;
        }

            .p24LayoutWrap .badgesContainer .p24_badges {
                bottom: 0px;
            }
    }

    @media only screen and (max-width:660px) {
        .p24LayoutWrap .badgesContainer .p24_badges {
            left: 10px;
        }
    }

    @media only screen and (max-width:770px) {
        .largeLayoutWrap .badgesContainer .p24_badges {
            bottom: -30px;
        }
    }

    @media only screen and (max-width:640px) {
        .navbar_cookie .btn {
            width: 120px;
        }
    }

    @media only screen and (max-width:650px) {
        
        #photo_grid{
            visibility: hidden;
        }

        .p24LayoutWrap .p24_mediaTab {
            text-align: center;
        }

     
    }


</style>