/**************************************************************************************************************/
/*

			NOM DU SITE - Page d'accueil

*/
/**************************************************************************************************************/


#portal-globalnav li#portaltab-index_html.selected a,
#portal-globalnav li#portaltab-index_html.selected a:hover,
#portal-globalnav li#portaltab-index_html.selected a:focus{
	font-weight: 700;
}
#portal-column-content h1{
	position:absolute;
	top:-5000px;
}
#portal-column-content .documentDescription{
	position:absolute;
	top:-5000px;
}

#visual-portal-wrapper {
	padding-top: 0;
}
#visual-portal-wrapper #portal-columns.wrapper {
	max-width: none;
	padding: 0;
}
#portal-columns dl.portlet.portletPaletteAdministration {
	font-size: 1em;
	max-width: var(--max-width);
	margin: auto;
}


/*--------------------------------------------------------------------------------------------------------------
	== HEADER
--------------------------------------------------------------------------------------------------------------*/
#visual-portal-wrapper .header li{
	position: relative;
	display: block;
}
#visual-portal-wrapper .header li::before{
	content: "";
	height: 100vh;
	display: block;
}
#visual-portal-wrapper .header li::after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgb(0,0,0);
background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 50%);
}
#visual-portal-wrapper .header li img{
	position: absolute;
	object-fit: cover;
	top: 50%;
    -moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
    left: 50%;
	max-width: none;
    width: 100%;
    height: 100%;
}
#visual-portal-wrapper .header-scroll a {
	font-family: var(--font-picto);
	position: absolute;
	bottom: 15px;
	left: 50%;
	z-index: 9;
	color: #fff;
	cursor: pointer;
	line-height: 1;
    font-size: 1em;
	-moz-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
    transform: rotate(90deg);
	text-decoration: none;
}


#visual-portal-wrapper .header-baseline {
	position: absolute;
	top: 55%;
	left: 0;
	right: 0;
	max-width: 650px;
	font-size: 3.2em;
	font-family: var(--font-current);
	font-weight: bold;
	text-shadow: 0 3px 2px rgba(0, 0, 0, 0.2);
	color: #fff;
	-moz-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	z-index: 9;
	text-align: center;
}
#visual-portal-wrapper .header-baseline p {
    display: flex;
    align-items: center;
    justify-content: center;
}
#visual-portal-wrapper .header-CTA {
	position: absolute;
	bottom: 50px;
	left: 0;
	right: 0;
	font-size: 2em;
	z-index: 9;
}

#visual-portal-wrapper .header-CTA ul{
	display: flex;
	justify-content: center;
	margin: 0;
	padding: 0;
}
#visual-portal-wrapper .header-CTA ul li {
	display: block;
}
#visual-portal-wrapper .header-CTA ul .bouton {
	min-width: 420px;
	margin: 0 50px;
}
#visual-portal-wrapper .header-CTA ul li:last-child .bouton {
	background: #fff;
	color: var(--color-primary) !important;
}
#visual-portal-wrapper .header-CTA ul li:last-child .bouton::after {
	background: rgba(222, 192, 0, 0.1);
}

/*--------------------------------------------------------------------------------------------------------------
	== INTRO
--------------------------------------------------------------------------------------------------------------*/
#visual-portal-wrapper .intro {
	text-align: center;
	padding: var(--margin-text);
}
#visual-portal-wrapper .intro h2{
	color: var(--color-primary) !important;
}

/*--------------------------------------------------------------------------------------------------------------
	== ACTUALITES
--------------------------------------------------------------------------------------------------------------*/
#visual-portal-wrapper .news ul{
	display: flex;
	justify-content: space-between;
}
#visual-portal-wrapper .news ul li{
	width: 33%;
	position: relative;
}
#visual-portal-wrapper .news ul li a.illustration{
	position: relative;
	display: block;
	overflow: hidden;
}
#visual-portal-wrapper .news ul li a.illustration::before{
	content: "";
	padding-top: 80%;
	display: block;
}
#visual-portal-wrapper .news ul li a.illustration::after{
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 50%;
	background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}
#visual-portal-wrapper .news ul li a.illustration img{
	position: absolute;
	object-fit: cover;
	top: 50%;
    -moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
    left: 50%;
	max-width: none;
    width: 100%;
    height: 100%;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}
#visual-portal-wrapper .news ul li .infos {
	position: absolute;
	bottom: -1em;
	left: 0;
	right: 0;
	padding: 10px;
	pointer-events: none;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}
#visual-portal-wrapper .news ul li .infos::after {
	content: "\e909";
	font-family: var(--font-picto);
	font-size: 0.7em;
	color: #fff;
	display: block;

	opacity: 0;
	-moz-transform: translateX(-10px);
	-webkit-transform: translateX(-10px);
	-o-transform: translateX(-10px);
	-ms-transform: translateX(-10px);
	transform: translateX(-10px);
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}
#visual-portal-wrapper .news ul li .infos h2{
	font-size: 1em;
	line-height: 1.2;
}
#visual-portal-wrapper .news ul li .infos h2 a{
	color: #fff !important;
	text-decoration: none;
}
#visual-portal-wrapper .news ul li .infos p{
	color: #fff;
	line-height: 1.2;
	margin-bottom: 0;
}


