/***** galerie *****/
.galerie  							{ display: grid; grid-template-columns:1fr 1fr 1fr; grid-gap:20px; margin-top: 35px;}
.galerie img 						{ display:block;}
.galerie a 							{ display:block; position:relative;}
.galerie a:before 					{ content:""; display:block; position:absolute; top:0; left:0; width:100%; height:100%; background:url(../images/loupe.svg) center no-repeat rgba(0,0,0,0.5); z-index:15; opacity:0;}

@media (min-width:1201px) {
.galerie a:hover:before				{ opacity:1;}
}
@media (max-width:1000px) {
.galerie  							{ grid-template-columns: 1fr 1fr;}	
}
@media (max-width:600px) {
.galerie  							{ grid-template-columns:1fr; grid-gap:20px; margin-top: 25px;}	
}


/***** custom galerie *****/
#galerie .top_page 					{ padding-bottom: 90px;}
#galerie .bloc_texte 				{ padding: 0 5vw;}

@media (max-width:1000px) {
#galerie .top_page 					{ padding-bottom: 70px;}
}
@media (max-width:600px) {
#galerie .top_page 					{ padding-bottom: 40px;}
#galerie .top_page .chapo			{ display: none;}
#galerie .top_page .titre_main		{ margin: 0 0 -5px 0;}
#galerie .bloc_texte 				{ padding: 0 7.5vw;}
}


/***** custom fancybox *****/
.fancybox-bg									{ background: #ffffff;}
.fancybox-is-open .fancybox-bg					{ opacity: 1;}
.fancybox-button,
.fancybox-infobar__body 						{ background: none; color: #113859; font: 400 14px/60px "Poppins"; letter-spacing: 0.8px;}
.fancybox-infobar 								{ top: 30px; left: auto; right: 90px; margin-left: 0;}
.fancybox-infobar button						{ display: none;}
.fancybox-toolbar 								{ top: 30px; right: 30px;}
.fancybox-show-nav .fancybox-arrow 				{ opacity: 1; transition: all 400ms ease-in-out;}
.fancybox-button--close 						{ width: 60px; height: 60px; background: #113859 ; border-radius: 50%; transition: all 400ms ease-in-out;}
.fancybox-button--close:before					{ width: 18px; left: calc(50% - 9px); background: #fff;}
.fancybox-button--close:after					{ width: 18px; left: calc(50% - 9px); background: #fff;}
.fancybox-arrow 								{ width: 60px; height: 60px; background: url("../images/arrow_white.svg") 54% 50% no-repeat #113859; border-radius: 50%; margin-top: -30px;}
.fancybox-arrow:after							{ display: none;}
.fancybox-arrow--right 							{ right: 30px;}
.fancybox-arrow--left 							{ left: 30px;}

@media (min-width:1201px) { 
.fancybox-button:hover:not([disabled]) 			{ background-color: #294c6a  ;} 
.fancybox-arrow:hover:not([disabled])  			{ background-color: #294c6a  ;}
}
@media (max-width:1200px) { 
.fancybox-arrow			 						{ border: none;}
}
@media (max-width:700px) { 
.fancybox-button,
.fancybox-infobar__body 						{ line-height: 40px;}
.fancybox-infobar 								{ top: 7.5vw; left: 7.5vw;}
.fancybox-toolbar 								{ top: 7.5vw; right: 7.5vw;}
.fancybox-button--close 						{ width: 40px; height: 40px;}
.fancybox-button--close:before					{ width: 20px; left: calc(50% - 10px);}
.fancybox-button--close:after					{ width: 20px; left: calc(50% - 10px);}
.fancybox-arrow 								{ width: 40px; height: 40px; margin-top: -20px; background-size: 20% auto;}
.fancybox-arrow--right 							{ right: 7.5vw;}
.fancybox-arrow--left 							{ left: 7.5vw;}
} 