@font-face 
    {
    font-family: 'calamusdbonniniregular';
    src: url('../polices/calamusdbonnini-regular-webfont.eot');
    src: url('../polices/calamusdbonnini-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../polices/calamusdbonnini-regular-webfont.woff2') format('woff2'),
         url('../polices/calamusdbonnini-regular-webfont.woff') format('woff'),
         url('../polices/calamusdbonnini-regular-webfont.svg#calamusdbonniniregular') format('svg');
    font-weight: normal;
    font-style: normal;
    }

@font-face {
    font-family: 'DINNextLTPro';
    font-weight: 500;
    font-style: bold;
    src: url("../polices/DINNextLTPro-Bold.woff") format('woff'); 
}

@font-face {
    font-family: 'DINNextLTPro';
    font-weight: 400;
    font-style: normal;
    src: url("../polices/DINNextLTPro-Regular.woff") format('woff');     
}

@font-face {
    font-family: 'DINNextLTPro';
    font-weight: 400;
    font-style: italic;
    src: url("../polices/DINNextLTPro-Italic.woff") format('woff');     
}

@font-face {
    font-family: 'DINNextLTPro';
    font-weight: 300;
    font-style: normal;
    src: url("../polices/DINNextLTPro-Light.woff") format('woff');     
}

@font-face {
    font-family: 'DINNextLTPro';
    font-weight: 300;
    font-style: italic;
    src: url("../polices/DINNextLTPro-LightItalic.woff") format('woff');     
}

html
   	{
	   scroll-behavior: smooth;
   	}

header
	{
	height: 7%;
	position: relative;
	top: 0%;
	line-height: 6%;
	text-align: center;
	}

header h1
	{
	color: white;
	font-size: 3.7em;
	font-family: "calamusdbonniniregular",serif;
	font-weight: bold;
	text-align: center;
	text-shadow: 5px 5px 5px #242A44;
	}


		/* en-dessous de 862 px de large, le header n'est plus lisible : on réduit la taille de police selon la largeur dispo */

		@media (max-width: 861px)
	       
		{

		header h1
			{
			font-size: 2.8em;
			}

		}

		@media (max-width: 666px)
	       
		{

		header
			{
			line-height: 350%;
			}

		header h1
			{
			font-size: 3em;
			}

		}

		@media (max-width: 354px)
	       
		{

		header
			{
			line-height: 350%;
			}

		header h1
			{
			font-size: 2.7em;
			}

		}
header a
	{
	color: white;
	text-decoration: none;
	transition: color 0.6s;
	}

header a:hover
	{
	color: #497AFC;
	}

.avertissement
	{
	position: relative;
	top: 50%;
	left: 90px;
	animation: clignoter 1s steps(5, start) infinite;
	display: none;
	transition: none;
	}

.langue
	{
	position: absolute;
	top: 1%;
	right: 2%;
	}

	@media (max-width: 1056px)
	       
		{
		.langue
			{
			position: fixed;
			top: 45%;
			right: auto;
			}
		}

ul.choix
	{
	list-style: none;
	}

li.choix
	{
	display: inline-block;
	background-color: rgba(255,209,142,0.5);
	border: 3px #FCAF3E outset;
	border-radius: 9px;
	margin: 5px 10px 5px 10px;
	padding: 4px 6px 0px 6px;
	font-family: 'DINNextLTPro',serif;
	color: black;
	font-size: 1.3em;
	}

ul.choix a
	{	
	text-decoration: none;
	}

li.choix:hover
	{
	background-color: rgba(30,63,109,0.8);
	border: 3px white outset;
	color: white;
	transition: 0.5s;
	}

body.accueil
     	{
     	width:  100%  !important;
     	max-width:  100%  !important;
     	margin: auto;
	background: white url(../images/lx-lm_56.jpg) no-repeat fixed;
	background-size: cover;
    	}

body.mentionslegales
     	{
     	width:  100%  !important;
     	max-width:  100%  !important;
     	margin: auto;
	background: white url(../images/lx-lm_nef.jpg) no-repeat fixed;
	background-size: cover;
    	}

@keyframes clignoter
       	{
	0% { opacity:1; }
    	50% { opacity:0; }
	100% { opacity:1; }	
	}
     
      /* en-dessous de 430 px, on change l'image de fond pour demander de tenir l'appareil horizontal*/

		@media (max-width: 430px)
	       
		{

		body.accueil
		     	{
			background: white url(../images/accueil_vertical.jpg) no-repeat fixed;
			background-size: cover;
			}

		div.avertissement
			{
			display: block;
			}
		}

nav
	{
	position: fixed;
	right: 2%;
	width: 20%;
	height: 77%;
	padding: 8px 8px 8px 8px;
	}

nav ul.menu
	{
	display: block;
	list-style: none;
	color: white;
	font-size: 1.5em;
	word-spacing: 3px;
	font-family: "calamusdbonniniregular",serif;
	font-weight: bold;
	text-align: left;
	border: none;
	}

nav li.menu, li.menu-developpe
	{
	display: block;
	border: 3px white outset;
	border-radius: 10px;
	padding: 5px 5px 9px 9px;
	margin-top: 15px;
	margin-bottom: 15px;
	background-color: rgba(255,0,0,0.5);
	transition: color 0.8s;
	}

nav li.menu-developpe
	{
	display: none;
	}

nav li.menu-deroulant
	{
	display: block;
	border: 3px white outset;
	border-radius: 10px;
	padding: 5px 5px 9px 9px;
	margin-top: 15px;
	margin-bottom: 15px;
	background-color: rgba(255,0,0,0.5);
	}

	/* équipements sans survol: on développe le menu déroulant*/

	@media (hover: none)
	
	{
		nav li.menu-deroulant
			{
			display: none;
			}

		nav li.menu-developpe
			{
			display: block;
			}
	}

