/* CSS Document */
/* Mobile First */




/*  --------------  A L L   N E W S -------------- */

.Featured.News {
	display: Flex;
	position: relative;
	flex-wrap: wrap;
	justify-content: center;
	}
	.Featured.News::before {
		position: absolute;
		width: 100%;
		top: 6em;
		left: 0;
		text-align: center;
		z-index: 100;
		color: white;
		text-transform: uppercase;
		font-size: .8em;
		letter-spacing: .75em;
		}



/* Grid */



/*  --------------  F E A T U R E D   N E W S  --------------  */


/* Tile */

.Featured.News > a {
	padding: 1em;
	width: 100%;
	display: flex;
 	flex-wrap: wrap;
 	align-content: flex-start;
 	position: relative;
 	margin-top: -1px;
	}
	@media (min-width: 640px) {
		.Featured.News > a {
			width: 33.3333333333%;
			}
			}
			
	@media (min-width: 1200px) {
		.Featured.News > a {
			height: 20em;
			}
			}
	

	.Featured.News > a * {
		width: 100%;
	 	}
	 
	
	
	
	
			

/* Alt Color */ 
.Featured.News > a:nth-child(odd) {
	background-color: #aa045d; /*darker Pink */
	}


/* All text */
.RollingNews	 .Featured *,
.Featured.News > a:nth-child(-n+3) *{
	color: white;
	text-align: center;
	}

/* Lable */	
.RollingNews	 .Featured h3,
.Featured.News a:nth-child(-n+3) h3 {
	margin-top: 0.5em;
	font-family: Book;
	letter-spacing: normal;
	font-size: 1.2em;
	}
	@media (min-width: 1024px) {
		.RollingNews	 .Featured h3,
		.Featured.News a:nth-child(-n+3) h3 {
			font-size: 1.5em;
			}
			}		
			
			
/* Teaser */
.Featured.News a:nth-child(-n+3) .Teaser,
.RollingNews .Teaser {
	display: none;
	}
	
/* Date */
.RollingNews	 .Featured p.Date,
.Featured.News > a:nth-child(-n+3) > p.Date {
	order: 4;
	color: white;
	font-size: 1em;
	font-family: Light;
	margin-top: 1em;
	}
	


/* --------------  D E F A U L T   N E W S -------------------- */


/*...  Tiles ...*/


.Featured.News > a:nth-child(n+4) {
	width: 100%;
	padding-top: 0;
	}
	
	@media (min-width: 480px) {
		.Featured.News > a:nth-child(4) {
			padding-top: 1em;
			margin-top: 0;
			}
		.Featured.News > a:nth-child(n+4) {
		 	width: 90%;
			}
			}		
	@media (min-width: 640px) {
		.Featured.News > a:nth-child(5) {
			padding-top: 1em;
			margin-top: 0;
			}
		.Featured.News > a:nth-child(n+4) {
			width: 45%;
			}
			}	
	@media (min-width: 1024px) {
		.Featured.News > a:nth-child(6) {
			padding-top: 1em;
			margin-top: 0;
			}
		.Featured.News > a:nth-child(n+4) {
			width: 30%;
			}
			}	
	@media (min-width: 1200px) {
		.Featured.News > a:nth-child(7) {
			padding-top: 1em;
			margin-top: 0;
			}
		.Featured.News > a:nth-child(n+4) {
			width: 23%;
			}
			}
	@media (min-width: 2000px) {
		.Featured.News > a:nth-child(8),
		.Featured.News > a:nth-child(9) {
			padding-top: 1em;
			margin-top: 0;
			}
		.Featured.News > a:nth-child(n+4) {
			width: 15%;
			}
			}


						

/*... Content ...*/
 

 /* Lable */
.Featured.News > a > h3 {
	order: 2;
	padding-top: 1em;
	margin-top: 0;
	margin-bottom: .25em;
	border-top: 1px solid #d0d0ce; /* Theme 30% */
	font-size: 1.35em;
	}
	
	
