/*
Remove when the page template is created
*/

.entry-content {
    width: 100% !important;
}

.container-filter {
    display: flex;
    flex-direction: column;
}

.container-filter div {
    padding: 10px;
}

.main-filter, .secondary-filter {
    display: flex;
    flex-wrap: wrap;
}

.main-filter div, .secondary-filter div {
    flex-grow: 1;
}

.main-filter select, .secondary-filter select {
    width: 100%;
}

.collapsible {
    cursor: pointer;
    padding: 18px;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
}

@media (min-width: 600px) {
    .container-list img {
        width: 100%;
        max-width: 250px;
        height: auto;
    }
}

@media (max-width: 599px) {
    .container-list img {
        width: 100%;
        height: auto;
    }
}

.container-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Styles for the domus implementation */

/* Global styles */

*, *::before, *::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    /*font-family: "Red Hat Display", Sans-serif !important;*/
    background-color: #fafafa;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

h1, .h1, h2, .h2, h3, .h3 {
    margin: 0;
    padding: 0;
    /*font-family: "Red Hat Display", Sans-serif !important;*/
}

li {
    list-style-type: none;
}

a {
    color: #000;
}

a:hover {
    text-decoration: none;
}

/* General Styles */

.container {
    display: block;
    width: 100%;
}

#detail .container {
    display: flex;
    /*justify-content: space-between;*/
    width: 100%;
}

.search-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* box-shadow: 0 6px 50px rgba(0, 0, 0, 0.12); */
    border-radius: 3px;
    background: white;
}

.custom-select {
    border-right: 1px solid #e9e9e9;
    position: relative;
    display: inline-block;
    width: 20%;
    vertical-align: middle;
    text-align: center;
}

.custom-select:last-child {
    border-right: none;
    text-align: center;
}

.custom-select:last-child::after {
    content: "";
}

.custom-select select {
    border: none;
    background: none;
    width: 100%;
    display: inline-block;
    padding: 3em 0.2em;
    text-align-last: center;
    text-align: center;
    -ms-text-align-last: center;
    -moz-text-align-last: center;
    font-size: 14px;
    font-family: "Roboto", sans-serif;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: auto;
}

.custom-select select::-ms-expand {
    display: none;
}

.custom-select::before, .custom-select::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.custom-select::after {
    font-family: "Font Awesome\ 5 Free";
    content: "\f078";
    font-size: 0.8em;
    font-weight: 900;
    right: 1.2em;
    top: 40%;
    color: #8f8f8f;
}

.btn-inmueble {
    background-color: #076cb6;
    border-radius: 3px;
    padding: 1em 1.5em;
    border: none;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(7, 108, 182, 0.2);
    transition: all 0.2s ease-in;
    font-size: 18px;
    font-weight: bold;
    margin-top: -2%;
    padding-top: 4%;
}

.btn-inmueble:hover {
    background-color: #076cb6;
    box-shadow: 0 3px 6px rgba(64, 132, 182, 0.2);
}

.btn-inmueble:focus, select:focus {
    outline: 0;
}

select:focus {
    font-weight: bold;
    color: #4b4b4b;
}

.btn-inmueble i, .adv-search-title i {
    margin-left: 8px;
}

/******* Search result section *******/

.adv-search-title {
    color: #076cb6;
    font-size: 0.85em;
    margin-top: 23px;
    font-weight: 500;
}

.adv-search-title i {
    color: #076cb6;
}

.search-results {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5em;
    max-width: 100%;
    margin: 0 auto;
    /*font-family: "Red Hat Display", Sans-serif !important;*/
}

.item-card {
    width: 30%;
    padding: 0 5px;
    margin: 0 10px;
}

.apartment {
    height: 445px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.16);
    border-radius: 3px;
    overflow: hidden;
    margin: 2.5em 0 0 0;
    transition: all 0.2s ease-in;
}

.apartment:hover {
    transform: scale(1.07);
    cursor: pointer;
}

.results-title {
    margin-top: 56px;
    font-size: 1.4em;
    color: #4b4b4b;
    margin-left: 30px;
    font-weight: 400;
}

.card-image {
    background-size: cover;
    height: 12.43rem;
}

.card-image-1 {
    background-image: url(img/home-1.jpg);
}

.card-image-2 {
    background-image: url(img/home-2.jpg);
}

.card-image-3 {
    background-image: url(img/home-3.jpg);
}

.card-image-4 {
    background-image: url(img/home-4.jpg);
}

.card-image-5 {
    background-image: url(img/home-5.jpg);
}

.card-image-6 {
    background-image: url(img/home-6.jpg);
}

