.lyf-vreb-property-photos, .lyf-vreb-listing-details, .lyf-vreb-listing-address, .lyf-vreb-listing-photos, .lyf-vreb-featured-photo, .lyf-vreb-listing-item, .lyf-vreb-listings, .lyf-vreb-container {
    overflow: hidden;
}

.lyf-vreb-listings, .lyf-vreb-container {
    clear: both;
}

.lyf-vreb-border-box {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

h4.lyf-vreb-item-title {
    color: #ffffff;
    margin: 0 0 5px;
    font-size: calc(14px + 0.6vw);
    font-size: -webkit-calc(14px + 0.6vw);
    font-size: -moz-calc(14px + 0.6vw);
    line-height: 1;
    overflow: hidden;
}

label.lyf-item-city {
    font-weight: bold;
    font-size: 13px;
}

label.lyf-vreb-meta-box {
    display: inline-block;
    padding: 10px 20px 10px 0;
}

.lyf-vreb-listing-item {
    width: 100%;
    position: relative;
    margin: 0 0 20px;
    background: #ffffff;
}

.lyf-listing-info-lower {
    padding: 0;
    height: 0;
    opacity: 0;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

.lyf-vreb-listing-item:hover > .lyf-vreb-item-details .lyf-listing-info-lower {
    padding: 20px 0;
    height: auto;
    opacity: 1;
}

.lyf-listing-info-lower-right {
    text-align: right;
}

a.lyf-listings-button {
    display: inline-block;
    color: #ffffff;
    border: 2px solid;
    padding: 10px;
}

a.lyf-listings-button:hover {
    background: rgba(255,255,255,0.2);
}

.lyf-listing-buttons .lyf-vreb-button {
  margin-left: 4px;
}

.lyf-vreb-button {
  background: #202020;
  color: #ffffff;
  cursor: pointer;
}

.wp-block-buttons > .wp-block-button.listing-link {
    margin-top: 0;
}

.wp-block-button.listing-link .wp-element-button {
    display: inline-block;
}

label.lyf-vreb-status-label {
    position: absolute;
    top: 10px;
    right: 0;
    background: #111111;
    display: block;
    color: #fff;
    font-weight: bold;
    padding: 5px 15px;
    text-align: center;
    z-index: 5;
}

.lyf-vreb-listing-details label.lyf-vreb-status-label,
.lyf-listing-gallery label.lyf-vreb-status-label {
    top: calc(50px + 5vw);
    top: -webkit-calc(50px + 5vw);
    top: -moz-calc(50px + 5vw);
    opacity: 0.75;
    font-size: calc(16px + 1vw);
}

label.lyf-vreb-sold-label {
    background: red;
}

label.lyf-vreb-pending-label {
    background: #008077;
}

label.lyf-vreb-leased-label {
    background: #0072ff;
}

label.lyf-vreb-item-price {
    font-size: calc(16px + 0.5vw);
    font-size: -webkit-calc(16px + 0.5vw);
    font-size: -moz-calc(16px + 0.5vw);
    text-align: right;
}

h2.lyf-vreb-property-price {
    font-size: 30px;
    font-weight: bold;
}

.lyf-vreb-item-details {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: #2b3033c7;
    color: #ffffff;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    line-height: 1;
}

.lyf-vreb-item-mls {
    display: block;
    font-size: 14px;
    overflow: hidden;
    clear: both;
}

.lyf-vreb-item-mls span.mls-number {
    font-weight: bold;
}

.lyf-vreb-contact-wrapper {
    background: #fafafa;
    border-top: 1px solid #eeeeee;
    overflow: hidden;
    clear: both;
    width: 100%;
}

.lyf-vreb-single-agent {
    width: 100%;
    padding: 10px;
    text-align: right;
}

.lyf-vreb-single-agent.co-agent {
    font-size: 14px;
}

.lyf-vreb-single-agent-image {
    overflow: hidden;
}

.lyf-vreb-single-agent-image img {
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

label.lyf-vreb-item-agent-represented {
    display: block;
    font-size: 0.8em;
}

.lyf-vreb-property-image {
    padding: 0;
}

.lyf-vreb-featured-photo {
    position:relative;
}

.lyf-vreb-featured-photo:hover > a img {
    transform: scale(1.3);
    -webkit-transform: scale(1.3);
    -moz-transform: scale(1.3);
}

.lyf-vreb-featured-photo img {
    display: block;
    width: 100%;
    transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
}

.lyf-vreb-listing-photos {
    position: relative;
    margin: 0 auto 15px;
}

.lyf-vreb-listing-photos.fullscreen {
    position: fixed;
    z-index: 99999;
    top:0;
    left:0;
    height:100vh;
    width: 100vw;
    padding: 5vw;
    margin: 0;
    box-sizing: border-box;
    display: grid;
    align-items: center;
    background: rgba(0,0,0,0.9);
}

.lyf-single-listing-video-list {
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 0.5fr));
    grid-gap: 10px;
    overflow: hidden;
    position: relative;
}

.lyf-listing-video {
    position: relative;
}

.lyf-listing-video video,
.lyf-listing-video iframe {
    width: 100%;
}

.lyf-vreb-listing-address {
    font-size: 20px;
    margin: 0;
    font-weight: bold;
}

table.lyf-vreb-table {
    width: 100%;
}

table.lyf-vreb-table td:first-of-type {
    font-weight: bold;
}

table.lyf-vreb-table td:last-of-type {
    text-align: right;
}

.lyf-listing-info {
    font-size: 14px;
    padding: 10px 0;
    line-height: 1;
}
.lyf-listing .lyf-listing-info {
    padding: 10px;
}

.lyf-listing-info .lyf-sub-info,
.lyf-sub-info {
    padding: 0 10px 0 0;
}

.lyf-vreb-listing-details .lyf-listing-info {
    font-size: inherit;
}

.lyf-vreb-listing-details .lyf-listing-info .lyf-sub-info {
    padding: 0 20px 0 0;
}

ul.lyf-vreb-item-office {
    margin: 5px 0 0;
    padding: 0;
}

ul.lyf-vreb-item-office li {
    list-style: none;
    font-size: 14px;
}

/* ==== SINGLE ROW LISTING IMAGES ==== */

.lyf-row-listing-item {
    margin-bottom: 4vh;
    position: relative;
}

.lyf-row-listing-item.hide {
    display: none;
}

.lyf-row-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.listing-image {
    position: relative;
    margin: 0;
}

.lyf-row-item-info {
    text-align: center;
    padding: 20px 20px 5px;
    font-weight: bold;
    font-size: calc(14px + 0.8vw);
    font-size: -webkit-calc(14px + 0.8vw);
    font-size: -moz-calc(14px + 0.8vw);
}

.lyf-row-item-info h4.lyf-item-title {
    display: inline-block;
    margin: 0;
    padding: 0;
    font-size: calc(14px + 0.8vw);
    font-size: -webkit-calc(14px + 0.8vw);
    font-size: -moz-calc(14px + 0.8vw);
}

.lyf-row-item-info label.lyf-vreb-sold-label {
    color: red;
    background: none;
}

.lyf-row-item-address {
    padding:  0 20px;
    font-size: calc(14px + 0.4vw);
    font-size: -webkit-calc(14px + 0.4vw);
    font-size: -moz-calc(14px + 0.4vw);
    font-style: italic;
}

label.lyf-item-sold-label {
    background: red;
    color: #ffffff;
    padding: 10px;
    position: absolute;
    top: 15px;
    right: 0;
}

.lyf-row-listing-item:hover > .lyf-vreb-item-details .lyf-listing-info-lower {
    padding: 20px 0;
    height: auto;
    opacity: 1;
}

#lyf-single-row-listing-filters {
    margin-bottom: 15px;
    display: flex;
}

