.control {
    display: block;
    grid-template-columns: auto auto;
    grid-template-rows: auto;
    grid-template-areas: "searchTextbox searchButton";
    overflow-y: visible;
}

.search-container.homepage--search {
    width: 662px !important;
    position: relative;
    float: right;
}

.input--reset {
    position: absolute;
    top: 50%;
    right: 67px;
    z-index: 2;
    opacity: 0.3;
    transform: translateY(-50%);
}

    .input--reset img {
        float: left;
    }

    .input--reset:hover {
        opacity: 1;
    }

.homepage--search input[disabled] {
    background: #FFFFFF !important;
}

.locationIcon {
    background: #FFFFFF;
    cursor: pointer;
    padding: 12px 20px;
    font-size: 14px;
    font-family: 'poppinsmedium', sans-serif;
    color: #00A1DF;
    width: 100%;
    text-align: left;
    border: 1px solid #dddddd;
    border-bottom: none;
}

    .locationIcon:hover {
        color: #303030;
    }

.noSuggestion {
    background: #FFFFFF;
    padding: 12px 20px;
    font-size: 14px;
    font-family: 'poppinsmedium', sans-serif;
    color: #00A1DF;
    width: 100%;
    text-align: left;
}

.searchButton {
    grid-area: searchButton;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    right: 0px;
    cursor: pointer;
    z-index: 8;
    background: #FFFFFF;
    border-radius: 0 6px 6px 0;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 0;
    padding: 0 16px 0 21px;
    height: 100%;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}

    .searchButton svg {
        width: 23px;
        height: 25px;
    }

        .searchButton svg path {
            fill: #303E48;
        }

    .searchButton:focus {
        background: #EDEFF1;
    }

    .searchButton:hover {
        background: #00A1DF;
    }

        .searchButton:hover svg path {
            fill: #fff;
        }


.tnresult--search .searchButton {
    right: 0;
}

.searchTextbox, .searchPreviewbox {
    grid-area: searchTextbox;
    font-size: 18px !important;
    font-family: 'poppinsmedium', sans-serif !important;
    padding: 17px 25px !important;
    padding-right: 95px !important;
    width: 100% !important;
    border: none !important;
    height: inherit !important;
    border-radius: 6px !important;
    background: transparent !important;
    z-index: 2;
    position: relative;
    /* text-transform: capitalize;  */
    margin: 0;
    color: #303E48;
    box-shadow: 0 2px 6px 2px rgba(0,0,0,0.3);
}

.searchPreviewbox {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
    color: rgba(48,62,72,.3);
    opacity: 1 !important;
}

.searchTextbox::-webkit-input-placeholder { /* Edge */
    color: #303E48;
}

.searchTextbox:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #303E48;
}

.searchTextbox::placeholder {
    color: #303E48;
}

input[disabled].searchPreviewbox {
    opacity: 1 !important;
}

.suggestions-container {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    text-shadow: none;
    z-index: 8;
}

.suggestion {
    padding: 7px 20px 7px 58px;
    cursor: pointer;
}

    .suggestion:hover {
        background: rgba(0,161,223,.1);
    }

    .suggestion em {
        font-family: 'poppinsmedium', sans-serif;
        font-style: normal;
        color: #00A1DF;
    }

.suggestions {
    background: #FFFFFF;
    color: #303030;
    font-size: 14px;
    list-style-type: none;
    text-align: left;
    text-shadow: none;
    border-radius: 0 0 6px 6px;
    border: 1px solid #dddddd;
    width: 100%;
    z-index: 9;
}

    .suggestions::-webkit-scrollbar {
        width: 5px;
    }

    .suggestions::-webkit-scrollbar-track {
        background: #FFFFFF;
    }

    .suggestions::-webkit-scrollbar-thumb {
        background: #ABB6C0;
    }

.suggestionArea {
    font-family: 'poppinsmedium', sans-serif;
    padding: 0.2em;
}

.suggestionAreaTitle {
    color: white;
    display: inline-block;
    background-color: #296399;
    font-size: 10px;
    font-family: 'poppinsmedium', sans-serif;
    padding: 0.2em 0.5em 0.2em 0.5em;
    margin-top: 0.5em;
    vertical-align: top;
}

.suggestionSelected {
    background-color: rgba(0,161,223,.1);
    color: #00A1DF;
    font-family: 'poppinsmedium', sans-serif;
}

.homepage--search {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 650px !important;
}

.suggestions--cnt {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 15px;
    box-shadow: 0 0 5px rgba(48, 48, 48, 0.5);
}

