html { margin: 0px; overflow-x: hidden; }
body { margin: 0px; overflow: hidden; padding-bottom: 100px;}

/* MOBIL */
.mobilSupr { display: none !important; }
.justMobil { display: block !important; }
.mobilSuprTable { display: none !important; }
.justMobilTable { display: table !important; }

/* WIDTH */

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

/* PAGE CONTENU */

.width-full {
	display: table;
	position: relative;
	width: 90vw;
	table-layout: fixed;
	word-spacing: -4em;
	overflow: visible;
	vertical-align: middle;
}

.width-max {
	display: table;
	position: relative;
	width: 90vw;
	height: auto;
	table-layout: fixed;
	word-spacing: -4em;
	overflow: visible;
	vertical-align: middle;
}

.width-grand, .width-petit {
	display: inline-table;
	position: relative;
	width: 100vw;
	margin: 0;
	table-layout: fixed;
	word-spacing: -4em;
	overflow: visible;
	padding: 0;
	vertical-align: middle;
}

/* MARGES */

.shadow-right { box-shadow: inset -0px 0 0 0 white; }
.shadow-left { box-shadow: inset 0px 0 0 0 white; }

/* MARGES */
.padding-top { padding-top: 40px; }
.padding-bottom { padding-bottom: 40px; }

/* BOX // WIDTH */
.entier, .demi, .tier, .tier-max, .deuxtier, .quart, .troisquart, .cinquieme, .deuxcinquieme, .deuxcinquieme-left, .troiscinquieme, .troiscinquieme, .cinqsixieme-full
{ width: calc((100% / 1) - 40px); margin: 0px 20px; }

.entier-full, .demi-full, .tier-full, .deuxtier-full, .quart-full, .troisquart-full, .cinquieme-full, .deuxcinquieme-full, .troiscinquieme-full, .troiscinquieme-full
{ width: calc((100% / 1) - 0px); margin: 0px 0px; }

.tier-max {
	padding: 0 0 50px 0;
}

.centerMobil { text-align: center; }

/* BANDES IMAGES */

.bande-60 {
	height: 50vh;
	min-height: 0px;
}

.bande-80 {
	height: 50vh;
	min-height: 0px;
}

/* P */

p, a, i {
	font-size: 3.8vw;
	line-height: 6.8vw;
}

a.en-savoir-plus, a.en-savoir-moins, a.simple {
	font-family: 'Medium', sans-serif;
	cursor: pointer;
	padding: 20px 30px;
	margin: 20px auto;
	font-size: 2.6vw;
	line-height: 3.8vw;
	letter-spacing: 1.2vw;
}

a.bouton {
	font-family: 'Medium', sans-serif;
	cursor: pointer;
	padding: 20px 30px;
	margin: 20px auto;
	font-size: 2.6vw;
	line-height: 3.8vw;
	letter-spacing: 1.2vw;
}

h1 {
		font-family: 'Light', sans-serif;
		font-size: 3.6vw;
		line-height: 4.2vw;
		padding: 20px 40px;
		color: var(--color-projet-corpo);
}

h2 {
		font-family: 'Bold', sans-serif;
		font-size: 7.6vw;
		line-height: 12vw;
		padding: 6px 0;
}

h2 span:before { height: 1.2vw; }

h3 {
		font-family: 'Regular', sans-serif;
		font-size: 3.2vw;
		line-height: 4.4vw;
		padding: 6px 0;
}

h4 {
		font-family: 'Light', sans-serif;
	 	text-transform: uppercase;
		font-size: 2.6vw;
		letter-spacing: 1vw;
		padding: 10px 0;
		text-align: center;
}

p.carte-visite {
	font-family: 'Regular', sans-serif;
	font-size: 2.9vw;
	line-height: 3.8vw;
}

p.credits {
	font-family: 'Light', sans-serif;
	text-transform: uppercase;
	font-size: 1.5vw;
	line-height: 1.7vw;
	letter-spacing: 0.1vw;
	padding: 10px 0;
}

p.colonne {
	columns: 1;
	column-gap: 0px;
}

p.legende-cote {
	font-size: 7vw;
	line-height: 9vw;
}

/* TABLES */

ul.point-image li:nth-child(1) p {
	width: 6.5vw;
	width: 6.5vw;
}

ul.point-image li:nth-child(2) p {
	color: white;
	font-size: 4vw;
	line-height: 5.3vw;
	display: inline-block;
	vertical-align: top;
}

/* SOMMAIRE */

ul.sommaire {
	display: table;
	width: 70%;
	margin: 20px auto;
}

ul.sommaire li p span {
	display: inline-block;
	position: relative;
	width: 14vw;
	height: 14vw;
	vertical-align: middle;
	background-color: var(--color-selecteur-dispo);
	border-radius: var(--border-radius);
}

