*{
	padding:0;
	margin:0;
	border:0;
	box-sizing:border-box;
}

html,body{
	height: 100%;
}

body{
	font-family: system-ui, sans-serif;
	font-size: 2.3vw;
	font-weight: 400;
	line-height: 1;
	background: #FEFEFE;
	color: #1E1E1E;

/*
officiel : 0B70B5
					0689dd
*/
	--blue: #0689dd;
	--gray: #828282;
	--green : #16a765;

	--largeTitle: 3.5vw;
	--secondaryText: 1.8vw;
	--smallText: 1.6vw;

	-webkit-user-select: none;
	user-select: none;
}

button{
	font-family:inherit;
	font-size: inherit;
	font-weight: 500;
}

main{
	padding: 5vw;
	height: 100%;
	min-height: 100%;
	display: flex;
	flex-direction: column;
}

.hstack{
	display: flex;
	flex-direction: row;
	margin-bottom: 2.5vw;
	height: 100%;
}

.vstack{
	width: 100%;
	flex:1;
	display: flex;
	flex-direction: column;
}

.noflex{
	flex:0;
}

.pod{
	border-radius: 1.4vw;
	background: #F1F1F1;
	width:100%;
	height: 100%;

	display: flex;
	flex-direction: column;

	position: relative;
}

.gap{
	width: 2.5vw;
	
	min-height: 2.5vw;
}

.spacer{
	height: 100%;
}

.large{
	flex:2;
}

header{
	text-align: right;
}

header img{
	height: 7.4vw;
}

/**************************
*
* 	Vidéo hero
*  
***************************/

.now video{
	width: 100%;
	aspect-ratio: 1280/720;
}

.now .pod{
	overflow: hidden;
}

/**************************
*
* 	Mentions légales et footer
* 
***************************/

.legal{
	text-align: center;
	font-size: var(--smallText);
	margin:auto;
	max-width: 78vw;
}

.legal p{
	margin-bottom: 1em;
	line-height: 1.3;
	color:var(--gray);
}

.legal strong{
	font-weight: 500;
}

footer{
	display: flex;
	flex-direction: row;
	margin-top:4vw;
}

footer button{
	background:#F1F1F1;
	padding: 1em;
	width: 100%;
	margin:0 0.4em;
	border-radius: 1.4vw;
	position: relative;
	font-size:var(--secondaryText);
}

footer button:first-child{
	margin-left:0;
}

footer button:last-child{
	margin-right: 0;
}

footer button:active{
	background: #e0e0e0;
}

