

body {
	counter-reset: h1count;
	counter-reset: seccount;
	margin-left: 15px;
	margin-right: 15px;
	padding: 0px;
	color : black;
	background-color: #FFEDEE;
	font-size:16px;
	
}


p {line-height: 1.6;
	}

div {line-height: 1.6;
	outline: none;
	}

		

h1 {font-family: Arial, Helvetica, sans-serif;
	text-align: center;
	counter-reset: h2count;
	counter-increment: h1count;}

h2 {
	background-color : #777;
	font-family: Arial, Helvetica, sans-serif;
	color:white;
	padding: 4px;
	margin-top: 20px;
	margin-bottom: 0px;
	border-radius:10px;
	border-style:solid;
	border-width:3px;
	border-color: #339;
	counter-increment: h2count;
	/*counter-reset: seccount;*/
	}
	


.mainblock {
		border-left-style: solid;
		border-width: 3px;
		border-color: #339;
		margin-left:15px;
		padding-left:10px;
		padding-top:10px;
		overflow:hidden;
		transition: max-height 1s ease-in-out;
	
		
		}



/* en tête section */
.hsection {
	font-family: Arial, Helvetica, sans-serif;
	background-color : #CCCCCC;
	color:black;
	line-height: 1.6;
	font-size:16px;
	display:block;
	margin-top:10px;
	margin-bottom: 0;
	border-radius:10px;
	border-style:solid;
	border-width:2px;
	border-color: black;
	break-after: avoid;
	
	}

/* attention la section suivante peut faire bugger*/	
.hsection::after {
	counter-increment: seccount;
	/*content: '('counter(h1count, upper-roman)'.'counter(h2count)'.'counter(seccount)')';*/
	content: '('counter(seccount)')';
	margin-left: 8px;
	margin-right: 4px;
	color: blue;
	}
/*ce simple commentaire semble éviter le bug sur les paragraphe suivant*/


.mysection {
	font-size:16px;
	border-left-style: solid;
	border-width: 2px;
	border-color: black;
	margin-left:15px;
	margin-top:0px;
	margin-bottom:0px;
	padding-left:10px;
	padding-right:10px;
	padding-top:5px;
	padding-bottom:0px;
	overflow:hidden;
	transition: max-height .8s ease-in-out;

				}




/* en tête des sections preuves, exemples ... */
	.hsubsection {
		display: block;
		font-family: Arial, Helvetica, sans-serif;
		/* font-family: "Times New Roman", Times, serif; */
		font-size:16px;
		font-style:italic;
		color:black;
		margin-top:5px;
		outline: none;
		break-after: avoid;
		background-color:transparent;
		
		}

	.mysubsection {
			font-size:16px;
			border-left-style: solid;
			border-width: 2px;
			border-color: #252;
			margin-left:15px;
			margin-top:0px;
			margin-bottom:0px;
			padding-left:10px;
			padding-right:10px;
			padding-top:5px;
			padding-bottom:0px;
			transition: max-height .5s ease-out;
			/*l'option ci-dessous activé limite l'expension en largeur de certains div à côté d'image flotante
			par contre sans l'activité l'actualisation de l'affichage laisse à désirer lors des transitions
			5 jours plus tard je découvre que sans cette option les paragraphes fermés prennent de la place*/
			overflow:hidden;
			}	



.fr {float : right;}
.fl {float : left;}
/*pour les images comme du texte centréees verticalement*/
.inlineim {vertical-align: middle;}


.ombre {
		background-color: white;
		margin-left: 15px;
		margin-right: 0px;
		margin-bottom: 10px;
		margin-top: 5px;
		padding: 5px;
		/*box-shadow: 10px;*/
		box-shadow: 6px 6px 4px rgba(0, 0, 0, 0.5);
		border-radius:10px;
		border-style:solid;
		border-width:2px;
		border-color: #000000;
		}

	.openerClose, .openerOpen {
		cursor: pointer;	
	}

	.openerClose:hover {
	  background-color: #55F;
	}
	
	.openerOpen:hover {
	  background-color: #F55;
	}

	.openerClose::before {
		content: '\002B';
		font-weight:bold;
		font-family: Arial, Helvetica, sans-serif;
		margin-right: 8px;
		color: #339;
	}
	
	
	.openerOpen::before {
	  content:  "\2212";
	  font-weight:bold;
	  font-family: Arial, Helvetica, sans-serif;
	  margin-right: 8px;
	  color: #622;
	}


	.souligne {
		border-bottom-style: solid;
		border-bottom-width: 2px;
		border-top:none;
		border-left:none;
		border-right:none;
		margin-botton:none;
		
		}

	.fullscreen { /* classe du bouton  de passage en fullscreen*/
			border:none;
			position: absolute;
			top: 15px;
			right: 15px;
			padding: 0px;
			text-align: center;
			font-size: 25px;
			border-radius:5px;
			background-color: rgba(255, 255, 255, 0); 
			color: blue;
			transition: transform .2s;
			
			}

	.fullscreen:hover {
		background-color: rgba(255, 0, 255, 0.5);
		transform: scale(1.2);
		}	
