/*
Theme Name: BeFlex Child
Theme URI: https://www.eoxia.com
Author: the Eoxia team
Description: Child theme of BeFlex
License: AGPLv3
License URI: https://spdx.org/licenses/AGPL-3.0-or-later.html
Version: 3.0.0
Template: beflex
Text Domain: beflex-child
*/

a:visited.wp-block-button__link {
    color: #fff;
}

/** Etude agrovoltaique template */
body.page-id-18102 #header-page,
body.page-template-page-no-header #header-page {
    display: none;
}
body.page-id-18102 #colophon,
body.page-template-page-no-header #colophon {
    display: none;
}
body.page-id-18102 #masthead,
body.page-template-page-no-header #masthead {
    display: none;
}
body.page-id-18102 #content {
    padding-left: 0;
    padding-right: 0;
}
body.page-id-18102 .sticky-contact-list,
body.page-template-page-no-header .sticky-contact-list {
    display: none;
}

body.page-template-page-no-header .header {
    text-align: center;
    margin: 1em;
}
body.page-template-page-no-header .header img {
    display: inline-block;
    max-width: 220px;
}


/** Fix timeline margin */
.beflex-process {
    margin: 0 auto !important;
}

.bf-section {
    border-radius: 6px;
}
.bf-section .wp-block-group__inner-container {
    padding: 1.8em !important;
}
.bf-section .wp-block-group__inner-container > *:first-child {
    margin-top: 0 !important;
}
.bf-section .wp-block-group__inner-container > *:last-child {
    margin-bottom: 0 !important;
}

/** Recaptcha badge hidden */
.grecaptcha-badge {
    visibility: hidden !important;
}

/** Eligibilite sticky */
.sticky-eligibilite {
    position: fixed;
    display: flex;
    align-items: center;
    bottom: 1em;
    right: 1em;
    background: #213a8f;
    color: #fff !important;
    border-radius: 4px;
    z-index: 9000;
    transition: all 0.2s ease-out;
    box-shadow: 0 2px 20px 0 rgba(0,0,0,0.4);
}
.sticky-eligibilite:hover {
    opacity: 0.8;
}
.sticky-eligibilite .sticky-eligibilite-arrow {
    padding: 1em 0.5em;
    background: rgba(255,255,255,0.1); 
}
.sticky-eligibilite .sticky-eligibilite-arrow svg {
    width: 20px;
    fill: #fff;
    vertical-align: middle;
}
.sticky-eligibilite .sticky-eligibilite-picto {
    padding-left: 0.5em;
}
.sticky-eligibilite .sticky-eligibilite-picto img {
    display: block;
    max-width: 30px;
}
.sticky-eligibilite .sticky-eligibilite-label {
    max-width: 200px;
    padding: 0 0.5em;
}