/** {
	-webkit-transition: all 0.4s ease-out !important;
	-moz-transition: all 0.4s ease-out !important;
	-ms-transition: all 0.4s ease-out !important;
	-o-transition: all 0.4s ease-out !important;
	transition: all 0.4s ease-out !important;
}*/

/* MANSONRY */

.gal {
	margin-top: 3rem;
	-webkit-column-count: 4;
	/* Chrome, Safari, Opera */
	-moz-column-count: 4;
	/* Firefox */
	column-count: 4;
}

@media (max-width: 1599px) {
	.gal {
		-webkit-column-count: 3;
		/* Chrome, Safari, Opera */
		-moz-column-count: 3;
		/* Firefox */
		column-count: 3;
	}
}
@media (max-width: 991px) {
	.gal {
		-webkit-column-count: 2;
		/* Chrome, Safari, Opera */
		-moz-column-count: 2;
		/* Firefox */
		column-count: 2;
	}
}
@media (max-width: 769px) {
	.gal {
		-webkit-column-count: 1;
		/* Chrome, Safari, Opera */
		-moz-column-count: 1;
		/* Firefox */
		column-count: 1;
	}
}


.galNuage {
    -webkit-column-count: 4;
    /* Chrome, Safari, Opera */
    -moz-column-count: 4;
    /* Firefox */
    column-count: 4;
    column-gap: 20px;
}
@media (max-width: 1599px) {
	.galNuage {
		-webkit-column-count: 3;
		/* Chrome, Safari, Opera */
		-moz-column-count: 3;
		/* Firefox */
		column-count: 3;
	}
}
@media (max-width: 991px) {
	.galNuage {
		-webkit-column-count: 2;
		/* Chrome, Safari, Opera */
		-moz-column-count: 2;
		/* Firefox */
		column-count: 2;
	}
}
@media (max-width: 769px) {
	.galNuage {
		-webkit-column-count: 1;
		/* Chrome, Safari, Opera */
		-moz-column-count: 1;
		/* Firefox */
		column-count: 1;
	}
}

.galNuage > div {
    margin-bottom: 20px;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
    break-inside: avoid-column;    
    position: relative;
}
.gal img {
	height: auto;
}
.galNuage > div > span, .galNuage > div > h2 {
    position: absolute;
    width:100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    top:0;
    left:0;
    z-index: 10;
    font-family: "Bitter", serif;
    font-size: 2.6rem;    
    flex-direction: column;
    text-transform: none;
}
.galNuage > div > span {
    font-size: 1.25rem;
    font-weight: 400;
    flex-direction: column;
    padding: 1rem 2rem;
    text-align: center;
    text-transform: uppercase;
}
.galNuage > div > span strong {
    font-size: 1.75rem;
    color: #1c93a9;
    display: block;
    margin: 0.5rem 0;
}
.galNuage > div > div {
    position: absolute;
    width:100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    top:0;
    left:0;
    z-index: 10;
}
.galNuage > div > div > img {
    height: 100%;
    width: auto;
}
.galGris {
    background: #f2f2f2;
}
.galVert {
    background: #1c93a9;
}
.galNuage > div.galVert span, .galNuage > div.galVert span strong {
    color: #ffffff;
}
.galCadreVert {
    border: solid 1px #1c93a9;
}
.galNoir {
    background: #1c1c1c;
}
.galNuage > div.galNoir h2, .galNuage > div.galNoir h2 strong {
    color: #ffffff !important;
}

/* DESIGN */
html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
}

body {}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: -2;
	mix-blend-mode: hard-light;
}

.bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -3;
	background-image: none;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 100%;
}

h2 {
	font-family: "Bitter", serif;
	font-size: 2.6rem;
}

.gal-h-title {
	text-align: center;
}

.gal img,
.img-hover-zoom {}

.nav-pills .nav-link {
    color: #655C53;
    padding: 10px 20px;
    text-transform: uppercase;
    border-radius: 0;
    font-weight: 400;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link,
.nav-pills .nav-link.active:hover {
	background: #1c93a9;

}

.nav-pills .nav-link:hover {
	background: #333;
    color:#fff;
}
@media (max-width: 991px) {
    .nav-pills .nav-link {
        padding: 5px 10px 5px 12px;
        background: #f2f2f2;
        margin: 0 0.25rem 0.5rem 0.25rem;
    }
}


/* ZOOM IN EFFECT */
/* The tutorial I used : https://w3bits.com/css-image-hover-zoom/ */
/* [1] The container */
.img-hover-zoom {
	padding: 10px 0;
	overflow: hidden;
	/* [1.2] Hide the overflowing of child elements */
}

.img-hover-zoom span {
    display: block;
    color: #3f3f3f;
    font-size: 0.7rem;
    padding: 0.5rem 0.25rem 0rem 0.25rem;
    text-align: right;
    text-transform: uppercase;
    position: relative;
    padding-right:30px;
    line-height: 1rem;
}
.img-hover-zoom span:after {
    content: "";
    display: block;
    width: 2px;
    height: calc(100% + 10px);
    position: absolute;
    right: 10px;
    top: -10px;
    background: #1c93a9;
}


/* Transition property for smooth transformation of images */
.img-hover-zoom img {
	transition: transform .5s ease;
}

/* Zoom-n-rotate Container */
.img-hover-zoom--zoom-n-rotate img {
	transition: transform .5s ease-in-out;
}

/* The Transformation */
.img-hover-zoom--zoom-n-rotate:hover img {
	transform: scale(1.6) rotate(25deg);
}