.lyf-row-listings-filter {
    padding: 8px 10px;
    font-size: calc(14px + 0.4vw);
    font-size: -webkit-calc(14px + 0.4vw);
    font-size: -moz-calc(14px + 0.4vw);
    background: #fafafa;
    margin-right: 4px;
    border: 1px solid #eeeeee;
}

.lyf-row-listings-filter:hover {
    cursor: pointer;
}

.lyf-row-listings-filter.active {
    font-weight: bold;
}

/* === SEARCH === */

#lyf-vreb-toggle-search {
    display: block;
    margin: 0;
    padding: 10px 0;
    text-align: right;
    float: right;
    clear: both;
    max-width: 100%;
    cursor: pointer;
}

#lyf-vref-listings-search-box {
    display: none;
    overflow: hidden;
    clear: both;
    margin: 0 auto 20px;
    background: #fafafa;
    border: 1px solid #fafafa;
    max-width: 100%;
    width: 100%;
    clear: both;
    float: right;
    position: relative;
}

#lyf-vreb-toggle-search .dashicons {
    vertical-align:middle;
}

.lyf-vreb-search-box {
    display: grid;
    grid-template-columns: 50px auto;
    overflow: hidden;
    padding: 0;
    border-bottom: 1px solid #eeeeee;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    align-items: center;
}

label.lyf-vreb-search-label {
    display: block;
    text-align: center;
    padding: 0 10px;
}