.locationIcon:before, .noSuggestion:before, .suggestions:before {
    content: '';
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #FFFFFF;
    display: block;
    position: absolute;
    top: 6px;
    left: 20px;
}

span.search--gray--ico {
    margin-right: 10px;
    width: 28px;
    height: 28px;
    display: inline-block;
    vertical-align: middle;
    background: #EDEFF1;
    border-radius: 50%;
    text-align: center;
}

    span.search--gray--ico img {
        margin-top: 7px;
    }

        span.search--gray--ico img.current--location--img {
            margin-top: 7px;
        }

.recent--searches--blk {
    background: #fff;
    text-align: left;
    border-radius: 0px;
    border-bottom: none;
}

.searches--hd {
    color: #848484;
    padding: 10px 20px 5px;
    font-size: 12px;
    font-family: 'poppinsmedium', sans-serif;
    text-transform: uppercase;
}

/* Results page Search */
.tnresult--filter--left .searchTextbox, .tnresult--filter--left .searchPreviewbox {
    padding: 0 70px 0 10px !important;
    font-size: 14px !important;
    border: 1px solid #e4e4e4 !important;
    border-radius: 4px !important;
}

.tnresult--filter--left .tnresult--search input[type="text"] {
    box-shadow: 0 1px 0 0 rgba(22,29,37,0.05);
    line-height: 34px;
}

.tnresult--filter--left .input--reset {
    top: 50%;
    right: 58px;
}

    .tnresult--filter--left .input--reset img {
        width: 10px;
    }

.tnresult--filter--left .searchButton svg {
    width: 18px;
    height: 20px;
}

    .tnresult--filter--left .searchButton svg path {
        fill: #fff;
    }

.tnresult--filter--left .searchButton {
    border-left: none;
    background: #00A1DF;
    border-radius: 0 4px 4px 0;
    padding: 0 15px;
    height: 100%;
}

    .tnresult--filter--left .searchButton:hover, .tnresult--filter--left .searchButton:focus {
        background: #EDEFF1;
        box-shadow: none;
        border: none;
    }

        .tnresult--filter--left .searchButton:hover svg path, .tnresult--filter--left .searchButton:focus svg path {
            fill: #00A1DF;
        }

.tnresult--filter--left .locationIcon, .tnresult--filter--left .searches--hd {
    padding: 6px 8px;
    font-size: 12px;
}

.tnresult--filter--left span.search--gray--ico {
    width: 25px;
    height: 25px;
    margin-right: 8px;
}

.tnresult--filter--left .suggestions--cnt {
    box-shadow: 0 0 5px rgba(0,0,0,.3);
}

.tnresult--filter--left span.search--gray--ico img.current--location--img {
    margin-top: 6px;
}

.tnresult--filter--left span.search--gray--ico img {
    margin-top: 5px;
}

.tnresult--filter--left .suggestion {
    padding: 5px 8px 5px 38px;
    cursor: pointer;
    font-size: 12px;
    word-wrap: break-word;
}

@media screen and ( min-width: 1024px ) and ( max-width: 1199px ) {
    .tnresult--filter--left .searchTextbox, .tnresult--filter--left .searchPreviewbox {
        font-size: 11px !important;
    }

    .searchPreviewbox {
        color: rgba(48,62,72,.6);
    }
}

