﻿
body.list {
    background-color: #f1f1f1;
}

.list-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}


.main-section-title {
    text-align: center;
    font-size: 30px
}

.main-section-title:after {
    display: block;
    content: "";
    padding: 2px;
    background-color: rgb(192, 0, 0);
    width: 180px;
    margin: 6px auto 12px
}


.results {
    background-color: #f1f1f1;
    padding: 12px 24px;
    width: 100%;
    max-width: 1600px;
}

.results:not(.with-filter) {
    max-width: 1400px;
    margin: 0 auto;
}

.list-container::after {
    display: block;
    content: ' ';
    clear: both;
}

.element-list-container {
    width: 100%;
}

.element-list .element-data {
    display: flex;
}

.element-list .element-data span {
    display: flex;
    white-space: nowrap;
}

.element-list .element-data span:not(:last-child)::after {
    display: block;
    width: 4px;
    margin-left: 6px;
    margin-right: 6px;
    content: "\00B7";
}



.element-list .element-options {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.element-list .element-options a.discard-element {
    text-indent: -9999px;
    text-align: left;
    background-image: url(/images/icons/blades.svg);
    background-repeat: no-repeat;
    background-position: center center;
    height: 15px;
    width: 15px;
    background-size: 15px;
    display: inline-block;
    margin-right: 20px;
}

.element-list .element-options a.like-element {
    text-indent: -9999px;
    text-align: left;
    background-image: url(/images/icons/heart.svg);
    background-repeat: no-repeat;
    background-position: center center;
    height: 20px;
    width: 20px;
    background-size: 20px;
    display: inline-block;
    margin-top: 2px;
}

.element-list .element-options a.like-element.active {
    background-image: url(/images/icons/heart-on.svg);
}


.element-list .element .location-container {
    background-image: url(/images/icons/geolocate-red.svg);
    background-size: 15px;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 80;
    top: 10px;
    left: 12px;
    text-indent: 15px;
    padding: 4px 6px;
    border-radius: 4px;
    background-position-y: center;
    background-position-x: 2px;
    color: #fff;
    background-color: rgba(0,0,0,0.3);
    font-size: 13px;
}

.element-list .element .info-container,
.element-list .element .hover-container {
    font-size: 14px;
    background-color: rgba(0,0,0,0);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    padding: 18px 14px;
    padding-top: 48px;
    line-height: 1.4rem;
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.element-list .element .info-container {
    justify-content: flex-end;
    z-index: 2;
    background: linear-gradient(to top,#000000ad,transparent 50%)
}

.element-list .element .video-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9;
}

.element-list .element .hover-container {
    justify-content: center;
}

.element-list .element:hover .info-container {
    display: none;
}

.element-list .element .info-container-tags {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.element-list .element:hover .hover-container {
    z-index: 3;
    background-color: rgba(0,0,0,0.4);
    transition: background-color linear 0.5s;
}

.element-list .element .hover-container .info-container-description {
    max-height: 4.2rem;
    overflow: hidden;
}

.element-list .btn-contact {
    cursor: pointer;
}

.list-container .property-contact-container {
    display: none;
    height: 100%;
    width: 100%;
    z-index: 99;
    position: fixed;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    background-color: #0000008a;
}
