/* Feuille de style du site www.vandpatr.domainepublic.net */
/* Dernière modification le 20221230-0712 */

body
{
    margin          : 0;
		background-color	: #F2EDE9; /* Light grayish orange */
}

#fixe-haut
{
    background      : #6c123c; /*mauve*/
    height          : 30px;
    position        : fixed;
    top             : 0;
    width           : 100%;
    left            : 0;
	  text-align			:	center;
}

#fixe-haut a
{
	width           : 900px;
	margin          : auto;
	color           : #ccc;
	font-weight		  : bold;
	font-size		    : 25px;
	font-style		  : italic;
	padding-top     : 25px;
}

#fixe-bas
{
    background      : #f0f0f0;
    height          : 40px;
    border-top      : 2px solid #dedede;
    position        : fixed;
    bottom          : 0;
    width           : 100%;
    left            : 0;
}
	
#fixe-bas p
{
    text-align      : center;
    color           : #a7a7a7;
    font            : normal 11px;
    padding-top     : 12px;
    margin          : 0;
}

#content
{
    padding         	: 35px 0 42px 0;
    width           	: 100%;
    margin          	: auto;
    font            	: normal 12px;
		/*background-color	: #f8e9d9; */
}

	h1
	{ 
		margin-top		: 0.25em;
		margin-left		: 1.0em;
		margin-bottom	: 0.25em;
    	font-style		: italic;
		color			: #704214
	}

	h2
	{ 
		margin-top: 1em;
		margin-left: 2.0em;
		margin-bottom: 0.25em;
    	font-style: italic;
		color: #704214
	}
    	
	h3
	{ 
		margin-top: 0.5em;
		margin-left: 3.0em;
		margin-bottom: 0.5em;
    	font-style: italic;
		color: #704214
	}
    	
	h4
	{ 
		margin-top: 0.5em;
		margin-left: 4.0em;
		margin-bottom: 0.5em;
    	font-style: italic;
		color: #704214
	}

	p
	{
		margin-top: 0.2em;
		margin-left: 3.5em;
		margin-right: 2em;
		margin-bottom: 0.5em;
		text-align:justify;
		color: #704214
	}

	dl
	{
		margin-top: 0.2em;
		margin-left: 3.5em;
		margin-right: 2em;
		margin-bottom: 0.5em;
		text-align:justify;
		color: #704214
	}

