/*
Theme Name:     Libsystem
Description:    Thème enfant Libsystem
Author:         Laurie de webCréatrice
Author URI:     https://webcreatrice.com
Template:       generatepress                      
Version:        0.1.0
*/
/* Fonts */
@font-face {
                font-family: "SpaceGrotesk-Regular";
                src: url('fonts/SpaceGrotesk-Regular.woff') format('woff'),
        url('fonts/SpaceGrotesk-Regular.woff2') format('woff2'),
        url('fonts/SpaceGrotesk-Regular.svg#SpaceGrotesk-Regular') format('svg'),
        url('fonts/SpaceGrotesk-Regular.eot'),
        url('fonts/SpaceGrotesk-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/SpaceGrotesk-Regular.ttf') format('truetype');
                font-weight: normal;
                font-style: normal;
                font-display: swap;}
   @font-face {
            font-family: "SpaceGrotesk-Bold";
            src: url('fonts/SpaceGrotesk-Bold.woff') format('woff'),
    url('Sfonts/paceGrotesk-Bold.woff2') format('woff2'),
    url('fonts/SpaceGrotesk-Bold.svg#SpaceGrotesk-Bold') format('svg'),
    url('fonts/SpaceGrotesk-Bold.eot'),
    url('fonts/SpaceGrotesk-Bold.eot?#iefix') format('embedded-opentype'),
    url('fonts/SpaceGrotesk-Bold.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
            font-display: swap;}
            @font-face {
                font-family: "Karla-VariableFont_wght";
                src: url('fonts/Karla-VariableFont_wght.woff') format('woff'),
        url('fonts/Karla-VariableFont_wght.woff2') format('woff2'),
        url('fonts/Karla-VariableFont_wght.svg#Karla-VariableFont_wght') format('svg'),
        url('fonts/Karla-VariableFont_wght.eot'),
        url('fonts/Karla-VariableFont_wght.eot?#iefix') format('embedded-opentype'),
        url('fonts/Karla-VariableFont_wght.ttf') format('truetype');
                font-weight: normal;
                font-style: normal;
                font-display: swap;} 
::-moz-selection{background:#03C599;color:#fff;}
::selection{background:#03C599;color:#fff;}

html{scroll-behavior:smooth;}
:root {--global-vw:100vw;}
.site-content {display: block;}
.wp-block-group__inner-container{padding:40px;}

body, p{font-family: "Karla-VariableFont_wght";}
h2, h3, h4, .wp-block-latest-posts.wp-block-latest-posts__list li a{font-family: "SpaceGrotesk-Bold";color:#012E40;}
h1{font-size: 2em;font-family: "SpaceGrotesk-Bold";color:#03C599;}
.home h2, .page-id-16 h2{font-size: 2em;color:#03C599;}
h2, .block-icones h3, .wp-block-latest-posts__post-title{font-size:1.35em;line-height: 1em;}
.home h2, .page-id-16 h2{margin-bottom:60px;}
.home .block-top h2, .page-id-16 .block-top h2{margin-bottom:20px;}
.page-id-16 h1{color:#fff;}

.main-navigation .main-nav ul li > a{font-size:1.15em;font-family: "SpaceGrotesk-Regular";}
.main-navigation .main-nav ul li[class*="current-menu-"] > a{color:#03C599;font-family: "SpaceGrotesk-Bold";}

button, html input[type="button"],
input[type="reset"],
input[type="submit"], a.button,
a.wp-block-button__link:not(.has-background){font-size: 1.25em;padding: 12px 30px;border:2px solid #03C599;background-color:transparent;color:#03C599;font-family: "SpaceGrotesk-Bold";}
button, html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover, a.button:hover,
a.wp-block-button__link:not(.has-background):hover{text-decoration:inherit;border:2px solid #03C599;background-color:#03C599;color:#fff;}

.main-navigation .main-nav ul li[class*="current-menu-"]::before{content: "";display: block;position: absolute;top: -16px;left: 50%;background-size: 34% !important;background: transparent url('img/hover-navigation.svg') no-repeat 0 0;background-size: auto;height: 40px;width: 23px;}

#site-navigation{margin-top:30px;}
.main-navigation .main-nav ul li a{padding-left:42px;padding-right:42px;}

/* Footer */
#contact{color:#fff;background-color:#012E40;}
#contact h3{color:#03C599;font-size: 1.35em;}
#contact .footer-widgets-container {padding: 100px 40px;}
footer .inside-site-info {justify-content: space-between;}
footer #menu-menu-du-bas{margin-left:0;list-style:none;display:flex;}
footer .menu-footer{padding-top:20px;}
footer #menu-menu-du-bas li{padding:0 40px;}
footer #menu-menu-du-bas li:first-child{padding-left:0;}
footer #menu-menu-du-bas li a{font-size: 1.25em;color:#012E40;font-family: "SpaceGrotesk-Regular";}
footer #menu-menu-du-bas li a:hover{color:#03C599;text-decoration:none;}
footer #menu-menu-du-bas li.current_page_item a{color:#03C599;font-family: "SpaceGrotesk-Bold";}

/* Home / À propos */
.wp-block-latest-posts__list{margin-left:0;}
.image-pres{border-radius:50%;}
.wp-block-latest-posts__post-excerpt{margin-top:20px;}
.testimony-slide{padding: 0 80px;}


/* Glossaire */
.glossary-navigation{margin-bottom: 20px;}
.glossary-navigation ul {list-style:none;padding: 0;}
.glossary-navigation li {display: inline-block;margin-right: 30px;}
.glossary-navigation a {text-decoration: none;font-weight: bold;color: #fff;font-family: "SpaceGrotesk-Bold";}
.glossary-navigation a:hover {text-decoration: underline;color: #03C599;}
.glossary-content .first-letter-glossary{font-size:2em;margin-top: 30px;color: #03C599;font-family: "SpaceGrotesk-Bold";}
.glossary-term-list p{margin: 5px 0;}
.glossary-term-list a{text-decoration: none;}
.glossary-term-list a:hover{color: #0073aa;}
.glossary-content{background: linear-gradient(#F5FBFF, #fff);margin-left: calc( 50% - ( var(--global-vw, 100vw) / 2 ));
  margin-right: calc( 50% - ( var(--global-vw, 100vw) / 2 ));}
.glossary-term-content{margin-bottom: 40px;}

/* Glossaire > Tooltips */
.glossary-tooltip {position: relative;cursor: pointer;color:#03C599;}
.page-template-glossaire .glossary-tooltip{cursor:inherit;}
.glossary-tooltip .tooltip-content {display: none;position: absolute;bottom: 150%; /* Position au-dessus du mot */left: 50%;transform: translateX(-50%);background-color: #012E40;color: #fff;padding:20px;z-index: 1000;white-space: normal;max-width: 600px;min-width: 250px; max-height: 200px;/*overflow-y: auto;*/overflow-wrap: break-word;font-size:0.85em;line-height:1.15em;}
.glossary-tooltip .tooltip-content::after {content: '';position: absolute;top: 100%;left: 50%;margin-left: -5px;border-width:10px;border-style: solid;border-color: #012E40 transparent transparent transparent;}
.glossary-tooltip .tooltip-content a {z-index: 20000;color: #fff;text-decoration: underline;}

/* Mode sombre */
body.dark-mode {background-color: #012E40;color: #F5FBFF;}
body.dark-mode #contact{border-top:2px solid #00C298;border-bottom:2px solid #00C298;}
body.dark-mode a {color: #03C599;}
body.dark-mode footer #menu-menu-du-bas li a:hover, body.dark-mode footer #menu-menu-du-bas li.current_page_item a{color:#03C599;}
body.dark-mode footer #menu-menu-du-bas li a{color:#fff;}
body.dark-mode .main-navigation .main-nav ul li a, .main-navigation .menu-toggle, .main-navigation .menu-bar-items{color: #fff;}
body.dark-mode .main-navigation .main-nav ul li[class*="current-menu-"] > a{color:#03C599;font-family: "SpaceGrotesk-Bold";}
body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode .wp-block-latest-posts.wp-block-latest-posts__list li a{color:#fff;}
body.dark-mode .header,
body.dark-mode .footer {background-color: #012E40;}
body.dark-mode .button {background-color: #03C599;}
#dark-mode-toggle{position:absolute;z-index: 10;right:40px;width: 90px;font-size: 0.85em;text-align: center;line-height:1em;border-radius:0 0 25px 25px;padding:50px 20px 15px 20px;background-color: #03C599;}
#dark-mode-toggle::before{content:"";width:64px;height:57px;display:block;position:absolute;top:6px;left:25px;background-size:50% !important;background:transparent url('img/icone-libsystem.svg') no-repeat 0 0;}
.dark-mode .is-logo-image, .dark-mode .block-icones img, body.dark-mode footer a img, body.dark-mode .block-logos .wp-block-column:first-child img{-webkit-filter: brightness(100);filter: brightness(100);}
body.dark-mode .block-logos .wp-block-column + .wp-block-column{background-color: #fff;padding: 5px;border-radius: 8px;}
body.dark-mode .glossary-tooltip .tooltip-content {background-color: #fff;color: #012E40;}
body.dark-mode .glossary-tooltip .tooltip-content a{color:#012E40;}
body.dark-mode .glossary-tooltip .tooltip-content::after {border-color: #fff transparent transparent transparent;}

/* Mode sombre // Block Icones */
.block-icones{background: linear-gradient(#F5FBFF, #fff);margin-left: calc( 50% - ( var(--global-vw, 100vw) / 2 ));
  margin-right: calc( 50% - ( var(--global-vw, 100vw) / 2 ));}
.dark-mode  .block-icones, .dark-mode .glossary-content{background: linear-gradient(#064E6A, #012E40);}
.block-icones .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column{background-color: #fff;padding: 20px;border-radius: 25px;box-shadow:box-shadow: 2px 4px 27px -16px rgba(0,0,0,0.63);
-webkit-box-shadow: 2px 4px 27px -16px rgba(0,0,0,0.63);
-moz-box-shadow: 2px 4px 27px -16px rgba(0,0,0,0.63);;}
.dark-mode .block-icones .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column{background-color: #064E6A;}
.dark-mode .block-icones h3{color:#fff;}
.block-top{margin-bottom:0;position: relative; }
.block-top  .wp-block-column{padding-top: 40px;}
.block-top  .wp-block-column + .wp-block-column {position: relative;}
.block-top  .wp-block-column + .wp-block-column::after {content: '';position: absolute;top: 0;left:50%;right:-10vw;bottom: 0;background-color: #064E6A;z-index: -1;}
.block-top > .wp-block-column + .wp-block-column{padding: 40px 0 40px 60px;border-radius: 25px 0 0 0;color:#fff;background-color:#064E6A;}
.block-top .wp-block-column + .wp-block-column h2{color:#fff;}
body .block-top .block-logos .wp-block-column + .wp-block-column::after{display:none;}
.block-logos{margin-right:90px;}
.block-top .block-logos .wp-block-column{padding-top:0;}
.block-logos .wp-block-column + .wp-block-column{padding-left: 20px;border-left:2px solid #064E6A;}
.block-logos .wp-block-column .wp-block-image .alignright{margin:0;}

/*--------------------------------------------------------------
## Responsive
--------------------------------------------------------------*/
@media (max-width:768px){
    .main-navigation .menu-toggle, .main-navigation .menu-bar-items {color: #012E40;font-size: 2em;}
    body.dark-mode .main-navigation .menu-toggle, body.dark-mode .main-navigation .menu-bar-items{color: #fff;}
    footer #menu-menu-du-bas {flex-direction: column;}
    .block-top .wp-block-column + .wp-block-column::after {right: -5vw;}
    .main-navigation .main-nav ul li[class*="current-menu-"]::before{display:none;}
    footer #menu-menu-du-bas li a {font-size: 1.65em;line-height: 2em;}
    body .block-logos.is-layout-flex {flex-wrap: nowrap !important;}
    .page-id-16 h1 {text-align: center;}
}
@media (max-width:550px){
    .inside-header {padding-top:110px;}
    .glossary-navigation li{margin-right: 40px;}
    .glossary-navigation a {font-size: 2em;}
}

