@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: 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;
   	}

.langue
	{
	position: relative;
	margin: 0 0 0 80%;
	}
	
		@media (max-width: 466px)
	       
		{	
        .langue
	        {
	        margin: 0 0 0 78%;
	        }
	    }
	    	
		@media (max-width: 386px)
	       
		{	
        .langue
	        {
	        margin: 0 0 0 75%;
	        }
	    }
	    
ul.choix
	{
	list-style: none;
	}

li.choix
	{
	display: inline-block;
	line-height: 1em;
	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: 1em;
	}

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;
	}
    
aside
	{
	position: fixed;
	top: 0;
    z-index: 10;	
	width: 84%;
	height: 5%;
	margin-bottom: 3%;
	}

aside ul.navigation
	{
	list-style: none;
	color: white;
	font-size: 1.4em;
	font-family: "calamusdbonniniregular",serif;
	font-weight: bold;
	text-align: center;
	}

aside li.sommaire
	{
	display: inline-block;
	border: 3px white outset;
	border-radius: 8px;
	padding: 6px 10px 6px 10px;
	margin: 0px 10px 10px 10px;
	background-color: rgba(73,122,252,0.7);
	transition: color 0.8s;
	}

		/* cas particulier des smartphones tenus verticalement : réduction de police, etc. */

		@media (max-width: 811px) 
		
		{
		
		aside
			{
			position: relative;
			width: 100%;
			margin-bottom: 3%;
			}

		aside ul.navigation
			{
			font-size: 1em;
			text-align: center;
			}

		aside li.sommaire
			{
			border: 2px white outset;
			padding: 4px 6px 4px 6px;
			margin: 0px 6px 6px 6px;
			}

		}

aside a
	{
	color: white;
	text-decoration: none;
	transition: color 0.8s;
	}
	
aside a:hover
	{
	color: black;
	}

header
	{
	display: none;
	position: absolute;
	top: 0%;
	line-height: 6%;
	width: 75%;
	margin: auto;
	text-align: center;
	}

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

