a{
  text-decoration: none;
  color:#8484ff;
}
.ordre a:hover, .famille a:hover, #box_ia1:hover, #box_ia2:hover, a:hover{
  color:#ffa633;
}
.ordre a, .famille a, .fiche{
  text-decoration: none;
  color:#838cc0;
  background: no-repeat right center/14px url(https://www.oiseaux.net/images/externe.png) ;
  padding: 0 17px 0 0;
}
.ordre a, .famille a{
  font-size:1.2em;
}
div h1, div h2{
  text-align: center;
  margin:auto;
}
header {
 display:flex;
 flex-direction:row;
 justify-content:center;
 align-items:center;
 height:32px
}
header .nav {
  top:0;
  left:auto;
  max-width: 63em;
  width:100%;
}
.on_centre {
  top:0;
}
.menu {
  width:100%;
}
.on_pieddepage {
  top: 0;
}
.contenu{
  min-width: 300px;
  width: 90%;
  margin:auto;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: normal;
}

.resultats{
  display: flex;
  flex-direction: column;
  padding: 5px 10px;
  width: 100%;
  font-size:1.1em;
  color: #000;
}
.resultats h1, .resultats h2{
  margin: 0;
  padding: 0;
  font-size:1.3em;
  color: #000;
}
.resultats h1{
  width: 100%;
  margin: 0 0 10px 0;
  font-size:1.6em;
  color: #000;
  text-align:center;
}
.titre-esp{
  width: 100%;
  background-color:#eeecec;
  font-size:1.1em;
  text-align: center;
  padding: 3px 0;
}
.photo-img{
  margin: 5px 0 15px 0;
  margin-right:10px;
  min-height:150px;
  float:left;
}

.titre-ia{
  text-align: left;
  margin: 25px 0 15px 0;
}
.titre-ia p:first-child{
  font-weight:700;
  font-size:1.4em;
  color: #707070;
  background-color:#dbdbdb;
  padding: 2px 0 2px 15px;
}
.texte-ia{
  font-size:1.1em;
  padding: 2px 0 10px 0;
}
#box_ia1, #box_ia2{
  font-size:.7em;
  font-style:italic;
  cursor:pointer;
  color:#545e95;
}
.titre-ia span:last-child{
  width: 100%;
  padding: 2px 0 2px 15px;
}

.titre-ia span:nth-child(2){
  font-size:1.1em;
  padding: 2px 0 2px 15px;
}
.gen-spe{
  display: flex;
  justify-content: space-between;
  width: 100%;
  border: 1px solid #111;
}
.flex-col{
  display: flex;
  flex-direction: column;
  justify-content:center;
   align-content: stretch;
  width: 100%;
  min-height:30px;
}

.flex-row, .genre{
  display: flex;
  justify-content: space-between;
}
.genre{
  border-left: 1px solid #919191;
}
.flex-row{
  border-bottom: 1px solid #bebebe;
}
.flex-row div:nth-child(2){
  padding-left:10px;
  border-left: 1px solid #919191;
}
.genres{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  min-height:30px;
}
.flex-row, .flex-row div:nth-child(2), .genres, .especes, .genre, .species{
  width: 100%; 
}
.genre{
  border-bottom: 1px solid #bebebe;
}
.genre:last-child{
  border-bottom: 0 none;
}
.genus{
  min-width: 170px;
  width: 170px; 
  padding-left:10px;
}
.col1, .pour100{
  width:80px;  
  min-width: 80px;
  text-align:center;
  margin: auto; /* Important */
}
.pour100{
  width:110px;  
  min-width: 110px;
  max-width: 110px;
  font-weight:700;
  font-size:1.1em
}
.fam-img{
  align-items: center;
  align-content: center;
  text-align: center;
  margin: auto; /* Important */
  border-left: 1px solid #919191;
  min-width: 110px;
  max-width: 110px;
}
.fam-img img{
  width: 90px;
  opacity: .3;
  vertical-align: bottom;
}

