html { overflow-x: hidden; }
body { overflow-x: hidden; background-color: #FFF; }

/* STRUCTURE */

.width-max { display: table; table-layout: fixed; word-spacing: -4em; }

a { cursor: pointer; }

p, h1, h2, h3, h4 { color: #3e3f3f; }

img { border-radius: 3px; }

p {
	width: 100%;
	margin: 20px 0;
	font-family: 'light';
	font-size: 14px;
	line-height: 24px;
	text-align: justify;
}

p b {
	font-family: 'regular';
}

h1 {
	font-family: 'regular';
	font-size: 32px;
	line-height: 40px;
	margin: 34px 0;
} h1 b { font-family: 'regular'; color: #f5ba72; }

h2 {
	font-family: 'regular';
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 12px;
	margin: 0 0 17px 0;
}

h3 {
	font-family: 'regular';
	font-size: 26px;
	line-height: 34px;
	margin: 34px 0;
} h3 b { font-family: 'regular'; color: #f5ba72;; }


.grecaptcha-badge { display: none !important; }

/*  */

#header {
	background: url('../custom/identite/rectangle-orange.svg') calc(100% - 45px) calc(100% - 45px) no-repeat, url('../custom/identite/rectangle-orange.svg') 45px calc(100% - 45px) no-repeat;
	background-size: 10px;
	min-width: 1000px;
}

#header-fond, #header-fond-attente {
	position: relative;
	height: calc(100vh - 2 * 90px);
	min-height: 600px;
	background-image: none;
	background-size: cover;
	background-position: bottom center;
	margin: 90px;
	border-radius: 3px;
}

#header-page {
	position: relative;
	height: calc(40vh - 2 * 90px);
	min-height: 400px;
	background-size: cover;
	background-position: center;
	margin: 90px;
	border-radius: 3px;
}

#header .deco {
	position: absolute;
	transform-origin: top left;
}

#header .deco p {
	font-family: 'light';
	font-size: 10px;
	text-transform: uppercase;
}

#header .header-logo {
	position: absolute;
	left: 90px;
	bottom: 0px;
	max-width: 300px;
	width: 45%;
	max-width: 700px;
	height: 110px;
	background-color: white;
	border-radius: 0px 3px 0 0;
	background-image: url('../custom/image/logo-header.jpg');
	background-position: left 36%;
	background-size: 90%;
}

#header-texte {
	position: absolute;
	right: 0%;
	top: 20%;
	background-color: white;
	padding: 20px;
	border-radius: 3px;
	width: 30%;
	min-width: 500px;
}



#header-texte p, #header-texte a {
	margin: 20px;
}

@media screen and (max-width: 1000px) {
	#header-texte { top: 10%; min-width: 400px; }
	#header-texte p.size-ultra { font-size: 35px; line-height: 45px; }
	#header-texte p.size-big { font-size: 20px; line-height: 30px; }
	#header-texte p, #header-texte a {
		margin: 10px;
	}
	#header-fond-attente { background-position: bottom left; }
	#header { min-width: unset; }
}

/* ANNONCE */

#intruduction-annonce {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 40vw;
	max-width: 600px;
	height: auto;
	min-height: 100px;
	background-color: white;
	transform: translateX(-50%) translateY(-50%);
	border-radius: 10px;
	padding: 30px;
	z-index: 500000;
	transition-duration: 0.6s;
	word-spacing: 0;
}

#intruduction-annonce.close {
	top: -100vh;
}

#intruduction-annonce p {
	color: #3e3f3f;
	text-transform: uppercase;
	text-align: center;
	font-family: 'regular', sans-serif;
	font-size: 16px;
	line-height: 23px;
	padding: 5px 0;
	word-spacing: 0;
}

#intruduction-annonce p.bleu {
	color: #f5ba72;
	font-size: 14px;
	line-height: 20px;
	font-family: 'light', sans-serif;
}

#intruduction-annonce p.size-mini {
	font-size: 12px;
	line-height: 16px;
}

#intruduction-annonce a.fermeture {
	display: block;
	position: absolute;
	right: 20px;
	top: 20px;
	width: 40px;
	height: 40px;
	background-image: url('../svg/picto-menu-close.svg');
	background-size: 60%;
	background-position: center;
	border-radius: 4px;
	box-shadow: inset 0 0 0 2px #f5ba72;
	cursor: pointer;
	transition-duration: 0.6s;
	transform: rotate(90deg);
}

