.blocGalerie 						{ display: grid; grid-template-columns: repeat(3, 1fr); text-align: left; grid-gap: 30px; width: 90vw; max-width: 1600px; margin: 80px auto 0 auto;}
.blocGalerie .item a img 			{ width: 100%; height: 400px; object-fit: cover; display:block; border-radius: 20px; transition: all 500ms ease-in-out;}
.blocGalerie .item a 				{ position: relative; overflow: hidden;}
.blocGalerie .item a .cadre 		{ background: var(--color-2); outline: none; position: absolute; padding: 16px 20px; overflow: hidden; color: #ffffff; text-transform: uppercase; transition: all 400ms ease-in-out; border-bottom-left-radius: 20px; bottom: 0;}
.blocGalerie .item a:before	        { width: 100%; height: 100%; position: absolute; left: 0; top: 0; background:#000000; opacity: 1; content: ""; border-radius: 20px;}

.blocGalerie .item a .cadre:before  { content: "Voir la galerie"; position: absolute; left: 20px; 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; }

.blocGalerie.detail a 				{ display: block; overflow: hidden; border-radius: 20px;}
.blocGalerie.detail a:after			{ width: 100%; height: 100%; position: absolute; left: 0; top: 0; background:#00000075; opacity: 0; content: "";}

@media (min-width:1201px) {
    .blocGalerie .item a:hover img              { opacity: 0.4;}
    .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;}
    .blocGalerie.detail a:hover:after	        { opacity: 1;} 
}

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

@media (max-width:800px) {
    .blocGalerie.detail 				{ grid-template-columns:1fr; }
}



/***** custom fancybox *****/
.fancybox-bg						{ background: #282828;}
.fancybox-is-open .fancybox-bg		{ opacity: 1;}
.fancybox-button,
.fancybox-infobar__body 			{ background: none; color: var(--color-2); }
.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: var(--color-2); transition: all 400ms ease-in-out;}
.fancybox-button--close:before		{ width: 25px; height: 1px; left: calc(50% - 13px); top: calc(50% - 1px); background: #ffffff;}
.fancybox-button--close:after		{ width: 25px; height: 1px; left: calc(50% - 13px); top: calc(50% - 1px); background: #ffffff;}
.fancybox-arrow 					{ width: 60px; height: 60px; background: url("../images/arrow-right-white.svg") 54% 50% no-repeat var(--color-2); margin-top: -40px;}
.fancybox-arrow:after				{ display: none;}
.fancybox-arrow--right 				{ right: 30px;}
.fancybox-arrow--left 				{ left: 30px;}

.fancybox-navigation                { top: 50%;}

@media (min-width:1201px) { 
.fancybox-button:hover:not([disabled])  { background: #282828;} 
.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;}
} 