/*
Theme Name: Lab Automation Theme
Description: Lab Automation Theme (2021 child theme)
Author: QAIS Samy | DEFAUT Louis | MARCHA Matt
Author URI: https://www.thera.fr
Template: twentytwentyone
Version: 2.1.0
*/

/***************/
/* GÉNÉRALITÉS */
/***************/

@import url("https://fonts.googleapis.com/css2?family=Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap");

:root {
    font-size: 12px;

    /* VALEURS THEME PARENT */
    --heading--font-family: "Spartan", sans-serif;
    --responsive--aligndefault-width: min(
        calc(100vw - 8 * var(--global--spacing-horizontal)),
        1240px
    );
    --global--spacing-vertical: 0px;
    --global--color-primary: black;
    --list--font-family: "Spartan", sans-serif;
    /* --global--spacing-unit: 0; */

    /* COULEURS */
    --BM-blue: #044482;
    --BM-darkblue-rgb: 0, 33, 77; /* nécessaire pour transparence */
    --BM-yellow: #ffdd00;
    --BM-lightgreen: #c8d400;
    --BM-green: #8bb31d;
    --BM-lightgrey: #dce3ec;
    --BM-darkgreen: #3c9845;
}

body {
    background-color: var(--BM-blue);
    font-family: "Spartan", sans-serif;
}

body.menu_open {
    overflow: hidden;
}

#page {
    background-image: url("assets/images/background_header_home.jpg");
    background-position: center top;
    background-size: 100% auto;
    background-color: var(--BM-blue);
    background-repeat: no-repeat;
    max-width: 1350px;
    margin: auto;
}

body:not(.home) #page {
    background-image: url("assets/images/background_header.jpg");
    background-size: 130%;
}

h3 {
    margin: 0;
    padding: 0;
    font-size: 3rem;
    font-weight: 600;
    text-transform: uppercase;
}

h4 {
    margin-bottom: 10px !important;
}

p {
    padding: 0;
}

p,
a,
li,
span {
    font-size: 1.3rem;
}

img {
    vertical-align: unset;
}

ul {
    padding-left: 0;
    list-style-position: inside;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:focus {
    background: transparent !important;
}

hr.wp-block-separator:not(.is-style-dots).alignwide {
    max-width: calc(var(--responsive--alignwide-width) - 5em);
    margin: 3em auto;
}

.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
    text-decoration: underline;
}

.site
    a:focus:not(.wp-block-button__link):not(.wp-block-file__button).custom-logo-link {
    text-decoration: none;
}

.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) img {
    outline: none;
}

body.stop-scrolling {
    height: 100vh;
    overflow: hidden;
}

/*********************/
/* CLASSES GÉNÉRALES */
/*********************/

.d_flex {
    display: flex;
    flex-wrap: wrap;
}

.d_block {
    display: block;
}

.d_none {
    display: none;
}

.pos_a {
    position: absolute;
}

.pos_r {
    position: relative;
}

.col_40 {
    flex: calc(40% - 40px);
    width: calc(40% - 40px);
    max-width: calc(40% - 40px);
    margin: 0 20px;
}

.col_60 {
    flex: calc(60% - 40px);
    width: calc(60% - 40px);
    max-width: calc(60% - 40px);
    margin: 0 20px;
}

.has-white-color figcaption {
    color: white;
}

.wp-block-image figcaption {
    font-size: 14px;
}

/**********/
/* HEADER */
/**********/

/** Virer les reliquats du thème parent **/

.singular .entry-header {
    border: 0;
}

#site-header .top-part {
    background-color: white;
    max-width: 1820px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    height: 150px;
}

#site-header .top-part .logo {
    margin-left: 10vw;
}

#site-header .top-part .custom-logo-link {
    position: relative;
    top: 37px;
    left: 50px;
    width: 160px;
    height: 160px;
}

#site-header .top-part img.custom-logo {
    position: relative;
    height: 160px;
    width: 160px;
    margin-top: 0;
    object-fit: contain;
    background: white;
    border: 2px solid white;
    border-radius: 160px;
    z-index: 1;
}

