
/* --- STYLES DE BASE POUR LE TEXTE ET LES PRINCIPAUX ÉLÉMENTS --- */

/* Page */

html {
	height: 100%;
	margin: 0px;
	padding: 0px;
	background-attachment: fixed;
	background-image: linear-gradient(#c7eafc, #ffffff); /* Norme W3C */	
	/* background: red; /*couleur de débugage*/
	}
	
body {
	font-size: .8em;	
	margin: 33px 0 0 0;	
	line-height: 1.25;
	font-family: Verdana, "Bitstream Vera Sans", "Lucida Grande", sans-serif;
	height: 95%;
	min-height: 95%;
	/* max-width: 1400px; */
	margin-left: auto;
	margin-right: auto;		
	}
	
section {	
	text-align: center;
	width:99%;
	/*min-height:90%;*/
	border: 0px solid #97dae3;
	margin-top: 0.4em;
	padding: 0.5em;
	display: flex;
}

aside {
	width: 13%;
	min-width: 225px;
	max-width: 260px;
	margin-left: 1em;
	border: 0px solid #97dae3; /* passer à 1 pour débuggage*/	
	padding: .5em;
}

article, aside {
	margin-top: .5em;			
}

article {
	flex:1;
	min-width: 400px;	
	max-width: 1400px;
	min-height: 90vh; /* For 90% screen height */	
	background-color: #ffffff; 
	text-align: left;
	border: 1px solid #97dae3;	
	border-radius: 10px;
	margin: .5em auto;
	padding: 2em;
}
	
nav {	
	position: -webkit-sticky;
	position: sticky;
	top: 48px;
}

div {
	/*margin-top: 8px;*/
	padding: 5px;	
	border: 0px solid #97dae3;	
}

textarea{
	resize:none;
}


/* Titres */
h1, h2, h3, h4, h5, h6 {
	margin: .3em 0; /* -> 6 */
}
h1, h2 {
	font-family: Georgia, "Bitstream Vera Serif", Norasi, serif;
	font-weight: normal; /* -> 7 */
}
h1 {
	font-size: 2.5em; /* -> 8 */
	font-style: italic;
}
h2 {font-size: 2em;}
h3 {font-size: 1.5em;}
h4 {font-size: 1.1em;}


/* Les tables*/
table {
	width:100%;	
	border-style: solid;
	border-width: 1px;
	border-color:#97dae3;
	padding: 0.4em 0.4em 0.4em 0.4em;
	border-collapse: collapse;
}

tr { 
	border-style: solid;
	border-width: 0px;  /* passer à 1 pour débuggage tableau*/
	border-color:#97dae3;
}

td, th {
	border-style: solid;
	border-width: 0px;  /* passer à 1 pour débuggage tableau*/
	border-color:#97dae3;
	/*padding: 0.2em 0.5em; /* test des padding*/
	padding: .25em .5em;
	height: 1.8em;	
	text-align: left;	
}

td.up, th.up {
	vertical-align: top;
	padding-top : .65em;
}

hr {
	border-style: solid;
	border-width: 1px;
	border-color:#97dae3; /*#3399FF;*/
	width: 80%;
}	

caption {
	font-size: 1.2em;
	margin: .5em .5em;
	text-align: left;
	font-weight: 700;
}
	

/* Listes */
ul, ol {
	font-weight: normal;
	margin: .75em 0 .75em 2em;
	padding: 0; /* -> 9 */
}
ul {
	list-style: square;
}
li {
	margin: 0;
	padding: 0;
}


/* Paragraphes */
p {
	margin: .5em .5em;
}

li p, blockquote p {
	margin: .25em .5em;
}

fieldset {
	border-style: solid;
	border-width: 1px;
	border-color:#97dae3;	
	border-radius:13px;	
	background-color: #ffffff;
	margin: 1em auto;
}

legend, .legend {
	border: solid 2px #97dae3;	
	border-radius: 13px;	
	font-size: 1.4em;
	background-color: #ffffff;
	padding: .2em 1em;
	margin-bottom: .4em;
}

.legend {
	float: left;
	margin-left: .8em;
	margin-top: -1.4em;
}

/* Citations */
blockquote, q {
	font-size: 1.1em;
	font-style: italic;
	font-family: Georgia, "Bitstream Vera Serif", Norasi, serif;
}

blockquote {
	margin: .75em 0 .75em 2em;
}

cite {
	font-style: italic;
}


/* Liens */
a {
	color: mediumblue;
	text-decoration: underline;
	cursor: pointer;
}
a:hover, a:focus {
	color: crimson;
}
a img {
	border: none; /* -> 10 */
}

/* Divers éléments de type en-ligne */
em {
	font-style: italic;
}
strong {
	font-weight: bold;
	color: dimgray;
}


/* pied de page*/
footer {
    clear: both;
	position: relative;    
	bottom: 0px; 		
	text-align: center;	
	}

/* boutons*/
input[type=submit], 
input[type=button], 
input[type=reset] {
	margin-left:5px;
	cursor:pointer;
 }
  
input[type=submit],
input[type=text], 
input[type=password],
input[type=number],  
input[type=date],
input[type=time],  
input[type=tel], 
input[type=email], 
input[type=url], 
input[type=checkbox], 
input[type=file],
input[type=button], 
textarea, 
select {	
	padding : 4px 6px;
	border-radius : 5px;
	
}

select {
	background-color : #ffffff;
}

@keyframes slide {
  from {
    background-position-x: 0;
  }
  to {
    background-position-x: 113px;
  }
}
