/*
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
*/

/* Sticky header */
header.sticky-header {
	--header-height: 100px;
	--shrink-header-to: 0.6;
	--transition: .45s cubic-bezier(.4, 0, .2, 1);
	background-color: transparent;
	transition: background-color var(--transition),
				backdrop-filter var(--transition),
				box-shadow var(--transition);
}

header.sticky-header .elementor-container {
	background: rgba(44, 44, 44, .9);
}

header.sticky-header.elementor-sticky--effects {
	/* background-color: transparent;
	box-shadow: 0px 4px 33px 1px rgba(0, 0, 0, .07);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px); */
}
header.sticky-header > .elementor-container { 
	min-height: var(--header-height);
	transition: min-height var(--transition);
}
header.sticky-header.elementor-sticky--effects > .elementor-container {
	min-height: calc( var(--header-height) * var(--shrink-header-to) );
}

@media only screen and (max-width: 767px) {
	header.sticky-header {
		--header-height: 70px;
	}
}

header.sticky-header .logo img {
	transition: transform var(--transition);
}
header.sticky-header.elementor-sticky--effects .logo img {
	transform: scale(.8);
}

@media only screen and (max-width: 1024px) {
    .elementor-nav-menu--dropdown {            
        position: fixed;
        left: 10px;
        right: 10px;
        width: calc(100% - 20px);
        top: 90px;
        box-shadow: rgb(0 0 0 / 5%) 0px 6px 24px 0px, rgb(0 0 0 / 8%) 0px 0px 0px 1px;
    }

    .elementor-menu-toggle {
        color: #fff !important;
    }

    .admin-bar .elementor-nav-menu--dropdown {            
        top: 136px;
    }

    .elementor-item:focus-visible {
        outline: none;
    }

    .admin-bar header.elementor-sticky--active .elementor-nav-menu--dropdown {
        top: 90px;
    }

    .elementor-nav-menu--dropdown .menu-item .elementor-item:hover {
    background:var( --e-global-color-accent );
    }

    .elementor-nav-menu--dropdown .menu-item:last-child .elementor-item:hover {
        background:#1B504A;
    }

    .elementor-nav-menu--dropdown .menu-item:last-child .elementor-item {
        background: var( --e-global-color-accent );
        color: #fff;
    }

    .elementor-nav-menu--dropdown .menu-item:last-child::before {
        display: none;
    }
}

@media (min-width: 600px) and (max-width: 768px) {
    .admin-bar header.elementor-sticky--active .elementor-nav-menu--dropdown {
        top: 146px;
        margin-top: 0;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .admin-bar header.elementor-sticky--active .elementor-nav-menu--dropdown {
        top: 130px;
        margin-top: 0;
    }
}

@media (min-width: 1024px) and (max-width: 1299px) {
    .elementor-nav-menu--burger {
        width: 100% !important;
    }

    .elementor-nav-menu--burger nav {
        width: 100%;
    }

    .elementor-nav-menu--burger nav ul {
        width: 100%;
        justify-content: space-between !important;
    }

    .elementor-widget-theme-site-logo {
        margin: 0 auto;
        padding-bottom: 20px;
    }

    .elementor-widget-theme-site-logo img {
        height: 50px !important;
    }
}

/* Overlapping text/heading element */
.overlapping-text p,
.overlapping-text ul,
.overlapping-heading h3 {
    background-color: gray;
    margin: 0;    
    padding: 50px 30px;
    color: #fff;
}   

.overlapping-text ul {
    padding-left: 50px;
}

.overlapping-text.overlapping-text--right p,
.overlapping-text.overlapping-text--right ul,
.overlapping-heading.overlapping-heading--right h3 {
    margin-left: -90px;
}
.overlapping-text.overlapping-text--left p,
.overlapping-text.overlapping-text--left ul,
.overlapping-heading.overlapping-heading--left h3 {
    margin-right: -90px;
}

.overlapping-text.overlapping-text--green p,
.overlapping-text.overlapping-text--green ul,
.overlapping-heading.overlapping-heading--green h3 {
    background-color: #1B504A;
}
.overlapping-text.overlapping-text--brown p,
.overlapping-text.overlapping-text--brown ul,
.overlapping-heading.overlapping-heading--brown h3 {
    background-color: #AC845D;
}

.overlapping-text.overlapping-text--pb-0 p,
.overlapping-text.overlapping-text--pb-0 ul,
.overlapping-heading.overlapping-heading--pb-0 h3 {
    padding-bottom: 15px;
}
.overlapping-text.overlapping-text--pt-0 p,
.overlapping-text.overlapping-text--pt-0 ul,
.overlapping-heading.overlapping-heading--pt-0 h3 {
    padding-top: 0;
}

@media only screen and (max-width: 768px) {
    .overlapping-text p,
    .overlapping-text ul,
    .overlapping-heading h3 {
        padding: 30px 20px;
    }

    .overlapping-text ul {
        padding-left: 40px;
    }

    .overlapping-text.overlapping-text--right p,
    .overlapping-text.overlapping-text--right ul,
    .overlapping-heading.overlapping-heading--right h3 {
        margin-left: 0px;
    }
    .overlapping-text.overlapping-text--left p,
    .overlapping-text.overlapping-text--left ul,
    .overlapping-heading.overlapping-heading--left h3 {
        margin-right: 0px;
    }
}

/* Navigation contact button */
.contact-btn::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 6px;
    width: 100%;
    height: 100%;
    background: #AC845D;
    transition: .4s;
}