#site-header .top-part .custom-logo-link::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 194px;
    height: 194px;
    border-radius: 170px;
    background-color: white;
    z-index: 0;
    transform: translate(-50%, -50%);
}

#site-header .top-part .right-part {
    height: max-content;
    margin: auto 0;
}

#site-header .top-part .user-block {
    position: relative;
    height: max-content;
    min-height: 50px;
    margin: auto 0;
    background-color: var(--BM-blue);
    padding: 5px 100px 5px 50px;
    color: white;
    border-radius: 150px 0 0 150px;
    z-index: 10;
}

#site-header .top-part .user-block h4 {
    font-size: 1.67rem;
    font-weight: normal;
    line-height: 1;
}

#site-header .top-part .user-block h5 {
    font-size: 1rem;
    font-weight: normal;
    line-height: 1;
    opacity: 0.5;
}

#site-header .top-part .user-block .tools {
    position: absolute;
    top: 50%;
    height: 30px;
    width: 30px;
    right: 50px;
    transform: translate(50%, -50%);
    cursor: pointer;
}

#site-header .top-part .user-block .profile_picture {
    position: absolute;
    top: 50%;
    height: 25px;
    width: 25px;
    left: 0px;
    border-radius: 25px;
    object-fit: cover;
    transform: translate(50%, -50%);
}

#site-header .top-part .user-block .user-modal {
    display: none;
    position: absolute;
    top: calc(100% - 25px);
    left: 0;
    width: 100%;
    padding: 25px 10px 10px;
    background-color: var(--BM-blue);
    text-align: center;
    border-radius: 0 0 0 25px;
    z-index: -1;
}

#site-header .top-part .user-block.show .user-modal {
    display: block;
}

#site-header .top-part .user-block.show .user-modal a {
    display: block;
    color: white;
}

#site-header .contact {
    display: block;
    width: max-content;
    margin: 10px 10px 0 auto;
    font-size: 18px;
    line-height: 18px;
}

#site-header .menu-main-menu-container {
    display: flex;
    height: 64px;
    background: var(--BM-blue);
    align-items: center;
    justify-content: right;
}

#site-header .menu {
    display: flex;
}

#site-header .menu li {
    margin: 0 20px;
    text-transform: uppercase;
    font-size: 1rem;
    list-style: none;
}

#site-header .menu li a {
    color: white;
}

/* MENU MOBILE */

#site-header .is_mobile {
    position: fixed;
    top: 0;
    display: none;
    z-index: 999;
}

#site-header .is_mobile .mobile_switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 66px;
    height: 66px;
    background-color: var(--BM-blue);
    color: white;
}

#site-header .is_mobile .mobile_switcher:hover {
    border: 0;
}

#site-header .is_mobile .mobile_switcher:focus {
    outline: 0;
}

#site-header .is_mobile .right-part {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000bf;
    z-index: 999;
}

#site-header .is_mobile .right-part .menu-main-menu-container {
    display: block;
    height: auto;
    background-color: white;
}

#site-header .is_mobile .right-part .menu-main-menu-container ul {
    display: block;
}

#site-header .is_mobile .right-part .menu-main-menu-container ul li {
    display: flex;
    align-items: center;
    border-top: 1px solid #ebebeb;
    height: 50px;
}

#site-header .is_mobile .right-part .menu-main-menu-container ul li a {
    display: block;
    width: 100%;
    color: var(--BM-blue);
    font-weight: bold;
}

#site-header .is_mobile .bottom-part {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    background-color: var(--BM-blue);
    color: white;
}

#site-header .is_mobile .bottom-part > * {
    flex: 1;
    max-width: 50%;
    margin: 0;
}

#site-header .is_mobile .bottom-part > h4 {
    flex: 100%;
    min-width: 100%;
    text-transform: uppercase;
    font-weight: bold;
}

#site-header .is_mobile .user-block {
    padding: 5px 0px 5px 30px;
}

