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












/* ......... G R I D ...............*/

/* ... Dialog box ... */
.PopContactCard {
	display: grid;
	grid-template-columns: 1fr;
	padding: 0;
	max-height: 100%;
	}
	
	/* Not AFY */
	.PopUpON > div.Alien {
		max-width: 500px;
		}


	/* Horisontal divider */
	.PopContactCard:not(.Alien) > div:nth-child(1) {
		border-bottom: 1px solid #c1c1bf;
		}
		
	@media (max-width: 639px)  {
		.PopContactCard:not(.Alien) {
			grid-template-columns: 1fr;
			}
		.PopContactCard:not(.Alien) > div {
			padding: 2em;
			}
			}
		
	@media (min-width: 640px) and (max-width: 1023px) {
		.PopContactCard:not(.Alien) {
			display: grid;
			grid-template-columns: 1fr 1fr;
			grid-auto-flow: column;
			}
			}
	@media (min-width: 1024px) {
		.PopContactCard:not(.Alien) {
			display: grid;
			grid-template-columns: 1fr 1fr 1fr;
			grid-column-gap: 3em;
			grid-auto-flow: column;
			padding-left: 4em;
			}
			}
	@media (min-width: 1600px) {
		.PopContactCard:not(.Alien) {
			display: grid;
			grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
			grid-column-gap: 3em;
			grid-auto-flow: column;
			padding-left: 4em;
			}
			}




/* ... Sections ... */

/* 1 column */ 

@media (max-width: 639px) {
	.PopContactCard > div{
		padding-top: 1.5em;
		padding-bottom: 1em;
		/*border: 1px solid #333;*/
		}
	.PopContactCard > div.Photo {
		grid-row: 3;
		background-size: 100%;
		}
		}

