@charset "utf-8";
/* CSS Document */

body {
	font-family:arial;
	font-size: 12pt;
	}
	
		@font-face {
    font-family: "old";
    src: url(font/old.ttf);
				}
			

A {
  
  text-decoration: ;
  color:black;
}

A:hover {
  color:black;
  text-decoration: none;
}

A:visited {
	color:black;
	
}
H1 {
  
  font-family: old, serif;
  font-size: 16pt;
  text-align: left;
  line-height: 100%;
  font-style:normal;
  
}

H2 {
  
font-family: old, serif;
font-size: 30pt;
text-align: left;
line-height: 100%;
font-style:normal;

}


H3 {
  
  font-family: old, serif;
		font-size: 16pt;
  text-align: center;
  line-height: 100%;
		font-style:normal;
}


.titredroit { 
 width:40%;
 float: right; 
 margin : 5px 15px 5px 0px; 
 text-align: center;
 border-top:4px double red;
 border-bottom:4px double red;
 padding:4px 4px 4px 4px ;
 margin-left: 20px;
	font-family: old, serif;
	font-size: 16pt;
 line-height: 100%;
	font-weight: bold;
}
  
 
.imagedroite { 
  float: right; 
  margin : 5px 0px 5px 15px; 
  border-width:1px;
  border-style:outset;
  border-color:black;
  display: block;
}

 /*  5. === MENU HAUT === */
.menu_haut {
  background: #f1f1f1;
  border-radius: 4px;
  padding: 0;
  margin: 10px auto;
  max-width: 840px;
  font-size: 1rem;
}

/* Bouton mobile */
.menu-toggle {
  display: none;
  background: #004080;
  color: #fff;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
  border-radius: 4px;
}

/* Liste principale */
.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.menu-list li {
  position: relative;
}

/* Boutons principaux */
.dropbtn {
  padding: 8px 12px;
  cursor: pointer;
  color: #004080;
  text-decoration: none;
  display: inline-block;
}

.dropbtn:hover {
  background: #004080;
  color: #fff;
  border-radius: 3px;
}

/* Sous-menus */
.dropdown-content {
  display: none;
  position: absolute;
  background: white;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 1000;
}

.dropdown-content li a {
  display: block;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
}

.dropdown-content li a:hover {
  background: #004080;
  color: white;
}

.dropdown-content.show {
  display: block;
}

/* === Responsive === */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .menu-list {
    display: none;
    flex-direction: column;
    background: #f1f1f1;
    border-radius: 4px;
    margin-top: 5px;
    padding: 10px;
  }

  .menu-list.active {
    display: flex;
  }

  .dropdown-content {
    position: relative;
    box-shadow: none;
    background: #e9e9e9;
    border-radius: 4px;
  }

  .dropdown-content li a {
    padding-left: 20px;
  }
}

.italique {
	font-family: Times;
	font-style: italic;
	font-size: 12pt;
	top: 5px;
}

.cap {
  font-variant: small-caps;
}

div#calendrier {
	clear:both;	
	 margin-left: auto;
  margin-right: auto;
	background-color: #ae8964;
	width: 220px;
	height: auto;
	line-height: 10pt;
	padding-bottom: 10px;
	border-left: 1px inset #EC1216;
	border-right: 1px groove #EC1216;
	border-bottom: 1px groove #EC1216;
	border-top: 1px groove #EC1216;
  }

   
  div#bloc260x3 {
  clear:both;
  background-color: white;
  padding-top: 5px;
  padding-bottom: 5px;
  width: 90%;
  height:auto;
  border-right:none;
  border-bottom:none;
  font-family: arial;
  font-size: 12pt;
  text-align: left;
  line-height: 16pt;
   
  }

 
 .imagecentre {
  
  border-width:1px;
  border-style:outset;
  border-color:black;
  display: block;
  margin-top: 0px;
  margin-left: auto;
  margin-right: auto;
 }
 

	  
.imagegauche { 
  width:100px;
  height:auto;
  float: left; 
  margin : 5px 15px 5px 0px; 
  
}
  
 
.imagedroite { 
   width:100px;
  height:auto;
  float: right; 
   margin : 5px 0px 5px 15px;
}