#site-header .is_mobile .user-block .tools {
    top: 2.5px;
    left: 0;
    width: 20px;
    height: 20px;
    transform: translate(0);
}

#site-header .is_mobile .user-block h4 {
    padding-bottom: 5px;
    margin-bottom: 5px !important;
    border-bottom: 1px solid lightgray;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

#site-header .is_mobile .user-block h5 {
    display: none;
}

#site-header .is_mobile .user-block .user-modal {
    display: block;
    position: relative;
    top: 0;
    background: none;
    padding: 0;
    text-align: left;
}

#site-header .is_mobile .user-block .user-modal a {
    display: block;
    color: white;
    font-size: 1rem;
}

#site-header .is_mobile .contact {
    height: max-content;
    margin-top: -9px;
    line-height: 30px;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
}

#site-header .is_mobile .contact img {
    position: relative;
    top: 7.5px;
    margin-right: 10px;
    width: 30px;
    height: 30px;
    padding: 5px;
    object-fit: contain;
    border-radius: 30px;
    background-color: white;
}

/*** Section de titres et boutons ***/

#header-titles {
    position: relative;
    max-width: 1820px;
    margin: auto;
    padding-top: 2em;
    line-height: 1;
    color: white;
    font-family: var(--heading--font-family);
    font-size: 2.5em;
    text-transform: uppercase;
    text-align: right;
}

#header-titles a:hover {
    text-decoration: none;
}

#header-titles a.arrowlink:before {
    content: ">";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    line-height: 0.73;
    font-weight: 300;
    font-size: 1.8em;
    font-family: "Spartan", sans-serif;
}

#header-titles a.arrowlink {
    position: relative;
    padding-left: 1.8em;
    line-height: 1.5;
}

#global-titles #catch {
    float: left;
    display: inline-block;
    padding: 0.2em 0.5em 0 0.8em;
    background-color: var(--BM-darkgreen);
    font-weight: 800;
    letter-spacing: 3px;
}

#global-titles #global-title {
    display: inline-block;
    text-align: right;
    margin-right: 1em;
    margin-top: 0.05em;
    line-height: 1;
    font-size: 2.5em;
    font-weight: 800;
}

#global-titles #global-subtitle {
    margin-right: 2.5em;
    font-weight: 400;
}

#second-line-container {
    position: relative;
    margin-top: 5em;
    margin-bottom: 1em;
}

body:not(.home) #second-line-container {
    display: grid;
    grid-template-columns: 1fr 6.5em;
    margin-top: 1em;
    margin-bottom: 2em;
}

#home-portal-link {
    width: fit-content;
    position: initial;
    font-size: 0.7em;
    font-weight: bold;
    background-color: white;
    padding: 0.2em 0.5em 0 0.5em;
    margin-bottom: 40px;
}

#home-portal-link a.arrowlink {
    margin-left: 1em;
    margin-right: 1em;
    color: var(--BM-blue);
}

#header-links {
    position: relative;
    width: 6.5em;
}

#header-links {
    background-color: var(--BM-darkgreen);
    display: inline-block;
    padding: 0 1.5em 0 0.5em;
}

#header-links a {
    display: block;
    color: white;
    font-size: 0.8em;
    font-weight: bold;
    text-align: left;
    margin: 0.3em 0 0.5em 0;
}

#header-links a small {
    font-size: 0.6em;
}

#header-links a.arrowlink {
    line-height: 1.2;
    padding-left: 1.8em;
}

#header-links a.arrowlink:before {
    line-height: 1.6;
}

#page-title {
    position: relative;
    display: inline-block;
    text-align: left;
    background-color: rgba(var(--BM-darkblue-rgb), 0.9);
    margin: 0 1em 0 0;
}

#page-title h1 {
    position: absolute;
    bottom: 0.5em;
    padding-left: 5.5em;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5em;
    text-transform: none;
}

#page-title h1:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    width: 4.5em;
    height: 0.8em;
    background-color: white;
}

/************/
/* / HEADER */
/************/

/**********/
/* FOOTER */
/**********/

