/* GALLERIE PHOTO
-------------------------------------------------------------------------------------------------------------------------------- */
/* > Commons ------------------------------ */
/* > Gallery liste ------------------------ */
/* > Gallery home ------------------------- */
/* > Gallery fiche ------------------------ */
/* > Gallery video ------------------------ */

/* > Commons ------------------------------ */
.gallery-list {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	max-width: 1920px;
	margin: 0 auto;
	padding: 10px;
	width: 100%;
}
.gallery-item {
	width: calc(33.33% - 20px);
	margin: 10px;
	background-color: rgba(221, 201, 163, .2);
	-webkit-transition: -webkit-transform .3s;
	transition: -webkit-transform .3s;
	-o-transition: transform .3s;
	transition: transform .3s;
	transition: transform .3s, -webkit-transform .3s;
}
.gallery-item:hover {
	-webkit-transform: translateY(-10px);
	    -ms-transform: translateY(-10px);
	        transform: translateY(-10px);
}
.gallery-item:nth-child(3n+2) {
	-webkit-transform: translateY(80px);
	    -ms-transform: translateY(80px);
	        transform: translateY(80px);
}
.gallery-item:nth-child(3n+2):hover {
	-webkit-transform: translateY(90px);
	    -ms-transform: translateY(90px);
	        transform: translateY(90px);
}
.gallery-item h3,
.gallery-item h2 {
	line-height: 1.25em;
	font-size: 1.25em;
	max-width: 260px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='2'%3E%3Crect width='68' height='2'/%3E%3C/svg%3E") center 100% no-repeat;
	padding-bottom: 15px;
	margin: 0 auto 1em;
}
.gallery-item p {
	max-width: 360px;
	margin: 0 auto 1em;
}
.gallery-item_content {
	padding: 5%;
	text-align: center;
}
.gallery-item_more {
	text-transform: uppercase;
	font-size: .75em;
	font-weight: 700;
	margin: 1em auto;
	-webkit-transition: color .3s;
	-o-transition: color .3s;
	transition: color .3s;
}
.gallery-item_more:hover { color: #b97727 }

@media screen and (max-width: 1280px) { 
	.gallery-item:nth-child(3n+2) {
		-webkit-transform: translateY(40px);
		    -ms-transform: translateY(40px);
		        transform: translateY(40px);
	}
	.gallery-item:nth-child(3n+2):hover {
		-webkit-transform: translateY(50px);
		    -ms-transform: translateY(50px);
		        transform: translateY(50px);
	}
}

@media screen and (max-width: 640px) { 
	.galery-list {
		padding: 20px;
		-webkit-box-pack: justify;
		    -ms-flex-pack: justify;
		        justify-content: space-between;
	}
	.gallery-item {
		width: 48%;
		margin: 1%;
	}
	.gallery-item:hover,
	.gallery-item:nth-child(3n+2),
	.gallery-item:nth-child(3n+2):hover {
		-webkit-transform: translateY(0);
		    -ms-transform: translateY(0);
		        transform: translateY(0);
	}
	.gallery-item:nth-child(2n+2),
	.gallery-item:nth-child(2n+2):hover {
		-webkit-transform: translateY(40%);
		    -ms-transform: translateY(40%);
		        transform: translateY(40%);
	}
}

@media screen and (max-width: 480px) { 
	.galery-list {
		padding: 20px;
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
	}
	.gallery-item {
		width: 100%;
		margin: 10px 0;
	}
	.gallery-item .thumbnails img { margin: -6% 0; }
	.gallery-item:hover,
	.gallery-item:nth-child(3n+2),
	.gallery-item:nth-child(2n+2),
	.gallery-item:nth-child(2n+2):hover,
	.gallery-item:nth-child(3n+2):hover {
		-webkit-transform: translateY(0);
		    -ms-transform: translateY(0);
		        transform: translateY(0);
	}
}

/* > Gallery liste ------------------------ */
#gallery-list { padding: 3% 0 5% }
#gallery-list .pagination { padding-top: 120px; }

/* > Gallery home ------------------------- */
.mod-gallery { 
	position: relative;
	padding-bottom: 10%;         
}
.mod-gallery .container-title {
	max-width: 620px;
	padding: 0 30px;
}
.mod-gallery .container-button {
	position: absolute;
	top: 6%; right: 0;
	width: calc(50% - 300px);
	padding: 20px;
}
@media screen and (max-width: 1280px) { 
	.mod-gallery .container-button {
		position: relative;
		top: 0; right: auto;
		margin-top: 50px;
		width: auto;
	}
}
@media screen and (max-width: 480px) { 
	.mod-gallery .container-button { margin-top: 0; }
}

/* > Gallery fiche ------------------------ */
#gallery-container { padding-bottom: 15%; }
#gallery-infos {
	position: relative;
	text-align: center;
	max-width: 1280px;
	padding: 0 120px;
	margin: 0 auto;
}
.gallery-infos_retour {
	position: absolute;
	z-index: 0; left: 0;
	text-align: left;
	padding: 0 20px;
	width: 100%;
	top: 0;
}
.gallery-infos_retour .link-back { margin: 0 }
.gallery-infos_descriptions {
	position: relative;
	max-width: 880px;
	padding: 0 40px;
	margin: 0 auto;
	z-index: 1;
}
.gallery-infos_descriptions .description-intro {
	margin: 0 0 2em;
	font-weight: 500;
}
.gallery-infos_descriptions h2,
.gallery-infos_descriptions h3 {
	text-transform: none;
	font-family: 'Caveat', cursive;
	font-size: 2.25em;
	font-weight: 700;
	margin: 1em 0 .5em;
	color: #b97727;
}
.gallery-infos_descriptions p { margin: 0 0 1em; }
.gallery-infos_descriptions ul {
	margin: 1em 0;
	display: inline-block;
	text-align: left;
}

