/*
Theme Name:     Genosafe
Theme URI:
Description:    Twentytwentythree child theme.
Author:
Author URI:
Template:       twentytwentythree
Version:        0.1.0
*/



/********************************/
/********** STRUCTURE ***********/
/********************************/

/* Background */
body, header {
    background-image:
      conic-gradient( from 315deg,
      #fff 90deg,
      #c5ecf2,
      #fff,
      #f0e5ca,
      #cddefa,
      #bde7f4,
      #c9e8f9,
      #ffda99,
      #e3f1f9,
      #f8deae,
      #bde1f7,
      #fbf8fa,
      #fff);
    background-attachment: fixed;
    font-size: 16px;
}



.wp-site-blocks {
    top: 160px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-top: 0;
}
.wp-site-blocks > * + * {
    margin-block-start: 0;
}

.has-global-padding {
    padding-right: 0;
    padding-left: 0;
}

/***************************************************/
/********** Conteneur de block et groupe ***********/
.wp-block-post-content {
    background-color: white;
    max-width: 1200px;
    padding-top: 0;
    padding-bottom: 50px;
    margin-top: 0;
}

/* Group de 1er niveau - margin top de 80px */
.wp-block-post-content > .wp-block-group {
    margin: 0 0 80px 0;
}


/* Group dans un group - padding interieur */
.wp-block-group > .wp-block-group {
    padding-left: 70px;
    padding-right: 70px;
}

@media (max-width:900px) {
    div.wp-block-group > div.wp-block-group {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Group Title du Template Jobs */
.wp-site-blocks > .wp-block-group {
    background-color: white;
    max-width: 1200px;
    padding-top: 0;
    padding-bottom: 50px;
    margin-top: 0;
}

/*****************************/
/********** HEADER ***********/
header {
    position : fixed;
    top: 0;
    height: 160px;
    width: 100%;
    max-width: 1200px;
    z-index: 1;
    padding-top: 0px;
}

/********** Logo ***********/
header div#logo {
    position: absolute;
    background-image: url("./assets/images/logo-genosafe-HD-rvb.svg");
    background-repeat: no-repeat;
    background-size: 85%;
    width: 400px;
    height: 80px;
    top: 30px;
    left: 0;
}

header div#logo a {
    display: block;
    width: 100%;
    height: 100%;
}

/********** Navigation ***********/
div#navigation {
    display: flex;
    -webkit-box-align: center;
    position: absolute;
    top: 40px;
    right: 0;
    height: 100px;
    width: 700px;
}

@media (max-width: 1200px) {
    header>div#logo {
        left: 70px;
    }

    div#navigation {
        right: 70px;
    }
}


/*****************************/
/********** FOOTER ***********/
footer {
    background-color: white;
}
footer > .geno-footer {
    background-color: #fafafa;
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

/** Groupe CTA du footer **/
div.geno-group-cta {
    max-width: 800px;
    margin: 0 auto 50px auto;
  }

/** Menu secondaire **/
.wp-block-navigation__container {
    font-size: 14px;
}

ul.menu-footer {
    display: flex;
    padding-inline-start: 0;
    font-size: 14px;
    justify-content: space-evenly;
    max-width: 600px;
    margin-top: 50px !important;
}

div#footer-info .wp-block-columns .wp-block-column .wp-block-group{
    justify-content: center;
}


.menu-footer li {
    list-style-type: none;
    /* margin-right: 40px; */
}




/**************************************/
/********* STYLES DES GROUPES *********/
/****** OU PATERNES SPECIFIQUES *******/
/**************************************/


/************ COVER (toutes pages) ************/

.wp-block-post-content .cover {
	min-height: 500px;
}

.cover .wp-block-columns {
    padding-top: 3vw;
    padding-bottom: 3vw;
}

.cover h2 , .cover h1 {
    font-size: 52px;
    line-height: 55px;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 30px;
    max-width: 100% !important;
}

.cover .wp-block-group {
    width: 100%;
}

.cover .wp-block-column:first-child {
    background-color: rgba(255,255,255,0.7);
    box-shadow: 0px 0px 40px 40px rgba(255,255,255,0.7);
}

/************ COVER (team) ************/
.wp-block-post-content .cover-team {
    display: flex;
    align-items: flex-end;
}

.cover-team .wp-block-column:first-child {
    background-color: rgba(0, 0, 0, 0.25);
    box-shadow: 0px 0px 20px 20px rgba(0, 0, 0, 0.25);
}

.cover-team h2,
.cover-team h1,
.cover-team p
{
    color: white;
}

/************ COVER (homepage) ************/
.activites  img {
    width: 60%;
}
@media (max-width:900px) {
    .activites  img {
        width: 100%;
    }
}

/************ EXPERTISE (homepage) ************/
.expertise   .wp-block-column img,
.competences .wp-block-column img,
.evenements  .wp-block-column img {
    height: 150px;
}

@media (max-width:981px) {
    .expertise figure {
        margin-left: 0;
        margin-right: 15px;
        margin-bottom: 15px;
        float: left;
    }
}

