:root{
	--vert: #024015;
	--bleu_bandeau: #0d133e;
	--bleu: #030240;
	--rouge: #be181f;
	--nav: #faefe1;
	/* --fond: #7d8fb0; */
	--fond: lightskyblue;
	--duree_anim: 0.15s;
	--decalage_nav: -225px;
}

body, html {
	font-family: 'Open Sans', sans-serif;
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
	font-weight: 400;
	width: 100% !important;
	height: 100% !important;
	margin: 0px;
}


header{
	position: fixed;
	width: 100%;
	padding-top: 5px;
	padding-bottom: 15px;
	text-align: center;
	background-color: var(--bleu_bandeau);
	z-index: 2;
}
header h2{
	color: #dddddd;
	font-style: italic;
	font-size: 30px;
	font-weight: 500;
	line-height: 1.1;
	box-sizing: border-box;
	margin-top: 20px;
	margin-bottom: 10px;
}
header h2 {
	border-top: 2px solid orangered;
	/* border-bottom: 2px solid orangered; */
}

main{
	padding-top: 83px;
}

.avec_fond{
	background-image: url("../img/AR_plan.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

#cont_gouvernail {
	width: 94%;
	height: auto;
	max-width: 470px;
	max-height: 500px;
	padding-top: 20px;
	padding-bottom: 85px;
	margin-left: auto;
	margin-right: auto;
	font-size: 25px;
	position: relative;
}
#cont_gouvernail img{
	width: 100%;
	height: 400px;
	position: relative;
}
div.cont-lien{
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: center;
}
div.cont-lien-accueil{
	position: absolute;
	width: 160px;
	height: 45px;
	border: 2px solid #000000;
	background-color: var(--rouge);
}
div.cont-lien-nav{
	width: 140px;
	height: 45px;
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	border: 2px solid #000000;
}
div.cont-lien-nav-actif{
	width: 200px;
	height: 50px;
	margin-top: 15px;
	border: 3px solid var(--rouge);
	border-radius: 12px;
}
.cont-lien p{
		margin: 0px;
	}
.cont-lien-accueil p{
	font-size: 25px;
	color: antiquewhite;
}
.cont-lien-nav p{
	font-size: 20px;
	color: #be181f;
	font-weight: normal;
}
.cont-lien-nav-actif p{
	color: #000000;
	font-size: 32px;
	font-weight: bold;
}
.cont-lien-accueil:hover p{
	/* color:#000000; */
	text-decoration: none;
	font-weight: bold;
}
.cont-lien-nav:hover {
	border-color: #be181f;
}
.cont-lien-nav:hover p{
	color:#000000;
	text-decoration: none;
	font-weight: bold;
}
.pas_visible{
	opacity: 0;
}
#expertises{
	top: 20px;
	right: 0px;
	animation-name: anim_lien_accueil;
	animation-duration: var(--duree_anim);
	animation-delay: 1s;
}
#inspections {
	top: 20px;
	left:0px;
	animation-name: anim_lien_accueil;
	animation-duration: var(--duree_anim);
	animation-delay: 0.8s;
}
#procedures {
	left: 0px;
	bottom: 85px;
	animation-name: anim_lien_accueil;
	animation-duration: var(--duree_anim);
	animation-delay: 1.1s;
}
#societe {
	bottom: 85px;
	right: 0px;
	animation-name: anim_lien_accueil;
	animation-duration: var(--duree_anim);
	animation-delay: 0.9s;
}
#contact {
	bottom: 20px;
	right: 0px;
	animation-name: anim_lien_accueil;
	animation-duration: var(--duree_anim);
	animation-delay: 1.2s;
}
#contact p {
	color: #030240;
}
#langue1 {
	bottom: 20px;
	left: 0px;
	animation-name: anim_lien_accueil;
	animation-duration: var(--duree_anim);
	animation-delay: 1.2s;
}
.langue1 {
	border-radius: 10px;
	height: 40px;
	font-size: 20px;
	font-style: italic;
}
.langue1 p {
	color: var(--bleu);
}

#construction {
	padding-top: 25px;
	max-height: 95%;
	text-align: center;
}
#construction img{
	width: 400px;
}
#construction h2{
	font-family:Liberation serif, serif;
	font-size: 50px;
	color: #030240;
	background-color: #fcfdb0;
	padding-top: 15px;
	padding-bottom: 15px;
}
#construction h3{
	font-family:sans-serif;
	font-size: 20px;
	font-style: italic;
	color:#333333;
	margin-top: 10px;
	margin-bottom: 0px;
	padding-bottom: 10px;
}

#corps_doc{
	display: flex;
	flex-flow: row nowrap;
	background-color: var(--fond);
}