#intruduction-annonce a.fermeture:hover {
	transform: rotate(0deg);
}

#intruduction-annonce #formulaire-contact-problemes p {
	text-transform: none;
	font-size: 14px;
	line-height: 20px;
	padding: 1px 0;
}


/* GALERIE PRINCIPAL */

#galerie-principal {
	position: relative;
	height: auto;
	background-color: rgba(0,0,0,0);
	margin: 0 auto;
	background-position: center;
}

.youTube {
	display: inline-block;
	border-radius: 0px;
	overflow: hidden;
	width: 100%;
}

.contenu {
	display: inline-block;
	background-size: cover;
	background-position: center;
	vertical-align: middle;
  	word-spacing: 0em;
  	/*box-shadow: inset 0px 0px 2px 0px red;*/
}

div.image-back {
	position: relative;
	background-size: cover;
	background-position: center;
	float: left;
}

p.image-back {
	margin: 0; padding: 0;
	background-size: cover;
	background-position: center;
}

video {
	width: calc(100% - 0px);
	box-shadow: 0px 0px 0px 0px rgba(255,255,255,0);
}

a.bouton {
	display: inline-block;
	width: auto;
	color: white;
	background-color: #3e3f3f;
	text-align: center;
	padding: 8px 16px;
	border-radius: 3px;
	text-transform: uppercase;
	letter-spacing: 1px;
	position: relative;
	top: 60%;
	cursor: pointer;
	transition-duration: 0.4s;
	text-decoration: none;
} a.bouton:hover { color: #f5ba72; }

#bouton-son {
	position: absolute;
	right: 0px;
	top: 0px;
	width: 30px;
	height: 30px;
	background-image: url('../custom/identite/pictogramme-sonOff.svg');
	margin: 20px 20px 0 0;
	cursor: pointer;
    z-index: 100000;
}

#bouton-son.active {
	background-image: url('../custom/identite/pictogramme-sonOn.svg');
}

#bouton-lecture {
	position: absolute;
	right: 0px;
	top: 50px;
	width: 30px;
	height: 30px;
	background-image: url('../custom/identite/pictogramme-videoPause.svg');
	margin: 20px 20px 0 0;
	cursor: pointer;
    z-index: 100000;
}

#bouton-lecture.active {
	background-image: url('../custom/identite/pictogramme-videoPlay.svg');
}

/* GALERIE POP */

#galerie-pop {
	position: absolute;
	top: -500px;
	width: calc(100vw - 180px);
	height: 0px;
	left: 90px;
	transition-duration: 1s;
	z-index: 10000001;
	background-color: white;
	overflow: hidden;
	background-position: center;
	background-size: cover;
	cursor: pointer;
	border-radius: 10px;
	box-shadow: 0 0 0 2px rgba(0,0,0,1);
}

#galerie-pop.close {
	position: fixed;
	width: calc(100vw - 180px);
	height: 0px;
}

#galerie-pop.open {
	position: fixed;
	top: 90px;
	height: calc(100vh - 180px);
	box-shadow: 0 0 0 2px rgba(0,0,0,1);
}

#galerie-pop #fermeture-visualisation {
	position: absolute;
	padding: 0;
	margin: 0;
	width: 30px;
	height: 30px;
	border: none;
	cursor: pointer;
	transition-duration: 0.4s;
	text-transform: uppercase;
	background-image: url('../custom/identite/pictogramme-croix.svg');
	left: 20px;
	top: 20px;
	transition-duration: 0.4s;
	background-color: rgba(0,0,0,0);
	z-index: 1000;
}

#galerie-pop #fermeture-visualisation:hover { transform: rotate(180deg); }

.pop, .pop-bg { cursor: pointer; transition-duration: 0.4s; }
.pop:hover, .pop-bg:hover { transform: scale(1.02); }

/* BDD */

ul.bdd {
	display: inline-block;
	border-top: 0px solid white;
	width: 100%;
	border-bottom: 1px solid grey;
}

ul.bdd li {
	display: block;
	float: left;
	width: 33%;
	height: auto;
	font-family: 'regular';
	padding: 15px 0;
	font-size: 14px;
}

ul.bdd li:nth-child(1) {
	width: 30%;
}

ul.bdd li:nth-child(2) {
	width: 30%;
	text-align: center;
}

ul.bdd li:nth-child(3) {
	width: 30%;
	text-align: right;
}

ul.bdd li:nth-child(4) {
	width: 10%;
	text-align: right;
}