#gallery-container .pagination { margin: 5% auto 0; }
@media screen and (max-width: 640px) { #gallery-container .pagination { margin: 15% auto 0; } }
@media screen and (max-width: 480px) { #gallery-container .pagination { margin: 0 auto; } }

/* --- sharing --- */
.rs-sharing {
	margin: 2em auto;
	text-align:center;
	padding: 20px;
}
.rs-sharing li { display: inline; }
.rs-sharing li a {
	display: inline-block;
	width: 30px; height: 30px;
	text-align: center;
	border-radius: 50%;
	line-height: 29px;
	margin: 0 5px;
	background-color: #b97727;
	-webkit-transition: background-color .3s linear;
	-o-transition: background-color .3s linear;
	transition: background-color .3s linear;
}
.rs-sharing li a svg { 
	display: inline-block;
	width: 16px; height: 16px;
	vertical-align: middle;
	fill: #fff;
}
.rs-sharing li a:hover { background-color: #000 }

/* --- list photo --- */
.thumbnails.th-zoom { position: relative; }
.thumbnails.th-zoom::after {
	position: absolute;
	top: 50%; left: 50%;
	margin: -35px;
	content: "";
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background-size: 32px 32px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 749.7 753.7' fill='%23fff'%3E%3Cpath d='M724.2,652L724.2,652l-5.4-5.3l0,0L538.6,469.2c34.7-48.6,55.4-108,55.4-172.2C594,133,461,0,297,0 C133,0,0,133,0,297c0,164,133,297,297,297c60.8,0,117.3-18.3,164.3-49.7l185.3,182.6l20.2,20.2c12.9,13,40.5,6.4,61.6-14.6 c21-21,27.6-48.6,14.6-61.6L724.2,652z M301,505.8c-115.3,0-208.8-93.5-208.8-208.8c0-115.3,93.5-208.8,208.8-208.8 c115.3,0,208.8,93.5,208.8,208.8C509.9,412.3,416.4,505.8,301,505.8z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-color: #b97727;
	opacity: 0;
	-webkit-transform: scale(0.5);
	    -ms-transform: scale(0.5);
	        transform: scale(0.5);
	-webkit-transition: opacity .3s, -webkit-transform .3s;
	transition: opacity .3s, -webkit-transform .3s;
	-o-transition: transform .3s, opacity .3s;
	transition: transform .3s, opacity .3s;
	transition: transform .3s, opacity .3s, -webkit-transform .3s;
}
a:hover .thumbnails.th-zoom::after,
a.thumbnails.th-zoom:hover::after {
	-webkit-transform: scale(1);
	    -ms-transform: scale(1);
	        transform: scale(1);
	opacity: 1;
}
@media screen and (max-width: 860px) { 
	#gallery-container { padding-top: 100px; }
	#gallery-infos {
		position: static;
		padding: 0 20px;
	}
	.gallery-infos_retour { padding: 20px; }
	
}
@media screen and (max-width: 640px) { 
	#gallery-container { padding: 80px 10px 25%; }
	.gallery-infos_descriptions { padding: 0 }
}

/* > Gallery vidéo ------------------------ */

#gallery-video {
	padding: 120px 10px 40px;
	text-align: center;
	position: relative;
	width: 100%; 
	z-index: 0;
	overflow: hidden;
}
#gallery-video h2 {
	text-transform: none;
	font-family: 'Caveat', cursive;
	font-size: 2.25em;
	font-weight: 700;
	margin: 1em 0 .5em;
	color: #b97727;
}
.gallery-video_list {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}
.gallery-video_list li { width: 25%; }
.gallery-video_list li { 
	padding: 10px;
	width: 25%;
}
.gallery-video_list li a {
	display: block; 
	overflow: hidden; 
	position:relative;
	background: #ddc9a3;
}
.gallery-video_list li a:after {
	content:"";
	position:absolute;
	width: 80px; height: 60px;
	background: 58% center no-repeat;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 48 55' fill='%23ffffff'%3E%3Cpolygon points='48,27 0,55 0,0 '/%3E%3C/svg%3E");
	background-color: rgba(0,0,0,.7);
	background-size: 24px auto;
	border-radius: 20px;
	top: 50%; left: 50%;
	margin: -30px -40px;
	-webkit-transition: background-color .3s, -webkit-transform .3s;
	transition: background-color .3s, -webkit-transform .3s;
	-o-transition: transform .3s, background-color .3s;
	transition: transform .3s, background-color .3s;
	transition: transform .3s, background-color .3s, -webkit-transform .3s;
}
.gallery-video_list li a:hover:after {
	background-color: #b97727;
	-webkit-transform: scale(0.8);
	-ms-transform: scale(0.8);
	transform: scale(0.8);
}
.gallery-video_list li a img {
	display:block; width:100%;
	-webkit-transition:transform .2s linear, opacity .2s linear;
	-o-transition:transform .2s linear, opacity .2s linear;
	-webkit-transition:opacity .2s linear, -webkit-transform .2s linear;
	transition:opacity .2s linear, -webkit-transform .2s linear;
	transition:transform .2s linear, opacity .2s linear;
	transition:transform .2s linear, opacity .2s linear, -webkit-transform .2s linear;
}
.gallery-video_list li a img { position:relative; z-index:0; }
.gallery-video_list li a:hover img {
	-webkit-transform:scale(1.2);
	-ms-transform:scale(1.2);
	transform:scale(1.2);
	opacity:.4
}
.gallery-video_list li .gallery-title-video {
	background:rgba(255,255,255,0.5);
	position:absolute; bottom:-60px; left:0; z-index:1;
	padding:10px 0; text-align:center; font-size:16px;
	height:60px; width:100%; opacity:0;
	-webkit-transition:bottom .2s linear, opacity .2s linear;
	-o-transition:bottom .2s linear, opacity .2s linear;
	transition:bottom .2s linear, opacity .2s linear;
}
.gallery-video_list li a:hover .gallery-title-video { bottom:0; opacity:1; }
.gallery-video_list li .gallery-video-content { display:none }

@media screen and (max-width: 860px) { .gallery-video_list li { width: 33.33%; } }
@media screen and (max-width: 540px) { .gallery-video_list li { width:50%; } }
@media screen and (max-width: 480px) { #gallery-video { padding-top: 0 } }
@media screen and (max-width: 360px) { .gallery-video_list li { width: 100%; } }