.contact-btn:hover::before {
    background: #1B504A;
    
}

.contact-btn:hover a {
    color: #fff !important;
}

/* Background watermark */
.background-watermark {
    position: relative;
}

.background-watermark::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -200px;
    width: 300px;
    height: 300px;
    background: url('./img/watermark.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

@media only screen and (max-width: 768px) {
    .background-watermark::before {
        top: -20px;
        right: -70px;
        width: 300px;
        height: 300px;
    }
}

/* Swiper slider pagination */
.swiper-pagination {
    margin-bottom: 25px;
}

@media only screen and (max-width: 768px) {
    .swiper-pagination {
     margin-bottom: 5px;
    }
}

.swiper-pagination .swiper-pagination-bullet {
    border: 1px solid #CFCEC9;
    opacity: 1;
    background: transparent !important;
}

.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #CFCEC9 !important;
}

.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 3px;
}

/* Footer */
.elementor-location-footer ul {
    list-style: none;
    padding-left: 0; 
    display: flex;
    align-items: center;
    gap: 120px;
}

.elementor-location-footer ul li { 
    text-align: center;
    max-width: 175px;
    position: relative;
}

.elementor-location-footer a {
    color: #fff;
} 
.elementor-location-footer a:hover {
    color: #1B504A;
}

.elementor-location-footer ul li:not(:last-child)::before {
    content: '';
    position: absolute;
    top: calc(50% - 37px);
    right: -75px;
    width: 30px;
    height: 75px;
    background: url('./img/footer-arrow.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

@media only screen and (max-width: 1024px) {
    .elementor-location-footer ul {
        justify-content: center;
    }
}

@media only screen and (max-width: 767.98px) {
    .elementor-location-footer ul {
        flex-direction: column;
        gap: 60px;
    }

    .elementor-location-footer ul li:not(:last-child)::before {
        width: 20px;
        height: 56px;
        transform: rotate(90deg);
        top: initial;
        right: calc(50% - 10px);
        bottom: -55px;
    }
}

/* Custom expanding container  */
.expanding-content-wrapper .elementor-column .elementor-widget-text-editor {
    display: none;
}

.expanding-content-wrapper .elementor-column.open .elementor-widget-text-editor {
    display: block;
}

.expanding-content-wrapper .elementor-column.open .elementor-background-overlay {
    opacity: 1 !important;
}

.expanding-content-wrapper .elementor-column.open .elementor-button-link {
    background-color: #2C2C2C;
}

/* Map */
.custom-map-wrapper__content .elementor-widget-wrap .elementor-element:not([data-index|="0"]) {
    display: none;
}

/* Contact form */
.chapelier-contact-form,
.chapelier-contact-form h2 {
    color: #fff;
}

.chapelier-contact-form h2 {
    margin-bottom: 65px;
}

@media only screen and (max-width: 767.98px) {
    .chapelier-contact-form h2 {
        margin-bottom: 25px;
    }
}

.chapelier-contact-form input:not([type="checkbox"]) {
    height: 30px;
    border-radius: 0;
}

.chapelier-contact-form input,
.chapelier-contact-form textarea {
    font-size: 14px;
    color: #fff;
    background-color: rgba(27, 80, 74, .2);
    border: none;
}

.chapelier-contact-form input::placeholder,
.chapelier-contact-form textarea::placeholder {
    font-size: 14px;
    color: #fff;
}

.chapelier-contact-form textarea {
    height: 146px !important;
}

.chapelier-contact-form .gform_wrapper.gravity-theme .gform_fields {
    grid-row-gap: 20px;
}

.chapelier-contact-form .custom-checkbox {
    display: flex !important;
}

.chapelier-contact-form #field_submit {
    justify-content: flex-end;
}

.chapelier-contact-form .ginput_container_checkbox .gfield_checkbox {
    display: flex;
    gap: 20px;
}

@media only screen and (max-width: 767.98px) {
    .chapelier-contact-form .ginput_container_checkbox .gfield_checkbox {
        display: block;
    }
}

.chapelier-contact-form .ginput_container_checkbox .gfield_checkbox::before {
    content: 'Je suis intéressé(e) en tant que:';
}

.chapelier-contact-form input[type="submit"] {
    background-color: rgba(27, 80, 74, 1);
    font-family: "Bebas Neue Book", Sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 34px;
    letter-spacing: 1.2px;
    border-radius: 0px 0px 0px 0px;
    padding: 0px 30px 0px 30px;
}

.chapelier-contact-form input[type="submit"]:hover {
    background: #ac845d;
}

input[type="checkbox"] {  
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  margin: 0;
  padding: 0;
  font: inherit;
  width: 16px;
  height: 16px !important;
  transform: translateY(-0.075em);
  display: grid !important;
  place-content: center;
}

input[type="checkbox"]::before {
  content: "";
  width: 13px;
  height: 13px;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  transform: scale(0);
  transform-origin: bottom left;
  transition: 0ms transform ease-in-out;
  background-color: #1B504A;
}

input[type="checkbox"]:checked::before {
  transform: scale(1);
}

input[type="checkbox"]:focus {
  outline: none;
}

.chapelier-contact-form .gfield_checkbox > div,
.chapelier-contact-form .ginput_container_consent {
    display: flex;
}

.chapelier-contact-form .gfield_checkbox > div {
    padding-top: 5px;
}

@media only screen and (max-width: 767.98px) {
    .chapelier-contact-form .gfield_checkbox > div {
        padding-top: 10px;
    }
}

.chapelier-contact-form input[type="checkbox"] {
    background: #fff;
    margin-right: 5px;
}

.gform_wrapper .gform_validation_errors {
    display: none;
}

/* Sales tool */
.back-to-intro {
    color: #fff !important;
}

.sales-tool__accordion dt.active > a {
    color: #fff !important;
    background-color: #1b504a !important;
}

.sales-tool__accordion dt a {
color: #fff !important;
    border-color: #1b504a !important;
}

.sales-tool__accordion dt a:hover {
    background-color: #1b504a !important;
}

.sales-tool__accordion dt.active ul li.active a {
background-color: #1b504a !important;
}

.sales-tool__accordion dd {
    height: 100%;
}

.sales-tool__accordion dd,
.sales-tool__accordion  .floors li {
    background-color: #fff;
}

.sales-tool__accordion dd img {
    object-position: center;
    height: 100%;
}

.sales-tool__filters {
    border-color: #1b504a !important;
}

.elementor-kit-5 h5 {
    background-color: #1b504a;
    border-color: #1b504a;
    color: #fff;
    font-family: "Roboto", Sans-serif;
    font-weight: 700;
    padding-bottom: 0;
    padding-top: 0;
    line-height: 43px;
}

.sales-tool__filters .filter-label, .input-wrapper, .sqm-data {
    color: #fff !important;
}

.checkmark {
    border: 1px solid #1b504a !important;
}

.input-wrapper input:checked ~ .checkmark {
    background-color: #1b504a !important;
}

.js-filter {
    border-bottom: 1px solid #1b504a !important;
}

.dataTables_wrapper {
    width: auto !important;
}

#table thead tr th:last-child::before,
#table thead tr th:last-child::after {
    display: none;
}

