/*@import url('https://fonts.googleapis.com/css?family=Nunito+Sans');*/
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,400;0,700;1,400&display=swap');
/*------------------------------------*\
  $CLASS
\*------------------------------------*/
.bg-purple				{ background-color: #872781 }
.clr-purple				{ color: #872781 }
.clr-white				{ color: #FFF }
.fixed					{ position: fixed }
.flex					{ display: flex }
.vertical-align			{ display: flex }
.vertical-align	> *		{ display: flex; align-items: center; justify-content: center;}
.flex-row				{ flex-direction: column; justify-content: center; }
.flex-container-v		{ justify-content: center; }
.flex-between			{ justify-content: space-between; }
.no-bullet				{ list-style: none; }

a[href]:not([class*="clr"])		{ color: inherit; text-decoration: none }
a[href]:focus,
a[href]:hover					{ text-decoration: underline }

nav .vertical-align{
	width: 100%;
    justify-content: space-evenly;	
}

/*------------------------------------*\
  $INDEX
\*------------------------------------*/
body {
	font-family: 'Nunito Sans', sans-serif;
}

header {
	top: 0;
	z-index: 10000;
	width: 100%;
	padding: 5px 0;
}

header > div > * {
	flex: 1 1 0;
	box-sizing: border-box;
	min-width: 0;
	min-height: 0;
}

header ul {
	list-style: none;
}

header ul li {
	display: inline-block;
	padding: 0 1rem;
}

header .tiny-visible {
	display: none;
}

.slider {
	display: block;
	position: relative;
	overflow: hidden;
}

.slider img {
	position: absolute;
	top: 0;
	height: 100%;
	width: 100%;
}

.slider img:first-child {
	animation: slideFirst 9s ease-in-out 2s infinite;
	animation-direction: alternate;
	will-change: top;
}


.slider img:nth-child(2) {
	top: 100%;
	animation: slideSecond 9s ease-in-out 2s infinite;
	animation-direction: alternate;
	will-change: top;
}

/*
.slider img:nth-child(3) {
	top: 100%;
	animation: slideThird 20s ease-in-out 2s infinite;
	animation-direction: alternate;
	will-change: top;
}
*/

@keyframes slideFirst {
	40%, 60%		{ top: 0%; }
	60%, to			{ top: -100%; }
}

@keyframes slideSecond {
	40%, 60%		{ top: 100%; }
	60%, to			{ top: 0%; }
}
/*
@keyframes slideThird {
	30%			{ top: 200%; }
	35%, 65%	{ top: 100%; }
	70%, to		{ top: 0%; }
}
*/


/*------------------------------------*\
  $MAIN
\*------------------------------------*/
h1 {
	margin: 0;
}

.bg-purple h3 {
	margin: 0;
}

#visuel_video{
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	padding: 1rem;
	font-size: 1.8rem;
	background-image: url("img/visuel_videos.png");
}

#visuel_video>div{
	padding: 0.2rem 0;
}

#visuel_video>div>a:before {
    content: "";
    display: block;
    background: url("video.png") no-repeat;
    width: 44px;
    height: 32px;
    float: left;
    margin: -2px 6px 0 0;
}

/* Si le dernier choix n'est pas une vidéo, on l'aligne à droite
#visuel_video>div:last-child{
	text-align: right;
}*/

.cercle {
	background-image: url('cercle.png');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

form input,
form textarea {
	width: 100%;
}

form input,
form textarea {
	 border: none;
	 padding: .5rem;
}

form input[required],
form textarea[required] {
	border-right: 1rem solid #c0392b;
}

form textarea {
	width: 100% !important;
}

form input[type="submit"] {
	background-color: #e74c3c;
	color: #fff;
	padding: 2rem
}

form input[type="submit"]:focus, 
form input[type="submit"]:hover {
	background-color: #c0392b;
}

iframe {
	width: 100%;
}


a[href].link
{
	margin-top: 20px;
	background-color: #872781;
	color: #fff !important;
	padding: 8px 14px;
	display: inline-block;
	font-weight: bold;
	font-size: 17px;
}


a[href].link:hover{ opacity: 0.9; text-decoration: none !important;}

a[href].lien_logo:hover
{
	text-decoration: none;
	font-weight: bold;
}

a.lien_logo:active{
	text-decoration: none;
}


iframe.youtube{
	margin-top: 40px;
}


div.iframe-yt
{
	padding-top : 1%;
	padding-bottom : 1%;
}


div.iframe-yt h3
{
	margin-bottom: 10px;
	padding-left: 8px;
    text-transform: uppercase;
    font-size: 1.9rem;
    border-bottom: 1px solid #872781;
    border-left: 10px solid #872781;
}

ul, p{
	text-align: justify;
}


.grid > div{
	padding: 5px;
}

#program_mobile{
	display: none;
}


/*------------------------------------*\
  $SMALL
\*------------------------------------*/
@media screen and (max-width: 992px) {

	#program_pc{
		display: none;
	}

	#program_mobile{
		display: block;
	}

	.round {
		border-radius: 30px;
		white-space: nowrap;

	}

	.table_programme {
		width: 100%;
	}

	.table_programme td:first-child > span{
		display: inline-block;
		background-color: #bdd639;
		transform:skewX(-10deg);
	}

	.table_programme td:first-child{
		width: 15%;
		min-width: fit-content !important;
		white-space: nowrap;
		padding: 5px 0;
		font-weight: bold;
		vertical-align: middle;
		text-align: center;
	}

	.table_programme td:last-child{
		color: #872781;
		font-size: 20px;
		line-height: normal;
	}

	.table_programme .table_bold{
		font-weight: bolder;
		font-size: 16px;
		line-height: initial;
	}

	.table_programme .table_black{
		color: black;
		font-size: 16px;
		line-height: initial;
	}

}

/*------------------------------------*\
  $TINY
\*------------------------------------*/
@media screen and (max-width: 544px) {
	header .grid {
		width: calc(100% / 2 - .01px);
	}
	
	header .nav {
		position: fixed;
		left: 0;
		display: none;
		width: 100%;
	}
	
	header nav li {
		display: flex;
		width: 100%;
		padding: 1rem 0;
	}
	
	header .js-menu-btn.open::before {
		content: "Fermer";
		display: inline-block;
		vertical-align: super;
		padding-right: 10px;
	}
	
	.slider {
		display: none;
	}
}