/* CSS Document */

.galGaleries a {
	color:inherit;
	font-size:13px;
	font-weight:normal;
	text-decoration:none;
	
	display:inline-block;
	line-height:18px;
	margin:0 var(--largeur-carre) 80px 0;
	text-transform:uppercase;
	vertical-align:top;
	width:calc((100% - 3*var(--largeur-carre))/4);
}
.galGaleries a div {
	margin-bottom:var(--largeur-carre);
	
}
.galGaleries a:nth-child(4n+2) {
	margin-right:0;
}
.galGaleries div {
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center center;
	padding-top:100%;
}

.galGalerie .galRetour {
	position:absolute;
	top:-10px;
}

.galLegende {
	white-space:nowrap;
}
.galLegende input {
	background-color:#999;
	font:inherit;
	text-align:right;
	width:calc(100% - 50px);
}
.fa-times {
	float:right;
}

@media only screen and (max-width:800px) {
	.galGaleries a {
		margin:0 var(--largeur-carre) 80px 0;
		width:calc((100% - var(--largeur-carre))/2);
	}
	.galGaleries a:nth-child(2n) {
		margin-right:0;
	}
	@media only screen and (max-width:600px) {
		.galGaleries a {
			margin:0 var(--largeur-carre) 80px 0;
			width:100%;
		}
	}
}