/*entete*/
.flexmain {
 display:flex;
 flex-flow:row wrap;
 justify-content:space-around;
 align-items:center;
 padding:10px;
 border: solid 2px green;
}
#logo {
	height:10vh;
	max-height:80px;
}

div.menucontent {
 position:relative;
}
div.menubar {
	overflow: hidden;
	background-color:green;
	padding:5px;
}
input.menuitem {
  float: left;
  text-decoration: none;
  display: block;
  background-color: inherit;
  font-family: inherit;
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 16px;
}
input.menuitem:hover {
  background-color: grey;
}
input.rech {
	background-color: lightgrey;
	z-index:1;
}

/*menu icon*/
.menuicon {
  display:none;
}
/* Rotate first bar */
.change .mi-bar1 {
  transform: translate(0, 11px) rotate(-45deg);
}
/* Fade out the second bar */
.change .mi-bar2 {opacity: 0;}
/* Rotate last bar */
.change .mi-bar3 {
  transform: translate(0, -11px) rotate(45deg);
}
.mi-bar1, .mi-bar2, .mi-bar3 {
  width: 35px;
  height: 5px;
  background-color: #333;
  margin: 6px 0;
  transition: 0.4s;
}


@media screen and (min-width: 901px) {
div.search {
	position:absolute;
	width:300px;
	height:30px;
	top:13px;
	right:-10px;
}
.articles img {
	max-width:20vw;
	max-height: 40vh;
	width: auto;
	height: auto;
}
}

@media screen and (max-width: 900px) {
	.menubar input:not(:first-child) {
		display: none;
		}
	.menuicon {
		position: absolute;
		top:0;
		left:90%;
		padding-top:5px;
		z-index:2;
		display:block;
	 	}
	div.search {
		position:absolute;
		top:13px;
		left:80px;
		z-index:1;
		display:inline-block;
		}
	.articles img {
		max-width:90%;
		max-height: min(40%, 150px);
		width: auto;
		height: auto;
	}
	}
@media screen and (max-width: 900px) {
	div.menucontent.responsive {
	 	min-height:250px;
		}
	.menucontent.responsive div.search {
		display:none;
	}
	.menucontent.responsive div.menubar{
	 position: absolute;
	 top:0;
	 left:5;
	 min-height:170px;
	 width:140px;
	 display: flex;
	 flex-flow:column wrap;
	 align-items:flex-start;
	 }
	.menucontent.responsive .menubar input{
	 display: block;
	 z-index:1;
	}
	
	.menucontent.responsive .menuicon {
	 position:absolute;
	 top:0;
	 left:90%;
	 z-index:2;
	}
}

/*partie articles*/
div.articles {
	width:100vw-10px;
	margin:5px;
	display: flex;
	flex-flow:row wrap;
	justify-content:space-around;
	align-items:center;
}


.rech, .filtre{
	background-color: green;
	color:black;
	cursor: pointer;
	height: 20px;
	border: solid 1px black;
	border-radius:3px;
}
.rech {
	width: 50px;
}
input.filtre {
	width: 150px;
}
h1 {
	color:green;
}
.articles {
	background-color: white;
	color: black;	
}
div.article {
	margin:10px 20px;
	padding:5px;
	border: solid 2px green;
}
.articles a{
	text-decoration:none;
}
#servicesTable {
	text-align: center;
}
.tableheader {
	background-color: green;
}
.partenaire img {
	max-height:150px;
	width: auto;
}