#site-footer {
    position: relative;
    background: var(--BM-blue);
    width: 100%;
    margin-top: 20px;
    padding: 30px 5% 100px;
    font-family: Arial, Helvetica, sans-serif;
}

#site-footer .menu {
    display: flex;
    margin-bottom: 40px;
}

#site-footer .menu li {
    list-style: none;
    color: white;
    padding: 0 10px;
    font-size: 0;
}

#site-footer .menu li a {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background-size: contain;
    background-position: center;
    transition: 0.2s;
}

/*** logo Facebook ***/
#site-footer .menu .facebook a {
    color: transparent;
    background-image: url("/wp-content/uploads/2021/11/logo_facebook_white.png");
}

#site-footer .menu .facebook a:hover {
    border-radius: 25px;
    background-color: #3778ea;
}

/*** logo Twitter ***/
#site-footer .menu .twitter a {
    color: transparent;
    background-image: url("/wp-content/uploads/2021/11/logo_twitter_white.png");
}

#site-footer .menu .twitter a:hover {
    border-radius: 25px;
    background-color: #4ba0eb;
}

/*** logo Linkedin ***/
#site-footer .menu .linkedin a {
    color: transparent;
    background-image: url("/wp-content/uploads/2021/11/logo_linkedin_white.png");
}

#site-footer .menu .linkedin a:hover {
    border-radius: 25px;
    background-color: #2a6595;
}

/*** logo Youtube ***/
#site-footer .menu .youtube a {
    color: transparent;
    background-image: url("/wp-content/uploads/2021/11/logo_youtube_white.png");
}

#site-footer .menu .youtube a:hover {
    border-radius: 25px;
    background-color: #ea3223;
}

#site-footer .legal_notices {
    display: flex;
    color: white;
    font-size: 1rem;
    justify-content: space-between;
}

#site-footer .legal_notices ul {
    display: flex;
}

#site-footer .legal_notices li {
    padding: 0 10px;
    list-style: none;
}

#site-footer .legal_notices li:not(:last-of-type) {
    border-right: 1px solid white;
}

#site-footer .legal_notices li a {
    color: white;
}

/************/
/* / FOOTER */
/************/

/*****************/
/* CONTENUS PAGE */
/*  PAGE HEADER  */
/*****************/

#content .site-content {
    background-color: linear-gradient(
        180deg,
        transparent 0em,
        var(--BM-blue) 30%
    );
}

#main {
    padding: 0;
    background: transparent;
}

#main .page-template .entry-header_links,
#main .page-template .entry-content {
    position: relative;
    max-width: 1840px;
    width: 90%;
    margin: auto;
}

#main .page-template .page-header {
    padding: 0;
    margin: 0;
}

#main .page-template .page-header img {
    display: block;
}

#main .entry-header_links {
    height: 64.4vh;
    max-height: 567px;
}

/* HOME */

/*Surclasse des hover de boutons du theme parent de l'enfer*/
.home #main .wp-block-button__link:hover {
    border-color: var(--BM-yellow) !important;
    background-color: var(--BM-yellow) !important;
    color: var(--BM-darkgrey) !important;
}
/***/

.home .page-template {
    background-color: transparent;
}

.home .page-template .entry-content {
    margin: 0 50px;
}

.home .page-template h3 {
    font-weight: 300;
}

.home .page-template .wp-block-group {
    margin: 30px 0;
}

.home .page-template .wp-block-group__inner-container > * {
    padding: 20px 30px 10px 30px;
}

.home .techno_app .wp-block-column {
    display: flex;
    flex: 65%;
}

.home .techno_app .wp-block-column:first-of-type {
    flex: 35%;
}

.home .techno_app .wp-block-column:first-of-type figure {
    position: relative;
}

.home .techno_app .wp-block-column:first-of-type figure::after {
    content: "+";
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 40px;
    left: 100%;
    top: 50%;
    background-color: #8a8a8a;
    color: white;
    font-size: 3rem;
    line-height: 28px;
    font-weight: 300;
    transform: translate(-50%, -50%);
}

