/* .............................................................................
CONFIGS
................................................................................

EXPLICATION DES FICHIERS :
- Dev : assets/css/
- Prod : task "grunt buildcss" pour builder le CSS build/css/main.css


COULEURS :
- Voir les vars plus bas.


TRANSITION :
- cubic-bezier(0.4, 0, 0.2, 1)


NAMING CONVENTIONS :
- Blocks = section d'une page, ex : .bMain, .bBoxesList.
- Items = partie importante reutilisable, ex : .iBox, .iAccordion.
- Text = style precis pour texte, ex : .tBig, .tUpper


REFERENCES :
Desktop-first :
@media (max-width:1999px) {}    124.99rem
@media (max-width:1499px) {}    93rem
@media (max-width:1199px) {}    75rem
@media (max-width:991px) {}     62rem
@media (max-width:767px) {}     47rem

Mobile-first :
@media (min-width:768px) {}     47.01rem
@media (min-width:992px) {}     62.01rem
@media (min-width:1200px) {}    75.01rem
@media (min-width:1500px) {}    93.01rem
@media (min-width:2000px) {}    125rem
*/


/*
COLORS */
:root {
	/* Main colors */
	--color-gray: #e7ecef;
	--color-blue: #18355e;
	--color-blue-pale: #80c8d1;
	--color-orange: #f88e2b;
	--color-green: #cfddba;
	--color-pink: #e86d71;

	--color-base: var(--color-blue);
	--color-base-on-dark: #fff;

	/* BG */
	--color-bg-base: #fff;
	--color-bg-light: var(--color-gray);
}



/*
BASE WIDTHS
L'application des valeurs est dans base.css. */
:root {
	--width-std-left: 2.5vw;
	--width-std-right: 2.5vw;
	--width-std-gap: 2.5vw;
	--width-sidebar: calc(12em + 6vw);

	--width-in-left: 1.5vw;
	--width-in-right: 1.5vw;
	
	--width-narrow-left: 6vw;
	--width-narrow-right: 6vw;
}

	/* Ultra large, on restreint la largeur maximale */
	@media (min-width:125rem) {
		:root {
			--width-std-left: calc(45vw - 53em);
			--width-std-right: calc(45vw - 53em);
			--width-std-gap: 3.125em;
			--width-sidebar: 19.5em;

			--width-in-left: 2em;
			--width-in-right: 2em;

			--width-narrow-left: 7.5em;
			--width-narrow-right: 7.5em;
		}
	}

	/* Mobile */
	@media (max-width:62rem) {
		:root {
			--width-std-left: 5vw;
			--width-std-right: 5vw;
			--width-std-gap: var(--width-std-left);
 			/* --width-sidebar: 19.5em; INUTILE */ 

			--width-in-left: 3vw;
			--width-in-right: 3vw;

			--width-narrow-left: var(--width-std-left);
			--width-narrow-right: var(--width-std-right);
		}
	}



/*
BASE SPACINGS
L'application des valeurs est dans site-blocks.css. */
:root {
	--base-spacing-top: 6em;
	--base-spacing-bottom: 6em;
}

	@media (max-width:62rem) {
		:root {
			--base-spacing-top: 5.5em;
			--base-spacing-bottom: 5.5em;
		}
	}

	@media (max-width:47rem) {
		:root {
			--base-spacing-top: 3.5em;
			--base-spacing-bottom: 3.5em;
		}
	}



/*
TOPBAR HEIGHT
La hauteur du topBar affecte plusieurs elements dans la page.
On specifie donc une valeur globale pour pouvoir y acceder facilement. */
:root {
	--topbar-height: 6em;
	--topbar-height-scrolled: 4em;
}

	/* Mobile */
	@media (max-width:47rem) {
		:root {
			--topbar-height: 5.5em;
			--topbar-height-scrolled: 3.8em;
		}
	}



/*
SIDEBAR ITEMS HEIGHT
Les items de la sidebar ont une hauteur standard.
Le page head de succursales a la meme hauteur. */
:root {
	--sidebar-item-height: 26em;
}