/* Le header masqué sur grands écrans est affiché sur les smartphones pour éviter un trou peu grancieux*/
	
		@media (max-width: 811px) 

		{

		header
			{
			display: block;
			z-index: 12;
			}
		}
		
		@media (max-width: 735px) 

		{
		header
			{
			line-height: 40px;
			}
		header h1
			{
			font-size: 2.4em;
			}
		}

		@media (max-width: 364px)
	       
		{

		header
			{
			line-height: 55px;
			}

		header h1
			{
			font-size: 2em;
			}

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

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

	
body.vie_monastique
     	{
     	width:  100%  !important;
     	max-width:  100%  !important;
     	margin: auto;
	background: white url(../images/cloitre_et_moine.jpg) fixed;
	background-size: cover;
    	}

body.eglise
     	{
     	width:  100%  !important;
     	max-width:  100%  !important;
     	margin: auto;
	background: white url(../images/interieur.jpg) fixed;
	background-size: cover;
    	}

body.icones
     	{
     	width:  100%  !important;
     	max-width:  100%  !important;
     	margin: auto;
	background: white url(../images/etabli_icones.jpg) fixed;
	background-size: cover;
    	}

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

body.catalogue_icones
 	{
     	width:  100%  !important;
     	max-width:  100%  !important;
 	margin: auto;
	background: white url(../images/exemple_icone.jpg) fixed;
	background-size: cover;
    	}

		/* cas particulier des smartphones tenus verticalement : on remplace l'image de fond par un motif */

		@media (max-width: 811px) 
		
		{

		body.vie_monastique
   		  	{
			background: white url(../images/arches.png) repeat; 
 		   	}
		
		body.eglise
		     	{
			background: white url(../images/arches.png) repeat; 
		    	}

		body.icones
 		    	{
			background: white url(../images/arches.png) repeat; 
 		   	}
		}

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

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

nav li.menu, nav li.menu-home
	{
	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-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);
	}

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;
	}

		/* cas particulier des smartphones tenus verticalement : le bloc nav passe au centre */

		@media (max-width: 811px) or (max-height: 360px)
		
		{
		
		nav
			{
			position: absolute;
			top: 0;
			left: 5%;
			width: 70%;
			padding: 3px 3px 3px 3px;
			}
	
		nav ul.menu
			{
			font-size: 1.2em;
			text-align: center;
			}

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

		nav li.menu, nav li.menu-deroulant
			{
			display: none;
			}
		}

		/* cas particulier des écrans de moins de 450 px de haut: diminution des polices et élargissement du bloc nav*/

		@media (max-height: 450px) and  (min-width: 810px)
	
		{

		nav
			{
			top: 15%;
			padding: 3px 3px 3px 3px;
			width: 23%;
			}

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

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

		/* cas particulier des écrans de moins de 420 px de haut: on masque tout dans le nav sauf un menu*/

		@media (max-height: 420px) and  (min-width: 810px)
	
		{

		nav li.menu, nav li.menu-deroulant
			{
			display: none;
			}
		}

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

nav a:hover
	{
	color: black;
	}

li.menu:hover
	{
	background-color: rgba(173,171,243,0.4);
	}

li.sommaire:hover
	{
	background-color: rgba(255,180,180,0.9);
	}

li.important
	{
	display: block;
	margin: auto;
	color: black;
	border: 3px white outset;
	border-radius: 10px;
	padding: 5px 5px 9px 9px;
	margin-top: 15px;
	margin-bottom: 15px;
	background-color: rgba(242,201,13,0.8);
	animation: clignoter 0.7s steps(2, start) 5;
	}

@keyframes clignoter
       	{
	0% { opacity:0; }
	100% { opacity:1; }	
	}

iframe
	{
		display: block;
		margin: 0 auto;
	}

section
	{
	position: absolute;
	top: 34%;
	width: 60%;
	max-width: 870px;
	margin: 0% 2% 0% 14%;
	background-color: rgba(255,255,255,0.8);
	padding: 1% 1% 1% 1%;
	color: black;
	border-radius: 20px;
	font-size: 1.4em;
	font-family: DINNextLTPro,serif;
	word-spacing: 3px;
	letter-spacing: 1px;
	font-weight: normal;
	text-align: left;
	text-indent: 4%;
	}

section.accueil_icones
	{
	position: absolute;
	top: 20%;
	width: 40%;
	margin: 0% 2% 0% 24%;
	background-color: rgba(6,5,2,0.5);
	padding: 1% 1% 1% 1%;
	color: white;
	border-radius: 20px;
	font-size: 1.5em;
	font-family: "calamusdbonniniregular",serif;
	word-spacing: 3px;
	letter-spacing: 1px;
	font-weight: bold;
	text-align: left;
	text-indent: 4%;
	}

section.expo_icones
	{
	position: absolute;
	top: 10%;
	width: 50%;
	margin: 0% 2% 0% 14%;
	background-color: rgba(6,5,2,0.5);
	padding: 1% 1% 1% 1%;
	color: white;
	border-radius: 20px;
	font-size: x-large;
	font-family: "calamusdbonniniregular",serif;
	word-spacing: 3px;
	letter-spacing: 1px;
	font-weight: bold;
	text-align: center;
	text-indent: 4%;
	}


		/* cas particulier des smartphones tenus verticalement : réaménagement */

		@media (max-width: 811px)
		
		{
		section.accueil_icones
			{
			position: relative;
			width: 84%;
			margin: 0% 2% 0% 14%;
			font-size: 1.2em;
			}
		section.expo_icones
			{
			position: relative;
			width: 84%;
			margin: 0% 2% 0% 14%;
			font-size: 1.2em;
			}
		}

section a
	{
	color: #7DD3FC;
	}

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

section p.titre
	{
	width: 60%;
	margin: auto;
	margin-top: 20px;
	margin-bottom: 20px;
	color: #C91B35;
	font-family: "calamusdbonniniregular",serif;
	font-weight: bold;
	font-size: 2em;
	border: solid 3px #C91B35;
	border-radius: 10px / 20px;
	padding: 10px 10px 10px 10px;
	background-color: rgba(255,255,255,0.5);
	text-align: center;
	letter-spacing: 2px;
	word-spacing: 8px;
	}

		/* cas particulier des smartphones tenus verticalement : réaménagement */

		@media (max-width: 811px)
		
		{

		section p.titre
			{
			width: 70%;
			font-size: 2em;
			letter-spacing: 1px;
			word-spacing: 5px;
			}
		}

		@media (max-width: 461px)
		
		{

		section p.titre
			{
			width: 80%;
			font-size: 1.5em;
			letter-spacing: 1px;
			word-spacing: 3px;
			}
		}
section h1
	{
	font-family: "calamusdbonniniregular",serif;
	font-size: 2em;
	font-weight: bold;
	color: #AD1506;
	margin-bottom: 10px;
	margin-top: 10px;
	clear: both;
	}

section h1.icones
	{
	font-family: "calamusdbonniniregular",serif;
	font-size: 2em;
	font-weight: bold;
	color: #AD1506;
	margin-bottom: 10px;
	clear: both;
	}

section h2
	{
	font-family: "calamusdbonniniregular",serif;
	font-size: 1.5em;
	color: #780C01;
	clear: both;
	line-height: 2em;
	margin-bottom: 0em;
	}

section h3
	{
	font-family: "calamusdbonniniregular",serif;
	font-size: 3em;
	font-weight: bold;
	color: #FE2007;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 10px;
	}

section img
	{
	max-width: 100%;
	height: auto;
	}

section video
	{
	border-radius: 20px;
	}

			/* cas particulier des écrans de moins de 450 xp de haut : aménagement des tailles de police, etc. */

		@media (max-height: 450px)
	       
		{

		section
			{
			position: absolute;
			top: 40%;
			margin: 0% 1% 0% 16%;
			font-size: 1.2em;
			word-spacing: 2px;
			letter-spacing: 1px;
			}
		
		section h1
			{
			font-size: 1.8em;
			clear: both;
			text-align: center;
			}

		section h2
			{
			font-size: 1.6em;
			clear: both;
			text-align: center;
			}
		}

		/* cas particulier des smartphones tenus verticalement : aménagement des tailles de police, etc. */

		@media (max-width: 811px) or (max-height: 360px)
	       
		{

		section
			{
			position: relative;
			width: 90%;
			max-width: 870px;
			margin: 0% 5% 0% 5%;
			padding: 1% 1% 1% 1%;
			font-size: 1.2em;
			word-spacing: 2px;
			letter-spacing: 1px;
			}
		
		section h1
			{
			font-size: 1.5em;
			clear: both;
			text-align: center;
			}

		section h2
			{
			font-size: 1.4em;
			clear: both;
			text-align: center;
			}
		}

section p.adresse_icones
	{
	font-size: 0.8em;
	font-style: italic;
	text-align: center;
	margin-top: 0;
	}

section a.adresse_icones
	{
	color: black;
	}

section a.adresse_icones:hover
	{
	color: #497AFC;
	}

.illustration_droite
	{
	float: right;
	margin: 1px 8px 10px 18px;
	border-radius: 12px;
	box-shadow: 6px 6px 10px black;
	}

.illustration_gauche
	{
	float: left;
	margin: 1px 18px 10px 8px;
	border-radius: 12px;
	box-shadow: 6px 6px 10px black;
	}

figure
	{
	float: right;
	margin: 1px 18px 10px 8px;
	border-radius: 12px;
	font-style: italic;
	font-size: 0.6em;
	text-align: center
	}

		/* cas particulier des écrans de moins de 450 px de large : on met toutes les illustrations au centre */

		@media (max-width: 450px)
	       
		{

		.illustration_droite
			{
			float: none;
			width: 90%;
			margin: 1% 2% 1% 1%;
			border-radius: 12px;
			box-shadow: 6px 6px 10px black;
			}

		.illustration_gauche
			{
			float: none;
			width: 90%;
			margin: 1% 2% 1% 1%;
			border-radius: 12px;
			box-shadow: 6px 6px 10px black;
			}
		}

footer.presentation
	{
	position: fixed;
	right: 0;
	width: 23%;
	height: 10%;
	bottom: 0;
	margin: auto;
	}

		/* cas particulier des smartphones tenus verticalement : on enlève le footer */

		@media (max-width: 811px) 
		
		{

		footer.presentation
			{
			display: none;
			}
		}

footer.accueil
	{
	position: absolute;
	width: 28%;
	height: 10%;
	bottom: 0;
	left: 70%;
	}

footer a
	{
	color: white;
	font-weight: normal;
	transition: color 0.8s, font-weight 1s;
	}

footer 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.5);
	}

#topp
	{
	position: fixed;
	left: 5%;
	top: 40%;
	width: 35px;
	height: 35px;
	border: 3px solid black;
	border-radius: 20px;
	background-color: rgba(0,0,0,0.5);
	opacity: 0.8;
	transition: 0.5s;
	z-index: 10;
	}

#topp:hover
	{
	border: 3px solid white;
	opacity: 1;
	}