.card-image-7 {
    background-image: url(img/home-7.jpg);
}

.card-image-8 {
    background-image: url(img/home-8.jpg);
}

.card-image-9 {
    background-image: url(img/home-9.jpg);
}

.card-header {
    padding: 14px 10px 5px 17px;
}

.card-header .card-title {
    margin-bottom: 8px;
}

.card-details {
    padding: 0 20px;
}

.card-details ul li {
    margin-top: 10px;
    font-size: 17px;
    color: #333;
}

.card-title {
    font-size: 18px;
    color: #2e2e2e;
    font-weight: normal;
}

.card-type-title {
    margin: 0;
    padding: 0;
    font-size: 1.125em;
    font-weight: 200;
    color: #8f8f8f;
}

li.price {
    background-image: url(img/price.png);
    background-repeat: no-repeat;
    background-position: 5px 0;
    padding-left: 32px;
}

li.room {
    background-image: url(img/bed.png);
    background-repeat: no-repeat;
    background-position: 0 5px;
    padding-left: 32px;
}

li.bathroom {
    background-image: url(img/bathtub.png);
    background-repeat: no-repeat;
    background-position: 0 5px;
    padding-left: 33px;
}

li.area {
    background-image: url(img/area.png);
    background-repeat: no-repeat;
    background-position: 5px 0;
    padding-left: 36px;
}

/* Pagination */

.custom-pagination {
    text-align: center;
    margin-top: 80px;
}

.custom-pagination button {
    border: 1px solid #E9E9E9;
}

.pagination-item:hover {
    color: #8F8F8F;
}

.custom-pagination a {
    display: inline-block;
    color: #2e2e2e;
    text-decoration: none;
    margin-right: .5em;
    padding: .3em .8em;
    border: 1px solid #E9E9E9;
    border-radius: 5px;
    font-weight: bold;
    color: #8F8F8F;
    box-shadow: none !important;
}

.custom-pagination .active {
    background-color: #076cb6;
    color: #fafafa;
    border: none;
}

.custom-pagination .active:hover {
    color: white;
}

.custom-pagination .prev, .custom-pagination .next {
    background-color: #8F8F8F;
    color: #fafafa;
}

/* Advanced Search */

.content {
    box-shadow: 0 3px 30px rgba(0, 0, 0, 0.12);
    width: 100%;
    margin: 0 auto;
    border-radius: 3px;
    padding: 1.1em 2em;
}

.custom-wrapper {
    margin-left: 35px;
}

.first-row, .second-row {
    display: flex;
    justify-content: space-around;
}

.second-row {
    padding-left: 35px;
}

.secondary-filter .box-adv-search {
    margin-right: 10px;
    width: 10%;
}

.secondary-filter .box-adv-search:last-child {
    margin-right: 0;
}

.secondary-filter input {
    padding: 0.2em 1em;
    /* width: 80%; */
    border-radius: 3px;
}

.secondary-filter input:focus {
    border: 1px solid #076cb6;
}

.box-adv-search label {
    font-size: 14px;
    color: #2E2E2E;
    font-weight: normal;
}

.broker-form .close {
    text-align: right;
    display: none;
}

.broker-form:hover {
    cursor: pointer;
}

/* custom checkbox */

.second-row label.min-rooms, .second-row label.min-baths, .second-row label.inm-code {
    font-size: 14px !important;
    color: #2E2E2E !important;
    font-weight: normal;
    margin-top: 31px;
}

.active-item {
    background-color: #076cb6;
    border: 1px solid transparent !important;
    color: #e9e9e9 !important;
}

.numbers ul li {
    display: inline-block;
    /* background: transparent; */
    border: 1px solid #8F8F8F;
    border-radius: 3px;
    padding: 0 1.2em;
    font-size: 14px;
    color: #2E2E2E;
}

.numbers ul li:hover {
    cursor: pointer;
}

/* property code */

.code label {
    text-align: left;
    margin-left: 20px;
}

.code input {
    width: 60%;
    margin-left: 20px;
}

/************************
styles for inmueble page
*************************/

.container {
    font-family: "Red Hat Display", Sans-serif;
}

.container hr {
    background-color: #e6e6e6;
}

.col-details {
    width: 70%;
}

.col-details h4 {
    width: 80%;
}

.col-form {
    width: 25%;
    height: 25vh;
    position: sticky;
    position: -webkit-sticky;
    top: 10px;
    margin-right: 5%;
}

#broker-window {
    background-color: #076CB6;
    box-shadow: 0 3px 6px rgba(7, 108, 182, .2);
    padding: .5em .5em;
    width: 60%;
    font-size: 0.875em;
    font-weight: lighter;
    display: none;
    margin-top: 50px;
}

