/*
Theme Name:     Digisante-child
Theme URI:
Description:    Digisante child theme.
Author:         Digisanté
Author URI:     https://www.digisante.fr
Template:       digisante
Version:        0.1.0
*/

/*
WEBFONTS EN LOCAL : UTILISER CET OUTIL https://google-webfonts-helper.herokuapp.com/fonts
1/ Récupérer les graisses nécessaires puis télécharger l'archive avec Woff et Woff2 uniquement pour le subset Latin1
2/ Rajouter du font-display:swap pour chaque déclaration @font-face et modifier le chemin vers /fonts/
3/ Récupérer la fonte de fallback optimale ici : https://deploy-preview-15--upbeat-shirley-608546.netlify.app/perfect-ish-font-fallback/?font=Montserrat
4/ Modifier la déclaration générale avec une font-stack complète et un !important.
5/ Mettre en place le préchargement de la fonte utilisée en Regular et Bold via WP Rocket (dans sa version Woff2)
*/

@media (max-width: 992px) {
    :root { font-size: 18px !important; }
    h1 { font-size: 2rem !important; font-weight: 600 !important; }
    h2 { font-size: 1.6rem !important; font-weight: 600 !important; }
    h3 { font-size: 1.3rem !important; font-weight: 600 !important; }
    h4 { font-size: 1.1rem !important; font-weight: 600 !important; }
}

body, input, textrea, .gfield_label {
    font-family: Arial, sans-serif !important;
    color: #4A4A49;
}

main.page-home, .main-center {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: column;
}

main, body, html, footer {
    max-width: 100vw!important;
    min-width: 100vw!important;
}


.btn {
    font-family: Raleway, "Raleway-fallback", Arial, sans-serif !important;
}

@font-face {
    font-family: "Raleway-fallback";
    size-adjust: 104.07000000000009%;
    ascent-override: 88%;
    src: local("Arial");
}

  @font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: local(''),
         url('fonts/raleway-v28-latin-900.woff2') format('woff2');
  }

.home footer hr, .home footer img { display: none }
body:not(.home) footer * { color: #4A4A49; }
.home footer * { color: white }
.home footer, .home .section-footer-texte, .home .page-home  { background-color: #5B57A2!important; }

.site-header a > svg {width: auto; height: auto;}

.btn.btn-theme {
    padding-top: 0rem!important;
    padding-bottom: 0rem!important;
    padding-right: 0rem!important;
    padding-left: 0rem!important;
}

#cookie-law-info-again { box-shadow:none!important; left:5%!important; right:unset!important; }

#contenu ul li { margin-bottom:.5rem }

.aligncenter { display:block!important;text-align:center!important;margin: 0 auto!important; }