/************ MEDIA-TEXTE (toutes pages) ************/

.media-texte {
    padding-top: 4vw;
    padding-bottom: 4vw;
}

.media-texte h2 {
    font-size: 52px;
    line-height: 55px;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 30px;
    max-width: 100% !important;
}

/************ GROUPE A LA UNE (home) & NOS ACTUS (médiathèque linkedin) ************/
.a-la-une .wp-block-columns, .actus .wp-block-columns {
    gap: 35px;
}

.actus {
    padding-top: 4vw;
    padding-bottom: 4vw;
    background-color: #D1E9F7;
}

/************ EVENEMENTS (médiathèque) ************/
.evenements h3 {
    border-bottom: none !important;
    max-width: none;
    text-align: center;
    margin-bottom: 0 !important;
}
.evenements p {
    text-align: center;
}


/********** BLANC OMBRE ***********/
.white-shadow {
    background-color: #ffffff;
    box-shadow: 10px 10px 22px 0 #abb8c3;
    border-radius: 0 40px 40px 40px !important;
    padding-top: 2vw;
    padding-right: 2vw;
    padding-bottom: 2vw;
    padding-left: 2vw;
}

/********** BLEU OMBRE ***********/
.blue-shadow {
    background-color: var(--wp--preset--color--blue);
    box-shadow: 10px 10px 22px 0 #abb8c3;
    border-radius: 0 40px 40px 40px !important;
    padding-top: 2vw;
    padding-right: 2vw;
    padding-bottom: 2vw;
    padding-left: 2vw;
}



/*********************************************************/
/* GROUP COMPANY COVER                                   */

/* la cover doit être collée aux chiffres clés */
.wp-block-post-content > .wp-block-group:has(+ #figure) {
    margin-bottom: 0 !important;
}


/*********************************************************/
/* GROUP EQUIPE TROMBI                                   */
.trombi .wp-block-columns {
    gap: 20px 50px !important;
}

.trombi .wp-block-column {
    margin-bottom: 50px;
}




/**************************************/
/********** STYLES DES BLOCK **********/
/********** GUTENBERG NATIFS **********/
/**************************************/


/********** UL / LI ***********/
li {
    line-height: 20px;
    margin-bottom: 10px;
}


/********** HR ***********/
hr {
    color: #52b7e5;
}


/********** COLUMNS ***********/
.wp-block-columns {
    margin-top: 10px;
    margin-bottom: 10px;}


/********** HEADING ***********/
h2 {
    font-size: 32px;
    line-height: 34px;
    font-weight: 600;
    padding-bottom: 15px;
    margin-bottom: 30px;
    max-width: 60%;
}
.wp-block-media-text__content h2 {
    max-width: 100% !important;
}
h2 strong{
    color: #52b7e5;
}
h2 em {
    font-size: 23px;
    line-height: 24px;
    font-weight: 600;
    font-style: normal !important;
    padding-bottom: 15px;
    margin-bottom: 30px !important;
    max-width: 60%;
}
.activity-cover h2 , .activity-cover h1 {
    font-size: 52px;
    line-height: 55px;
    font-weight: 500;
    text-transform: uppercase !important;
    margin-top: 40px;
    margin-bottom: 30px;
    max-width: 100% !important;
}

h3 {
    font-size: 23px;
    font-weight: 600;
    padding-bottom: 15px;
    margin-bottom: 30px !important;
    max-width: 60%;
    border-bottom: 2px solid #52b7e5;
}
h3 strong{
    color: #52b7e5;
}

.jobs h3 {
    font-size: 23px;
    font-weight: 600;
    padding-bottom: 0 !important;
    margin-bottom: 30px !important;
    max-width: 100% !important;
    border-bottom: none !important;
}

.jobs .wp-block-columns {
    gap: 70px;
    margin-bottom: 60px;
}



/************ REFERENCES *************/
/********** COUNTER_WRAPPER ***********/

.references .ep_counter {
    font-size: 48px !important;
    color:  var(--wp--preset--color--orange) !important;
}

.references .ep_counter_title,
.references p {
    color:  var(--wp--preset--color--orange) !important;
    font-size: 20px;
    line-height: 22px;
}

.references .epc_num {
    margin-block-start: 0;
}
.references .wp-block-jetpack-layout-grid {
    grid-gap: 30px;
    word-break: keep-all;
}
.references .wp-block-jetpack-layout-grid .wp-block-group {
    height: 100%;
}


/********** TABS ***********/
.wp-block-ep-tabs {
    margin-top: 0pxm !important;
    margin-bottom: 10px;
}

.ep_tabs_header {
    justify-content: space-between !important;
    padding-left: clamp(0vw, 3vw, 4vw);
    padding-right: clamp(0vw, 3vw, 4vw);
}
.ep_tabs_header a {
    text-decoration: none;
}
@media (max-width: 400px) {
    .ep_tabs_header {
        padding-left: 0;
        padding-right: 0;
    }
}

.ep_label_main {
    background-image: none !important;
    background-color: none !important;
    line-height: 10px;
    border-radius: 0 20px 0 0;
}

