.content_root {
    position: relative;
}

.text-center {
    text-align: center;
}

/* Sidebar */

.listings_sidebar {
    padding-left: 15px;
    padding-right: 5px;
    width: 355px;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    float: left;
}

.listings_container {
    overflow: auto;
    height: calc(100vh - 320px);
}

.listings_sort_container {
    padding-bottom:5px;
}

.sidebar_listing {
    border-bottom: 2px solid black;
    margin-bottom: 10px;
    width: 325px;
    display: block;
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.wp-dark-mode-active .sidebar_listing {
    background-color: var(--wp-dark-mode-inline-bgcolor);
    border-bottom-color: rgb(143, 132, 117);
    color: white;
}


.sidebar_listing img {
    margin: 0 auto;
    display: block;
    height: 140px;
    width: 100%;
    object-fit: cover;
	object-position: center;
}

.sidebar_listing_info {
    padding: 5px 8px 7px;
    min-height: 86px;
}

.sidebar_top_info {
    grid-row: 1/2;
    align-items: end;
    grid-template-columns: auto 1fr;
    display: grid;
}

.sidebar_list_price {
    font-size: 20px;
    line-height: 32px;
    height: 32px;
}

.sidebar_listing_lh {
    font-size: 14px;
}

.sidebar_bed_bath_area {
    float: right;
    margin-bottom: 5px;
    font-size: 11px;
    font-weight: 500;
    text-align: right;
}

.sidebar_listing_address, .sidebar_listing_building, .sidebar_listing_year_type {
    line-height: 20px;
}

/* Location Display */

.location_display {
    border-top: 1px solid #AAAAAA;
    padding-top: 2px;
}

.location_display_control {
    background-color: white;
}

.location_dismiss {
    /* color: #444444; */
    cursor: pointer;
    display: inline-block;
    /* font-family: sans-serif; */
    /* font-size: 30px; */
    position: absolute;
    width: 30px;
}

.location_building_name {
    font-weight: 600;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: -0.05em;
}

.location_street, .location_city_state_zip {
    font-weight: 600;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0px;
}

.location_count {
    font-size: 120%;
}

.location_filters {
    display: block;
    margin-top: 10px;
    padding: 4px 0;
    list-style: none;
}

.location_filters li {
    cursor: pointer;
    display: inline-block;
    text-align: center;
    border-bottom: 1px solid #aaaaaa;
    border-top: 1px solid #aaaaaa;
    margin-top: -1px;
    padding: 6px 5px;
    width: 60px;
    font-weight: 400;
    letter-spacing: 0px;
    font-size: 12px;
}

.location_filters li.selected {
    color: blue;
    border-bottom: 3px solid blue;
    padding-bottom: 4px;
}

.wp-dark-mode-active .location_filters li.selected {
    color: rgb(69, 127, 229);
    border-bottom-color: rgb(69, 127, 229);
}

.location_listings {
    overflow: auto;
}

.location_listing {
    border: 1px solid #AAAAAA;
    cursor: pointer;
    margin: 16px;
    font-size: 85%;
    max-height: 96px;
    display: grid;
    grid-template-columns: 128px 1fr;
}

.location_listing_img_container {
    grid-column: 1/auto;
    max-height: 96px;
    overflow: hidden;
}

.location_listing img {
    min-height: 96px;
    width: 100%;
}

.location_listing_recommend_star {
    color: #ffa902;
}

.location_listing_info {
    grid-column: 2/auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location_listing_price {
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
    letter-spacing: 0px;
}

.location_listing_bed_bath_area {
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 0px;
}

.location_listing_unit {
    font-size: 12px;
    letter-spacing: 0px;
}

.location_listing_type_status {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0px;
}

.listings_paginator, .location_paginator {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    font-weight: normal;
    height: 25px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.listings_paginator span, .location_paginator span {
    cursor: pointer;
    display: inline-block;
    min-width: 25px;
    margin: 0 5px;
}

.listings_paginator span.current_page, .location_paginator span.current_page {
    cursor: default;
    border: 1px solid black;
    border-radius: 100%;
    background-color: black;
    color: white;
}

/* Searchbar */

div.hi_saarch_side {
    padding: 0 10px;
    width: 200px;
    background-color: white;
}

.wp-dark-mode-active div.hi_saarch_side {
    background-color: var(--wp-dark-mode-inline-bgcolor);
    color: white;
}

.search_tool_button {
    display: inline-block;
    width: 100%;
    margin: 20px;
}

.search_tool_button>p {
    cursor: pointer;
    position: relative;
    margin: 0 !important;
    z-index: 10000;
}

.search_box {
    display: none;
    background-color: #EEEEEE;
    padding-top: 70px;
    position: absolute;
    top: 0;
    z-index: 9999;
}

.listing-search-clear {
    border-bottom: 2px solid #0266B4;
    display: inline-block;
    cursor: pointer;
    margin: 5px auto 15px auto;
}

.listing-search-param {
    overflow: auto;
    padding-left: 20px;
    padding-right: 20px;
    max-height: calc(100vh - 235px);
}

/* Google Maps Info Window Popup */

.info_window_flip_root {
    transform: translate(0, 0) rotateX(180deg);
}

.info_window_flip_root .map_info_window {
    transform: rotateX(180deg);
}

.gm-style-iw.gm-style-iw-c {
    border-radius: unset;
    padding: 0;
}

.gm-style-iw-d {
    overflow: auto !important;
}

.gm-style-iw-d img {
    height: 105px;
}

.gm-style-iw.gm-style-iw-c button {
    display: none !important;
}

.map_info_window {
    display: inline-block;
    font-family: 'M PLUS 1p', sans-serif;
}

.wp-dark-mode-active .map_info_window {
    background-color: var(--wp-dark-mode-inline-bgcolor);
    color: white;
}

.map_info_window>img {
    display: inline-block;
    height: 115px;
    vertical-align: top;
}

.map_info_text {
    padding: 2px 5px;
    display: inline-block;
    text-decoration: none;
    color: black;
    vertical-align: top;
}


.wp-dark-mode-active .map_info_text {
    background-color: var(--wp-dark-mode-inline-bgcolor);
    color: white;
}

.map_info_building_name {
    font-weight: bold;
    font-size: 15px;
    color: #000000;
}

.wp-dark-mode-active .map_info_building_name {
    background-color: var(--wp-dark-mode-inline-bgcolor);
    color: white;
}

.map_info_type {
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 0.05em;
    margin-top: 4px;
}