@media screen and (max-width: 1023px) {
    .tnresult--filter--left .input--reset {
        right: 48px;
        padding: 7px 6px 6px 10px;
    }

        .tnresult--filter--left .input--reset img {
            width: 12px;
        }

    .searchTextbox, .searchPreviewbox {
        font-size: 16px !important;
        padding-left: 20px !important;
    }

    .searchPreviewbox {
        color: rgba(48,62,72,.6);
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {

    .search-container.homepage--search {
        width: 500px !important;
    }

    .suggestions--cnt {
        max-height: 180px;
        overflow-y: auto;
    }
}

@media screen and (max-width: 767px) {
    .searchTextbox, .searchPreviewbox {
        padding: 0px 80px 0px 10px !important;
        min-height: 51px;
        font-size: 14px !important;
    }

        .searchTextbox::-webkit-input-placeholder { /* Edge */
            font-size: 12px !important;
        }

        .searchTextbox:-ms-input-placeholder { /* Internet Explorer 10-11 */
            font-size: 12px !important;
        }

        .searchTextbox::placeholder {
            font-size: 12px !important;
        }


    .locationIcon, .noSuggestion {
        font-size: 12px;
        padding: 10px;
    }

    .searches--hd {
        padding: 5px 10px 2px;
        font-size: 10px;
    }

    .suggestion {
        padding-left: 50px;
        padding-right: 10px;
        font-size: 12px;
    }

    .input--reset {
        right: 45px;
    }

        .input--reset img {
            width: 15px;
        }

    .searchButton svg {
        width: 18px;
    }

    .tnresult--filter--left .tnresult--search {
        width: calc(100% - 92px);
    }

    .tnresult--filter--left .searchTextbox, .tnresult--filter--left .searchPreviewbox {
        min-height: inherit;
        padding-right: 78px !important
    }

    .tnresult--filter--left .input--reset {
        padding: 7px 10px 6px;
    }

    .search-container.homepage--search {
        width: 100% !important;
    }

    .searchButton {
        padding: 0 12px;
    }
}

@media screen and (max-width: 374px) {
    .searchTextbox, .searchPreviewbox {
        font-size: 12px !important;
        padding-right: 80px !important;
    }

    .locationIcon, .noSuggestion, .suggestion {
        font-size: 12px;
    }

    .tnresult--filter--left .tnresult--search {
        width: calc(100% - 82px);
    }

    ul.tnresult--filter-list li a.filter--btns {
        padding: 0 7px;
    }

    .search-container.homepage--search {
        width: 93% !important;
        float: none;
        margin: auto !important;
    }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .searchPreviewbox, .searchTextbox, .searchPreviewbox {
        height: 68px !important;
    }

    .tnresult--search .searchPreviewbox, .tnresult--search .searchTextbox, .tnresult--search .searchPreviewbox {
        height: 36px !important;
    }
}


.featured--tag {
    float:left;
    margin-top: 10px;
    margin-left: 10px;
}

.tnresult--sortby {
    width: 70%;
    float: right;
    text-align: right;
    font-size: 16px;
    margin-bottom: 10px;
}

    .tnresult--sortby select {
        width: auto;
        max-width: 250px;
    }

        .tnresult--sortby select:focus {
            box-shadow: none;
            outline: none;
        }
.sortby--content {
    display: none;
}

@media screen and ( min-width: 1024px ) and ( max-width: 1199px ) {
    .tnresult--sortby select {
        width: 191px;
        font-size: 14px;
    }
}

@media screen and ( max-width: 1023px ) {
    .tnresult--sortby {
        display: none;
    }

    .sortby--content {
        display: none;
        position: fixed;
        background-color: #ffffff;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        box-shadow: 0 -2px 15px rgba(0,0,0,.15);
    }

        .sortby--content ul {
            margin: 0;
        }

            .sortby--content ul li {
                list-style-type: none;
                width: auto;
                float: none;
                text-align: left;
                border-bottom: 1px solid #e4e4e4;
            }

                .sortby--content ul li:last-child {
                    border-bottom: none;
                }

                .sortby--content ul li.active {
                    background: #9FCBED;
                }

        .sortby--content a {
            color: #333333;
            padding: 12px 15px !important;
            text-decoration: none;
            display: block;
        }

            .sortby--content a:hover, .sortby--content li:hover {
                background-color: #9FCBED;
            }

        .sortby--content h4 {
            font-size: 18px;
            color: #333333;
            font-weight: 600;
            text-align: left;
            padding: 15px;
            background: #e8e8e8;
        }
    a.sortby--close {
        position: absolute;
        right: 0px;
        top: 0px;
        opacity: 1;
        cursor: pointer;
        padding: 0 !important;
        width: 50px;
        height: 50px;
    }

        .sortby--close:hover {
            opacity: 0.7;
        }

        .sortby--close:before, .sortby--close:after {
            position: absolute;
            left: 25px;
            top: 15px;
            content: ' ';
            height: 23px;
            width: 2px;
            background-color: #333333;
        }

        .sortby--close:before {
            transform: rotate(45deg);
        }

        .sortby--close:after {
            transform: rotate(-45deg);
        }
}

@media screen and ( max-height: 550px ) {
    .sortby--content ul {
        height: 250px;
        overflow: auto;
    }
}

.property--comment em, .property--comment--overlay em {
    font-style: normal;
}


.listing--breadcrumbs {
    text-align: center;
    font-family: 'poppinsmedium';
    margin-bottom: 30px;
}

    .listing--breadcrumbs a, .listing--breadcrumbs span {
        margin: 0 5px;
    }

@media screen and ( min-width: 1024px ) and ( max-width: 1199px ) {
.listing--breadcrumbs a, .listing--breadcrumbs span {
    font-size: 14px;
}
}

@media screen and ( max-width: 1023px ) {
    .listing--breadcrumbs a, .listing--breadcrumbs span {
        margin: 0 3px;
        font-size: 14px;
    }

    .listing--breadcrumbs {
        margin-bottom: 20px;
        padding: 0 15px;

    }
}

