/* 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 */

.Featured.News > a {
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	wrap;
	padding-left: 1em;
	padding-right: 1em;
	padding-bottom:4em;
	flex-direction: column;
	}
	
.Featured.News > a * {
	display: block;
	width: 100%;
	}



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


/* Tile */

@media (min-width: 640px) {
	.Featured.News > a {
		width: 33.3333333333%;
		}
		}

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

/* hover "+" size */
.Featured.News > a:nth-child(-n+4):hover > span::after {
	background-size: 3em;
	}

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

/* Head */	
.RollingNews	 .Featured h3,
.Featured.News a:nth-child(-n+3) h3 {
	font-family: Book;
	letter-spacing: normal;
	font-size: 2em;
	}
	
/* Date */
.RollingNews	 .Featured p.Date,
.Featured.News > a:nth-child(-n+3) > p.Date {
	order: 4;
	color: white;
	font-size: 1.1em;
	font-family: Bold;
	margin-top: 3em;
	}
	


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


/* Tiles */

.Featured.News > a:nth-child(n+4) {
	width: 80%;
	}
	
	@media (min-width: 640px) {
		.Featured.News > a:nth-child(n+4) {
			width: 40%;
			}
			}	
	@media (min-width: 1024px) {
		.Featured.News > a:nth-child(n+4) {
			width: 30%;
			}
			}	
	@media (min-width: 1200px) {
		.Featured.News > a:nth-child(n+4) {
			width: 23%;
			}
			}
	
		
					

/* Content */
 
.Featured.News > a > h3 {
	order: 2;
	padding-top: 1em;
	margin-top: 0;
	margin-bottom: .25em;
	border-top: 1px solid #d0d0ce; /* Theme 30% */
	}	
	.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;
				}
				}			



.Featured.News p {
	color: #64635e; /* theme */
	text-align: left;
	}
	

.Featured.News > a > p.Date {
	color: black;
	font-size: .8em;
	font-family: Light;
	order: 2;
	margin-top: 0;
	margin-bottom: 1.5em;
	}


.Featured.News > a > p.Teaser {
	order: 4;
	width: 100% ;
	margin-top: 0;
	margin-bottom: 0em;
	font-size: .9em;
	}
	/* Room for thumbnail, if any*/
	.Featured.News > a:nth-child(n+4) > span[style*=".jpg"] + h3 + p.Teaser {
		margin-top: -5rem;
		padding-left: 6rem;
		}
	.Featured.News > a > p.Teaser::after {
		content: "…";
		}	
	



/*Thumbnails */

.Featured.News > a:nth-child(n+4) > span {
	position: relative;
	order: 3;
	top: .25em;
	width: 5em;
	height: 5em;
	margin-right: 1em;
	border-radius: .5em;
	background-size: cover;
	background-position: center;
	filter: none;
	opacity: 1;
	}
	/* 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";
			}



	
	
	


	







	
