/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

.text-nowrap {
    white-space: nowrap;
}

.news-tag {
    margin: 0;
    font-size: 80%;
}
.news-tag:empty {
    margin: 0;
}

.news-tag > a {
    display: inline-block;
    margin: 0 .6em .2em 0;
    padding: .45em .8em;
    border-radius: 1.6em;
    transition: opacity .3s;
    line-height: 1;
}
.news-tag > a:hover {
    opacity: .65;
}

@media screen and (min-width: 768px) {
    .news-tag {
        margin-top: 0;
        margin-left: 0;
    }
}


.property-list-image {
    text-align: center;
}
.property-list-image > a > img {
    transition: opacity .3s;
}
.property-list-image > a > img:hover {
    opacity: .7;
}
.property-list-nego,
.property-header-nego {
    display: inline-block;
    margin: 0 1em;
    padding: 0 .8em;
    background: #fb062f;
    vertical-align: middle;
    color: #fff;
    font-size:80%;
}
.property-header-nego {
    font-size: 50%;
    line-height: 1.4;
    vertical-align: baseline;
}

.property-nothing {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 3em;
    height: 300px;
    text-align: center;
}


.property-header {
    font-weight: bold;
    font-family: var( --e-global-typography-text-font-family ), Sans-serif;
}

.property-header-type {
    margin-right: .2em;
    color: #11A4D8;
    font-size: 70%;
}
.property-header-price {
    white-space: nowrap;
}
.property-header-price .price {
    margin-right: .2em;
    color: #FB062F;
}
.property-header-price .unit {
    font-size: 60%;
}
.property-header-address {
    font-size: 105%;
    margin-bottom: .7em;
}
.property-header-date {
    font-size: 95%;
}
.property-header-update-date {
    margin-right: .6em;
}
.property-header-next-update-date {
    white-space: nowrap;
}

.property-detail {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: flex-start;
    border-top: 1px solid #11A4D8;
    margin-bottom: 0;
    width: 98%;
    margin-left: 1%;
    margin-right: 1%;
    font-size: 95%;
    line-height: 1.3;
}

.property-detail + .property-detail {
    border-top: none;
    margin-top: 0;
}

.property-detail dt {
    margin: 0 auto;
    padding: .8em 0;
    background: #EAF5F7;
    border-bottom: 1px solid #0097CD;
    width: 7em;
    text-align: center;
    font-weight: normal;
}

.property-detail dd {
    margin: 0 auto;
    padding: .8em 1em;
    width: calc(100% - 7em);
    border-bottom: 1px solid #0097CD;
    flex-grow: 1;
}

.property-image {
    text-align: center;
}
.property-image a {
    text-decoration: none;
    outline: none;
}

.property-image > .thumb {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    flex: 1 1 auto;
}
.property-image img {
    vertical-align: top;
    padding: 0 .3em .8em .3em;
}
.property-image > .thumb > a {
    max-width: 30%;
}
.property-image > .thumb > a img {
    max-height: 130px;
}
.property-image > .large > a img,
.property-image > .thumb > a img {
    transition: opacity .3s;
}
.property-image > .large > a img:hover,
.property-image > .thumb > a img:hover {
    opacity: .7;
}

.fancybox-can-pan .fancybox-content, .fancybox-can-swipe .fancybox-content {
    cursor: pointer;
}
.fancybox-thumbs__list > a {
    transition: opacity .3s;
}
.fancybox-thumbs__list > a:hover {
    opacity: .7;
}
@media only screen and (orientation:portrait) {
    div .fancybox-thumbs {
        top: auto;
        width: auto;
        bottom: 0;
        left: 0;
        right: 0;
        height: 95px;
        padding: 10px 10px 5px 10px;
        box-sizing: border-box;
        background: rgba(0, 0, 0, 0.3);
    }

    .fancybox-show-thumbs .fancybox-inner {
        right: 0 !important;
        bottom: 95px !important;
    }
}

@media screen and (min-width: 768px), print {

    .property-list-image {
        display: flex;
        justify-content: center;
        align-items: center;
        aspect-ratio: 4 / 3;
    }

    .property-image > .thumb > a {
        max-width: 22%;
    }

    .property-header {
        font-size: 300%;
        font-weight: 500;
    }

    .property-detail dd.half {
        width: calc(50% - 7em);
    }
}

@media screen and (min-width: 1025px), print {

    .property-image > .large {
        display: flex;
        justify-content: center;
        align-items: center;
        flex: 1 1 auto;
        margin-bottom: .8em;
    }

    .property-image > .thumb > a {
        max-width: 15%;
    }

}

.hide-all {
    display: none;
}
