/* GENERAL */
.page-template-template-estates .container {
    margin: 0 auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
.clear, .aq-block-aq_clear_block {
    clear: both !important;
}
/* SEARCH */
#header-search-wrap {
    border-bottom: 1px solid #d5d9dd;
    background: #efefef;
}
#advanced_search.header-search, .page-template-template-advanced-search #advanced_search.header-search {
    min-height: auto;
    margin: 0;
    padding: 10px 0;
    border: none;
}
#advanced_search {
    position: relative;
    min-height: 97px;
    border: 1px solid #d5d9dd;
    padding: 20px 20px 0 20px;
    border-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    background: #efefef;
}
#advanced_search label {
    display: none;
}
#advanced_search.header-search #submit {
    width: 70%;
}
#advanced_search.header-search input, #advanced_search.header-search select, #advanced_search.header-search .nice-select {
    margin: 0;
    font-size: 14px;
    text-transform: uppercase;
}
#advanced_search input[type="submit"] {
    background-color: #6993C3;
    text-transform: uppercase;
    color: #fff;
}
#advanced_search.header-search #more-search-options-toggle {
    width: 25%;
    padding: 0;
    text-align: center;
    background: #ccc;
    color: #666;
    line-height: 40px;
    height: 40px;
    cursor: pointer;
}
#advanced_search.header-search #more-search-options, #advanced_search.header-search #more-search-options label {
    display: none;
}
#advanced_search.header-search #more-search-options {
    margin: 10px 0 0 0;
    padding: 10px 0 0 0;
    border-top: 1px solid #d5d9dd;
}
/* ESTATES */
.grid-listing-info header, .list-listing-info header, .single-listings header.listing-location {
    margin: 0;
    padding: 10px 20px;
}
.grid-listing-info {
    text-align: center;
}
.grid-listing-info .price {
    background: #6993C3;
    padding: 5px 20px;
    color: #fff;
}
figure {
    position: relative;
}
:where(figure) {
    margin: 0 0 0;
}
h6.snipe.status {
    right: 0;
}
h6.snipe {
    position: absolute;
    top: 0;
    z-index: 2;
    margin: 0;
    padding: 16px 10px;
    line-height: 12px;
}
h6.sold span {
    background: #6993C3;
}
h6.reserved span {
    background: #c62828;
}
h6.snipe span {
    padding: 6px 10px;
    color: #fff;
    font-size: 11px;
    border-radius: 3px;
    text-transform: uppercase;
}
.listing-featured-image img {
    border-style: none;
    height: 300px;
    max-width: 100%;
    object-fit: cover;
    width: 100%;
}
.propinfo {
    padding: 20px;
    text-align: left;
    font-size: 14px;
}
li.listing .creation-date, .single-listings .creation-date {
    padding: 8px 20px;
    border-top: 1px solid #d5d9dd;
    font-size: 12px;
    text-transform: uppercase;
}
.page-template-template-estates .padB60 {
    padding-bottom: 60px !important;
}
.page-template-template-estates .marT60 {
    margin-top: 60px !important;
}
.page-template-template-estates article ul {
    list-style: none outside;
    font-family: inherit;
    font-size: 100%;
    font-weight: inherit;
    font-style: inherit;
    vertical-align: baseline;
    white-space: normal;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
}
.page-template-template-estates ul.row.stk-estates-block-row {
    display: flex;
}
.page-template-template-estates .row {
    margin-bottom: 1.5em;
    zoom: 1;
}
.page-template-template-estates .col {
    display: block;
    float: left;
    width: 100%;
}
.page-template-template-estates .first {
    margin-left: 0 !important;
}
.page-template-template-estates li.listing {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.page-template-template-estates .listing {
    margin-bottom: 2%;
    border: 1px solid #d5d9dd;
    border-radius: 3px;
    background: #fff;
}
.page-template-template-estates .listing figure {
    min-height: 150px;
    background: url(../img/loader.gif) no-repeat center center;
}
.propinfo {
    padding: 20px;
    text-align: left;
    font-size: 14px;
}
.propinfo li.row, .agent-info li.row, .brokerage li.row {
    margin: 10px 0;
    border-bottom: 1px solid #d5d9dd;
}
.row:after, .col:after, .clr:after, .group:after, .flex-direction-nav li:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.left, .alignleft {
    float: left;
}
.right, .alignright {
    float: right;
}
.muted, .muted a, .muted a:visited {
    color: #878c92;
}
.page-template-template-estates li.listing {
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}
.page-template-template-estates li.listing,
.page-template-template-estates li.listing img {
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}
li.listing:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,.15);
}
.page-template-template-estates li.listing.reserved-card {
    opacity: 0.78;
}
.page-template-template-estates li.listing.reserved-card img {
    filter: grayscale(35%);
}
.page-template-template-estates li.listing.reserved-card:hover {
    box-shadow: none;
    transform: none;
}
.page-template-template-estates li.listing.reserved-card .grid-listing-info {
    background: #f7f7f7;
}
ul.listing-actions {
    position: absolute;
    right: 10px;
    bottom: 10px;
    margin: 0;
    z-index: 10;
}
.listing-images-count {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 35px;
    background: rgba(0,0,0,0.8);
    border-radius: 3px;
    z-index: 99;
    text-align: center;
    color: #fff;
}
[data-tooltip]:hover:before, [data-tooltip]:hover:after {
    visibility: visible;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
}
[data-tooltip]:before {
    position: absolute;
    bottom: 105%;
    left: 115%;
    margin-bottom: 5px;
    margin-left: -60px;
    padding: 7px;
    width: 60px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background-color: #000;
    background-color: hsla(0, 0%, 0%, 0.9);
    color: #fff;
    content: attr(data-tooltip);
    text-align: center;
    font-size: 10px;
    text-transform: uppercase;
    line-height: 1.2;
}
[data-tooltip]:after {
    position: absolute;
    bottom: 105%;
    left: 50%;
    margin-left: -5px;
    width: 0;
    border-top: 5px solid #000;
    border-top: 5px solid hsla(0, 0%, 0%, 0.9);
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    content: " ";
    font-size: 0;
    line-height: 0;
}
[data-tooltip]:before, [data-tooltip]:after { 
    visibility: hidden;
}
[data-tooltip]:before:hover, [data-tooltip]:after:hover { 
    visibility: hidden;
}
/* PAGINATION */
.pagination {
    background: none;
    border: none;
    overflow: initial;
}
.pagination {
    width: 100%;
    margin: 40px 0;
    /*
    background: #efefef;
    border: 1px solid #d5d9dd;
    */
    border-radius: 3px;
    overflow: hidden;
    display: block;
    text-align: center;
}