.col-details h1 {
    font-size: 1.875em;
    font-weight: bold;
    color: #000000;
    /*font-family: "Red Hat Display", Sans-serif !important;*/
}

.col-details h4 {
    font-size: 1.375em;
    font-weight: 400;
    color: #8F8F8F;
    margin-bottom: 25px;
}

.col-details .price {
    font-size: 1.875em;
    font-weight: 400;
    color: #2E2E2E;
}

.details {
    margin-top: 42px;
}

.details ul li {
    color: #4B4B4B;
    display: inline-block;
    font-weight: 200;
    margin-right: 23px;
}

.details .code-property {
    font-size: 1.125em;
    font-weight: 400;
    color: #2E2E2E;
    margin-top: 25px;
}

.description {
    margin-top: 52px;
    width: 90%;
}

.description .description-title, .amenities p {
    font-size: 1.25em;
    font-weight: 500;
    color: #000000;
}

.description .description-body {
    margin-top: 30px;
    font-size: 18px;
    font-weight: 200;
    color: #333 !important;
}

.amenities {
    margin-top: 31px;
}

.amenities-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-left: 15px;
}

.col-1, .col-2 {
    width: 50%;
}

.amenities-wrapper ul li {
    margin-bottom: 9px;
    font-size: 1em;
    font-weight: 200;
    color: #747474;
}

.amenities-wrapper li i {
    margin-right: 10px;
    font-size: 16px;
    color: #076CB6;
}

/* Broker Form */

.broker-form {
    width: 320px;
    padding: 1.2em;
    position: relative;
    top: 30%;
    right: 10%;
    background-color: white;
    border: 1px solid #dadada;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .12);
    border-radius: 3px;
}

.broker-form-header {
    padding-left: 10px;
    padding-top: 22px;
}

.broker-form label {
    display: none;
}

.broker-form input {
    padding: .2em .5em;
    margin-bottom: 13px;
}

.broker-form input, .broker-form textarea {
    border: 1px solid #dcdcdc;
    border-radius: 3px;
}

.broker-form input::placeholder, .broker-form textarea::placeholder {
    color: #a1a1a1;
    font-weight: 100;
}

.broker-form-wrapper {
    position: sticky;
    position: -webkit-sticky;
}

.broker-form-wrapper fieldset {
    border: none;
    width: 100%;
}

.broker-form form {
    margin-top: 34px;
}

.broker-form .broker-name {
    font-size: 1em;
    font-weight: 500;
    color: #000000;
}

.broker-form .broker-name, .broker-form .broker-cel {
    margin-bottom: 5px !important;
}

.broker-form .broker-cel, .broker-form .broker-phone {
    font-size: 0.875em;
    font-weight: normal;
}

.broker-form .btn-agent {
    margin-top: 13px;
    border-radius: 3px;
    background-color: #076CB6;
    box-shadow: 0 3px 6px rgba(7, 108, 182, .2);
    padding: .3em .5em;
    width: 100%;
    font-size: 14px;
    font-weight: lighter;
    transition: all .2s ease-in;
}

.broker-form .btn-agent:hover {
    background-color: #004a80;
}

.form-bar {
    border-bottom: 1px solid #dcdcdc;
    cursor: pointer;
}

.form-bar p {
    margin-bottom: 10px;
    transition: .2s all ease-in;
}

.form-bar p:hover {
    color: #9c9c9c;
}

.form-bar i {
    padding-left: 10px;
    color: #aaaaaa;
}

/* Back button */

/* .btn-back {
    border-radius: 3px;
    background-color: #076CB6;
    box-shadow: 0 3px 6px rgba(7, 108, 182, .2);
    padding: .5em .7em;
    font-size: 0.875em;
    font-weight: lighter;
}

.btn-back:hover {
    background-color: #4084b6;
    box-shadow: 0 3px 6px rgba(64, 132, 182, 0.2);
    font-weight: lighter;
    color: #fff !important;
} */

.justify-content-start {
    justify-content: flex-start !important;
}

.return-inmuebles {
    margin-top: 30px;
}

.back-link {
    background: transparent;
    color: #004a80 !important;
    font-weight: 200;
    font-size: 1.1em;
    font-weight: bold;
    transition: .2s all ease-in;
    text-decoration: underline;
}

.back-link:hover {
    color: #4084b6;
    text-decoration: none;
}

.back-link i {
    font-size: 0.85em;
    padding-right: 7px;
}

.group-amenities {
    font-weight: 400;
    margin-bottom: 30px;
    display: block;
    color: rgb(0, 0, 0);
    font-size: 18px;
}