/* hover */
#visual-portal-wrapper .news ul li:hover a.illustration img{
    -moz-transform: translateX(-50%) translateY(-50%) scale(1.05);
	-webkit-transform: translateX(-50%) translateY(-50%) scale(1.05);
	-o-transform: translateX(-50%) translateY(-50%) scale(1.05);
	-ms-transform: translateX(-50%) translateY(-50%) scale(1.05);
	transform: translateX(-50%) translateY(-50%) scale(1.05);
}
#visual-portal-wrapper .news ul li:hover  a.illustration::after{
	height: 100%;
}
#visual-portal-wrapper .news ul li:hover .infos {
	bottom: 10px;
}
#visual-portal-wrapper .news ul li:hover .infos::after {
	opacity: 1;
	-moz-transform: translateX(0);
	-webkit-transform: translateX(0);
	-o-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0);
}
/* BTN */
#visual-portal-wrapper .news .portletFooter {
	margin: 30px 0;
	text-align: center;
}
#visual-portal-wrapper .news .portletFooter a{
	padding: 5px 40px;
	margin-right: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 500;
	background: #fff;
	border: 5px solid var(--color-primary);
	font-size: 0.9em;
	font-family: var(--font-title);
	border-radius: 50px;
	color: var(--color-primary) !important;
	text-transform: uppercase;
	text-decoration: none;
	position: relative;
	box-shadow: none;
	overflow: hidden;
	font-size: 0.8em;
	z-index: 1;
}
#visual-portal-wrapper .news .portletFooter a:hover{
	color: #fff !important;
	background: var(--color-primary);
	padding-left: 60px;
	padding-right: 60px;
}



/*--------------------------------------------------------------------------------------------------------------
	== Temoignages
--------------------------------------------------------------------------------------------------------------*/
#visual-portal-wrapper .portlet-temoignages {
	background: var(--color-primary);
	padding: var(--margin-current) 0;
}
#visual-portal-wrapper .testimonial .portletHeader{
	text-align: center;
	font-size: 1.75em;
	color: #fff;
	font-family: var(--font-title);
	text-transform: uppercase;
	margin-bottom: var(--margin-current);
}
#visual-portal-wrapper .testimonial ul{
	display: flex;
	justify-content: space-between;
}
#visual-portal-wrapper .testimonial ul li{
	width: 30%;
	display: flex;
	align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
}
#visual-portal-wrapper .testimonial ul li div:not(.infos){
	width: 100%;
	color: #fff;
	order: -1;
	margin-bottom: 10px;
}
#visual-portal-wrapper .testimonial ul li .illustration {
	display: block;
	width: 90px;
	max-width: 30%;
	height: 90px;
	overflow: hidden;
	position: relative;
	border-radius: 150px;
}
#visual-portal-wrapper .testimonial ul li .illustration img{
	position: absolute;
	object-fit: cover;
	top: 50%;
    -moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
    left: 50%;
	width: 100%;
	height: 100%;
}
#visual-portal-wrapper .testimonial ul li .infos{
	width: 70%;
	padding-left: 10px;
}
#visual-portal-wrapper .testimonial ul li .infos h2{
	font-size: 1em;
	color: #fff !important;
    line-height: 1.2;
    margin-bottom: 5px;
}
#visual-portal-wrapper .testimonial ul li .infos .description{
	font-size: 0.9em;
	line-height: 1.2;
	text-transform: uppercase;
	font-weight: bold;
	color: var(--color-secondary);
}
#visual-portal-wrapper .testimonial ul li .bouton2 {
	color: #fff !important;
	font-family: var(--font-current);
}



/*--------------------------------------------------------------------------------------------------------------
	== Chiffres clés
--------------------------------------------------------------------------------------------------------------*/
#visual-portal-wrapper .contest-numbers {
	text-align: center;
	padding: var(--margin-current) 0;
}
#visual-portal-wrapper .contest-numbers h2{
	color: var(--color-current) !important;
	margin-bottom: var(--margin-text);
}
#visual-portal-wrapper .contest-numbers p{
	max-width: var(--max-widthSmall);
	margin: 0 auto var(--margin-current);
	padding: 0 var(--margin-text);
}
#visual-portal-wrapper .contest-numbers div ul{
	display: flex;
	justify-content: center;
	text-align: center;
}
#visual-portal-wrapper .contest-numbers div ul li {
	border-right: 1px solid var(--color-current);
	font-family: var(--font-title);
	font-size: 1.2em;
	line-height: 1.1;
	padding: 30px 60px 40px;
}
#visual-portal-wrapper .contest-numbers div ul li:last-child {
	border-right: none;
	padding-right: 0;
}
#visual-portal-wrapper .contest-numbers div ul li:first-child {
	padding-left: 0;
}
#visual-portal-wrapper .contest-numbers div ul li strong{
	display: block;
	color: var(--color-primary);
	font-size: 1.6em;
	line-height: 1;
	font-weight: normal;
}
#visual-portal-wrapper .contest-numbers div ul li::before{
	font-family: var(--font-picto);
	font-size: 2em;
	color: var(--color-primary);
	margin-bottom: 15px;
	display: block;
}
#visual-portal-wrapper .contest-numbers div ul li.candidatures::before{
	content: "\e902";
}
#visual-portal-wrapper .contest-numbers div ul li.votants::before{
	content: "\e901";
}
#visual-portal-wrapper .contest-numbers div ul li.publications::before{
	content: "\e900";
}
#visual-portal-wrapper .contest-numbers div ul li.sujets::before{
	content: "\e903";
}