.home .techno_app .wp-block-column h5 {
    text-transform: uppercase;
    align-self: center;
}

.home .page-template .actu_slider {
    background-color: #ffffffcc;
}

/** Bouton collé au dessous de colonne **/
.home .special-endcolumn-button {
    margin-top: -30px;
}
/***/

/* ACTU SHORTCODE */

.home .page-template .slider_container {
    position: relative;
    display: flex;
    padding: 30px 0;
    margin: 0 60px !important;
    overflow: hidden;
}

.home .page-template .slider_container .prev,
.home .page-template .slider_container .next {
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    font-family: var(--heading--font-family);
    font-size: 30px;
    font-weight: 600;
    color: black;
    cursor: pointer;
}

.home .page-template .slider_container .prev {
    left: 0px;
}

.home .page-template .slider_container .next {
    right: 0px;
}

.home .page-template .slider_container .post_slide {
    position: relative;
    flex: calc(33.3% - 40px);
    max-width: calc(33.3% - 40px);
    min-width: calc(33.3% - 40px);
    margin: 0 10px;
    background-color: var(--BM-blue);
    order: 4;
}

.home .page-template .slider_container .post_slide.first {
    margin-left: 40px;
    order: 1;
}

.home .page-template .slider_container .post_slide.second {
    order: 2;
}

.home .page-template .slider_container .post_slide.third {
    order: 3;
    margin-right: 40px;
}

.home .page-template .slider_container .post_slide img {
    display: block;
    object-fit: cover;
    height: 200px;
    width: 100%;
}

.home .page-template .slider_container .post_slide .slide_text {
    display: flex;
    flex-wrap: wrap;
    height: calc(100% - 200px);
    padding: 20px;
}

.home .page-template .slider_container .post_slide h3 {
    width: 100%;
    flex: 100%;
    margin-bottom: 20px;
    background-color: transparent;
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: none;
    color: white;
}

.home .page-template .slider_container .post_slide a {
    width: 100%;
    flex: 100%;
    margin-top: auto;
    text-align: center;
    font-size: 1.1rem;
    color: white;
    font-family: var(--heading--font-family);
}

/* FIN ACTU SHORTCODE */

.home .page-template .techno_app {
    height: calc(100% - 60px);
    background-color: #ffffffcc;
}

.home .page-template .mileux_associes {
    position: relative;
    background-color: #ffffffcc;
}

.home .page-template .test_connaissance {
    background-color: #ffffff;
}

.home .page-template .protocole_quali {
    padding-bottom: 50px;
    background-color: #ffffffcc;
}

.home .page-template .histoire_succes_pratique {
    background-color: #ffffffcc;
}

.home .page-template .services {
    margin-top: 30px;
    background-color: #ffffff;
}

.home .page-template .actu_slider h3 {
    background-color: var(--BM-blue);
    color: white;
}

.home .page-template .techno_app h3 {
    background-color: var(--BM-yellow);
}

.home .page-template .mileux_associes h3 {
    background-color: var(--BM-lightgreen);
}

.home .page-template .mileux_associes figure {
    padding-bottom: 0;
}

.home .page-template .mileux_associes img {
    display: block;
    width: 80%;
    margin-left: auto;
}

