/**
 * Table of Contents:
 *
 * 1.0 - Basic Structure
 * 2.0 - Media Queries
 * 3.0 - Capabilities
 *   Extra Columns Width, Links, Background Image Style, Content Centered, Box Shadow,
 *   Spacing (remplace l'échelle Bootstrap : n = n × 2px, 0 à 200px, toutes tailles d'écran),
 *   Background Gradients, Background Overlay Gradients, Fill / Stop / Stroke Colors,
 *   Width, Height, Typography Font Size, Font Weight
 *
 * Échelle réelle : n × 0.125rem ; 2px par unité si la racine vaut 16px.
 * Charger après Bootstrap. gap-* et g-* gardent leur échelle Bootstrap.
 *
 * 3.0 est la bibliothèque complète. Ici, 1.0 et 2.0 restent
 * entiers et 3.0 ne garde que les classes utilisées.
 * ----------------------------------------------------------------------------
 */



/**
 * 1.0 Basic Structure
 * ----------------------------------------------------------------------------
 */

html :where(.wp-block) {
	max-width: 100% !important;
}

/* Fondations communes : conserver le ratio des images et le choix de mouvement. */
img {
  max-width: 100%;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
}

/**
 * 2.0 Media Queries
 * ----------------------------------------------------------------------------
 */

/* WordPress Media Queries */
@media (max-width: 600.98px) {
}
@media (min-width: 601px) and (max-width: 782.98px) {
}
@media (min-width: 783px) {
}

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
	.site-content > *:not(div) {
		max-width: calc(100% - 24px);
	}
}

@media (min-width: 576px) {
	.site-content > *:not(div) {
		max-width: 540px;
	}
}

/* Small devices (landscape phones, 576px, up to 768px) */
@media (min-width: 576px) and (max-width: 767.98px) {
}

@media (min-width: 576px) and (max-width: 991.98px) {
}

@media (min-width: 768px) {
	.site-content > *:not(div) {
		max-width: 720px;
	}
}

/* Medium devices (tablets, 768px, up to 992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
}

@media (max-width: 991.98px) {
}

@media (min-width: 992px) {
	.site-content > *:not(div) {
		max-width: 960px;
	}
}

/* Large devices (desktops, 992px, up to 1200px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
}

@media (max-width: 1199.98px) {
}

@media (min-width: 1200px) {
	.site-content > *:not(div) {
		max-width: 1140px;
	}
}

/* X-Large devices (large desktops, 1200px, up to 1400px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
	.site-content > *:not(div) {
		max-width: 1320px;
	}
}


/**
 * 3.0 Capabilities
 * ----------------------------------------------------------------------------
 */

/*------------------------------------
  Extra Columns Width
------------------------------------*/

.col-xxl-20 {
  flex: 0 0 auto;
}

@media (min-width: 1400px) {
  .col-xxl-20 {
      width: 20%;
    }
}

/*------------------------------------*\
  #SPACING UTILITIES
  Remplace l'échelle de Bootstrap : 1 = 2px, n = n × 2px (0 à 100 = 0 à 200px)
  m, mx, my, mt, me, mb, ms, p, px, py, pt, pe, pb, ps (+ auto pour les marges)
  à toutes les tailles d'écran (sm, md, lg, xl, xxl)
\*------------------------------------*/

.mx-auto { margin-right: auto !important; margin-left: auto !important; }

.mt-6 { margin-top: 0.75rem !important; }

.mt-8 { margin-top: 1rem !important; }

.mt-10 { margin-top: 1.25rem !important; }

.mt-12 { margin-top: 1.5rem !important; }

.mt-15 { margin-top: 1.875rem !important; }

.mt-20 { margin-top: 2.5rem !important; }

.mt-22 { margin-top: 2.75rem !important; }

.mt-24 { margin-top: 3rem !important; }

.mt-28 { margin-top: 3.5rem !important; }

.mt-32 { margin-top: 4rem !important; }

.mt-36 { margin-top: 4.5rem !important; }

.mt-auto { margin-top: auto !important; }

.mb-0 { margin-bottom: 0 !important; }

.mb-4 { margin-bottom: 0.5rem !important; }

.mb-6 { margin-bottom: 0.75rem !important; }

.mb-7 { margin-bottom: 0.875rem !important; }

.mb-8 { margin-bottom: 1rem !important; }

.mb-9 { margin-bottom: 1.125rem !important; }

.mb-10 { margin-bottom: 1.25rem !important; }

.mb-11 { margin-bottom: 1.375rem !important; }

.mb-12 { margin-bottom: 1.5rem !important; }

.mb-14 { margin-bottom: 1.75rem !important; }

.mb-16 { margin-bottom: 2rem !important; }

.mb-17 { margin-bottom: 2.125rem !important; }

.mb-18 { margin-bottom: 2.25rem !important; }

.mb-20 { margin-bottom: 2.5rem !important; }

.mb-21 { margin-bottom: 2.625rem !important; }

.mb-22 { margin-bottom: 2.75rem !important; }

.mb-24 { margin-bottom: 3rem !important; }

.mb-27 { margin-bottom: 3.375rem !important; }

.mb-28 { margin-bottom: 3.5rem !important; }

.px-0 { padding-right: 0 !important; padding-left: 0 !important; }

.px-10 { padding-right: 1.25rem !important; padding-left: 1.25rem !important; }

.px-13 { padding-right: 1.625rem !important; padding-left: 1.625rem !important; }

.pt-12 { padding-top: 1.5rem !important; }

.pb-14 { padding-bottom: 1.75rem !important; }

@media (min-width: 576px) {
  .mb-sm-0 { margin-bottom: 0 !important; }

  .px-sm-0 { padding-right: 0 !important; padding-left: 0 !important; }
}

@media (min-width: 768px) {
  .mb-md-0 { margin-bottom: 0 !important; }

  .mb-md-10 { margin-bottom: 1.25rem !important; }

  .mb-md-19 { margin-bottom: 2.375rem !important; }

  .mb-md-23 { margin-bottom: 2.875rem !important; }

  .px-md-3 { padding-right: 0.375rem !important; padding-left: 0.375rem !important; }
}

@media (min-width: 992px) {
  .mt-lg-0 { margin-top: 0 !important; }

  .mb-lg-0 { margin-bottom: 0 !important; }

  .mb-lg-8 { margin-bottom: 1rem !important; }

  .mb-lg-12 { margin-bottom: 1.5rem !important; }

  .mb-lg-26 { margin-bottom: 3.25rem !important; }

  .px-lg-4 { padding-right: 0.5rem !important; padding-left: 0.5rem !important; }
}

@media (min-width: 1200px) {
  .mb-xl-0 { margin-bottom: 0 !important; }

  .px-xl-9 { padding-right: 1.125rem !important; padding-left: 1.125rem !important; }
}

@media (min-width: 1400px) {
  .mb-xxl-12 { margin-bottom: 1.5rem !important; }

  .px-xxl-18 { padding-right: 2.25rem !important; padding-left: 2.25rem !important; }
}