/* ************ espèces ************ */
.especes{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  align-content: normal;
  margin: 10px 0 30px 0;
}
.espece{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 250px;
  max-width: 250px;
  width: 250px;
  min-height: 390px;
  max-height: 390px;
  height: 390px;
  margin-top: 10px;
  padding:0 10px 10px 10px;
  background-color:#f4f4f4;
  border: 1px solid #919191;
  text-align: center;
}
.especes .espece:nth-child(odd){
  background-color:#fff;
}
.pour100esp{
  width: 100%;
  min-height: 30px;
  max-height: 30px;
  font-weight: 700;
  font-size: 1.3em;
  text-align: center;
  margin-left: -10px;
  padding-right: 20px;
  background-color:#e5e5e5;
}
.species{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.esp{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: auto; /* Important */
  text-align:center;
  font-size:1.4em;
  color:#838cc0;
  font-weight:900;
  max-height: 54px;
}
.esp a{
  line-height: 1em;
}
.latin, .anglais{
  font-size:1.1em;
  margin-left:15px;
}
.latin{
  font-style: italic;
}
.spec-img{
  align-items: center;
  align-content: center;
  text-align: center;
  min-width: 250px;
  max-width: 250px;
  min-height: 250px;
  max-height: 250px;
}
.spec-img img{
  vertical-align: bottom;
  width: 250px;
}


.accueil_id{
  position: absolute;
  top:0;
  left:0;
  margin: 20px 30px 20px 30px;
}
.accueil_id a, .accueil_id a:hover {
  font-size: 1.4em;
  margin: 0 20px 0 20px;
  padding: 0 7px 1px 7px;
  border: 1px dashed #009578;
  border-radius: 10px;
  background-color: #f7f7f7;
  color: #7477a3;
}
.accueil_id a:hover{
  border: 1px dashed #000;
  background-color: #fff;
  color: orange;
}
.message, .erreur{
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
  margin:5px;
}
.message{
  margin:5px;
  color:red;
}
.copyright{
  margin:20px;
  padding:20px;
  display: block;
  margin:auto;
  font-size:1em;
  text-align: center;
  font-style: italic;
}
.copyright img{
  width:100px;
  height:63px;
}
.recadre{
  position: relative;
  width: 100%;
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
}
.boutons{
  display: flex;
  width: 100%;
  margin:auto;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  margin-top: 30px;
}
.validez, .annuler{
  margin-right: 15px;
  padding: 5px 15px;
  border: 1px solid #222;
  border-radius: 5px;
  font-size:1.4em;
}
.reponses{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
}
.reponses figure {
  width:200px;
  padding: 1px 5px;
  border: 1px solid #919191;
}
.reponses figure figcaption {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  margin: 2px 0 0 0;
  width:200px;
  background-color: #FFF;
  border: 0 none;
  text-align: center;
  min-height:50px;
  font-size:1.2em;
}
.reponses figure div {
  align-items: center;
  justify-content: space-around;
  width:200px;
}
.reponses figure img {
  border: none 0;
  margin: 0;
  padding: 0;
  width:200px;
  height:200px;
}
.drop {
  max-width: 400px;
  width: 400px;
  height: 400px;
  margin: 15px;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 500;
  font-size: 20px;
  cursor: pointer;
  color: #c3c3c3;
  border: 4px dashed #009578;
  border-radius: 10px;
  background-color: white;
}
.drop p, .drop span {
  text-align: center;
  hyphens: inherit;
  font-size: 1.2em;
}
.drop--over {
  border-style: solid;
}
.drop__input {
  display: none;
}
.drop_erreur {
  color: red;
  font-size: 1.4em;
}
.drop__thumb {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background-color: #cccccc;
  background-size: cover;
  position: relative;
}
.drop__thumb::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 5px 0;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.75);
  font-size: 14px;
  text-align: center;
}

.jcrop-handle {
  height: 16px;
  width: 16px;
}

.jcrop-handle.ord-n{left:50%;margin-left:-8px;margin-top:-8px;top:0;}
.jcrop-handle.ord-s{bottom:0;left:50%;margin-bottom:-8px;margin-left:-8px;}
.jcrop-handle.ord-e{margin-right:-8px;margin-top:-8px;right:0;top:50%;}
.jcrop-handle.ord-w{left:0;margin-left:-8px;margin-top:-8px;top:50%;}
.jcrop-handle.ord-nw{left:0;margin-left:-8px;margin-top:-8px;top:0;}
.jcrop-handle.ord-ne{margin-right:-8px;margin-top:-8px;right:0;top:0;}
.jcrop-handle.ord-se{bottom:0;margin-bottom:-8px;margin-right:-8px;right:0;}
.jcrop-handle.ord-sw{bottom:0;left:0;margin-bottom:-8px;margin-left:-8px;}

.info_ia1, .info_ia2{
    display:none;
    position:relative;
    top:0;
    width:100%;
    padding:0;
    margin:0 auto;
    overflow:auto;
    background-color:#feffd7;
    color:#000;
    z-index:50000;
    border:1px solid #6c6c6c;
    filter:drop-shadow(2px 2px 2px #000)
}
.info_ia1 p, .info_ia2 p{
    padding:10px;
}

.info_ia1 h3, .info_ia2 h3{
    margin-left:10px;
    color:#333;
    font-size:1.2em;
}
.ferme_ia1, .ferme_ia2{
  margin:0;
  padding:0;
  width:100%;
  height:25px;
  text-align:right;
  font-weight:600;
  border-bottom:1px solid #555;
  background-color:#f1f1f1
}
.ferme_ia1 a,.ferme_ia2 a{
  margin:0;
  padding:0 7px 0 7px;
  background-color:#FFF;
  color:#000;
  font-size:16px
}
.ferme_ia1 a:hover,.ferme_ia2 a:hover{
  background-color:#CECECE;
}


@media only screen and (max-width: 640px){
header {
  display: none;
}
.contenu{
  min-width: 93%;
  width: 93%;
}
.resultats {
  padding: 0;

  font-size: 1em;

}
.drop {
  max-width: 300px;
  width: 300px;
  height: 300px;
  margin: 5px;
  padding: 15px;
  font-size: 12px;
}
.accueil_id{
  position: absolute;
  top:0;
  left:0;
  margin: 0px 30px 20px 0px;
}
.titre-ia {
  font-size: 0.9em;
  margin: 25px 0 5px 0;
}
.texte-ia {
  font-size: 1em;
  padding: 2px 0 10px 0;
  width: 100%;
}
}

