html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, 
cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, 
dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, 
details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, 
video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section{display: block;}
body { line-height: 1;	} ol, ul { list-style: none;} blockquote, q  { quotes: none;} 
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none;} 
table { border-collapse: collapse; border-spacing: 0;}



/*pour l'une ou l'autre raison, dans certains navigateurs, le texte ne s'affiche plus, sauf les hups; j'ai éteint le font-family, et c'est de nouveau visible. pas très compréhensible.*/
/*tout autre mise en page dans webkit/chromium :-SSS */
/*padding dans section sur 1rem au lieu de 0.5rem ?*/



/* ------------------------------------------------------------------------------------------------------------- */
html{
	padding:1rem; 
	background-color:darksalmon;
	font-family:Montserrat;
}
/*main#sites {*/
/*	width: 95%; margin: 0 auto;*/
/*}*/
header, footer {
	background-color:inherit;
}
footer{	/*voir aussi footer, h1*/
	padding:1rem 0rem 1rem 14rem;
}
footer, h1{
	box-sizing:border-box; width:100%; margin:0; 
	background-color: #FFFACD; border:3px solid darkred;
	color:darkred;
}
footer a { 
	font-size:inherit;
}



h1 { 	/*voir footer, h1*/
	margin-bottom:1rem; padding:1rem;
	text-align:center; font-size:2rem; letter-spacing:2px; text-transform:uppercase;
	font-weight:bold;
}
h1,h2{
	font-weight:bolder !important;
	font-family:Montserrat;
}
h2{	/*voir aussi h1, h2*/
	position:absolute; top:1.1rem; left:4px;
	font-size:2rem; font-weight:bolder;
	font-family:Montserrat;  text-shadow:1px 1px grey;
}
div.categorie1 h2 {	 /*bleu*/
	color:hsl(240,100%,50%, 0.8) !important;
}
div.categorie2 h2 {	 /*blanc*/
	color:hsl(0,0%,100%);
}
div.categorie3 h2 {	/*rouge*/
	color:hsl(0,100%,50%,0.8);
}
div.categorie4 h2 {	/*bleu*/
	color:hsl(240,100%,50%,0.8);
}
div.categorie5 h2 {	/*blanc */
	 color:hsl(0,0%,100%);
}
h3{
	margin-bottom:0.5rem;
	letter-spacing:1px; text-transform:uppercase;
	color:black; font-weight:bold;
}



div{
	position:relative;
	margin-top:0; padding: 0 0px 0rem 14rem;
}
div + div {
	margin-top:0rem !important; padding-top:1rem;
	border-top:1px solid darkred;
}
section.categorie1 h3, section.categorie2 h3, section.categorie3 h3, section.categorie4 h3, section.categorie5 h3{
	position:absolute; top:8px; left:13px;
}
section	{/*pourquoi section et section.categorie1 etc ?*/ /*vertical-align nécessaire ?*/
	display:inline-block; vertical-align:top;
	box-sizing:border-box; min-width:200px; width:calc(25% - 1rem - 3px); margin:0 0 1rem 1rem; padding:0.5rem;
	opacity:.9; border:2px solid black; border-radius:10px;
}
section.categorie1, section.categorie2, section.categorie3, section.categorie4, section.categorie5{
	position:relative;
	padding-top:3rem; padding-bottom:2rem;
	opacity:0.9;
}
section.categorie1{	/*bleu*/
	background-color:hsl(240,100%,50%,0.6); border-color:hsl(240,100%,33%,0.8);
}
section.categorie2{	/*blanc*/
	background-color:hsl(0,0%,100%); border-color: hsl(208,100%,87%,0.8);
}
section.categorie3{	/*rouge*/
	background-color:hsl(0,100%,50%,0.6); border-color: hsl(0,100%,40%,0.8);
}
section.categorie4{	/*bleu*/
	background-color:hsl(240,100%,50%,0.6); border-color: hsl(240,100%,33%,0.8);
}
section.categorie5{	/*blanc*/
	background-color:hsl(0,0%,100%); border-color: hsl(208,100%,87%,0.8);
}