.badge{
	position: absolute;
	width: 3vw;
	height: 3vw;
	background: var(--green);
	
	border-radius: 100%;
	top:-1vw;
	right: 1vw;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.badge span{
	font-size: 0.8em;
	color:white;
	font-weight: 500;
}

/*******************/

h2{
	font-size: var(--largeTitle);
	margin-bottom: 0.7em;
	white-space: nowrap;
}

h4{
	font-size: 2.4vw;;
}

.title{
	font-size: var(--largeTitle);
}

label.primary{
	font-weight: 500;
	margin-bottom: 0.4em;
	display: block;
}

label.secondary{
	font-size: var(--secondaryText);
	line-height: 1.3;
	color: var(--gray);
	display: block;
}

.item{
	padding: 2.5vw 2vw 2.5vw 2.5vw;
	border-bottom: 1px solid rgb(225, 225, 225);
	
}

.item:active{
	background: #e0e0e0;
}

.item:last-child{
	border:0;
}

.item label.secondary{
	color:var(--blue);
}

.list .primary{
	font-size: 0.85em;
}

.list{
	position: relative;
	overflow:hidden;
}

.list .content{
	overflow-y: scroll;
	position: absolute;
	top:0;
	left:0;
	bottom:0;
	right:0;
}

.list .content::-webkit-scrollbar {
  display: none;
}

/*************************
 * 
 * 	Offres d'emploi
 * 
 *************************/

.job-offer{
	padding: 4vw;
}

.job-offer button{
	background: var(--green);
	color: white;
	font-size: var(--secondaryText);
	font-weight: 500;
	padding: 0.4em;
	border-radius: 0.35em;
	padding-right: 1.6em;
	
	background-image: url(../img/arrow-up-right.svg);
	background-position: 92% 50%;
	background-repeat: no-repeat;
	background-size: 1.4vw;
	align-self: end;
}

.job-offer .sub{
	display: flex;
	flex-direction: row;
	margin-top:1em;
	/*margin-bottom: 1em;*/
}

.job-offer .primary{
	margin-bottom: 2.5vw;
}

.tags{
	width: 100%;
}

.tag{
	color:white;
	display: inline-block;
	font-size: 0.8em;
	background:#bfbfbf;
	padding: 0.4em;
	border-radius: 0.35em;

	color:var(--gray);
	border:1px solid rgb(200, 200, 200);
	background: whitesmoke;
	margin-right: 0.4em;
}

.pager{
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.pager .dot{
	background: var(--gray);
	width: 1vw;
	height: 1vw;
	border-radius: 100%;
	margin:0 1.6vw 0 0;
	opacity: 0.3;
	transition: opacity 0.2s ease-out;
}

.pager .dot.active{
	width: 1.1vw;
	height: 1.1vw;
	opacity: 1;
}

/*************************
 * 
 * 	Notifications
 * 
 *************************/

.notification{
	text-align: center;
	padding: 2.5vw;
	margin:auto;
}

@font-face {
  font-family: "NotoColorEmoji";
  src: url("../fonts/NotoColorEmoji-Regular.ttf") format('truetype');
}

.notification .primary{
	font-size:5vw;
	font-family: 'NotoColorEmoji';
}

.notification .secondary{
	color:inherit;
	font-weight: 500;
}


/*********************************
*	
* 	Au besoin possible d'activer 
* 
*********************************/ 

.alert{
	display:none;
	background: rgb(170, 44, 142);
	margin-left:-5vw;
	margin-right: -5vw;
	margin-bottom: -5vw;
	margin-top:2.5vw;
	padding: 2.5vw;
	color:white;
}

/********************/

.overlays{
	position: fixed;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	
	flex-direction: row;
	align-items: center;

	display: flex;
	pointer-events: none;
}

.overlays.active{
	pointer-events: initial;
}

.overlays .background{
	background: rgba(0, 0, 0, 0.35);
	width: 100%;
	height: 100%;
	position: absolute;
	left:0;
	right: 0;

	transition:opacity 0.2s ease-in-out;
	opacity: 0;
	
}

.overlays.active .background{
	opacity: 1;
}

.overlays .view{
	text-align: center;
	margin:auto;
	background: white;
	border-radius: 2.4vw;
	filter:drop-shadow(0 1vw 6vw rgba(0, 0, 0, 0.3));

	padding: 5vw;
	z-index: 100;
	max-width: 70vw;
	display: none;
}

.overlays .view.active{
	display: block;
	animation: 0.25s ease-out slideUp;
}

.view h2{
	display: block;
	max-width: 40vw;
	margin:0 auto 0.8em;
	white-space: initial;
}

.view .secondary{
	max-width: 40vw;
}

.qrcode{
	margin:2.5vw;
	margin-bottom: 5vw;
}

.qrcode img{
	width: 26vw;
	height: 26vw;
	margin:auto;
}

.view.info{
	padding: 7vw 5vw;
}

.view.info p{
	text-align: left;
	line-height: 1.4;
	margin-top: 1.2em;
	font-size: var(--secondaryText);
	color:var(--gray);
}

.view.info h4{
	text-align: left;
	margin-top:1.4em;
	font-weight: 500;
}

#rappel-detail iframe{
	width: 60vw;
	aspect-ratio: 21/29.7;
}

.roundButton{
	background: #FFF;
	width: 8vw;
	height: 8vw;
	border-radius: 1vw;
	position: absolute;
	top:50%;
	margin-top:-4vw;

	background-size: 40%;
	background-position: 50%;
	background-repeat: no-repeat;
}

.nav-left{
	left:-9vw;
	background-image:url(../img/arrow-left.svg);

	animation: 0.25s ease-out slideRight 0.3s both;
}
.nav-right{
	right:-9vw;
	background-image:url(../img/arrow-right.svg);

	animation: 0.25s ease-out slideLeft 0.3s both;
}

@keyframes slideRight{
	from{
		transform:translate3d(50%, 0px, 0px);
		opacity: 0;
	}

	to{
		transform:translate3d(0, 0px, 0px);
		opacity: 1;
	}
}

@keyframes slideLeft{
	from{
		transform:translate3d(-50%, 0px, 0px);
		opacity: 0;
	}

	to{
		transform:translate3d(0, 0px, 0px);
		opacity: 1;
	}
}

@keyframes slideUp{
	from{
		transform:translate3d(0px, 4vw, 0px);
		opacity: 0;
	}

	to{
		transform:translate3d(0px, 0px, 0px);
		opacity: 1;
	}
}

.horizontalScroll{
	display: grid;
  grid-auto-flow: column;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  max-width: 60vw;
}

.horizontalScroll::-webkit-scrollbar {
  display: none;
}

.horizontalScroll .page{
	scroll-snap-align: center;
}

#catalogues .pages{
	position: relative;
	border:1px solid gainsboro;

}

#catalogues .page{
	background: white;
	width: 60vw;
	aspect-ratio: 0.8;
	margin:0 auto;
	background-size: contain;
	background-position: 50%;
	background-repeat: no-repeat;
	
}

#catalogues .cover{
	width: 100%;
	aspect-ratio: 0.8;
	background: lightgray;
	background-size: cover;
	width: 14vw;
	display: inline-block;
	border:1px solid gainsboro;
	margin:0 0.5vw;
}

#catalogues .cover:active{
	opacity: 0.7;
}

#catalogues .cover.selected{
	border-color: var(--blue);
}

#catalogues .pagination{
	margin:1.4em auto;
	font-size: var(--smallText);
	color:var(--gray);
}

/****************************
*
* 	Erratums
* 
*****************************/  

#erratum-detail{
	max-width: 52vw;
	padding: 7vw 5vw;
}

#erratum-detail h3{
	font-size: 3vw;
	line-height: 1.2;
	margin-bottom: 2.5vw;
}

#erratum-detail .period{
	margin-top: 0.5em;
}

#erratum-detail .errors{
	margin:1.5em auto;
}

#erratum-detail .error{
	display: flex;
	flex-direction: row;
	align-items: center;
	text-align: left;
	border-bottom: 1px solid rgb(225, 225, 225);
	padding: 2vw 0;
}

#erratum-detail .error:last-child{
	border:0;
}

#erratum-detail .error .ico{
	min-width: 5vw;
	height: 5vw;
	margin-right: 2.5vw;

	background-image: url(../img/triangle.svg);
	background-repeat: no-repeat;
	background-position: 50%;
	background-size: 100%;
}

#erratum-detail .error .detail{
	flex:1;
	line-height: 1.2;
}

#erratum-detail .legal{
	color:var(--gray);
}
