/* http://www.w3schools.com/cssref/css_selectors.asp */
/* element */
/* .class */
/* #id */
html {
	/* --gapBetweenWeeks: 36px; */
	/* --gapBetweenDays: 12px; */
	/* --gapBetweenDayContents: 6px; */
	/* --groupColor: magenta; */
	scroll-behavior: smooth;
	font-family: "Consolas", monospace;
	line-height: 1.5;   /* improves readability everywhere */
	/* font-family: "source code pro", monospace; */
	font-size: 16px;
	/* font-weight: bold; */
	background: #222;
	color: black;
	/* display: flex;
    flex-direction: column;
    align-items: center; */
	/* margin-left: var(--margin); */
	/* margin-right: var(--margin); */
}
/* body {
    background: #222;
} */
* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}
#viewport {  /* Scroll container */
    width: 100%;
    position: relative;
}
#page {  /* Your 800px design canvas */
    width: 768px; /* 728 (imgHoraire.width) + 4*10 (4*padding) = 768*/
    background: white;
    transform-origin: top left;
    /* box-shadow: 0 0 40px rgba(0, 0, 0, 0.6); */
    /* font-family: Arial, sans-serif; */
    /* padding: 40px; */
    /* box-sizing: border-box; */
    position: absolute;
    /* allows centering when not scaled */
    left: 0;
    top: 0;
}
img {
    max-width: 100%;
    display: block;
	/* margin: 20px 0; */
}
div.vFlex {
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	padding: 10px;
}
div.hFlex {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 10px;
}
div.flexStart {
	align-items: flex-start;
}
div.noPaddings {
	padding: 0;
}
.bold {
	font-weight: bold;
}
.big {
	font-size: 1.25rem;
}
.red {
	color: red;
}

div.width100 {
	width: 100%;
}
div.margins {
	margin: 10px;
}
.whiteOnBlack {
	background: black;
	color: white;
}
div.txtCenter {
	text-align: center;
}


div.bgLightGrey {
	background: lightgrey;
}

.borders {
	border: 2px solid black;
}
div.paddings {
	padding: 10px;
}

a {
    color: black;
    text-decoration: underline;
}
a:link { /* normal */
    color: black;
} 
a:visited {  /* visited */
    color: black;
}
a:hover {  /* mouse over */
    color: black;
	background: lightgrey;
}
a:active { /* being clicked */
    color: black;
	background: grey;
}
a.redCalLink {  
	font-weight: bold;
	background: red;
	color:white;
}
a.blueCalLink {
	font-weight: bold;
	background: blue;
	color:white;
}
a.greenCalLink {
	font-weight: bold;
	background: green;
	color:white;
}












div.calendarInnerContainer {
	display: flex;
	flex-direction: column;
	align-items: center;
	/* border: 2px solid red; */
	margin: auto;
	margin-top: var(--gapBetweenWeeks);
	margin-bottom: var(--gapBetweenWeeks);
	gap: var(--gapBetweenWeeks);
}
div.weekOuterContainer {
	display: flex;
	flex-direction: column;
	align-items: center;
	border: 2px solid black;
	background-color: white;
	width: 100%;
}
div.weekInnerContainer {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: var(--gapBetweenDays);
	gap: var(--gapBetweenDays);
	width: 100%;
}
div.dayOuterContainer {
	display: flex;
	flex-direction: column;
	align-items: center;
	border: 2px solid black;
	background-color: white;
	width: 100%;
}
div.dayInnerContainer {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	padding: var(--gapBetweenDayContents);
	gap: var(--gapBetweenDayContents);
	width: 100%;
}
div.specialDayContent {
	/* border: 1px solid red; */
	display: flex;
	flex-direction: column;
	width: 100%;
}
div.dayEntryContainer {
	display: flex;
	flex-direction: row;
}
/* div.dayEntryTag {
	display: flex;
	flex-direction: column;
}
div.dayEntryContent {
	display: flex;
	flex-direction: column;
} */
div.weekLabel {
	background-color: black;
	color: white;
	text-align: center;
	width: 100%;
}
div.dayLabel {
	background-color: hsl(0, 0%, 20%);
	color: white;
	text-align: center;
	width: 100%;
}
div.topBar {
	/* position: fixed; */
	top: 0;
	left: 0;
	width: 100%;
	border-top: 4px solid black;
	border-bottom: 4px solid black;
	text-align: center;
	color: white;
	background-color: var(--groupColor);
}
div.fixed {
	position: fixed;
}
span.groupe {
	font-size: 1.5em;
	font-weight: bold;
}
div.conge {
	background-color: rgb(205, 255, 205);
}
div.horaire {
	/* background-color: rgb(255, 255, 205); */
	background-color: yellow;
	color: black;
}
div.euf {
	background-color: rgb(255, 125, 255);
}
div.ef {
	background-color: rgb(255, 200, 150);
}
div.the {
	/* [the] = cours théorique */
	color: blue;
}
div.sim {
	/* [sim] = simulation numérique (labo d'astro) */
	color: red;
}
div.lab {
	/* [lab] = laboratoire */
	color: blue;
	background-color: rgb(205, 205, 255);
}
div.doc {
	/* [doc] : document distribué en classe */
	color: green;
}
div.rem {
	/* [rem] = remise */
	color: red;
}
div.prj {
	/* [prj] = projet */
	color: blue;
}
div.exa {
	/* [exa] = examen */
	color: red;
	background-color: rgb(255, 205, 205);
}
div.msg {
	/* [msg] = message */
	color: blue;
}
div.str {
	/* [str] = numéro des blocs enrichis */
	color: blue;
}
div.pin {
	/* [pin] = activité spéciale (conférence hors-cours) */
	background-color: yellow;
	color: red;
}
div.sep {
	/* [sep] = séparateur gris foncé */
	background-color: hsl(0, 0%, 20%);
	color: red;
}
div.error {
	background-color: magenta;
	color: white;
}
div.dayLabelPast {
	color: hsl(0, 0%, 40%);
}
div.dayInnerContainerPast {
	background-color: hsl(0, 0%, 40%);
}
div.specialDayContentPast {
	background-color: hsl(0, 0%, 40%);
	color: hsl(0, 0%, 20%);
}
div.dayEntryContainerPast {
	background-color: hsl(0, 0%, 40%);
	color: hsl(0, 0%, 20%);
}
