/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
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: 2.0.0
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
*/

.price_month_container .tab_month_title {font-size: 1.5rem;}
.price_month_container .tab_month {font-size: 1rem;}
.price_month_container .price_container .price {font-weight: 600;font-size:1.5rem;background-color: #5D1954;color: #fff;padding: 10px;margin-bottom: 1rem;}
.elementor-widget-shortcode .title_payement {font-weight: bold;}

.title_widget {font-size: 2rem;color:rgb(93, 25, 84);text-align: center;}
/* TABLE */

.single-appartement table td,.single-appartement table th {padding: 10px;vertical-align: middle;}

/* SVG 
** MAP PARAMETERS
*/

#arrondissements > path,#arrondissements > circle {fill: #E5E5E5!important}
#arrondissements > path:hover,#arrondissements > circle:hover {fill:#C3B6A5!important}
#arrondissements > path#riviere,#arrondissements > path#riviere_1_,#arrondissements > path#riviere_1_ {fill:#C3B6A5!important }
#arrondissements  text { fill:rgb(87, 87, 86)!important;}
#arrondissements .mapsvg-region.hovering {fill:#CFC5B7!important}
#arrondissements .mapsvg-region.selected {fill:#5d1954!important}

body.single-appartement  h3 {font-size: 1.5rem;color: #5D1954;font-weight: 500;padding-top: 2rem;}

.simplefavorite-button {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 30px;
    line-height: 1em;
    color: var(--e-global-color-primary);
    cursor: pointer;
}

#btn-area .simplefavorite-button {position:relative; 
    font-size: 1rem;
    font-weight: var(--e-global-typography-accent-font-weight);
    line-height: var(--e-global-typography-accent-line-height);
    letter-spacing: var(--e-global-typography-accent-letter-spacing);
    fill: #323232;
    color: #fff;
    background-color: #C3B6A5;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-radius: 25px 25px 25px 25px;
    padding: 12px 30px 12px 30px;
    top:12px;
    line-height: 1em;
}

#btn-area .simplefavorite-button .favorite-custom-text {font-size: 1rem;}

#btn-area .simplefavorite-button:hover {background-color: #fff;color: var(--e-global-color-primary);}
#btn-area .simplefavorite-button.active {background-color: #fff;color: var(--e-global-color-primary);}
.el-favorite .simplefavorite-button {
    margin: 10px;
    display: none;
}

.swiper .simplefavorite-button {display: none;}
.favorites-list > div {position: relative;}

[type=button],
[type=submit],
button {
    border: 0;
}

.gmap {
    height: 550px;
}

.search-btn {
    max-width: 50px;
}

#search-box-home {
    max-width: 500px;
}

@media(max-width: 767px) {
    .search-btn .elementor-button-text {
        display: none;
    }
}

#menu {
    transition: all .3s ease-in;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
}

#menu.open {
    visibility: visible;
    pointer-events: all;
    opacity: 1;
}

.nav-btn-open a,
#nav-btn-close a {
    width: 80px;
    max-width: 80px !important;
    height: 80px;
    max-height: 80px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: all;
    border-radius: 3px !important;
}

#menu p>a {
    color: var(--e-global-color-primary);
}

#menu p>a:hover {
    color: var(--e-global-color-accent)
}

#menu::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-color: var(--e-global-color-primary);
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 20% 100%);
}

#top-menu-open::after {
    content: "";
    display: none;
    position: absolute;
    top:100%;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--e-global-color-primary);
    clip-path: polygon(0 0, 0 55%, 130% 0);
}

.main-header .black-logo {
    display: none;
}

.main-header .white-logo {
    display:block;
}

.main-header.show-sticky {
    background-color: white;
    border-bottom: 1px solid var( --e-global-color-a27ebaa );
}

.main-header.show-sticky li a {
    color: #000 !important;
}

.main-header.show-sticky .white-logo {
    display:none;
}

.main-header.show-sticky .black-logo {
    display:block;
}

@media(max-width: 1024px) {

    .nav-btn-open a,
    #nav-btn-close a {
        width: 60px;
        max-width: 60px !important;
        height: 60px;
        max-height: 60px !important;
    }

    #menu::after {
        display: none;
    }
    
    #top-menu-open {
        background-color: var(--e-global-color-primary);
    }

    #top-menu-open::after {
        display: block;
    }

}

#stick-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    margin-top: -100%;
    transition: all .65s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}

#stick-menu.show-sticky {
    margin-top: 0 !important;
}


/**
======= Advanced search module design
**/

.filter-map {
    background-color: transparent
}

/**
======= Fiche appartement
**/
.expendable {
    position: relative;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.expendable.collapsed {
    max-height: 195px;
    /* Hauteur pour  lignes de texte */
}

.expendable-toggle-container {
    text-align: center;
    margin-top: 15px;
    position: relative;
}

.expendable-toggle {
    background: transparent;
    border: none;
    padding: 8px 30px 8px 15px;
    cursor: pointer;
    position: relative;
    color: #1a73e8;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s;
}

.expendable-toggle:hover {
    background: rgba(26, 115, 232, 0.08);
}

.expendable-toggle::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #1a73e8;
    transform: translateY(-50%);
    transition: transform 0.3s;
}

.expendable-toggle-container .expendable-toggle::after {
    transform: translateY(-50%);
}

.expendable-toggle-container .expendable-toggle.expanded::after {
    transform: translateY(-50%) rotate(180deg);
}

.expendable.collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.95));
    pointer-events: none;
}

.expendable-toggle-container {
    text-align: center;
    margin-top: 10px;
}