/*--------------------------------------------------------------------------------------------------------------
	== NEWSLETTER
--------------------------------------------------------------------------------------------------------------*/

.portlet-subscribenewsletter  {
	padding-right: 50%;
	position: relative;
	padding-top: 150px;
	padding-bottom: 150px;
}
.portlet-subscribenewsletter::before {
	position: absolute;
	top: 0;
	left: 50%;
	right: 0;
	bottom: 0;
	background:url(../images/bg_newsletter.jpg) center center no-repeat;
	background-size: cover;
	content: "";
}
/*------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------------------------------*/

/*------------------------------------------------------------------------------------------------------------*/
/*
	= AJUSTEMENT PETITS ECRANS
*/
/*------------------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 1179px){
	#visual-portal-wrapper .contest-numbers div ul li {
		font-size: 1em;
	}
	#visual-portal-wrapper .contest-numbers div ul {
		-moz-transform: scale(0.9);
		-webkit-transform: scale(0.9);
		-o-transform: scale(0.9);
		-ms-transform: scale(0.9);
		transform: scale(0.9);
	}
}

@media only screen and (max-width: 1023px){
	#visual-portal-wrapper .header-baseline {
		top: 50%;
		max-width: 400px;
	}
	#visual-portal-wrapper .header-CTA ul .bouton {
		margin: 0 10px;
		min-width: none;
		min-width: 320px;
	}
	#visual-portal-wrapper .contest-numbers div ul li {
		padding-left: 30px;
		padding-right: 30px;
	}
	.portlet-subscribenewsletter {
		padding-right: 30%;
	}
	.portlet-subscribenewsletter::before {
		left: 70%;
	}
	#visual-portal-wrapper .testimonial ul li .illustration {
		max-width: none;
		width: 40px;
		height: 40px;
	}
	#visual-portal-wrapper .testimonial ul li .infos {
		width: 100%;
		padding-left: 0;
		order: -1;
		padding-top: 5px;
	}
	#visual-portal-wrapper .testimonial ul li .infos .description {
		margin-bottom: 5px;
	}
}

@media only screen and (max-width: 500px){
	#visual-portal-wrapper .header-baseline {
		top: 40%;
		font-size: 2.5em;
	}
	#visual-portal-wrapper .header-baseline p img {
		height: auto !important;
		max-width: 100px;
	}
	#visual-portal-wrapper .header-CTA ul {
		flex-direction: column;
		align-items: center;
	}
	
	#visual-portal-wrapper .header-CTA ul .bouton{
		width: 100%;
		margin-top: 20px;
	}
	#visual-portal-wrapper .news ul {
		flex-wrap: wrap;
	}
	#visual-portal-wrapper .news ul li {
		width: 100%;
	}

	#visual-portal-wrapper .testimonial ul {
		flex-wrap: wrap;
	}
	#visual-portal-wrapper .testimonial ul li {
		width: 100%;
		margin-bottom: 30px;
		padding-bottom: 30px;
		border-bottom: 1px solid var(--color-secondary);
	}
	#visual-portal-wrapper .testimonial ul li:last-child {
		border: none;
		padding-bottom: 0;
		margin-bottom: 0;
	}

	#visual-portal-wrapper .contest-numbers div ul {
		flex-wrap: wrap;
	}
	#visual-portal-wrapper .contest-numbers div ul li {
		width: 50%;
		border: none !important;
		padding: 30px 0 !important;
		margin: 0;
	}
	#visual-portal-wrapper .contest-numbers div ul li:nth-child(1) {
		border-right: 1px solid !important;
		border-bottom: 1px solid !important;
	}
	#visual-portal-wrapper .contest-numbers div ul li:nth-child(2) {
		border-bottom: 1px solid !important;
	}
	#visual-portal-wrapper .contest-numbers div ul li:nth-child(3) {
		border-right: 1px solid !important;
	}

	.portlet-subscribenewsletter {
		padding-top: 50px;
		padding-bottom: 50px;
	}
	.portlet-subscribenewsletter {
		padding-right: 0;
	}
	.portlet-subscribenewsletter::before {
		display: none;
	}

}