.home .page-template .mileux_associes .recherche_milieu {
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.home
    .page-template
    .mileux_associes
    .recherche_milieu
    .wp-block-search__inside-wrapper {
    position: relative;
}

.home
    .page-template
    .mileux_associes
    .recherche_milieu
    .wp-block-search__input {
    width: 100%;
    height: 60px;
    border-radius: 50px;
    padding-left: 70px;
    border: 0;
    color: var(--BM-blue);
}

.home
    .page-template
    .mileux_associes
    .recherche_milieu
    .wp-block-search__input::placeholder {
    color: var(--BM-blue);
}

.home
    .page-template
    .mileux_associes
    .recherche_milieu
    .wp-block-search__input:focus {
    outline: 0;
}

.home
    .page-template
    .mileux_associes
    .recherche_milieu
    .wp-block-search__button {
    position: absolute;
    left: 8px;
    top: 50%;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    font-size: 0;
    background-color: var(--BM-blue);
    background-image: url(/wp-content/uploads/2021/12/loupe.png);
    transform: translateY(-50%);
    padding: 0;
    border: 0;
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: left center;
}

.home .page-template .protocole_quali h3 {
    background-color: var(--BM-lightgreen);
}

.home .page-template .histoire_succes_pratique h3 {
    background-color: var(--BM-yellow);
}

.home .page-template .bandeau_machines {
    margin-top: -250px;
}

.home .page-template .services h3 {
    background-color: #9d9d9c;
}

.home .page-template .services .wp-block-column {
    margin: 0;
}

.home .page-template .services .wp-block-column:last-of-type {
    flex-basis: 80% !important;
}

.home .page-template .services .wp-block-column:last-of-type h3,
.home .page-template .services .wp-block-column:last-of-type p {
    padding: 20px 30px 10px 15%;
}

.home .page-template .services figure {
    height: 100%;
}

.home .page-template .services img {
    display: block;
    width: 130%;
    max-width: unset;
    height: 100%;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 1) 80%,
        rgba(255, 255, 255, 0) 100%
    );
}

/* PAGE MON RESEAU*/

#map-france svg {
    width: 90%;
    height: 90vh;
    display: block;
    margin: auto;
    border: 0;
}

#map-france svg path {
    transition: 0.3s;
}

#map-france svg text {
    font-weight: 900;
    font-family: var(--heading--font-family);
    text-anchor: middle;
    dominant-baseline: middle;
}

#map-france svg a:focus,
#map-france svg a:hover {
    text-decoration: none;
}

#map-france svg a:hover path {
    fill-opacity: 0.8;
}

#map-france .list_title {
    color: white;
    margin-bottom: 50px;
}

#map-france .user-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#map-france .user-list .user-card {
    width: 390px;
    max-width: 390px;
    flex: 390px;
}

#map-france .user-list .user-card .user-base {
    background-color: white;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
}

#map-france .user-list .user-card .user-base {
    display: flex;
    flex-wrap: wrap;
}

#map-france .user-list .user-card .user-base .profile_picture {
    object-fit: cover;
    width: 80px;
    max-width: 80px;
    height: 80px;
    flex: 80px;
    margin-right: 20px;
    border-radius: 80px;
}

#map-france .user-list .user-card .user-back {
    content: "";
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000aa;
    cursor: pointer;
    z-index: 10;
}

#map-france .user-list .user-card.show .user-back {
    display: block;
}

#map-france .user-list .user-card .user-modal {
    display: none;
    position: fixed;
    flex-wrap: wrap;
    padding: 10px;
    top: 50%;
    left: 50%;
    width: 80%;
    max-width: 1200px;
    max-height: 600px;
    background-color: white;
    border-radius: 10px;
    text-align: center;
    transform: translate(-50%, -50%);
    z-index: 99;
}

#map-france .user-list .user-card.show .user-modal {
    display: flex;
}

#map-france .user-list .user-card .user-modal .closer {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

#map-france .user-list .user-card .user-modal > div {
    flex: 1;
    margin: 30px 10px;
}

#map-france .user-list .user-card .user-modal .profile_picture {
    flex: 100%;
}

#map-france .user-list .user-card .user-modal .profile_picture img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 200px;
}

/* PAGE MON ESPACE */

#th_favorites_list h2 {
    color: white;
    margin: 0 0 20px;
}

#th_favorites_list .section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

/* AFFICHAGE SI ARTICLE EN FAVORIS */

#th_favorites_list .section article {
    position: relative;
    flex: 33.333%;
    width: 33.333%;
    max-width: 33.333%;
    background-color: white;
}

#th_favorites_list .section article img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

#th_favorites_list .section article .post-title {
    width: 100%;
    flex: 100%;
    margin-bottom: 20px;
    background-color: transparent;
    text-transform: none;
    font-weight: 600;
    font-size: 1.2rem;
}