/* 2 columns */ 

		
@media (min-width: 640px) and (max-width: 1023px) {
	.PopContactCard > div{
		padding: 2em;
		}	
	.PopContactCard > div.Mug {
		grid-row: 1;
		grid-column-start: 1;
		grid-column-end: 3;
		}
	.PopContactCard > div.Work {
		grid-row: 2;
		grid-column-start: 1;
		grid-column-end: 3;
		}
	.PopContactCard > div.Work > div {
		width: 50%;
		float: left;
		padding-right: 3em;
		}
	.PopContactCard > div.Fun {
		grid-row: 3;
		grid-column: 1 / 2;
		background-image: linear-gradient(to top, white 50%, #d0d0ce);
		}
	.PopContactCard > div.Photo {
		grid-row: 3;
		grid-column: 2 / 2;
		background-size: cover;
		background-position: center;
		}
		}
	
	/* Not AFY */
	.PopContactCard.Alien >div {
		padding: 2em;
		}
	
	
	
/* 3 columns */ 

@media (min-width: 1024px) {
	.PopContactCard > div{
		padding-bottom: 3em;
		padding-top: 3em;
		}	
	.PopContactCard > div.Mug {
		grid-column-start: 1;
		grid-column-end: 3;
		}
	.PopContactCard > div.Work {
		grid-column: 1 / 2;
		}
	.PopContactCard > div.Fun {
		grid-column: 2 / 2;
		}
	.PopContactCard > div.Photo {
		grid-row: 1 / span 3;
		background-size: cover;
		background-position: center;
		}
		}

/* 5 columns */ 

@media (min-width: 1600px) {
	.PopContactCard > div.Mug {
		grid-column: 1;
		}
	.PopContactCard > div.Work {
		grid-column-start: 2;
		grid-column-end: 4;	
		}
	.PopContactCard > div.Fun {
		grid-column: 4;
		}
	.PopContactCard > div.Photo {
		grid-column: 5;
		background-size: cover;
		background-position: center;
		}
		}
	





	
/* ..........  G E N E R I C .  .......... */ 


/* Section head */
.PopContactCard h4 {
	font-size: 2em;
	font-family: Light;
	letter-spacing: normal;
	margin-bottom: .5em;
	color: black;
	}		

/* Subtitle */	
.PopContactCard h5 {
	font-family: Light;
	letter-spacing: normal;
	font-size: 1em;
	margin-bottom: .15em;
	}		








/* .......... M U G ............ */

/* Thumbnail */

	.Mug {
		padding-top:  3em;
		}
	
	.Mug > span {
		display: block;
		background-image: url(../AFY/images/contact/mug_02.jpp);
		background-color: #d0d0ce;
		background-size: cover;
		background-position: center;
		margin-left: auto;
		margin-right: auto;
		border-radius: 50%;
		filter: saturate(0) brightness(1.1);
		width: 5.5em;
		height: 5.5em;
		}
		@media (min-width: 640px) {
			.Mug > span {
				width: 8em;
				height: 8em;
				}
				}
		@media (min-width: 800px) {
			.Mug > span {
				width: 9em;
				height: 9em;
				}
				}

/*..  Name  .. */

	.Mug > h3,
	.Mug > p {
		text-align: center;
		}
		
	.Mug > h3,
	.Mug > p {
		text-align: center;
		}
		
		.PopContactCard .Mug h3 {
		font-size: 1.85em;
		margin-top: .15em;
		margin-bottom: .25em;
		}
		@media (min-width: 799px) {
			.PopContactCard .Mug h3 {
				font-size: 2.5em;
				margin-bottom: .5em;
				}
				}
		
		.Alien .Mug h3 {
			margin-bottom: 0;
			}
			/*Not AFY */
			@media (min-width: 799px) {
				.Alien .Mug h3 {
					margin-bottom: 0;
					}
					}			
				
/* .. Tile (Position) .. */ 				
				
	/*Not AFY */				
	.Alien p {
		font-size: 1.15em;
		font-family: Light;
		margin-top: 0.25em;
		/*margin-bottom: 1.5em;*/
		}
		@media (min-width: 799px) {
			.Alien p {
				font-size: 1.25em;
				}
				}		
			
		
				

/* .. Contact Info .. */

	/* Group */
	.Mug ul {
		list-style: none;
		padding: 0;
		justify-content: center;
		text-align: center;
		margin-top: 1.5em;
		}
		@media (min-width: 640px) and (max-width: 1599px) {
			not(.Alien) .Mug ul {
				display: flex;
				}
				}
		/*Not AFY */		
		.Alien ul {
			margin-bottom: 2em;
			}		
				
		
	/*Items*/	
	.PopContactCard .Mug li {
		font-size: 1.1em;
		line-height: .9em;
		}
		@media (min-width: 799px) {
			.PopContactCard .Mug li {
				font-size: 1.2em;
				}
				}

	/* Phone */
	.Mug li:first-child span::before {
		content: ", poste ";	
		}
		.EN .Mug li:first-child span::before {
			content: ", ext. ";	
			}
	




	/* Divider */
	.Mug li:nth-child(n+2) {
		}
		@media (min-width: 640px) and (max-width: 1599px) {
			not(.Alien) .Mug li:nth-child(n+2) {
				padding-left: 1em;
				border-left: 1px solid #d0d0ce; /* Theme 30% */
				}
			not(.Alien) .Mug li:nth-last-child(n+2) {
				padding-right: 1em;
				}			
				}
			
	/* URL */ 
	.Mug li a:hover {
		color: #d43287;
		}
	
	/* icon */
	.Mug li a {
		padding-left: 1.5em;
		position: relative;
		}
	.Mug li a::before {
		content: "";
		display: block;
		position: absolute;
		left: 0;
		width: 1em;
		height: 1em;
		}
		.Mug li a:hover::before {
			filter: brightness(.55) saturate(150) hue-rotate(255deg); /* hot pink */
			}
		
		/* Phone */
		.Mug li:first-child a::before {
			background-image: url(../AFY/images/skin/contact_phone.svg);
			} 	
		/* EMAIL */ 
		.Mug li:last-child a::before {
			background-image: url(../AFY/images/skin/contact_mail.svg);
			}		
		
		
		








/* ..........W O R K  ............ */

/*H4 Head*/
.Work h4:before {
	content: "Au Travail	";
	}
	.EN .Work h4:before {
		content: "At Work";
		}

	
/* intro */

.PopContactCard > div.Work h4 + div > p:first-child {
	color: black;
	font-family: Light;
	line-height: 1.15em;
	font-size: 1.5em;
	margin-bottom: .25em;
	}
	
/* rating bars */
	
.PopContactCard > div.Work ul {
	margin-top: 2em;
	margin-bottom: 2em;
	list-style: none;
	padding: 0;
	}
	/* 2 column grid */
	@media (min-width:640px) and (max-width: 1024px) {
		.PopContactCard > div.Work ul {
			margin-top: 0em;
			margin-bottom: 0em;
			}
			}
	/*bar*/
	.PopContactCard > div.Work ul span {
		display: block;
		height: .7em;
		background-color: #b1b1ae;
		background-image: linear-gradient(to right, #d0d0ce 0%, #ee73ba);
		margin-bottom: .95em;
		}


/* H5 Sub Head */
.Work > ul li:nth-of-type(1) h5::before {
	content: "Début en poste";
	}
	.EN .Work > ul li:nth-of-type(1) h5:before {
		content: "In Position Since";
		}

.Work > ul li:nth-of-type(2) h5:before {
	content: "Début à l’AFY";
	}
	.EN .Work > ul li:nth-of-type(2) h5:before {
		content: "With AFY Since";
		}



/* years */

.PopContactCard > div.Work > ul {
	display: flex;
	}
	
.PopContactCard > div.Work > ul li {
	width: 50%;
	display: block;
	padding-right: 1em;
	}
.PopContactCard > div.Work ul li p {
	font-size: 1.25em;
	color: black;
	}	
	




	

/* ..........F U N  ............ */

.Fun h4:before {
	content: "Après 17 h";
	}
	.EN .Fun h4:before {
		content: "After Hours";
		}

.PopContactCard > div.Fun p {
	color: black;
	font-size: 1.2em;
	line-height: 1.2em;
	margin-bottom: .6em;
	}
	
.PopContactCard > div.Fun h5:nth-child(n+3) {
	border-top: 1px solid #d0d0ce; /* Theme 30% */
	padding-top: 1em;
	}


	
	
	


/* ..........P H O T O  ............ */

.PopContactCard > div.Photo {
	position: relative;
	height: 70vh;
	width: 100%;
	background-size: cover;
	background-position: center;
	}
	
	
	@media (max-width: 639px) {
		.PopContactCard > div.Photo {
			max-height: 300px;
			}
			}

	
	
	@media (min-width: 640px) {
		.PopContactCard > div.Photo {
			height: auto;
			width: auto;
			}
			
	