/*a et input*/
form, a.bouton{
	position:absolute; bottom:8px;
	box-sizing:border-box; width:calc(100% - 1rem); 
	line-height:20px;
}
input{ 
	margin:0; padding:0;
	background-color: #FFFACD; border:0; border-radius:3px 0px 3px 0px ; box-shadow: -1px -1px 1px hsla(51, 100%, 27%, 1);
}
input[type="text"]{ 
	display:inline-block;
	box-sizing:border-box; width:calc(100% - 0.5rem - 60px); margin-top:0px; padding:1px 0 1px 1rem;
}
input[type="submit"]{ 
	float:right;
	box-sizing:border-box; width:60px; margin-top:1.5px; padding:1px 0;
	background-color:#e9967a; border:1px solid darkred; border-radius:5px; box-shadow:0 0 0 darksalmon;
	color:blue !important; font-style: italic;
}
input[type="submit"]:hover { 
	background-color: hsl(42.9,74.4%,49%);
	color: hsl(42.9,74.4%,79%);
	cursor: pointer;
}
a{
	font-size:1rem;
	color:inherit;
}
h3 a{
	padding-left:0 !important;
}
section.categorie1 a, section.categorie2 a, section.categorie3 a, section.categorie4 a, section.categorie5 a{
	padding-left:5px;
}
a:hover {
	background-color: hsl(42.9,74.4%,49%);
	color:black;
}
footer a:hover,footer a.mail:hover{
	background-color:darkred;
	color:white;
}
.bouton { 
	display:block;
	box-sizing:border-box; padding:1px 6px 1px 2rem;
	background-color:darksalmon; border:1px solid darkred; border-radius:5px; box-shadow: 1px 1px 4px darkred;
	color:black; text-decoration:none;
}
a.bouton{
	display:block;
	width:calc(100%-1rem) !important;
}
a.bouton:hover, h3 a.lientitre:hover{
	background-color:darkred; border:1px solid darkred;
	font-weight:bold;
	color:#fffacd;
}
a.bouton + a.bouton {
	margin-top:1rem;
}
a.mail:link{
	color:inherit; text-decoration:underline;
}
a.mail:visited{
	color:black; text-decoration:none;
}
a.mail:hover{	/*pour le footer voir footer a:hover*/
	background-color:hsl(240,100%,50%);
	color:black;
}
a.lientitre{
	display:block;
	padding-left:2rem;
	border:1px solid hsla(0,0%,0%,0);
	font-size:inherit;
	color:inherit; text-decoration:none;
}
a.lientitre:hover { 
	border:1px solid hsl(42.9,74.4%,49%); border-radius:5px;
}
a[href*="mailto"]{	/*.bouton est display:block */
	display:inline-block;
}
em{
	color:red; font-style:italic;
}
p + p{
	margin-top:1rem;
}



.invisible { 
	visibility:hidden;
}
.disparu { 
	display:none;
}



/*______________________media queries____________________________________________________________________________*/
@media (max-width:679px)
{
body{
/*max-width:679px*/}
main#sites{
/*	width:100% !important;*/
/*max-width:679px*/}
footer{
	padding:1rem; margin-top:1rem; 
/*max-width:679px*/}
footer p + p {
	padding-top:.5rem;
/*max-width:679px*/}



h2{ 
	position:static;
	margin-top:0; margin-bottom:1rem;
	text-align:center;
/*max-width:679px*/}
h3{
	margin-bottom:1rem;
/*max-width:679px*/}
section.categorie1 h3, section.categorie2 h3, section.categorie3 h3, section.categorie4 h3, section.categorie5 h3{
	position:static;
/*max-width:679px*/}



div{
	padding:0; 
/*max-width:679px*/}
div + div{
	margin-top:0; 
	border:0; 
/*max-width:679px*/}
section.categorie1, section.categorie2, section.categorie3, section.categorie4, section.categorie5{
	display:block;
	box-sizing:border-box; width:100%; margin:0 0 1rem 0; padding:1rem;
	margin:0; 
/*max-width:679px*/}
section.categorie1 + section.categorie1, section.categorie2 + section.categorie2, section.categorie3 + section.categorie3, section.categorie4 + section.categorie4, section.categorie5 + section.categorie5 	{ 
	margin-top:1rem; 
/*max-width:679px*/}



form, a.bouton{ 
	position:static;
	width:100%;
	line-height:20px;
/*max-width:679px*/}
span.voirsigrand{
	display:none;
/*max-width:679px*/}
}


/*@media (max-width:679px)*/
/*{*/
/*padding: .5rem 2px 1rem 250px; */
/*}*/
/* je ne sais plus de quoi il s'agit. à contrôler donc. */
