/* ----------------------------------------- */
/* PAGE GALERIE                              */
/* ----------------------------------------- */

.galerie {
	display: flex;
	flex-direction: column;
	padding: 0 15px;
}

.conteneur-galerie {
	width: 100%;
	display: flex;
}

.colonne-gauche-galerie {
	width: 34%;
	padding-right: 10px;
}

.menu-galerie {
	border-radius: 3px;
	box-shadow: 0 0 2px black;
	overflow: hidden;
}

.menu-galerie > li > div {
	background-color: #a8a7a7;
	text-align: center;
	border-bottom: 1px solid #808080;
	padding: 4px 0 4px 0;
}

.menu-galerie > li:last-child > div {
	border-bottom: none;
}

.menu-galerie > li {
	cursor: pointer;
}

.menu-galerie > li:hover > div {
	background-color: #202a4f;
}

.menu-galerie .actif {
	background-color: #202a4f;
}

.sous-menu-galerie {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
	-moz-transition: max-height 0.2s ease-out;
	-webkit-transition: max-height 0.2s ease-out;
	-o-transition: max-height 0.2s ease-out;
}

.sous-menu-galerie > li {
	background-color: #ddd;
	text-align: center;
	border-bottom: 1px solid #ccc;
	line-height: 0.9;
	padding: 8px 0 8px 0;
	color: #333;
}

.sous-menu-galerie > li:hover {
	background-color: #ccc;
}

.sous-menu-galerie .actif {
	background-color: #ccc;
}

.sous-menu-galerie > li > a {
	color: #333;
}

.sous-menu-galerie > li > span {
	color: #333;
	font-size: 0.7em;
}

.bouton-date-galerie {
	display: none;
	/*display: flex;*/
	justify-content: space-between;
	padding: 5px;
	margin-bottom: 15px;
	background-color: #333;
	border: 1px solid white;
	border-radius: 3px;
	cursor: pointer;
}

.bouton-date-galerie i {
	margin: 2px 8px 0 8px;
}

.colonne-droite-galerie {
	width: 66%;
	display: flex;
	flex-wrap: wrap;
}

.photo-galerie {
	width: 33.33%;
	padding: 0 8px;
	margin-bottom: 15px;
	cursor: pointer;
}

.photo-galerie img {
	width: 100%;
	border-radius: 3px;
	display: block;
}

.cadre-photo {
	position: relative;
	overflow: hidden;
}

.cadre-photo h3 {
	color: #444;
	font-weight: bold;
}

.cadre-photo i {
	color: #444;
	font-size: 30px;
}

.cadre-photo div {
	background-color: rgba(255,255,255,0.5);
	width: 100%;
	height: 100%;
	position: absolute;
	border-radius: 3px;
	top: 100%;
	display: flex;
	justify-content: center;
	align-items: center;

	transition: top 0.2s ease-in-out;
	-moz-transition: top 0.2s ease-in-out;
	-webkit-transition: top 0.2s ease-in-out;
	-o-transition: top 0.2s ease-in-out;
}

.cadre-photo:hover div {
	top: 0;
}


/* ---------------------------------- */
/* MODAL                              */
/* ---------------------------------- */


#myModal {
	display: none;
	position: fixed;
	z-index: 2000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.8);
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#photo-zoom {
	margin: auto;
	display: block;
	width: 100%;
	max-width: 1000px;
	animation-name: zoom;
	animation-duration: 0.6s;
}

@keyframes zoom {
	from {transform:scale(0)}
	to {transform:scale(1)}
}

#fermer {
	position: absolute;
	top: 15px;
	right: 35px;
	color: #fff;
	font-size: 40px;
	font-weight: bold;
	transition: 0.3s;
}

#fermer:hover,
#fermer:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}


.fleche {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    background-color: rgba(0,0,0,0.4);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
    transition: background-color 0.3s, transform 0.2s;
    z-index: 2100;
}

.fleche:hover {
    background-color: rgba(0,0,0,0.7);
    transform: scale(1.1);
}

#fleche-gauche {
    left: 20px;
}

#fleche-droite {
    right: 20px;
}



/* ---------------------------------- */
/* RESPONSIVE                         */
/* ---------------------------------- */


@media screen and (max-width: 992px) {
	.photo-galerie {
		width: 50%;
	}
}

@media screen and (max-width: 768px) {
	.bouton-date-galerie {
		display: flex;
	}

	.colonne-gauche-galerie {
		display: none;
	}

	.colonne-droite-galerie {
		width: 100%;
	}

	.photo-galerie {
		width: 100%;
	}
}