<style>
* {box-sizing: border-box;}

body { 
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.header {
  overflow: hidden;
  background-color: #ecf8f6;
  padding: 20px 10px;
}

.header a {
  float: left;
  color: #18534f;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px; 
  line-height: 25px;
  border-radius: 4px;
}


.header a.logo {
  font-size: 25px;
  font-weight: bold;
  width: 100%;
}

.header a:hover {
  background-color: #feeaa1;
  color: #18534f;
}

.header a.active {
  background-color: #d6955b;
  color: white;
}

.header-right {
  float: right;
}

.pied {
	background-color: #ecf8f6;
	color: #18534f;
  	padding: 20px 10px;
}

.pied a {
  float: middle;
  color: #18534f;
  text-align: center;
  padding: 4px;
  text-decoration: none;
  border-radius: 4px;
}

.pied a:hover {
  background-color: #feeaa1;
  color: #18534f;
}

.pied a.active {
  background-color: #d6955b;
  color: white;
}


.contenu {
	display: flex;
}

.nouvelle-texte {
	float: left;
	color: #18534f;
	padding: 12px;
}

.entete-texte {
	float: none;
	color: #18534f;
	padding: 12px;
}

.membre-texte {
	float: left;
	color: #18534f;
	padding: 12px;
	width: 50%;
}

.cultivar-texte {
	float: left;
	color: #18534f;
	padding: 12px;
	
}

input[type=radio] {

}

input[type=text], [type=password] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

input[type=submit] {
  background-color: #eaefe3;
  color: #18534f;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  
}

input[type=button] {
  background-color: #eaefe3;
  color: #18534f;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  
}

input[type=submit]:hover {
  background-color: #d0dfb7;
  color: #18534f;
}

input[type=button]:hover {
  background-color: #d0dfb7;
  color: #18534f;
}

input[type=button].nondisponible {
	background-color: #d0dfb7;
  color: #18534f;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=button].disponible {
	background-color: #18534f;
  color: #d0dfb7;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=button].disponible:hover {
	background-color: #78af12;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=button].nondisponiblebp {
	background-color: #d0dfb7;
  color: #18534f;
  padding: 6px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=button].disponiblebp {
	background-color: #d0dfb7;
  color: #18534f;
  padding: 6px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=button].disponiblebp:hover {
	background-color: #78af12;
  color: white;
  padding: 6px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}


.nouvelle-image {
	float: left;
	padding: 12px;
	width: 50%;
}

.cultivar-image {
	float: left;
	padding: 12px;
	
}

.membre-image {
	float: left;
	padding: 12px;
	width: 50%;
}


.image {
  max-width: 100%;
  padding: 12px;
  height: auto;
}

.detailgauche,
.detaildroite {
	float: left;
	color: #18534f;
	padding: 10px;
	width: 48%;
	/* background-color: #eaefe3; */
}

.ascendance {
	float: left;
	color: #18534f;
	padding: 10px;
	width: 100%;
	/* background-color: #eaefe3; */
}

.choisi {
    background: #eaefe3;
}

.champs {
    width: 50%;
    text-align: left;
}

.etiquettef {
    width: 50%;
    text-align: right;
}

.legende {
    background-color: #eaefe3;
    color: #000;
    font: italic smaller sans-serif;
    text-align: center;
}

a.choix {
    margin-left: 0px;
    margin-right: 0px;
    color: #18534f;
    text-decoration: none;
}




/* TEST */
.main {
  max-width: 1000px;
  margin: auto;
}

.hautpage {
	float: left;
	color: #18534f;
  	padding: 10px;
  	width: 100%;
}

.row {
  /* margin: 8px -16px; */
}

/* Add padding BETWEEN each column */
.row,
.row > .demie,
.demie > .column {
  padding: 8px;
}

.rangee {
	padding: 8px;
	float: left;
	width: 98%;

}

.element {
	float: left;
	width: 25%;

}

.elementDroit {
	text-align: right;
	float: left;
	width: 25%;

}


.demie {
	float: left;
    width: 48%;
}

.col-50 {
  text-align: right;
  float: left;
  width: 48%;
  margin-top: 6px;
}

.col-Pied {
  text-align: center;
  float: left;
  width: 98%;
  margin-top: 6px;
}

/* Create four equal columns that floats next to each other */
.column {
  float: left;
  width: 46%;
}

/* Clear floats after rows */ 
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Clear floats after the columns */
.ligne:after {
  content: "";
  display: table;
  clear: both;
}


/* Content */
.content {
  background-color: #eaefe3;
  color: #18534f;
  padding: 10px;
}


/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 1000px) {
  .detailgauche,
  .detaildroite {
  	width: 45%;
  }
}



@media screen and (max-width: 900px) {
  .demie {
    width: 100%;
  }
    
  .column {
    width: 47%;
  }
}



@media screen and (max-width: 700px) {
  .header a {
    float: none;
    display: block;
    text-align: left;
  }
  
  .header-right {
    float: none;
    display: block;
    width: 99%;
  }
  
  .contenu {
	display: block;
	
  }
  
  .cultivar-texte,
  .nouvelle-texte,
  .membre-texte {
  	float: none;
  	display: block;
  	width: 99%;
  }
  
  .detailgauche,
  .detaildroite {
  	float: none;
  	display: block;
  	width: 96%;
  }
  
  .col-50 {
    width: 92%;
    margin-top: 0;
    text-align: left;
  }

 
  .image {
  	display: block;
  	margin-left: auto;
  	margin-right: auto;
  	width: 60%;
  }
  
  /* TEST */
  .column {
    width: 98%;
  }
}