.lettrine::first-letter  /* Lettrine par exemble au premier paragraphe */
{
    color: 						teal ;
    font-weight:			bold ;
    font-size:				3em ;
    text-decoration:	none ;
		padding-right: 		0.1em;
  	float: 						left;
}

	b
	{
  		color: teal;
  		font-weight: bold;
	}

	q:before {content:"« "}
  	q:after {content:' »'}


	li
			{
			margin-top: 0.2em;
			/*margin-left: 3.5em;*/
			/*margin-right: 2em;*/
			margin-bottom: 0.5em;
			text-align:justify;
		  color: #704214
			}

			.retrait
			{
			margin-left: 50px;
    	font-style: italic;
			}

			.list            				/*------uniquement pour la liste de premier niveau-------*/
			{
			margin-top: 0.2em;
			margin-left: 3.5em;
			margin-right: 2em;
			margin-bottom: 0.5em;
			text-align:justify;
		  color: #704214
			}

			.listtiret            /*------uniquement pour la liste de premier niveau-------*/
			{  
    	list-style-type: none;  
  		}

			a[name]
			{
			padding-top: 31px;
			}

			.center            /*------pour center une partie du texte de la page-------*/
			{
			text-align:center;
			/* margin-left:auto; */
			/* margin-right:auto; */
			color: #704214
			}

			.titresite            /*------pour center le titre principal de la page-------*/
			{
			text-align: center;
			color: #704214
			}

			.titrepage            /*------pour center le titre de la page-------*/
			{
			text-align: center;
			margin-bottom: 2em;
			color: green
			}

			.soustitre            /*------pour center le titre principal de la page-------*/
			{
			color: #FF8C00
			}

			.imggauche
			{
			float: left;
			margin-left: 50px;
			margin-right: 10px;
			margin-top: 2.5px;
			margin-bottom: 2.5px;			
			}

			.imgcentre
			{
			/*float: center;*/
			/* text-align: center; */
			margin-left:auto;
			margin-right:auto;
			}

			.imgdroite
			{
			float: right;
			margin-left: 10px;
			margin-right: 50px;
			margin-top: 2.5px;
			margin-bottom: 2.5px;			
			}

			.textgauche
			{
			display: inline-block;
			float: left;
			}

			.textcentre
			{
			display: inline-block;
			float: center;
			}

			.textdroite
			{
			display: inline-block;
			float: right;
			}

  		a:link
			{
    		color: #008000;
			text-decoration: none 			/* Les liens ne seront plus soulignés */
			}
  		a:focus 							/* Quand le visiteur a déjà vu la page concernée */
			{
    		color: #ff0000;
			}

		.lien_ext a:link					/* Quand le lien pointe vers une page externe */
			{
    		color: navy;
		text-decoration: none 			/* Les liens ne seront plus soulignés */
			}
		.lien_ext a:focus				/* Quand le visiteur a déjà vu la page concernée */
			{
    		color: navy;
		text-decoration: none 			/* Les liens ne seront plus soulignés */
			}
			
			/* https://www.alsacreations.com/tuto/lire/556-liens-externes-nouvelle-fenetre.html */
		a.lien_ext:after
			{
				/* content: " (lien externe)\0000a0[\2197]"; */
			content: " \0000a0[\2197]";
			}

  		#address
			{
    		color					: gray;
    		margin-top		: .5em;
				padding-left	: 2em;
    		padding-top		: .5em;
  			text-align    : left;
    		border-top		: thin dotted
			}

		.bouton
		{
		color						: gray;
		margin-bottom		: .5em;
		padding-left		: 2em;
		padding-bottom	: .5em;
		text-align    	: left;
		border-bottom		: thin dotted
		}
    
		#langue            /*------pour choisir la langue de lecture-------*/
		{
		text-align	:left;
		color		: #6F603D
		}

		.intro
		{
  		color		: teal;
  		font-weight	: bold;
		}

		.introsite
		{
  		color		: gray;
		text-align	: center;
		}

		.remarque
		{
  		color				: teal;
		text-align			: left;
  		font-weight			: bold;
  		font-size			: 30px;
  		font-style			: italic;
		}

		copyright
		{
  		color				: teal;
  		font-weight			: bold;
		}

		.question
		{
			margin-left: 5.5em;
		}

		.reponse
		{
			margin-left: 7.5em;
		}

		blockquote {
			border-left : 5px solid /*transparent*/;
			border-color: /*#BF4D28*/ red;
			background-color: #F7F7F7;
			padding: 16px;
			display: block;
			font-style: italic;
    			/*font-weight: bold;*/
    			color	: 	/*#704214*/ teal;
			margin: 0 auto;
			clear: both;
			float: none;
			width: 80%;
		}

		#logosw3c {
		/*   border: 1px solid olive; */
  		margin: 0px 0px 0px 0px; 
  		clear:left; 
  		padding-top: 50px;
  		text-align: center;
		}
		
			table
			{
  			width: 50%; /* La largeur c'est pour le test, mais ça montre qu'il est aussi possible de la spécifier en CSS */
  			border: 1px /*dashed*/ gray; /* Et on met une jolie bordure originale autour du tableau */
				margin-left:auto;
				margin-right:auto;
			}
			caption
			{
  			text-align: center; /* Classique : texte centré */
  			font-style: italic; /*             en italique  */
  			font-weight: bold;  /*             en gras      */
  			color: #0066CC;     /*             et en bleu   */
			}
			th /* Préférable à thead car offre plus de possibilités */
			{
  			background-color: #D3E2ED;  /* Chaque case d'en-tête aura un fond bleu */
  			color: #666666;             /* Et un gris un peu plus foncé que la moyenne */
			}
			td
			{
  			border: 1px inset gray;   /* Vous pouvez essayer de dé-commenter : cela produit un affichage classique des cases */
			}

/* Feuille de styles mobile */
/* https://www.alsacreations.com/astuce/lire/1177-une-feuille-de-styles-de-base-pour-le-web-mobile.html */ 

@media (max-width: 640px) {
	* {
		box-sizing: border-box;
	}
	
	/* passer body (et tous les éléments de largeur fixe) en largeur automatique */

	body {
		width: auto;
		margin: 0;
		padding: 0;
	}
	
	/* fixer une largeur maximale de 100% aux éléments potentiellement problématiques */

	img,
	table,
	td,
	blockquote,
	code,
	pre,
	textarea,
	input,
	iframe,
	object,
	embed,
	address,
	video {
		max-width: 100%;
	}
	
	/* conserver le ratio des images */

	img {
		height: auto;
	}
	
	/* gestion des mots longs */

	textarea,
	table,
	td,
	th,
	code,
	pre,
	samp {
		-webkit-hyphens: auto; /* césure propre */
		-moz-hyphens: auto;
		hyphens: auto;
		word-wrap: break-word; /* passage à la ligne forcé */
	}
	
	code,
	pre,
	samp {
		white-space: pre-wrap; /* passage à la ligne spécifique pour les éléments à châsse fixe */
	}
	
	/* Passer à une seule colonne (à appliquer aux éléments multi-colonnes) */

	.element1,
	.element2 {
		float: none;
		width: auto;
	}
	
	/* masquer les éléments superflus */

	.hide_mobile {
		display: none !important;
	}
	
	/* Un message personnalisé */

	body:before {
		content: "Version mobile du site";
		display: block;
		text-align: center;
		font-style: italic;
		color: #777;
	}
}

/* La touche finale : réduire de façon harmonieuse toutes les tailles de polices en orientation paysage (car bugguée sur les périphériques iPhone et iPad). */

@media (max-device-width:768px) and (orientation: landscape) {
  html {
   -webkit-text-size-adjust: 100%;
   -ms-text-size-adjust: 100%;
  }
}