#th_favorites_list .section article .post-text {
    display: flex;
    flex-wrap: wrap;
    height: calc(100% - 200px);
    padding: 20px;
}

#th_favorites_list .section article .post-text a {
    width: 100%;
    flex: 100%;
    margin-top: auto;
    text-align: center;
    font-size: 1.1rem;
    color: #fff;
    background-color: var(--BM-blue);
    font-family: var(--heading--font-family);
}

/* AFFICHAGE SI CODE ERREUR */

#th_favorites_list .section.fav_code_error article img {
    object-fit: contain;
}

/* SHORTCODE FAVORIS */

.fav_btn {
    position: absolute;
    top: 10px !important;
    right: 10px !important;
    width: 30px !important;
    height: 30px !important;
}

.fav_btn img {
    width: 30px !important;
    height: 30px !important;
}

/* PAGE CONTACT */

.page-template.post-contact label {
    color: white;
    display: block;
    max-width: 100%;
    margin-bottom: 10px;
}

.page-template.post-contact label input {
    margin-top: 5px;
    padding: 4px 8px;
    width: 100%;
    font-size: 14px;
    line-height: 1;
}

/* PAGE SERVICES */

#main .page-template.post-services .entry-header {
    max-width: 1240px;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.error_codes h3 {
    padding: 10px 10px 5px 10px;
    letter-spacing: -2px;
    line-height: 1;
    text-align: center;
    background: var(--BM-yellow);
}

.depannage.wp-block-group {
    margin: 20px 0;
    background: white;
    color: black;
}

.depannage.wp-block-group h3 {
    background-color: var(--BM-yellow);
    position: relative;
    padding: 30px 100px 15px 15px;
    font-weight: 300;
}

.depannage.wp-block-group h3::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    right: 50px;
    top: 50%;
    background-image: url("/wp-content/uploads/2021/11/ROND_plus.png");
    background-size: contain;
    transform: translate(50%, -50%);
}

.depannage.wp-block-group .wp-block-group__inner-container > *:not(h3) {
    padding: 0 20px 0 20px;
}

.banniere {
    padding: 100px 50px;
}

.banniere .wp-block-group {
    margin: 20px 0;
    background: white;
    color: black;
}

.banniere .wp-block-group .wp-block-columns .wp-block-columns {
    margin: 0;
}

.banniere .wp-block-group img {
    border: 1px solid #044482;
    height: 256px;
    width: 180px;
    max-width: unset;
    object-fit: cover;
}

.banniere .wp-block-group h3 {
    position: relative;
    padding: 30px 100px 15px 15px;
    font-weight: 300;
}

.banniere .wp-block-group h3::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    right: 50px;
    top: 50%;
    background-image: url("/wp-content/uploads/2021/11/ROND_plus.png");
    background-size: contain;
    transform: translate(50%, -50%);
}

.banniere .wp-block-group:nth-of-type(2) h3 {
    background-color: var(--BM-lightgreen);
}

.banniere .wp-block-group:last-of-type h3 {
    background-color: var(--BM-green);
}

.banniere .wp-block-group .wp-block-columns {
    margin: 0 20px !important;
    justify-content: center;
}

.banniere .wp-block-group .wp-block-columns .wp-block-columns {
    margin: 0 !important;
}

.banniere .wp-block-group .wp-block-columns .grey_background {
    background-color: #eee;
}

.banniere .wp-block-group p {
    padding: 0 40px 0 15px;
}

.banniere .wp-block-group p:first-of-type {
    padding-top: 20px;
}

.banniere .wp-block-group p:last-of-type {
    padding-bottom: 20px;
}

.banniere .wp-block-group figure {
    padding-bottom: 20px !important;
}

.banniere .wp-block-group .wp-block-columns .dr_noel figure,
.banniere .wp-block-group .wp-block-columns .grey_background figure {
    padding-top: 20px;
}

/* Page technologie */

.post-technologie-application {
    background-color: transparent;
}

.post-technologie-application .entry-content {
    padding: 0 50px 50px;
    color: white;
}

