
/** page structure **/




body{margin:0}


img{max-width:100%;
z-index:-1;}
	

.liste{
margin: 0;
padding: 0;
list-style: none;
display: block;
flex-flow: column;
align-items: center; 
margin:2rem auto
	
	}
	
.liste a img{
	
	border:0;
	}

/*galerie*/
.votre-galerie{display: none}/*on rend invisible la galerie d'images*/
    
    
.votre-galerie:target{
display:;
background: hsla(0,0%,0%,.6);
width: 100%;
height: 100%;
top: 0;
left: 0;
position: fixed;
z-index:1;
	
	}/*on rend visible lorsqu'on clique*/
    
.votre-galerie:target .precedent{
	
	position: relative;
	vertical-align: center;
	bottom: 0;
	display: flex;
	}
	
.votre-galerie:target .suivant{
	
position: relative;
vertical-align: center;
bottom: 0;
right: 0;
display: flex;
	}
	
/*On applique l'animation lorsqu'on clique sur une image*/
	
.votre-galerie:target .image{

backface-visibility: hidden;
max-height: 100%;
max-height: 80vmin;
max-width: 100%;
margin: auto;
animation: votre-animation 1s;
	
	}

/*fermeture */
a.ferm{
	
background: #cf4a2d;
color: #fff;
position: relative;
top: 0;
display: flex;
justify-content: center;
align-items: center;
left: 0;
bottom: 0;
font-size: 20px;
font-weight: bold;
text-align: center;
width: 60px;
height: 60px;
overflow: hidden;
	
	}

/*boutons suivant et precedent*/
.precedent, 
.suivant{
position: relative;
font-size: 20px;
padding: 5px;
margin: 15px;
color: #ffffff;


	}

/* animation */

@keyframes votre-animation{
	0%{
		
	transform: scale(.1) rotatey(180deg)
	
	}
	
	5%{
		transform:scale(1)	
	}	
		
	}
    
@media screen and (min-width:62.75rem){ 
	
.liste{
	
flex-flow: row;
	
	}
	
.votre-galerie:target .image{

	min-width:100%;
	min-height:100vmin
	}
	
	}



.video-responsive { 
    overflow:hidden;
    padding-bottom:56.25%; 
    position:relative; 
    height:0;}

.video-responsive iframe { 
    left:0; top:0; 
    height:100%; 
    width:100%; 
    position:absolute;}

#w {
  display: block;
  max-width: 1100px;
  min-width: 280px;
  /*padding-top: 20px;*/
  margin: 0 auto;
}


/** filters list **/
#filter-list {
	display: block;
	width: 100%;
	text-align: center;
	margin-bottom: 25px;
}

#filter-list li {
	font-weight: bold;
	color:black !important;
  display: inline-block;
  width: auto;
  padding: 6px 10px;
	margin-right: 15px;
	font-size: 1.2em;
	cursor: pointer;
	/*-webkit-border-radius: 3px;
	-moz-border-radius: 3px;*/
	/*border-radius: 3px;*/
	border-bottom: 1px solid rgba(255, 255, 255, 0);
}
#filter-list li:hover {
	color: rgb(129, 24, 24) !important;
}
#filter-list li.active {
	font-weight: bold;
	/*background: #D4CECC;*/
	border-color: #000;
}


/** portfolio list **/
#portfolio {
	display: block;
  width: 100%;
  padding: 0 12px;
  margin-bottom: 0;
	text-align: center;
}

#portfolio .item {
	display: none;
	opacity: 0;
	width: 30%;
	vertical-align: top;
	margin-bottom: 25px;
	margin-right: 20px;
	color: #fff;
	font-size: 30px;
	text-align: center;
	width: 407px;
	box-sizing:;
}

#portfolio .item h2 {
    font-size: 32px;
    padding: 10px;
}
#portfolio .item1 {
	display: none;
	opacity: 0;
	vertical-align: top;
	margin-bottom: 25px;
	margin-right: 20px;
	color: #fff;
	font-size: 30px;
	text-align: center;
}

#portfolio .item a {
  display: inline-block;
  max-width: 100%;
  text-decoration: none;
  background: #fff;

}
#portfolio .item img {
  max-width: 100%;
}

@media (min-width: 991px) {
	#portfolio .item:nth-child(5),
	#portfolio .item:nth-child(6),
	#portfolio .item:nth-child(7),
	#portfolio .item:nth-child(8) {
		margin-bottom: 0;
	}
}