
/************************
Auteur: pigroSol
URI: https://plainteICF.pigrosol.com
Nom du thème: commun
Descrition: définition des différentes caractéristiques des composants communs aux pages.
*************************/

html, body, header, a, nav, menu, div, h1, h2, h3, h4, h5, p, span, ul, ol, li, strong, img, strong, section, main, article, footer {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	vertical-align: baseline;
	box-sizing: border-box;
}
HTML {font-size: 100%; background-color: #a3a3a3;}

body {
	margin: 0 15%;
	color: #3b3b3b;
	font-family: Helvetica, Calibri, sans-serif;
	font-size: 17pt;
	font-weight: 300;
	background-color: #f0eeff;
	min-height: 100vh;
	display: grid;
	grid-template-rows: auto 1fr auto;
}


/*******************************************
********************************************
************ entête - header ***************
********************************************/

body > header {
	width: 100%;
	background-color: #fff;
	border-bottom: 1px solid #000;
	padding: .5em;
	margin: 0 auto;
}

body > header > h1 {
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.8em;
	line-height: 1.5em;
	text-align: center;
}

body > header > p {
	font-size: 0.5em;
	text-align:right;	
}

/*******************************************
********************************************
********** pied de page - footer ***********
********************************************/

body > footer {
	border-top: 1px solid #000;
	background-color: #fff;
	padding: .2em;
	margin: 0 auto;
	margin-top: .5em;
	width: 100%;
	text-align: center;
}

body > footer > ul {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

body > footer > ul > li {
	font-size: 0.6em;
	color: #000;
	display: inline-block;
	line-height: .8em;
	border-left: 0;
	margin-left: 0;
	padding-left: 0;
}


/*******************************************
********************************************
************** contenu - main **************
********************************************/

body > main {
	width: 80%;
	margin: 0 auto;
	text-align: left;
}

main#accueil {
	margin: auto;
}

main#accessRefuse {
	width: fit-content;
	margin: auto auto;
}

main#accessRefuse > section {
	text-align: center;
}

main#accessRefuse > section > h2 {
	text-decoration: underline;
	font-weight: 700;
	margin: 1em 0;
}

main#accessRefuse > section > p {
	margin: .5em 0;
}


/*******************************************
********************************************
****** connexion - section#connexion *******
********************************************/

section#connexion {
	border: 1px solid #000;
	margin: 0 auto;
	padding: 1em;
	background-color: #fff;
}

section#connexion > h2 {
	text-indent: 2em;
	font-weight: 700;
}

section#connexion > form > div#input {
	width: fit-content;
	margin: 1em auto;
}

section#connexion > form > div > input {
	display: block;
	margin-top: .2em;
	
}

section#connexion > form > div > input#inputext {
	width: 100%;
}

section#connexion > form > p {
	font-style: italic;
	text-align: left;
	font-size: .8em;
	line-height: 1em;
}

/*******************************************
********************************************
*********** cookie - section#cookie ********
********************************************/

section#cookie, section#remarque {
	text-align: center;
}

section#cookie > p, section#remarque > p {
	text-align: left;
	font-size: .7em;
	font-weight: 500;
	display: inline;
}


/*******************************************
********************************************
*************** navigation  ****************
********************************************/

nav{
	border: 1px solid #000;
	background: #fff;
	width: fit-content;
	padding: .2em;
	margin: .5em 0;
	border-radius: .5em;
}

nav > ul {
  list-style: none;
}

nav > ul > li {
	display: inline;
	margin: 0;
	padding: .2em 0;
	padding-left: .2em;
	font-size: .8em;
	line-height: 1em;
}

nav > ul > li::before {
	content: '\2022\00A0';
	margin: 0;
	psadding: .2em 0;
	padding-left: .2em;
	font-size: .8em;
}

/* pour empécher les liens redondant vers la page en cours */

#enCours:hover {
	cursor: not-allowed;
	position: relative;
	text-decoration: line-through;
}

#enCours:hover:after {
	content: 'page en cours';
	display: block;
	white-space : nowrap;
	float: right;
	position: absolute;
	top: 0;
	left: 5em;
	color: #000;
	background-color: #fff;
	border: 1px solid #000;
	border-radius: 1em;
	padding: .2em;
}


/*******************************************
********************************************
******** contenu - section#contenu *********
********************************************/

section#contenu {
	border: 1px solid #000;
	margin: 0 auto;
	padding: 1em;
	width: 100%;
	background-color: #fff;
}

section#contenu > h2 {
	font-weight: 700;
}

section#contenu > p {
	font-weight: 500;
	font-size: .8em;
	margin-bottom: 1em;
	text-indent: 2em;
}

section#contenu > div {
	width: 100%;
	hdeight: 65vh;
}

section#contenu > div > embed {
	width: 100%;
	height: 65vh;
}

section#contenu > div > ul {
	margin-left: 2em;
	margin-top: 1.5em;
}

section#contenu > div > ul > li {
	margin-top: 1em;
}

section#contenu > div > ul > ul, section#contenu > div > ul > ul > ul {
	margin-left: 2em;
}

section#contenu > div > h3 {
	text-decoration: underline;
	margin-top: 1em;
}

section#contenu > div > p.center {
	text-align: center;
}


/*******************************************
********************************************
************ gestion des liens *************
********************************************/

a {
	padding: 0.1em;
}

header > p > a:hover, nav > ul > li > a:hover {
	background-color: #44ff33;
}