.ep_label_main:hover {
    background-color: rgb(209, 232, 246) !important;
}

.ep_active_tab {
  background-color: rgb(209, 232, 246) !important;
}
.ep_active_tab span {
    font-weight: 700 !important;
}

.ep_label_main span {
    color: rgb(81, 181, 226) !important;
    font-size: clamp(12px, 2vw, 22px);
    line-height: clamp(14px, 2vw, 23px);
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
}

.ep_tab_item_wrapper {
    background-image: none !important;
    background-color: rgb(209, 232, 246) !important;
    padding-left: 70px !important;
    padding-right: 70px !important;
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}
.ep_tab_item_wrapper .wp-block-group, .ep_tab_item_wrapper .wp-block-aab-group-accordion {
    margin-bottom: 30px;
}

/* lien vers les autres onglets */
.ep_tab_item_wrapper element {
    margin-left: 20px;
    color: #52b7e5;
    text-decoration: none;
    cursor: pointer;}

    
/********** BUTTON ***********/
.wp-element-button, .wp-block-button__link {
    font-size: 18px;
    line-height: 20px;
    font-weight: 500;
    padding: 10px 20px 10px 20px;
}


/********** LINK FLECHE ***********/

p.link-arrow {
    background-image: url("./assets/images/cover_link_arrow.svg");
    background-repeat: no-repeat;
    background-position: left 0 bottom 0;
    margin-left: 30px;
}
p.link-arrow a {
    font-size: 30px;
    font-style: italic;
    text-decoration: none;
    margin-bottom: 40px;
    color: var(--wp--preset--color--contrast) !important;
}
p.link-arrow a strong {
    font-size: 40px;
    font-weight: 400;
}
@media (max-width: 400px) {
    p.link-arrow a {
        font-size: 25px;
    }
    p.link-arrow a strong {
        font-size: 35px;
    }}

.link-arrow svg {
    display: block;
}


/********** BLOCK QUOTE ***********/
.wp-block-quote {
    margin-bottom: 50px !important;
}

.wp-block-quote p {
    font-size: 33px !important;
    line-height: 45px !important;
    font-weight: 500 !important;
}



/********** BLOCK ACCORDEON ***********/
.wp-block-aab-accordion-item:first-child {
    border-top: var(--wp--preset--color--contrast) solid 1px !important;
}
.wp-block-aab-accordion-item {
    border-top: none !important;
    border-bottom: var(--wp--preset--color--contrast) solid 1px !important;
    border-left: none !important;
    border-right: none !important;
    margin-bottom: 0 !important;
}

.wp-block-aab-group-accordion .aagb__accordion_active {
    border-top: none !important;
    border-bottom: var(--wp--preset--color--contrast) solid 1px !important;
    border-left: none !important;
    border-right: none !important;
}
.wp-block-aab-group-accordion .aagb__accordion_active:first-child {
    border-top: var(--wp--preset--color--contrast) solid 1px !important;
}

.wp-block-aab-accordion-item .aagb__accordion_head {
    padding: 30px !important;
    border: none !important;
    background-color: transparent !important;
}

.wp-block-aab-accordion-item .aagb__accordion_title {
    font-size: 23px;
    font-weight: 600;
}
.wp-block-aab-accordion-item .aagb__accordion_title strong {
    color: #52b7e5;
}


.wp-block-aab-accordion-item .aagb__accordion_body {
    border: none !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
}

.aagb__icon:before
{
    font-size: 30px !important;
    color: var(--wp--preset--color--blue);
}






/**************************************/
/************** PLUGINS ***************/
/**************************************/


/********** JUICER ***********/
ul.j-stack {
    background: none !important;
    font-family: "Open Sans", sans-serif !important;
    /* height: auto !important; */
}

li.feed-item img {
    border-radius: 0 60px 60px 60px;
}

.juicer-feed.hip li.feed-item:hover:after {
    height: 0px !important;
}

li.feed-item {
    background: transparent !important;
}
li.feed-item .j-text {
    border-radius: 0 60px 60px 60px;
}

.juicer-feed.hip {
    font-family: "Open Sans", sans-serif;
}



/********** WPML ***********/
.otgs-development-site-front-end {
    display: none;
}




/********** GRAVITY FORM ***********/

body .gform_wrapper .gform_footer input.button,
body .gform_wrapper .gform_footer input[type=submit] {
    color:#ffffff;
    font-size: 18px;
    line-height: 20px;
    padding: 10px 20px 10px 20px;
    border: none;
    border-radius: 0 20px 20px 20px;
    -moz-border-radius: 0 20px 20px 20px;
    -webkit-border-radius: 0 20px 20px 20px;
    box-shadow: none;
    background-color: #e7743f;
}


/********** COOKIES CONSENT ***********/

.cli-tab-footer .wt-cli-privacy-accept-btn {
    background-color: #52b7e5;
    color: #ffffff;
}

.cli-switch input:checked + .cli-slider {
    background-color: #52b7e5;
}