.dataTables_wrapper table.dataTable thead {
    background-color: #1b504a !important;
}

.dataTables_wrapper table.dataTable thead th {
    border-color: #1b504a !important;
}

table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th { 
    background-color: #353433;
}

table tbody>tr>td, table tbody>tr>th,
.dataTables_info {
    color: #fff !important;
}

body .dataTables_wrapper table.dataTable tbody tr:hover {
    background-color: transparent !important;
}

body .noUi-connect,
.sales-tool__content table .cta {
    background: #1b504a !important;
}

.vex.vex-theme-top .vex-content {
    background-color: #2c2c2c !important;
    color: #fff !important;
}

body .glide__arrow,
.glide__bullet.glide__bullet--active,
.vex-content .download {
        background-color: #1b504a !important;
}

body .vex-content table {
    border-top: 1px solid #1b504a;
    border-bottom: 1px solid #1b504a;
}

.elementor-element-a5dc732 .p1:first-child {
    padding-top: 50px !important;
}

.gform-body label {
    font-family: "degular-text", Sans-serif;
}

.ginput_container [placeholder] {
    font-family: "degular-text", Sans-serif;
}

.gfield_checkbox {
    font-family: "degular-text", Sans-serif;
}

.gform_confirmation_message_1 {font-family: "degular-text", Sans-serif;
	font-size: 18px;
  	line-height: 28px;
	margin-bottom: 20px;
}

.image-desc--left:after {
    content: 'Image illustrative, non contractuelle';
    position: absolute;
    left: 5px;
    bottom: 0px;
    color: #fff;
    font-family: "degular-text", Sans-serif;
}

.image-desc--right:after {
    content: 'Image illustrative, non contractuelle';
    position: absolute;
    right: 5px;
    bottom: 0px;
    color: #fff;
    font-family: "degular-text", Sans-serif;
}