.post-technologie-application .machine {
    position: relative;
    z-index: 1;
}

.post-technologie-application .machine img {
    position: relative;
    z-index: 1;
}

/*.post-technologie-application .machine::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -50px;
    width: calc(100% + 100px);
    height: 300px;
    background-color: #ffffffd9;
    transform: translateY(-50%);
    z-index: 0;
}*/

/*** Niveau 3 ***/

#main .lvl3-close {
    margin-bottom: -1.5em;
}

#main .lvl3-close:before {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    border-top: 5px solid white;
    width: 100%;
    font-size: 2em;
    top: calc(0.5em - 2.5px);
    left: 0;
    right: 0;
    margin: auto;
}

#main .lvl3-close .wp-block-button a {
    position: relative;
    z-index: 10;
    border-radius: 1em;
    font-size: 2em;
    margin: 0;
    padding: 0;
    line-height: 0.6;
    width: 1em;
    height: 1em;
    background-color: #fff;
    color: var(--BM-darkgrey);
}

#main .lvl3-close .wp-block-button a:hover {
    background-color: #fff !important;
    color: var(--BM-darkgrey) !important;
}

.techno-header-img img {
    position: relative;
    z-index: 5;
    margin: -1.5em 0 -3em;
    border: 8px solid white;
}

.lvl3-group-title .wp-block-group__inner-container > :first-child {
    margin-top: 2em;
}

.lvl3-background-img {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.lvl3-background-1 {
    background-image: url("assets/images/bkgrnd_technology_block01.jpg");
}
.lvl3-background-2 {
    background-image: url("assets/images/bkgrnd_technology_block02.jpg");
}
.lvl3-background-3 {
    background-image: url("assets/images/bkgrnd_technology_block03.jpg");
}

.lvl3-background-img p strong {
    color: var(--BM-yellow);
}

.slide-content img {
    height: 475px;
}

/* Titres */
.parent-pageid-7 #main .wp-block-group h2 {
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.parent-pageid-7 #main .wp-block-group h3 {
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/***/

/****************************
*********** Page archive ****
*****************************/

/** flexbox de posts*/

.archive #main .container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    padding: 30px 0;
    margin: 0 auto;
    max-width: var(--responsive--aligndefault-width);
}

.archive #main article {
    flex: calc(25% - 20px);
    max-width: calc(25% - 20px);
    min-width: calc(25% - 20px);
    margin: 10px;
    background-color: var(--BM-lightgrey);
}

.archive #main img {
    display: block;
    object-fit: cover;
    height: 200px;
    width: 100%;
}

.archive #main .post-text {
    display: flex;
    flex-wrap: wrap;
    height: calc(100% - 200px);
    padding: 20px;
}

.archive #main .links {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    width: 100%;
}

.archive #main .post-title {
    width: 100%;
    flex: 100%;
    margin-bottom: 20px;
    background-color: transparent;
    text-transform: none;
    font-weight: 600;
    font-size: 1.2rem;
}

.archive #main .post-text a {
    width: 100%;
    flex: 100%;
    margin-top: auto;
    margin-bottom: 10px;
    text-align: center;
    font-size: 1.1rem;
    color: #fff;
    background-color: var(--BM-blue);
    font-family: var(--heading--font-family);
}

.archive #main .post-text a:last-of-type {
    margin-bottom: 0;
}

/* PAGES MENTIONS LEGALES RGPD */
article.post-rgpd,
article.post-mentions-legales {
    color: white;
}

article.post-rgpd h2,
article.post-mentions-legales h2 {
    margin: 50px 0 10px;
}

article.post-rgpd h3,
article.post-mentions-legales h3 {
    font-size: 1.5rem;
    margin: 20px 0 10px;
}

article.post-rgpd ul,
article.post-rgpd p,
article.post-mentions-legales ul,
article.post-mentions-legales p {
    margin-bottom: 10px;
}

article.post-rgpd a,
article.post-mentions-legales a {
    color: white;
    font-weight: bold;
}