nav ul.sous-menu
	{
	height: 0;
	overflow: hidden;
	list-style: none;
	transition: .8s all .3s;
	}

nav li:hover ul.sous-menu 
	{
	height: 65px;
	display: block;
	padding: 0 0 0 0;
	}

nav ul.navigation
	{
	display: block;
	list-style: none;
	color: white;
	font-size: large;
	font-family: "calamusdbonniniregular",serif;
	font-weight: bold;
	text-align: left;
	border: none;
	}

nav li.navigation
	{
	display: block;
	border: 3px white outset;
	border-radius: 5px;
	padding: 3px 3px 6px 6px;
	margin-top: 10px;
	margin-bottom: 10px;
	background-color: rgba(255,0,0,0.5);
	transition: color 0.8s;
	}

		/* écrans étroits : en-dessous de 1050 px de large, on réduit les polices */

		@media (max-width: 1051px)
	       
		{

		nav
			{
			top: 20%;
			width: 20%;
			z-index: 10;
			padding: 4px 4px 4px 4px;
			}

		nav ul.menu
			{
			font-size: 1.2em;
			text-align: center;
			}

		nav li.menu
			{
			border: 2px white outset;
			padding: 3px 3px 6px 6px;
			margin-top: 10px;
			margin-bottom: 10px;
			}
		}

		@media (max-width: 851px)
	       
		{
	
		nav
			{	
			z-index: 10;
			right: 1%;
			width: 158px;
			padding: 4px 4px 4px 4px;
			}
			
		nav ul.menu
			{
			font-size: 1em;
			text-align: center;
			}

		nav li.menu,li.menu-developpe
			{
			border: 2px white outset;
			padding: 2px 2px 4px 4px;
			margin-top: 5px;
			margin-bottom: 5px;
			}

		}

	  /* en-dessous de 430 px, on supprime le bloc nav*/

		@media (max-width: 430px)
	       
		{
		nav
			{
			display: none;
			}
		}

nav a
	{
	text-decoration: none;
	color: white
	}

nav a:hover
	{
	color: black;
	}

li.menu:hover, li.navigation:hover
	{
	background-color: rgba(255,180,180,0.5);
	}

section
	{
	position: relative;
	width: 70%;
	margin: 5%;
	background-color: rgba(0,0,0,0.6);
	border-radius: 20px;
	padding: 1% 1% 1% 1%;
	color: white;
	font-size: 1.4em;
	font-family: "DINNextLTPro",serif;
	word-spacing: 3px;
	letter-spacing: 1px;
	font-weight: 300;
	text-align: left;
	text-indent: 4%;
	}

		/* écrans peu larges : le bloc section est réduit pour faire place au bloc nav*/

		@media (max-width: 1051px)
	       
		{

		section
			{
			width: 60%;
			margin: 5%;
			font-size: large;
			}
		}

		/* écrans étroits : le bloc section passe en pleine largeur et au centre */

		@media (max-width: 751px)
	       
		{

		section
			{
			width: 90%;
			margin: auto;
			font-size: large;
			}
		}

section p.patience
	{
	width: 70%;
	margin: 0 auto 30px auto;
	background-color: rgba(233,173,6,0.7);
	font-family: "DINNextLTPro",serif;
	font-weight: 400;
	font-size: 1em;
	text-align: left;
	border: solid black;
	border-radius: 10px;
	padding: 2% 2% 2% 2%;
	}

section a.lien
	{	
	display: block;
	width: 40%;
	margin: 20px auto 20px auto;
	background-color: #FAE95B;
	border: solid #37128F 5px;
	border-radius: 10px;
	color: #37128F;
	font-family: "DINNextLTPro",serif;
	font-size: 1em;
	font-weight: 500;
	text-decoration: none;
	padding: 20px 20px 20px 20px;
	}

section a.lien-2
	{
	color: #0900F1;
	}

.important
	{
	font-weight: 500;
	}

section h3
	{
	line-height: 0.1em;
	font-family: "calamusdbonniniregular",serif;
	font-size: 1.8em;
	font-weight: bold;
	color: red;
	}

section a
	{
	color: #7DD3FC;
	}

section a:hover
	{
	color: #497AFC;
	font-weight: bold;
	transition: color 0.8s, font-weight 0.8s;
	}

section ul
	{
	font-family: DINNextLTPro,serif;
	text-align: center;
	list-style: none;
	}

section li
	{
	font-size: 0.9em;
	}

footer
	{
	position: relative;
	width: 28%;
	height: 10%;
	bottom: 0;
	margin: auto;
	}

footer.accueil
	{
	position: fixed;
	width: 22%;
	height: 10%;
	bottom: 0;
	right: 1%;
	}

	/* écrans étroits : le footer est centré */

		@media (max-width: 991px)
	       
		{
		
		footer
			{
			width: 40%;
			}

		footer.accueil
			{
			width: 80%;
			margin: auto;
			}
		}
		
footer a, footer.accueil a
	{
	color: white;
	font-weight: normal;
	transition: color 0.8s, font-weight 1s;
	}

footer a:hover, footer.accueil a:hover
	{
	font-weight: bold;
	color: #B4E9FC;
	}

footer p.mentions
	{
	display: inline-block;
	border: 1px grey inset;
	border-radius: 10px;
	padding: 5px 5px 7px 7px;
	margin-left: 6px;
	color: white;
	font-size: 0.8em;
	text-align: center;
	background-color: rgba(0,0,0,0.8);
	}

