/*
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: 4.0.0
Template: beflex
Text Domain: beflex-child
*/

.wp-block-cover .wp-block-cover__inner-container { 
    max-width: 1100px;
}

/*menu stiky*/
body.home .wp-site-blocks {
    padding-top :0px !important;
}

body.home .wp-block-group.header-sticky{
    background-color: transparent !important;
    color : #164172;
    transition: 0.3s;

}
body.home .wp-block-group.header-sticky.-sticky {
    background-color: #fff !important;
}

header.site-header.wp-block-template-part, footer.site-footer.wp-block-template-part {
    margin: auto;
}

/*stiky mailto tel*/

.wp-block-group.fixe-tel-mailto {
    
    position: fixed;
    z-index: 2;
    right: -3px;
    top: 241px;

}
   
/*contact form 7*/

.wp-block-contact-form-7-contact-form-selector.formulaire-ct2m input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    border: 2px solid #fff;
    border-bottom: 1px solid;
}

div#ligne-nom-prenom {
        margin-right: 50px;
}

div#tout {
        display: flex;
}

#bouton-formulaire .wpcf7-form-control {
      border-radius: 0px !important;
}
div#sujet-tout {
    color: #164172;
}

/*menu d'accueil présentation*/
.wp-block-columns.menu-presentation-service{
    position: relative;
    top: -185px;
    z-index: 1;
    margin-bottom: -169px !important;
}

.tns-outer .tns-nav {
    position: relative;
}

/*picto menu accueil*/
.menu-presentation-service .wp-block-column {
    position: relative;
}
.menu-presentation-service .wp-block-column img, .menu-presentation-service .wp-block-column .wp-block-heading a {
    transition: all 0.2s ease-out;
}
.menu-presentation-service .wp-block-column:hover img {
    transform: scale(1.2);
}
.menu-presentation-service .wp-block-column:hover .wp-block-heading a {
    color: var(--wp--preset--color--primary) !important;
}
.menu-presentation-service .wp-block-column .wp-block-heading a::before {
    display: block;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
/*.picto-formation img.wp-image-32548, .picto-accompagnement img.wp-image-32546, .picto-essais-interlaboratoire img.wp-image-32765, .picto-etalonnage img.wp-image-32547 {*/
/*    transition: 0.4s;*/
/*}*/
/*.picto-formation img.wp-image-32548:hover, .picto-accompagnement img.wp-image-32546:hover, .picto-essais-interlaboratoire img.wp-image-32765:hover, .picto-etalonnage img.wp-image-32547:hover  {*/
/*    transition: 0.2s;*/
/*    width: 125px !important;*/
/*}*/

/*article*/
.bouton-actualite a.wp-block-post-excerpt__more-link {
    background-color: transparent !important;
    color: #000 !important;
    margin: 0;
    padding: 0 !important;
}
.bouton-actualite  .wp-block-post-excerpt__more-text{
        display: flex;
    justify-content: flex-end;
}

@media screen and (max-width: 780px) {
    .block-menu-carrefour {
        border:none;
    }
}

/* Plugin Timeline */
.cool-vertical-timeline-body.ctlb-wrapper:before {
    background: linear-gradient(to bottom,hsla(0,0%,90%,0) 0,var(--wp--preset--color--secondary) 10%,var(--wp--preset--color--secondary) 90%,hsla(0,0%,90%,0) 100%);
}
.cool-vertical-timeline-body.ctlb-wrapper .timeline-content.icon-false .timeline-block-icon svg {
    fill: var(--wp--preset--color--secondary);
}
.cool-vertical-timeline-body.alternating-sided .timeline-content .position-right .story-details:before, .cool-vertical-timeline-body.both-sided .timeline-content .position-right .story-details:before, .cool-vertical-timeline-body.one-sided.left .timeline-content .story-details:before {
    border-right: 15px solid var(--wp--preset--color--primary);
}
.cool-vertical-timeline-body.alternating-sided .timeline-content .position-left .story-details:before, .cool-vertical-timeline-body.both-sided .timeline-content .position-left .story-details:before, .cool-vertical-timeline-body.one-sided.right .timeline-content .story-details:before {
    border-left: 15px solid var(--wp--preset--color--primary);
}
.cool-vertical-timeline-body.alternating-sided .timeline-content .position-right .story-details, .cool-vertical-timeline-body.both-sided .timeline-content .position-right .story-details, .cool-vertical-timeline-body.one-sided.left .timeline-content .story-details {
    border-left: 4px solid var(--wp--preset--color--primary);
}
.cool-vertical-timeline-body.alternating-sided .timeline-content .position-left .story-details, .cool-vertical-timeline-body.both-sided .timeline-content .position-left .story-details, .cool-vertical-timeline-body.one-sided.right .timeline-content .story-details {
    border-right: 4px solid var(--wp--preset--color--primary);
}

/* GT Translate */
.gtranslate_wrapper > .glink {
    margin-left: 0.5em;
}
.gtranslate_wrapper > .glink:first-child {
    margin-left: 0;
}