.pagination ul li a {
    color: #ffffff;
}

.pagination > ul {
    height: auto;
}
.pagination ul, .page .pagination + ul {
    /* height: 2.25em; */
    margin: 0;
}
.pagination li {
    border: none;
    background-color: #6993C3;
    margin-left: 14px;
}
.pagination li {
    display: inline-block;
    line-height: 2.25em;
    min-width: 2em;
    border-right: 1px solid #ffffff;
    text-align: center;
}
.pagination span, .pagination a {
    display: inline-block;
    padding: 0 1em;
    float: left;
    text-decoration: none;
    font-size: 14px;
    font-weight: normal;
}
.pagination .current a {
    background: #29333d;
    color: #fff;
    text-decoration: none;
}
/* MAPA */
#map {
    width: 100%;
}
#location #map, #page #map, #map-canvas {
    position: relative;
    z-index: 0;
    height: 360px;
    width: 100%;
    background: url(../img/loader.gif) center center no-repeat;
    border-bottom: 1px solid #e9ebed;
}
/* MEDIA QUERY */
@media (max-width: 480px) {
    .col {
        padding: 5px 0;
    }
}

@media (min-width: 320px) {
    .container {
        max-width: 90%;
        padding: 0;
    }
    .col:first-child {
        margin-left: 0;
    }
    .col {
        margin-left: 1%;
    }
}
@media (min-width: 768px) {
    .page-template-template-estates .span_4 {
        width: 33.3%;
        margin: 5px;
    }
    .page-template-template-estates .span_12 {
        width: 100%;
    }
    .span_2 {
        width: 15.0% !important;
    }
    .span_3 {
        width: 23.5% !important;
    }
}
@media only screen and (max-width: 767px) {
    .page-template-template-estates ul.row.stk-estates-block-row {
        display: block;
    }
    .page-template-template-estates .span_4 {
        width: 100%;
        margin: 5px;
    }
    .container .col {
        width: 100% !important;
        margin-left: 0 !important;
    }
}
@media (max-width: 1380px) {
    .page-template-template-estates .container {
        max-width: 90%;
    }
}
@media (min-width: 1381px) {
    .page-template-template-estates .container {
        max-width: 1380px;
    }
}
