﻿@charset "utf-8";
/* -----------------------------------------------------------------
Placement et effet de zoom sur les images
------------------------------------------------------------------*/
.zoom {
	position: relative;
	height: auto;
	float: left;
	margin: 2px 6px 9px 6px;
	box-sizing: border-box;				/* Adapte la taille de la boite à son contenu (ici, avec les marges intérieur mais pas extérieur) */
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	list-style: none;
}
.image_zoom {
	width: 247px;
	height: 185px;
	overflow: hidden;		/* overflow permet de gérer les dépassements de blocs (ici, ce qui dépasse lors du zoom est masqué */
}
.image_zoom > img {
	width: 247px;
	height: 185px;
	transition: all 1s;
	-webkit-transition: all 1s;
	-moz-transition: all 1s;
	z-index: 1;
}
.zoom:hover > .image_zoom > img {
	transform: scale(1.3);
	-webkit-transform: scale(1.3);
	-moz-transform: scale(1.3);
	-ms-transform: scale(1.3);
}
/* -----------------------------------------------------------------
Fin du placement et effet de zoom sur les images
------------------------------------------------------------------*/

/* -----------------------------------------------------------------
Création d'un masque semi-transparent
------------------------------------------------------------------*/
.masque {
	background-color: rgba(0,0,0, 0.3);			/* Modifier la dernière valeur pour modifier la transparence (0=invisible, 1=visible) */
	transition: all 0.4s ease-in-out;			/* Permet la transition entre l'affichage et la disparition */
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";	/* Rend le masque invisible au chargement de la page pour les anciennes version de IE*/
	filter: alpha(opacity=0);					/* Rend le masque invisible au chargement de la page */
	opacity: 0;									/* Rend le masque invisible au chargement de la page */
	width: 100%;
	height: 100%;
	position: absolute;
	overflow: hidden;
	top: 0px;
	left: 0;
	z-index: 3;

}
.zoom:hover > .image_zoom > .masque {			/* Rend le masque visible au survol */
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=1)";
	filter: alpha(opacity=1);
	opacity: 1;
}
/* -----------------------------------------------------------------
Fin de la création du masque semi-transparent
------------------------------------------------------------------*/

/* -----------------------------------------------------------------
Création de la bande blanche dans le haut de l'image "Voir nos candidats"
Seule la position est nécessaire. Le reste, c'est de la mise en forme
------------------------------------------------------------------*/
.masque > p {
	background-color: #FFF;
	color: #990000;
	text-decoration: none;
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
	width: 247px;
	position: absolute;
	top: 0px;
	left: 0px;
}
/* -----------------------------------------------------------------
Fin de la création de la bande blanche "Voir nos candidats"
------------------------------------------------------------------*/
/* -----------------------------------------------------------------
Création de la zone cliquable sur toute la surface de l'image
------------------------------------------------------------------*/
.voile_lien {
	background-color: rgba(0,0,0, 0);	/* La zone est noir complètement transparente */
	text-decoration: none;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	opacity: 0;
}
/* -----------------------------------------------------------------
Fin de la création de la zone cliquable sur toute la surface de l'image
------------------------------------------------------------------*/
/* -----------------------------------------------------------------
Initialisation de l'animation de la bande blanche "Voir nos candidats"
(Règlages pour une animation fluide)
------------------------------------------------------------------*/

.animate {
	animation-duration: 0.5s;			/* Durée de l'animation : 0,5 secondes */
	animation-delay: 0s;				/* Délai avant le début de l'animation */
	animation-timing-function: ease;	/* ??? */
	animation-fill-mode: both;			/* ??? */
	-webkit-animation-duration: 0.5s;
	-webkit-animation-delay: 0s;
	-webkit-animation-timing-function: ease;
	-webkit-animation-fill-mode: both;
	-moz-animation-duration: 0.5s;
	-moz-animation-delay: 0s;
	-moz-animation-timing-function: ease;
	-moz-animation-fill-mode: both;
	-ms-animation-duration: 0.5s;
	-ms-animation-delay: 0s;
	-ms-animation-timing-function: ease;
	-ms-animation-fill-mode: both;
}
/* -----------------------------------------------------------------
Fin de l'initialisation de l'animation de la bande blanche "Voir nos candidats"
------------------------------------------------------------------*/

/* -----------------------------------------------------------------
Affichage du titre de l'image (ex: Administratif)
------------------------------------------------------------------*/
.titre > h1 {
	position: absolute;
	text-align: center;
	bottom: 0px;
	width: 247px;
	color: #FFF;		/* Couleur du titre */
	background-color: rgba(0,0,0,0.3);
	/*text-shadow: #FFF 1px -1px 1px, #FFF -1px -1px 1px, #FFF -1px 1px 1px, #FFF 1px 1px 1px;*/
	z-index: 2;
	transition: all 0.4s ease-in-out;				/* Permet la transition entre l'affichage et la disparition */
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=1)";	/* Rend le titre visible au chargement de la page pour les anciennes version de IE*/
	filter: alpha(opacity=1);					/* Rend le titre visible au chargement de la page */
	opacity: 1;									/* Rend le titre visible au chargement de la page */
}
.zoom:hover > .image_zoom > .titre > h1{			/* Rend le titre invisible au survol */
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
}

/* -----------------------------------------------------------------
Fin de l'affichage du titre de l'image
------------------------------------------------------------------*/

/* -----------------------------------------------------------------
Affichage du bandeau "Voir nos candidats" de l'image de haut en bas
------------------------------------------------------------------*/
.masque > p.up-2 {
	top: -17px;			/* Chipotter pour centrer le lien "Voir nos candidats" */
	left: 0px;
}
.zoom:hover > .image_zoom > .masque > p.up-2 {
	animation-name: fadeinuptitle;
	-webkit-animation-name: fadeinuptitle;
	-moz-animation-name: fadeinuptitle;
	-o-animation-name: fadeinuptitle;
}
/* -----------------------------------------------------------------
Fin de l'affichage du bandeau "Voir nos candidats" de l'image de haut en bas
------------------------------------------------------------------*/

/* -----------------------------------------------------------------
Animation du lien "Voir nos candidats" de l'image de haut en bas
------------------------------------------------------------------*/
@keyframes fadeinuptitle {
	0% {
		opacity: 0;
		transform: translateY(-60px);
		-webkit-transform: translateY(-60px);
	}
	100% { 
		opacity: 1;
		transform: translateY(0);
		-webkit-transform: translateY(0);
	}
}
@-webkit-keyframes fadeinuptitle {
	0% {
		opacity: 0;
		transform: translateY(-60px);
		-webkit-transform: translateY(-60px);
	}
	100% { 
		opacity: 1;
		transform: translateY(0);
		-webkit-transform: translateY(0);
	}
}
/* -----------------------------------------------------------------
Fin de l'animation du lien "Voir nos candidats" de l'image de haut en bas
------------------------------------------------------------------*/