.barre-nav{
	width: 250px;
	display: flex;
	justify-content: center;
	background-image: linear-gradient(var(--nav) 90%, #f6f6f6);
	padding-top: 10px;
	padding-bottom: 25px;
	position: relative;
	z-index: 1;
	left:var(--decalage_nav);
	transition:left 0.7s;
}
.barre-nav:hover{
	left:0px;
}
div.conteneur-liens-nav{
	position: fixed;
}
.barre-nav img {
	width: 200px;
}
.barre-nav a{
	text-decoration: none;
}
.barre-nav a:hover{
	text-decoration: none;
}

#texte_principal{
	flex: 1;
	padding: 15px;
	width: 100%;
	margin-left: var(--decalage_nav);
	animation: apparition-texte 2s;
}
#texte_principal section{
	margin-bottom: 20px;
}
#texte_principal h3{
	margin-top: 10px;
	margin-left: 40px;
	color: #024015;
	font-style: italic;
}
#texte_principal p,li{
	color: #000022;
	font-size: 16px;
	letter-spacing: 0.1ex;
}
.ital{
	font-style: italic;
}
#texte_principal a{
	color: inherit;
}
#texte_principal div.image{
	height: auto;
	padding-top: 10px;
	padding-bottom: 10px;
	color: #030240;
}
#bouton_pr_modal{
	position: relative;
	display: flex;
	align-items: center;
	width: 404px;
	height: 304px;
	margin-left: auto;
	margin-right: auto;
}
img.centre{
	position: relative;
	display: block;
	margin-left: auto;
	margin-right: auto;
	top: 0px;
	border: 2px solid var(--vert);
	border-radius: 10px;
}
div.masque_survol{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(49,56,69,0.6);
	text-align: center;
	margin: 0 auto;
	padding: 30% 0 0 0;
	border-radius: 10px;
	opacity: 0;
	transition: all 0.5s;
}
div.masque_survol:hover{
	opacity: 1;
}
#texte_principal .masque_survol>h3{
	margin: 0px;
	color: antiquewhite;
	opacity: 1;
}
section.contact{
	padding-top: 1em;
}

/* Animation de l'apparition du texte */
@keyframes apparition-texte {
	from{
		opacity:0.5;
	}
	to{
		opacity:1;
	}
}

/* Animation de la page d'accueil */
#conteneur_logo_accueil{
	display: flex;
	justify-content: center;
	align-items: center;
}
#logo_accueil{
	animation-name: anim_logo_accueil;
	animation-duration: 0.8s;
}
@keyframes anim_logo_accueil {
	from{
		width: 0%;
	}
	to{
		width: 100%;
	}
}
@keyframes anim_lien_accueil{
	from{
		opacity: 0;
	}
	to{
		opacity: 1;
	}
}

/* The Modal (background) */
.modal {
 display: flex;
 position: fixed; /* Stay in place */
 left: 0;
 top: 0;
 width: 100%; /* Full width */
 height: 100%; /* Full height */
 overflow: auto; /* Enable scroll if needed */
 background-color: rgba(1,1,25,0.6);
 align-items: center;
 justify-content: center;
}
/* Modal Content/Box */
.modal-content {
 background-color: transparent;
 border: none;
}
.ini_modal{
	display: none;
}
.cache_modal{
  z-index:-1;
  opacity:0;
  animation: hide 0.5s;
}
.aff_modal{
  opacity:1;
  z-index:2;
  animation: show 0.5s;
}
@keyframes hide {
  from{
    z-index:2;
    opacity:1;
  }
 	to{
    z-index:-1;
    opacity: 0;
  }
}
@keyframes show {
	from {
    opacity:0;
    z-index:-1;
	}
	to {
    opacity: 1;
    z-index:2;
	}
}

/* Footer Section*/
#footer {
	background: #f6f6f6;
	padding: 10px 0;
	z-index: 0;
}
#footer p {
	color: #888;
	font-size: 14px;
	padding-bottom: 5px;
}
#webmail {
	color: #608dfd;
}
.AIZ a:hover {
	border-bottom: 2px solid #12214b;
	text-decoration: none;
}
.AIZ{
	margin-top: 6px;
	font-family: sans-serif;
	font-weight: lighter;
	font-style: italic;
}
.AIZ a {
	color: #12214b;
}

@media (max-width: 804px) {
	.modal-content{
		width: 100%;
	}
	img.fermeture_modal{
		box-sizing: border-box;
		width: 100%;
	}
}
@media (max-width: 500px) {
	#cont_gouvernail{
		margin-bottom: 13vw;
	}
	div.cont-lien-accueil{
		width: 32vw;
		height: 9vw;
		border-width: 0.5vw;
	}
	#english{
		height: 8vw;
		bottom: -13vw;
	}
	.cont-lien-accueil p{
		font-size: 5vw;
	}
	#construction h2 {
		font-size: 36px;
	}
	nav{
		width: 50vw;
	}
	nav img{
		width: 80%;
	}
	#footer p {
		font-size: 12px;
	}
}
@media (max-width: 300px) {
	header h2{
		font-size: 10vw;
	}
	#footer p {
		font-size: 10px;
	}
	}