.box220 {
display:block;	
 float:center;
 background-color: white;
  padding-top: 5px;
  padding-bottom: 10px;
   width: 90%;
  height: auto;
  border-bottom:1px groove grey;
  text-align: justify;
  font-family:arial;
  font-size:13pt;
  -webkit-border-radius: none;
  border-radius:none;
  border-top-width:none;
  border-right-width: none;
  border-bottom-width: none;
  border-left-width: none;
  border-top-color: none;
  border-right-color: none;
  border-bottom-color: none;
  border-left-color: none;
  border-top-style: none;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
 
   } 
	
	
	.box220nob {
	display:block;
	 background-color: white;
  padding-top: 5px;
  padding-bottom: 10px;
		width:100%;
  height: auto;
  border-bottom:1px groove grey;
	line-height: 20pt;
  text-align: left;
	 } 				
		
.box260 {
	display:block;
	background:none;
	background-image: url("images/fond_260.jpg");
	color:black;
	padding: 5px;
	width:100%;
	height: auto;
	border-right: 1px groove grey;
	border-bottom: 1px groove grey;
	font-family: arial;
	font-size: 12pt;
	text-align: left;
	line-height: 20pt;
  }

		
.box260sfd {
	display:block;
	background:none;
	background-image: url("images/fond_260.jpg");
		height: auto;
		width:100%;
	padding: 5px;
	border-right: none;
	border-bottom: 1px groove grey;
	font-family: arial;
	font-size: 12pt;
	color:black;
	text-align: left;
	line-height: 20pt;
  }
		
		
/* === CSS Mobile Optimisé pour toutes les boxes principales === */
@media screen and (max-width: 450px) {

 .box520,
.box520sfd,
.box390,
.box390sfd,
.box2col {
  width: 90%;
  margin: 0 auto;       /* pour centrer la box */
  position: relative;   /* essentiel pour ::after */
}

.box520::after,
.box520sfd::after,
.box390::after,
.box390sfd::after,
.box2col::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;          /* largeur du fondu = largeur de la box */
  height: 25px;         /* ou 35px selon ton goût */
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,1) 100%
  );
}


  /* Supprimer les marges parasites des H1 dans les boxes */
  .box520 h1,
  .box520sfd h1,
  .box390 h1,
  .box390sfd h1,
  .box2col h1,
  .box780sfd h1 {
    margin-top: 0;
    margin-bottom: 8px;
    line-height: 1.1;
  }
}

		
.box390 {
  background-color: white;
  border-right: none;
  border-bottom:1px groove grey;
  font-family: arial;
  text-align: left;
    
  }
		
.box390sfd {
  
  background-color: white;
  border-right: none;
  border-bottom:1px groove grey;
  font-family: arial;
  text-align: left;
    }
		
.box520 {
  display:block;
	background-color: white;
  		border-right: none;
  border-bottom:1px groove grey;
  font-family: arial;
   text-align: left;
  
  }

.box520sfd {
	 background-color: white;
  padding-top: 5px;
  border-right: none;
  border-bottom:1px groove grey;
  font-family: arial;
  text-align: left;
    }
		
.box780sfd {
  background-color: white;
  border-bottom:1px double grey;
  font-family: arial;
  text-align: left;
   
  }
		
.box2col {
  clear:both;
  background-color: white;
  border-right: none;
  border-bottom:1px solid grey;
  font-family: arial;
   text-align: left;
   -webkit-hyphens: none;
   -moz-hyphens: none;
   -ms-hyphens: none;
   hyphens: none;
	-webkit-column-count: 1;
   -moz-column-count: 1;
   column-count: 1;

} 
.contenant780 {

width:100%;
height: auto;
}

  
		
footer {
  font-size: 0.9rem;
  text-align: center;
  margin-top: 2rem;
}


.box260 a:link {color:maroon;} 
.box260 a:visited {color:maroon;}
.box260 a:hover {color:maroon;} 
.box260 a:active {color:maroon;}

.box260sfd a:link {color:maroon;} 
.box260sfd a:visited {color:maroon;}
.box260sfd a:hover {color:maroon;} 
.box260sfd a:active {color:maroon;} 