/* DIvider Removal */		
	.Featured.News > a:nth-child(-n+4) > h3 {
		border:  none;
		}
		@media (min-width: 640px) {
			.Featured.News > a:nth-child(-n+5) > h3 {
				border:  none;
				}
				}
		@media (min-width: 1024px) {
			.Featured.News > a:nth-child(-n+6) > h3 {
				border:  none;
				}
				}			
		@media (min-width: 1200px) {
			.Featured.News > a:nth-child(-n+7) > h3 {
				border:  none;
				}
				}			
		@media (min-width: 2000px) {
			.Featured.News > a:nth-child(-n+8) > h3,
			.Featured.News > a:nth-child(-n+9) > h3 {
 				border:  none;
				}
				}			



/* Text Align */
.Featured.News p {
	text-align: left;
	}
	
/* Date */
.Featured.News > a > p.Date {
	color: black;
	font-size: 1em;
	font-family: Light;
	order: 2;
	margin-top: 0;
	margin-bottom: 1em;
	}

/* Teaser description */
.Featured.News > a > p.Teaser {
	order: 4;
	width: 100% ;
	margin-top: 0;
	margin-bottom: 0em;
	font-size: 1em;
	font-family: Light;
	color: #64635e; /* theme */
	}
	/* Room for thumbnail, if any*/
	.Featured.News > a:nth-child(n+4) > span[style*=".jpg"] + h3 + p.Teaser {
		margin-top: -4.25rem; /* align with thumbnail */
		padding-left: 4.75rem;
		}
	.Featured.News > a > p.Teaser::after {
		content: "…";
		}	
	



/*Thumbnails */

.Featured.News > a:nth-child(n+4) > span {
	position: relative;
	order: 3;
	border-radius: .5em;
	background-size: cover;
	background-position: center;
	filter: none;
	opacity: 1;
	width: 4em;
	height: 4em;
	}
	
	@media (min-width: 640px) {
		.Featured.News > a:nth-child(n+4) > span {
			/*top: .25em;*/
			/*width: 5em;*/
			/*height: 5em;*/
			/*margin-right: 1em;*/
			}
			}
		
	
	
	
	
	
	/* No "+" hover */
	.Featured.News > a:nth-child(n+4):hover > span::after { 
		display: none;
		}
	/* Removes empty thumbnails */
	.Featured.News a:nth-child(n+4) span:not([style*=".jpg"]) {	
		display: none;
		}

/* background */

.Featured.News > a:nth-of-type(n+4) {
	background-color: transparent; 
	}

	
.Featured.News > a:not(:last-child):nth-child(n+4):hover {
	background-color: #e0e0df; /* Theme 20% */
	transition: 1s;
	}
	
	


/* --------------  L A S T   B U T T O N -------------------- */



.Featured.News > a:last-child {
	margin-top: 3em;
	margin-bottom: 3em;
	justify-content: center;
	padding-top: 1.5em;
	text-align: center;
	width: auto;
	padding-bottom: 10em;
	}
	
	/* icon	*/
	.Featured.News > a:last-child::before {
		content: "";
		display: block;
		position: absolute;
		width: 1.2em;
		height: 1.2em;
		top: 0;
		left: 50%;
		margin-left: -0.6em;
		background-position: center;
		background-repeat: no-repeat;
		background-image: url(../AFY/images/skin/nav_event_plain.svg);
		z-index: 10000;
		}
		.Featured.News > a:last-child:hover::before {
			filter: brightness(.55) saturate(150) hue-rotate(255deg); /* hot pink */
			}
		
		
	
	/* Message */
	.Featured.News > a:last-child::after {
		content: "Voir plus de nouvelles";
		}
		.EN .Featured.News > a:last-child::after {
			content: "View more news";
			}


	.Featured.News.Release > a:last-child::after {
		content: "Voir plus de communiqués de presse";
		}
		.EN .Featured.News.Release > a:last-child::after {
			content: "View more news releases";
			}



	
	
	


	







	