select.lyf-vreb-search-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    background: #ffffff;
    cursor: pointer;
    padding: 10px;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0;
    line-height: 1;
    vertical-align: middle;
}

#lyf-listing-feed-searching {
    background: #fafafa;
    overflow: hidden;
    clear: both;
    display: none;
}

#lyf-searching-text {
    text-align: center;
    padding: 6em 4%;
}

#lyf-searching-text h4 {
    font-size: 2em;
}

#lyf-searching-text label#lyf-searching-icon {
    display: block;
}

#lyf-searching-text label#lyf-searching-icon .dashicons {
    font-size: 2.5em;
    width: auto;
    height: auto;
}

#load-lyf-map, #load-lyf-street-view {
    height: 300px;
    width: 100%;
}

.lyf-icon-pulse {
  -webkit-animation: lyfsearchpulse 1.4s infinite linear;
  animation: lyfsearchpulse 1.4s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}

@-webkit-keyframes lyfsearchpulse {
    0% {
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
        -moz-transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
    }
}
@-moz-keyframes lyfsearchpulse {
    0% {
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
        -moz-transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
    }
}
@keyframes lyfsearchpulse {
    0% {
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
        -moz-transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
    }
}


.lyf-vreb-disclaimer-content {
    padding: 15px 0;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

.lyf-vreb-note {
    padding: 20px;
    overflow: hidden;
    clear: both;
    background: #fafafa;
    margin: 10px 0;
}

.lyf-vreb-note-image img {
    display: block;
}

.lyf-vreb-note-text {
    font-size: 15px;
}

.lyf-vreb-note-text p {
    margin: 10px 0 0;
}

.lyf-vreb-listing-map {
    width: 100%;
}
.lyf-vreb-listing-map iframe {
    width: 100%;
    height: 300px;
}

.lyf-navigation {
    margin: 15px auto 0;
    text-align: center;
}

.lyf-navigation a, .lyf-navigation span.page-numbers {
    padding: 0.5em;
    display: inline-block;
    font-size: 1em;
    margin: 0.5em 0.2em;
    border-radius: 0;
    font-size: 15px;
}

#lyf-vreb-filter-listings {
    display: block;
    width: 100%;
    padding: 10px 15px;
    text-align: center;
    background: #2cc0ff;
    color: #ffffff;
    cursor: pointer;
}

.lyf-custom-listings-sort-wrapper {
    justify-content: right;
    display: grid;
    margin: 10px 0;
}

.lyf-custom-listings-sort-wrapper .sort-options {
    display: flex;
    align-items: center;
    font-size: 16px;
    gap: 5px;
}

.lyf-custom-listings-sort-wrapper select {
    background: none;
    width: auto;
    font-size: 16px;
    padding: 0;
    cursor: pointer;
    border: 1px solid #cdcdcd;
    padding: 5px;
}


@media screen and (min-width: 680px) {

.lyf-vreb-single-agent-image {
    width: 150px;
}

#load-lyf-map, #load-lyf-street-view {
    height: 500px;
}

}

@media screen and (min-width: 768px) {
.lyf-single-listing-video-list {
    grid-template-columns: repeat(3, minmax(0, 0.3333fr));
}
}

@media screen and (min-width: 960px) {

#lyf-vreb-toggle-search {
    display: none;
}

#lyf-vref-listings-search-box {
    display: block;
    background: none;
    border: none;
}

.lyf-vreb-flex-container {
    display: flex;
    justify-content: left;
    float: none;
}

.lyf-vreb-search-box {
    flex: 0 0 24%;
    border-right: 1px solid #eeeeee;
}

#lyf-vreb-search-box-beds.lyf-vreb-search-box, #lyf-vreb-search-box-baths.lyf-vreb-search-box {
    flex: 0 0 14%;
}

.lyf-vreb-search-box:nth-of-type(1) {
    border-left: 1px solid #eeeeee;
}

#lyf-vreb-filter-listings {
    display: none;
    max-width: 250px;
    margin: 10px 0 0;
}
}

@media screen and (min-width: 1200px) {

.lyf-vreb-note {
    display: table;
    width: 100%;
}

.lyf-vreb-note-image, .lyf-vreb-note-text {
    display: table-cell;
    vertical-align: middle;
}

.lyf-vreb-note-image {
    width: 150px;
}

.lyf-vreb-note-text {
    padding-left: 20px;
}

.lyf-vreb-note-text p {
    margin: 0;
}

.lyf-single-listing-video-list {
    grid-template-columns: repeat(4, minmax(0, 0.25fr));
}

}