ul.sommaire li:nth-child(1) p span i {
	display: none;
}

/* ACCUEIL */

#logo-mobil p {
	text-align: center;
}

#logo-mobil p img {
	width: 40vw;
	margin: 2vw 0 0 0
}

#galerie-accueil, #galerie-accueil.full {
	height: 70vh;
}

#controls-galerie {
	display: none;
}

#galerie-accueil-droite {
	position: absolute;
	display: flex;
	flex-direction: column;
	bottom: 0;
	right: 0px;
	width: 100vw;
	height: auto;
}

#galerie-accueil-gauche {
	position: absolute;
	display: flex;
	flex-direction: column;
	top: 0px;
	left: 0px;
	width: 100vw;
	height: auto;
	margin-right: 0px;
}

#menu-principal.hide { transform: translate(0%, 0); }

#menu-principal ul li:nth-child(1) p {
	background-color: var(--color-selecteur-dispo);
}

#menu-principal ul li p {
	font-family: 'Medium', sans-serif;
	display: block;
	background-color: var(--color-selecteur-dispo);
	padding: 0.2vw 0.1vw;
	margin: 4px;
	text-align: center;
	color: white;
	font-size: 2.3vw;
	letter-spacing: 0.12vw;
	border-radius: var(--border-radius);
}

#menu-principal ul li p span {
	display: none;
}

#signature-accueil img {
	width: 50vw;
	padding: 3vh;
}

#menu-principal ul li:hover {
	transform: translate(0, 0%);
}

#signature-accueil.on {
	display: none;
}

#menu-principal.on {
	position: fixed;
	width: calc(4*(100vw/4));
	top: 0px;
	box-shadow: 0 0 6px 0px var(--color-gris-moyen);
}

/* ACTU */

#fenetre-actu,
#fenetre-actu.on {
	transform: translate(-100%, 0);
}

#actuMobil {
	background-color: var(--color-selecteur-dispo);
}

#actuMobil { display: none; }
#actuMobil.on { display: block; }

#actuMobil p {
	color: white;
}

#actuMobil p.actu-principal {
	font-family: 'SemiBold', sans-serif;
	font-size: 5vw;
	line-height: 7vw;
	padding: 3vh 0 1vh 0;
}

#actuMobil p.actu-secondaire {
	font-family: 'Regular', sans-serif;
	font-size: 2.6vw;
	line-height: 4.5vw;
	letter-spacing: 0.2vw;
	padding: 0 0;
	text-transform: uppercase;
}

#actuMobil a {
	display: inline-block;
	font-family: 'medium', sans-serif;
	cursor: pointer;
	padding: 14px 20px;
	margin: 20px 0;
	text-transform: uppercase;
	font-size: 2.7vw;
	line-height: 4.1vw;
	letter-spacing: 0.2vw;
	border-radius: var(--border-radius);
	background-color: white;
	color: var(--color-gris-fonce);
}

#fenetre-actu-scroll, #fenetre-actu-scroll.on, #fenetre-actu-scroll.off {
	transform: translate(100%, 0);
}

/* controls-galerie-mobil */

ul#controls-galerie-mobil {
	position: absolute;
	display: block !important;
	table-layout: fixed;
	top: 45%;
	right: 4%;
	width: auto;
	height: auto;
	transform: translate(-0%, -50%);
}

ul#controls-galerie-mobil li {
	position: relative;
	display: block;
	padding: 5px 0;
}

ul#controls-galerie-mobil li p {
	padding: 0;
	margin: 0;
	line-height: 0px;
}

ul#controls-galerie-mobil li p span {
	position: relative;
	display: inline-block;
	width: 12vw;
	height: 12vw;
	background-color: white;
	transition-duration: 0.2s;
}

ul#controls-galerie-mobil li p span svg {
	position: absolute;
	display: block;
	top: 50%;
	left: 50%;
	width: 9vw;
	height: 9vw;
	transform: translate(-50%, -50%);
}

/* GAL-FULL */

#gal-full-screen { display: none; }

/* VIDEO */

.voir-video {
	top: 50%;
}

.voir-video a {

	display: block;
	padding: 2vw 4vw 2vw 3vw;
	font-family: 'Medium', sans-serif;
	font-size: 4vw;
	line-height: 4vw;
}

#galerie-video div.bouton-close {
	width: 10vw;
	height: 10vw;
	top: 0%;
	left: 100%;
	transform: translate(-100%, 0%);
}

/* TABELAU DISTANCES */

table#distances tr td p {
	padding: 1.6vw 1vw;
	font-size: 3vw;
	line-height: 4vw;
	color: var(--color-selecteur-reser);
}

table#distances tr td:nth-child(1) p {
	font-family: 'Medium', sans-serif;
	color: white;
	font-size: 1.8vw;
	letter-spacing: 0.2vw;
	text-transform: uppercase;
}