.no-top {
    margin-top: 0;
}

/* Toggle button */

#search-button {
    display: none;
    border-radius: 3px;
    background-color: #076CB6;
    box-shadow: 0 3px 6px rgba(7, 108, 182, .2);
    padding: 1em .5em;
    width: 50%;
    font-size: 0.875em;
    font-weight: lighter;
    margin: 0 auto;
}

/* Media Queries */

@media (max-width: 900px) {
    .item-card {
        min-width: 100%;
        ;
    }
    h3#busqueda-avanzada{
        margin: 0 auto;
    }
    .results-title {
        margin-left: 0;
        font-size: 1em;
        text-align: center;
    }
    .custom-select {
        margin: 1em !important;
        padding: 0 0.5em !important;
        width:100% !important;
        max-width: 280px;
    }
    .search-bar {
        text-align:center;
        padding: 0 0.5em;
        display: block !important;
    }
    .custom-select select {
        padding: 1.2em 0.2em;
    }
    .custom-select::after {
        right: 20%;
    }
    .custom-wrapper {
        margin-left: 0;
        text-align: center;
    }
    .btn-inmueble {
        width: 60%;
        padding: 1em 0;
    }
    .adv-search-title {
        text-align: center;
    }
    .first-row, .second-row {
        display: block;
    }
    .second-row {
        padding-left: 0;
    }
    .code input {
        width: 80%;
        margin: 0 auto;
    }
    .code label {
        text-align: center;
        padding-left: 0;
        margin-left: 0;
    }
    .secondary-filter .box-adv-search {
        margin-right: 10px;
        margin-bottom: 15px;
        width: 100%;
    }
    .second-row label.min-baths {
        margin-top: 20px;
    }
    .second-row label.min-rooms {
        margin-top: 20px;
    }
    .col-details {
        padding-right: 0;
        width: 100%;
    }
    .broker-form {
        display: none;
    }
    #broker-window {
        display: block;
    }
    .broker-form .close {
        display: block;
    }
}

@media (max-width: 780px) and (min-width: 650px) {
    .item-card {
        min-width: 48%;
    }
}

@media (min-width: 781) {
    #list .container {
        display: block;
    }
}

@media (min-width: 320px) and (max-width: 920px) {
    .broker-form {
        position: absolute;
        display: block;
    }
}

@media (max-width: 480px) {
    /* .col-details ul li {
        display: block;
        margin-bottom: 10px;
    } */
    .col-form {
        position: fixed;
    }
    .amenities-wrapper {
        display: block;
        padding-left: 0;
    }
    .col-1, .col-2 {
        width: 100%;
    }
    .group-amenities {
        font-size: 18px;
        margin-top: 30px;
    }
}

/* Custom Select */

.custom-select {
    border-right: 1px solid #e9e9e9;
    position: relative;
    display: inline-block;
    width: 28%;
    vertical-align: middle;
    text-align: left;
    padding: 1.2em 0;
}

.custom-select select {
    display: none;
    /*hide original SELECT element:*/
}

/*style the arrow inside the select element:*/

.select-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/

.select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 7px;
}

/*style the items (options), including the selected item:*/

.select-items div, .select-selected {
    color: #353535;
    padding: 8px 16px;
    /* border: 1px solid transparent; */
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
    user-select: none;
    font-size: 0.875em;
}

/*style items (options):*/

.select-items {
    position: absolute;
    background-color: #fff;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/*hide the items when the select box is closed:*/

.select-hide {
    display: none;
}

.select-items div:hover, .same-as-selected {
    background-color: rgba(7, 109, 182, 0.062);
}

.image-list-wrapper {
    height: 40%;
    width: 100%;
    margin-bottom: 24px;
}

.image-list-wrapper img {
    height: 170px;
    width: 100%;
}

/* Header Image */

.feat-image {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.feat-image img {
    width: 100%;
    height: 100%;
}

button.lightbox-button {
    background: #076CB6;
    border-radius: 1px solid #868686;
    border-radius: 3px;
    padding: 5px 10px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400 !important;
    transition: all .2s ease-in;
}

button.lightbox-button:hover {
    background: #004a80;
    box-shadow: 0 6px 10px rgba(0, 0, 0, .12);
    color: #fff;
}

.feat-image {
    overflow: hidden;
}

.feat-image-wrapper {
    display: flex;
    height: auto;
    overflow-y: hidden;
    /* max-height: 355px; */
}

/* Fancybox caption */

.fancybox-caption {
    display: none;
}

.feat-image-wrapper a {
    align-items: center;
    display: flex;
}