/*
Theme Name: Molecules en action
Theme URI: https://test.moleculesenaction.ca/
Description: Child theme for Molecules en action swim school (based on SwimAcademy).
Author: Alexis Brazeau
Template: swimacademy
Version: 1.32.0
Requires at least: 6.0
Text Domain: molecules-en-action
*/

/* Neutralise largeurs / fond du theme parent sur pages custom */
body.mea-custom-layout,
body.mea-custom-layout .site,
body.mea-custom-layout #page,
body.mea-custom-layout #content,
body.mea-custom-layout .site-content,
body.mea-custom-layout .content-area,
body.mea-custom-layout main {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.mea-custom-layout .vc_row,
body.mea-custom-layout .wpb_row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.mea-theme {
  font-family: "Nunito", system-ui, sans-serif;
}

/* Force les titres hero en blanc (le thème parent SwimAcademy force parfois le noir sur h1) */
body.mea-theme .hero-content h1,
body.mea-theme .hero-content p,
body.mea-theme .job-hero h1,
body.mea-theme .job-hero .job-hero-lead {
  color: #ffffff !important;
}

/* SwimAcademy force souvent un titre sombre : le pied de page est marine. */
body.mea-theme .site-footer .footer-grid h3 {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Meme cause pour le bandeau d'appel a l'action, dont le fond est bleu :
   la couleur blanche de la section est heritee, donc perdante face a la
   regle du thème parent qui vise les h2 directement. */
body.mea-theme .job-apply h2,
body.mea-theme .job-apply p {
  color: #ffffff !important;
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}