.expendable .btn-expand {
    background: var(--e-global-color-primary);
    border: 1px solid #ddd;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.urban-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    height: 100%;
    padding: 0;
}

.urban-gallery-item {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 100%;
    /*border: 4px solid #663366;*/
}

.urban-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    color: white;
    text-align: center;
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

.urban-overlay:hover {
    background: rgba(0, 0, 0, 0.55);
}

/*.urban-gallery-item {
    border: 0;
}*/

.urban-gallery-item:hover .urban-overlay {
    opacity: 1;
}

.urban-icon img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.urban-title {
    font-size: 18px;
    font-weight: bold;
}

#gallery-modal,#virtual-modal {

    width: 100%;
    height: 100%;
    z-index: 100;
    transition: all .3s ease-in-out;
    overflow-y: scroll;
}

#gallery-modal.loaded,#virtual-modal.loaded {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
}

#gallery-modal.open,#virtual-modal.open {
    pointer-events: all;
    visibility: visible;
    opacity: 1;
}

#urban-virtual-trigger:hover,.urban-virtual-trigger:hover {
    cursor: pointer;
}

#modal-virtual-visit iframe {
    aspect-ratio: 16/9 !important;
    height: auto;
}

.overflow-y-hidden {
    overflow-y: hidden;
}

#gallery-modal * {
    height: auto !important;
}

#appart-gallery {
    max-width: 920px;
}

#disponibility-modal {

    width: 100%;
    height: 100%;
    z-index: 100;
    transition: all .3s ease-in-out;
    overflow-y: scroll;
}

#disponibility-modal.loaded {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
}

#disponibility-modal.open {
    pointer-events: all;
    visibility: visible;
    opacity: 1;
}

.overflow-y-hidden {
    overflow-y: hidden;
}

#disponibility-modal * {
    height: auto !important;
}

#appart-gallery {
    max-width: 920px;
}

div.ui-datepicker {
    margin: 0;
}

div#ui-datepicker-div.ui-datepicker[style] {
    z-index: 10000 !important;
}

.appartment-phone-carousel {
    height: 50vh;
    border-radius: 8px;
    overflow:hidden;
}

.appartment-phone-carousel figure,
.appartment-phone-carousel picture {
    display: inline-block;
    width: 100%;
    height: 100%;
}

.appartment-phone-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.appartment-phone-carousel .elementor-image-carousel-wrapper {
    height: 100%;
}

.urban-trigger-button, .urban-overlay > .urban-link {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    width: 100%;
    height: 100%;
}

.urban-trigger-button:hover, .urban-overlay > .urban-link:hover {
    color: var(--e-global-color-accent)
}

.urban-trigger-button img,
.urban-overlay > .urban-link img {
    margin: 0;
}



/**
=== SEO page design
**/

.seo-content h2,
.seo-content h3,
.seo-content h4 {
    color: var(--e-global-color-primary);
}

p img {
    border-radius: 5px !important;
}

/**
=== Evaluer mon sejour / design
**/

#formPrice {
    display: flex;
    flex-flow: column wrap;
    gap: 10px;
}

#formPrice .input-group input {
    border-radius: 250px;
}


/**
=== TEMPLATE ARCHIVES
**/

.header-archive-template {
    clip-path: polygon(40% 0%, 100% 0, 1000% 100%, 20% 100%);
}

@media(max-width: 1024px) {
    .header-archive-template {
        clip-path: polygon(0 80px, 100% 0, 100% 100%, 0% 100%);
    }
}

/* MISC */

.table-cost {
    text-align: center; 
}

.table-cost span {
    font-weight: bold;
    text-decoration: underline;
}

.table-cost span:hover {
    color: var(--e-global-color-accent);
    cursor: pointer;
}

.price_month_container {
    text-align: center;
    font-family: var(--e-global-typography-df1c8c4-font-family), Sans-serif;
    font-size: var(--e-global-typography-df1c8c4-font-size);
    font-weight: var(--e-global-typography-df1c8c4-font-weight);
    color: var(--e-global-color-primary);
}

#search-form {
    background-color: inherit;
}

.expendable-toggle-container {
    text-align: left;
}

.btn-expand.expendable-toggle,
.btn-expand.expendable-toggle.expanded {
    padding: 0;
    background-color: transparent;
    color: grey;
    text-decoration: underline;
    border: 0;
}

.btn-expand.expendable-toggle:hover,
.btn-expand.expendable-toggle:focus,
.btn-expand.expendable-toggle.expanded:hover,
.btn-expand.expendable-toggle.expanded:focus {
    font-weight: bold;
    background-color: transparent;
    color: black;
    border: 0;
}

.btn-expand.expendable-toggle::after,
.btn-expand.expendable-toggle.expanded::after {
    display:none;
}





/**
** GFORM PARAMETERS
**/

.elementor-popup-modal {
    border-radius:25px !important;
}

/**
** GO TOP BTN
**/

#stick-gotop-btn {
    opacity: 0;
    transition: opacity .4s ease-in-out;
}

#stick-gotop-btn.show-up-btn {
    opacity: 1;
}

/**
** HELP POPUP
**/

#popup-bottom-help {
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#popup-bottom-help.popin-help {
    pointer-events: all;
    opacity: 1;
}

#popup-bottom-help p {
    margin: 0;
}

#actif_filters {
    display:none;
}

@media(max-width:1024px) {
    #header-appartments-list .elementor-shape-fill {
        fill: #F8F8F8;
    }

    .container-localisation {
        display: flex;
        flex-flow: column wrap;
        justify-content: center;
        align-items: center;
    }

    .container-localisation > .map-localisation,
    .container-localisation > #arrondissement-us {
        width: 95% !important;
        padding: 0;
    }
}