
.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: #fdd329; outline: none; position: relative; padding: 16px 50px; overflow: hidden; color: #222; 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/plus.svg") 50% 60% 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: #111; 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; }
}



.list-av-ap                         { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 50px; margin:10px 0 10px 0;}

.bloc-av-ap .grid                   { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 20px; margin:10px 0 10px 0;}
.bloc-av-ap-titre                   { clear: both; padding: 0 0 0 0; font-weight: normal;}
.bloc-av                            { position: relative;}
.bloc-ap                            { position: relative;}
.bloc-av span                       { position:absolute; bottom: 0; right: 0; padding: 5px 10px; background: #fed239; color: #000; z-index: 999; }
.bloc-ap span                       { position:absolute; bottom: 0; left: 0; padding: 5px 10px; background: #fed239; color: #000; z-index: 999; }
.bloc-av img, .bloc-ap img          { max-width: 100%; height: auto;}
.bloc-av a, .bloc-ap a              { display:block; position: initial;}
.bloc-av-ap .link                   { margin:0 0 0 10px;}
.bloc-av a img, .bloc-ap a img      { transition: all 300ms ease-in-out;}
@media (min-width:1201px) {
.bloc-av a:hover img, .bloc-ap a:hover img {transform: scale(0.9);}
}


@media (max-width:960px) {
.list-av-ap                         { grid-template-columns: 1fr; grid-gap: 30px;}
}


/***** galerie *****/
.galerie_details					{ margin: 60px auto; display: grid; grid-template-columns: 1fr 1fr 1fr; grid-gap: 20px; font-size: 0; line-height: 0; letter-spacing: 0;}
.galerie_details .item 				{ display: block; margin-bottom: 20px;}
.galerie_details .item:after		{ width: 100%; height: 100%; background: url("../images/search.svg") 50% no-repeat; opacity: 0; position: absolute; left: 0; top: 0; content: "";}
.galerie_details .item img			{ width: 100%; height: auto; display: block; transition: all 300ms ease-in-out;}

@media (min-width:1201px) {
.galerie_details .item:hover:after	{ opacity: 1;}
.galerie_details .item:hover img    { filter: brightness(0.4);}
}
@media (max-width:1400px) {
.galerie_details 					{ padding: 0;}
}
@media (max-width:1200px) {
.galerie_details 					{ grid-gap: 10px; grid-template-columns: 1fr 1fr;}
.galerie_details .item 				{ margin-bottom: 10px;}
}
@media (max-width:600px) {
.galerie_details 					{ 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: #000; font: 400 14px/60px "Barlow"; 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: #111;}
.fancybox-button--close:after		{ width: 25px; height: 1px; left: calc(50% - 13px); top: calc(50% - 1px); background: #111;}
.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: #fdd329;} 
.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;}
} 