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

/* STRUCTURE */

.mobilSupr { display: inline-block !important; }
.justMobil { display: none !important; }

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

.background-supr { background-image: default !important; }
.centerMobil { text-align: default !important; }

p { margin: 10px 0; }

/* GALERIE PRINCIPAL */

#galerie-principal {
	position: relative;
	height: auto;
	width: 100%;
	background-color: rgba(20,127,128,1);;
}

#galerie-accueil {
	background-size: cover;
	overflow: hidden;
	background-color: black;
}

.contenu {
	display: inline-block;
	background-size: cover;
	background-position: center;
	vertical-align: middle;
  	word-spacing: 0em;
}

/* BOUTON */

.bouton {
	display: inline-block;
	padding: 10px 0px;
	text-decoration: none;
	border-top: 2px solid;
	transition-duration: .5s;
	margin-top: 50px;
}

.bouton:hover {
	border-top: 6px solid;
}

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

video {
	box-shadow: 0px 0px 0px 0px rgba(20,127,128,1);
	height: calc(100% - 100px);
	overflow: hidden;
}

/* ACTUALITE */

#block-actu { display:none; position: relative;  top : 0%; }

/* FOOTER */

#footer-principal {
	padding: 40px 0 0 0;
}

/* TIMELINE */

ul.timeline {
	display: table;
	width: 100%;
}

li.timelinedate {
	display: table-cell;
	padding: 10px 0 0 0;
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: rgba(0,0,0,0.7);
	font-family: 'SansSerif-Regular';
	background: url(../custom/identite/timeline-all.svg) center top no-repeat, url(../custom/identite/timeline-thin.svg) center top repeat-x;
	background-size: 30px;
	line-height: 80px;
}

li.timelinedate:hover {
	cursor: pointer;
	background: url(../custom/identite/timeline-hover.svg) center top no-repeat, url(../custom/identite/timeline-thin.svg) center top repeat-x;
	background-size: 30px;
}

li.timelinedate.active {
	font-family: 'SansSerif-Bold';
	background: url(../custom/identite/timeline-all.svg) center top no-repeat, url(../custom/identite/timeline-thin.svg) center top repeat-x;
	background-size: 30px;
}

li.timelinedate.lastactive {
	font-family: 'SansSerif-Bold';
	background: url(../custom/identite/timeline-active.svg) center top no-repeat, url(../custom/identite/timeline-thin.svg) center top repeat-x;
	background-size: 30px;
}

li.timelinedate.active:hover {
	cursor: pointer;
	background: url(../custom/identite/timeline-hover.svg) center top no-repeat, url(../custom/identite/timeline-thin.svg) center top repeat-x;
	background-size: 30px;
}

#galerie ul { display: none; }
#galerie ul.active { display: block; }

#galerie ul li div.legende-image {
	position: absolute;
	bottom: 50px;
	left: 50%;
	background-color: white;
	transform: translateX(-50%);
	margin: 0;
}

#galerie ul li div.legende-image p {
	display: block;
	padding: 20px 40px;
	text-align: center;
	margin: 0;
	word-spacing: 0em;
	font-family: 'charte-regular', sans-serif;
	font-size: 14px;
	line-height: 18px;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.edit { display: none; }
.openedit { display: block; position: relative; display: block; width: 100%; margin: 0 auto; padding: 0; }


.openedit input[type="file"] {
	color:black;
	font-size: 14px;
	font-family: 'SansSerif-Regular';
	transition-duration: 0.5s;
	width: 100%;
	max-width: 100%;
	padding: 20px 0;
	opacity: 1;
	text-align: center;
	word-spacing: 0em;
}

/* GALERIE POP */

#galerie-video-pop {
	position: fixed;
	top: -200vh;
	width: 100%;
	height: 100%;
	left: 0px;
	transition-duration: 1s;
	z-index: 10000001;
	background-color: black;
	overflow: hidden;
	transition-duration: 0.4s;
}

#galerie-video-pop.open {
	top: 0vh;
}

#galerie-video-pop video {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

#galerie-video-pop div#bouton-close {
	position: absolute;
	right: 20px;
	top: 20px;
	width: 70px;
	height: 70px;
	background-image: url('../custom/identite/bouton-video-close.svg');
	background-position: center;
	background-size: 100%;
	z-index: 1000000;
	cursor: pointer;
	transform: rotate(0deg);
	transition-duration: 0.4s;
}

#galerie-video-pop div#bouton-close:hover {
	transform: rotate(90deg);
}

#cache-video {
	position: absolute;
	width: 100%;
	height: 100%;
	background-image: url('../custom/image/galerie/image-projet-exter-03.jpg');
	background-position: center;
	background-size: cover;
}

#bouton-son {
	position: absolute;
	top: 50%;
	right: 5%;
	width: 50px;
	height: 50px;
	z-index: 10000000;
	background-image: url('../custom/identite/bouton-son-on.svg');
	background-size: 100%;
	cursor: pointer;
}

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


#bouton-video {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 80px;
	height: 80px;
	z-index: 100000;
	background-image: url(../custom/identite/bouton-video-on.svg);
	background-size: 100%;
	cursor: pointer;
	transform: translateX(-50%) translateY(-50%);
}

#bouton-video:hover {
	background-image: url(../custom/identite/bouton-video-off.svg);
}

#bouton-video p {
	display: block;
	margin-top: 60px;
	font-size: 12px;
	line-height: 14px;
	width: 100px;
	left: -25px;
	position: relative;
}


/* ACTU */

#bulle-actu {
	position: fixed;
	top: -800px;
	right: 0px;
	width: 500px;
	height: 180px;
	background-size: contain;
	transition-duration: 0.8s;
	transition-delay: 0.2s;
	background-color: black;
	border-left: 10px solid #8a7459;
	z-index: 1000000000;
}

#bulle-actu.active {
	right: 0px;
	top: 20vh;
}

#bulle-actu p {
	font-size: 18px;
	line-height: 25px;
	font-family: 'charte-regular';
	padding: 10px 100px 10px 40px;
	color: white;
	word-spacing: 0em;
}

#bulle-actu p span {
	font-size: 10px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #8a7459;
	line-height: 22px;
}

#bulle-actu #fermeture {
	position: absolute;
	right: 50px;
	top: 20px;
	width: 16px;
	height: 16px;
	cursor: pointer;
	background-image: url('../custom/identite/picto-fermeture.svg');
	transition-duration: 0.4s;
	transform: rotate(0deg);
}

#bulle-actu #fermeture:hover {
	transform: rotate(180deg);
}

form.edit {
	display: block;
	position: fixed;
	top: -3000px;
	background-color: #8a7459;
	width: 400px;
	padding: 20px;
	left: calc(50% - 220px);
	z-index: 100000;
	transition-duration: 1s;
	z-index: 1000000;
}

form.edit.open {
	top: 100px;
}

form.edit textarea {
	display: block;
	width: calc(100% - 20px );
	padding: 10px;
	margin: 0px 0px 10px 0;
	border: none;
	font-family: 'medium', sans-serif;
	text-align: center;
	font-size: 12px;
	line-height: 18px;
	vertical-align: middle;
	max-width: calc(100% - 20px );
}

form.edit input {
	margin: 0px 0px 10px 0;
	text-align: center;
}

form.edit input[type="submit"] {
	margin: 0px 0px 0px 0px;
}

/* GOOGLE */

.grecaptcha-badge { display: none; }
