/***** galerie *****/
.blocGalerie 						{ display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; margin-top: 60px; grid-gap: 30px;}
.blocGalerie .item a img 			{ width: 100%; height: auto; display:block;}
.blocGalerie .item a 				{ position: relative;}
.blocGalerie .item a .cadre 		{ background: #f6ba33; outline: none; position: relative; padding: 16px 50px; overflow: hidden; color: #242424; text-transform: uppercase; transition: all 400ms ease-in-out;}

.blocGalerie.detail a 				{ display: block;}
.blocGalerie.detail a:after			{ width: 100%; height: 100%; position: absolute; left: 0; top: 0; background:url("../images/loupe.svg") 50% 50% no-repeat #00000075; opacity: 0; content: "";}

.blocGalerie .item a .cadre:before  { content: "Voir la galerie"; position: absolute; left: 0; width: 100%; text-transform: uppercase; letter-spacing: 1px; opacity: 0; transition: all .5s ease-in-out;}

.blocGalerie .item a .cadre div     { letter-spacing: 1px; transition: all .5s ease-in-out; }

@media (min-width:1201px) {
.blocGalerie.detail a:hover:after	{ opacity: 1;}
.blocGalerie .item a:hover .cadre	{ background: #242424; color: #fff;}
.blocGalerie .item a:hover .cadre:before {opacity: 1; transform: translate(0,0);}
.blocGalerie .item a:hover .cadre div {opacity: 0;}
}

@media (max-width:1200px) {
.blocGalerie 						{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:1000px) {
.blocGalerie 						{ grid-template-columns:1fr; }
}


/***** custom fancybox *****/
.fancybox-bg						{ background: #fff;}
.fancybox-is-open .fancybox-bg		{ opacity: 1;}
.fancybox-button,
.fancybox-infobar__body 			{ background: none; color: #242424; font: 400 14px/60px "Poppins"; letter-spacing: 0.8px;}
.fancybox-infobar 					{ display: none;}
.fancybox-toolbar 					{ top: 30px; right: 30px; opacity: 1!important;}
.fancybox-show-nav .fancybox-arrow 	{ opacity: 1; transition: all 400ms ease-in-out;}
.fancybox-button--close 			{ width: 55px; height: 55px; background: #eee; transition: all 400ms ease-in-out;}
.fancybox-button--close:before		{ width: 25px; height: 1px; left: calc(50% - 13px); top: calc(50% - 1px); background: #242424;}
.fancybox-button--close:after		{ width: 25px; height: 1px; left: calc(50% - 13px); top: calc(50% - 1px); background: #242424;}
.fancybox-arrow 					{ width: 60px; height: 60px; background: url("../images/arrow_next.svg") 54% 50% no-repeat #eee; margin-top: -40px;}
.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: #399be8;} 
.fancybox-arrow:hover:not([disabled])   { opacity: 0.5;}
}
@media (max-width:1200px) { 
.fancybox-arrow			 			{ border: none;}
}
@media (max-width:600px) { 
.fancybox-button,
.fancybox-infobar__body 			{ line-height: 40px;}
.fancybox-toolbar 					{ top: 0; right: 0;}
.fancybox-button--close 			{ width: 45px; height: 45px;}
.fancybox-button--close:before		{ width: 21px; left: calc(50% - 11px);}
.fancybox-button--close:after		{ width: 21px; left: calc(50% - 11px);}
.fancybox-arrow 					{ width: 40px; height: 50px; margin-top: -25px; background-size: 25% auto;}
.fancybox-arrow--right 				{ right: 0;}
.fancybox-arrow--left 				{ left: 0;}
} 