html {
  scroll-behavior: smooth;
}

body
{overflow-x:none} 

.ui-autocomplete .ui-menu-item-wrapper:hover,
.ui-autocomplete .ui-menu-item-wrapper.ui-state-active {
    background: #e6e6e6 !important;
    color: #000 !important;
    border: none !important;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/*------------------------- en-tête et organisation générale -------------------------*/
/*------ dans la bannière : superposition des 2 images d'accueil -------*/

.top {
  position: absolute;
  left: 225px;
  z-index: 1;
 }

#txt {
  margin: auto;
  padding: 0px;
  border-color: slategrey;  
  width: 780px;
  height: 700px;
  overflow-y: scroll;
    }
#lst {
  background-color: #E5E8F2; 
  margin: auto;
  padding: 4px;
  border-color: #palegreen;  
  width: 200px;
  height: 700px;
  overflow-y: scroll;
    }

.tooltip {
  display:none;
  opacity: 0.8;
  position:absolute;
  border:1px solid #333;
  background-color:#161616;
  border-radius:5px;
  padding:10px;
  color:#fff;
        font-family: Ubuntu, sans-serif;
        font-size: 100%; 
}

.formul {
            border: 2px solid #CCCCCC;
            border-radius: 5px 5px 5px 5px;
            font-size: 100%;
            height: 100%;
            line-height: 120%;
            outline: medium none;
            margin: 5px 0px 5px 0px;
  }










.cache {
            display: none;
}
 
.legende {
            font-size: 90%;
            font-family: Arial,Helvetica,sans-serif;

} 
.options {  
            margin: 5px 0px 5px 0px;
}

h1 {
  margin-top: 1%;
  font-family: Arial,Helvetica,sans-serif;
  color: #ffff66;
  text-align: center;
  margin-bottom: 1%;
  font-size: 150%;
}
h2 {
  font-size: 100%;
  margin-top: 0%;
  font-family: Arial,Helvetica,sans-serif;
  color: #ffff66;
  margin-bottom: 1%;
  text-align: center;
}



/*------------------------  accordéon ----------------------*/

#menu-accordeon {
  position: absolute;
  opacity: 0.95;
  padding:0;
  margin: 6px 0px 5px 0px;
  list-style:none;
  text-align: center;
  z-index: 100;
}
#menu-accordeon ul {
  padding:0;
  margin:0;
  list-style:none;
  text-align: center;
}
#menu-accordeon li {
   background-color: #CBC6D6; 
   border-radius: 6px;
   margin-bottom:2px;
   box-shadow: 0px 0px 0px #999;
   border:solid 1px #CCCCCC
}
#menu-accordeon li li {
   max-height:0;
   overflow: hidden;
   transition: all .5s;
   border-radius:0;
   background: #999;
   box-shadow: none;
   border:none;
   margin:0
}
#menu-accordeon a {
  display:block;
  text-decoration: none;
  color: #000000;
  padding: 2px 0;
  font-family: Helvetica,Arial,sans-serif;
  font-size:0.9em
}
#menu-accordeon ul li a, #menu-accordeon li:hover li a {
  font-size:0.9em
}
#menu-accordeon li:hover {
   background: #E5E8F2
}
#menu-accordeon li li:hover {
   background: #FFFFFF;
}
#menu-accordeon ul li:last-child {
   border-radius: 0 0 6px 6px;
   border:none;
}
#menu-accordeon li:hover li {
  max-height: 15em;
} 









/*------------------------------ pour div "txt" ------------------------------------*/


body {

    background-color: white;
}



* {
  border:  none;
  margin: 0;
  padding: 0;
}


p {
  text-align: left;
  font-size: 100%;
  font-family: Arial,Helvetica,sans-serif;
}

p.decal {
  margin-left: 50px;
}


a:link {
  color: #647CAD;
  text-decoration: none;
  text-decoration: underline;
}
a:visited {
  color: #AD5D8A;
  text-decoration: none;
  text-decoration: underline;
}
a:hover {
  color: #677fb1;
  text-decoration: underline;
}
a:active {
  color: #677fb1;
  text-decoration: underline;
}
a.acc:link {
  color: #677fb1;
  text-decoration: none;
}
a.acc:visited {
  color: #677fb1;
  text-decoration: none;
}
a.acc:hover {
  color: #677fb1;
  text-decoration: underline;
  font-weight: normal;
}
a.acc:active {
  color: #b0b0ff;
  text-decoration: underline;
  font-weight: normal;
}

a.ph:link {
  color: #677fb1;
  text-decoration: none;
}
a.ph:visited {
  color: #677fb1;
  text-decoration: none;
}
a.ph:hover {
  color: #677fb1;
  text-decoration: underline;
}
a.ph:active {
  color: #b0b0ff;
  text-decoration: underline;
}


a.pr:link {
  font-style: italic;
  color: #677fb1;
  font-family: Arial,Helvetica,sans-serif;
}
a.pr:visited {
  font-style: italic;
  color: #677fb1;
  font-family: Arial,Helvetica,sans-serif;
}
a.pr:hover {
  font-style: italic;
  color: #677fb1;
  text-decoration: underline;
  font-family: Arial,Helvetica,sans-serif;
}
a.pr:active {
  font-style: italic;
  color: #b0b0ff;
  text-decoration: underline;
  font-family: Arial,Helvetica,sans-serif;
}






liste {
  font-size: 200%;
  font-weight: normal;
  top: 250px;
  float:left; 
  position: fixed;
  z-index: 10;
}

/*-----pour "accueil"-----*/
#acc {
  font-size: 80%;
  float:right;
  position: relative;
  margin-top: 20px;
  margin-right: 10px;
  text-align:right;
  font-family: Arial,Helvetica,sans-serif;
}

img.avatar {
  float: left;
  border-radius: 8px;
  border: 4px solid rgb(229, 232, 243);
  margin-right: 5px;
  margin-bottom: 20px;
  width: 114px; 
  height: 142.5px; 
  vertical-align: top;
  transition: transform .5s;
}
img.avatar:hover {
  transform: scale(1.1);
  -ms-transform: scale(1.1); /* IE 9 */
  -webkit-transform: scale(1.1); /* Safari 3-8 */
}

img.avatarlist{
  border-radius: 8px;
  border: 4px solid rgb(229, 232, 243);
  margin-right: 0px;
  width: 80px; 
  height: 100px; 
  vertical-align: top;
  transition: transform .5s;
}
/*ci-dessous, en mettant opacity:1, j'annule la faible opacité*/
img.avatarlist:hover {
  transform: scale(1.15);
  -ms-transform: scale(1.15); /* IE 9 */
  -webkit-transform: scale(1.15); /* Safari 3-8 */
}

/*------------ Pour placer la classification à droite de l'avatar et dessous ----------------*/

/*-----par la div contenant le "nomgeneral"-----*/
#tit
{
  margin-top: 15px;
  font-family: Arial,Helvetica,sans-serif;
}

.nomgeneral {
  font-size: 145%;
  font-variant: small-caps; 
  font-style: italic;
  font-family: Arial,Helvetica,sans-serif;
  font-weight: bold;
}

/*-----avant pour "Cyanus" dans "Centaurea", mais je ne l'utilise plus -----*/
.nomgeneralpetit {
  font-size: 115%;
  font-variant: small-caps; 
  font-style: italic;
  font-family: Arial,Helvetica,sans-serif;
  font-weight: normal;
}
/*-----par ex. pour "subsp."-----*/
.norm {
  font-style:normal;
  font-size: smaller;
  font-variant: normal ;
  font-weight: normal;
}

/*-----pour "subsp." dans le nom général  -----*/
.normminus {
  font-style:normal;
  font-size: 70%;
  font-variant: normal ;
  font-weight: normal;
}

/*-----pour "subsp." dans le nom français  -----*/
.normmin {
  font-style:normal;
  font-size: 90%;
  font-variant: normal ;
  font-weight: normal;
}

/*-----pour "ache, céleri", nom français du genre type des Apiaceae-----*/
.normnorm {
  font-style:normal;
  font-variant: normal ;
  font-weight: normal;
}
.descr {
  font-family: Arial,Helvetica,sans-serif;
  font-style:normal;
  font-size: smaller;
  font-variant: normal;
  font-weight: normal;
}

#syn {
  margin-left: 140px;
  margin-top: 5px;
  font-size: 85%;
  font-family: Arial,Helvetica,sans-serif;
  margin-bottom: 5px;
}

#nomfran {
  margin-top: 10px;
  font-size: 85%;
  font-family: Arial,Helvetica,sans-serif;
  margin-left: 4px;
  margin-bottom: 5px;
}

#vern {
  margin-top: 5px;
  font-size: 90%;
  font-family: Arial,Helvetica,sans-serif;
}
.nomvern
{}

#classif {
  margin-top: 10px;
  font-size: 85%;
  font-family: Arial,Helvetica,sans-serif;
}
/*-----mise en forme d'un nom de taxon dans "classif"----*/
.tax {
  font-style: italic;
  font-weight: bold;
}

#remarque {
  margin-top: 5px;
  font-family: Arial,Helvetica,sans-serif;
  font-size: 85%;
  font-family: Arial,Helvetica,sans-serif;
}

/*----- Pour genre type ou espèce type -----*/
  /*--#type : le nowrap permet de tout tenir comme un bloc---*/
#type {
  margin-top: 15px;
  font-size: 90%;
  font-family: Arial,Helvetica,sans-serif;
}

#ici {
  margin-top: 5px;
  font-size: 90%;
  font-family: Arial,Helvetica,sans-serif;
}

#repart {
  margin-top: 20px;
  font-size: 90%;
  font-family: Arial,Helvetica,sans-serif;
  margin-left: 4px;
}

#ecolo {
  margin-top: 5px;
  font-size: 90%;
  font-family: Arial,Helvetica,sans-serif;
  margin-left: 4px;
  margin-bottom: 4px;
}

#compar {
  margin-top: 2px;
  margin-right: 5px;
  font-size: 90%;
  font-family: Arial,Helvetica,sans-serif;
   float: right;
 }


/*----------------------------- Pour les photos d'espèces-----------------*/

#cadrephotosETnomAgauche{
  }

#nomAgaucheDUcadre {
  font-size: 100%;
  font-variant: small-caps; 
  font-weight: bold;
  font-family: Arial,Helvetica,sans-serif;
  font-style: italic;
  width: 150px;

  padding: 20px 10px 20px 10px;
  border-style: solid;
  border-width: 1px;
  border-color: #08c708;  
  text-align:center;
  float:left;
  margin-top: 35vh; /* poussé à 35% de hauteur de viewport (viewport height) */
}

#complnomAgauche {
  font-size: 110%;
  font-family: Arial,Helvetica,sans-serif;
  height: 60px;
  width: 150px;
  padding: 20px 10px 20px 10px;
  text-align:center;
  float:left;
}

#nomAudessusDUcadreCompar {
  display: table-cell;
  vertical-align: bottom;
  margin: auto;  
  font-size: 100%;
  font-variant: small-caps; 
  font-weight: bold;
  font-family: Arial,Helvetica,sans-serif;
  font-style: italic;
  width: 382px; /* pour la hauteur, voir la pseudo-classe de lien .compar*/
  padding: 1px 1px 1px 1px;
  border-style: solid;
  border-width: 0px;
  border-color: #08c708;  
  text-align:center;
}
    /*--------essai cible de lien colorée dans iframe lst------*/

a.compar:link {
  color: #404040;
  text-decoration: none;
}
a.compar:visited {
  color: #404040;
  text-decoration: none;
}

.compar {
  width: 380px;
  height: 40px;
  display: table-cell;
  vertical-align: bottom;
  transition: transform .5s ease-out;
}

a.compar:hover {
  color: #0000e0;
  background-color: ;
  text-decoration: none;
  font-weight: bold;
  transform: scale(1.1);
  -ms-transform: scale(1.1); /* IE 9 */
  -webkit-transform: scale(1.1); /* Safari 3-8 */
}
a.compar:active {
  color: #0000e0;
  text-decoration: none;
}



/*pour le bloc encadré de vert*/
div.cadrephotos {
  margin-right: 160px;
  padding: 4 10 4 10;
  border-style: solid;
  border-width: 4px;
  border-color: lightgreen;
  width: 400px;
  float:right;
    }

div.cadrephotos-compar {
  padding: 4 1 4 1;
  border-style: solid;
  border-width: 1px;
  border-color: lightgreen;
  width: 382px;
    }

div.thumbnail-carousel {
  margin: auto;
  width: 500px;
    }
div.thumbnail-carousel-compar {
  margin-left: 2px;
  width: 382px;
    }

div.main-carousel {
    }

.pointer {cursor: pointer;}

.ifr /* voir styllst */
{}

.miniature {
  float: left;
  width: 80px;
  height: 100px;
  vertical-align: top;
  transition: transform .5s ease-out;
}
img.miniature:hover {
  opacity: 0.7;
  transition: opacity .5s ease-out;
  -moz-transition: opacity .5s ease-out;
  -webkit-transition: opacity .5s ease-out;
  -o-transition: opacity .5s ease-out;
  -ms-transform: scale(1.1); /* IE 9 */
  -webkit-transform: scale(1.1); /* Safari 3-8 */
  transform: scale(1.1);

}






.commphotos {
  display: flex;
  flex-wrap: wrap;
  align-content: left;
}




#lieutxt {
  height: 43px;
  width: 382px;
  margin-top: 0px;
  font-size: 90%;
  font-family: Arial,Helvetica,sans-serif;
  margin-left: 0px;
}
#date {
  height: 25px;
  width: 382px;
  margin-top: 0px;
  font-size: 90%;
  font-family: Arial,Helvetica,sans-serif;
  margin-left: 0px;
}
#modele {
  height: 25px;
  width: 382px;
  margin-top: 0px;
  font-size: 70%;
  font-family: Arial,Helvetica,sans-serif;
  margin-left: 0px;
}

#ComparEspece1 {
  vertical-align: top;
  padding: 0px;
  margin-top: 0px;
  width: 382px;
  height: 700px;
    }
#ComparEspece2 {
  vertical-align: top;
  padding: 0px;
  margin-top: 0px;
  width: 382px;
  height: 700px;
    }



/*---------------------------liste de genres dans "famille" (ou d'espèces dans "genre")---------------------------*/

/*-----système flex-box----flex-wrap: wrap; oblige à aller à la ligne-----*/


.ligne {
  font-family: Arial,Helvetica,sans-serif;
  position:relative;
  display: flex;
  justify-content: left;
  flex-flow: row wrap;
  }


/*----pour case ci-dessous, si je mets position relative, l'image se place sur le texte --*/
/*----pour case ci-dessous, je peux choisir # ou ., margin ou padding, etc --*/
/*----pour case ci-dessous, si je ne mets pas px pour les 4 valeurs, la page d'accueil ne comprend pas ! --*/

.casegrande {
  width: 123px;
  margin: 10px 1px 10px 1px;
  padding: 0px 0px 0px 0px;
  text-align: center;
  border: 1px #aaa solid; 
}
.casepetite {
  width: 123px;
  padding: 0px 0px 0px 0px;
}

a.case:link {
  color: #404040;
  text-decoration: none;
}
a.case:visited {
  color: #404040;
  text-decoration: none;
}
/*-----dans a.case:hover, pas "bold" car ça fait un bug avec Mozilla (décalage au survol)----*/
a.case:hover {
  text-decoration: none;
}
a.case img:hover {
}
a.case:active {
  color: #08c708;
  text-decoration: none;
}
a.case img:active {
  border: 4px solid #08c708;
}


#bibliogroupes {
  font-size: 90%;
  font-family: Arial,Helvetica,sans-serif;
  margin-left: 40px;
}


.nomdegroupelieu {
  position:relative;
  font-size: 100%;
  padding-bottom: 0px;
  text-align: left;
}
/*----ci-dessous, si je mets position absolue, le texte se place sur l'image --*/

.nomsdegroupes {
  position:relative;
  display: block;
  font-size: 100%;
  font-family: Arial,Helvetica,sans-serif;
}
.commgroupe {
  font-size: 90%;
  font-family: Arial,Helvetica,sans-serif;
}
/*----ci-dessous, si je mets padding-top avec 10px, il y aura de grands espaces 
verticaux s'il y a plusieurs espèces dans le groupe --*/
.nomdegroupe {
  position:static;
  display: block;
  padding-top: 0px;
  font-size: 100%;
  text-align: left;
}
.nomdegroupe2 {
  position:static;
  display: block;
  font-size: 100%;
  padding-left: 10px;
  padding-bottom: 0px;
  text-align: left;
}
.nomdegroupe3 {
  position:static;
  display: block;
  font-size: 100%;
  padding-left: 20px;
  padding-bottom: 0px;
  text-align: left;
}
.nomdegroupe4 {
  position:static;
  display: block;
  font-size: 100%;
  padding-left: 30px;
  padding-bottom: 0px;
  text-align: left;
}

.nomdepays {
  font-size: 120%;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 4px;
  text-align: center;
}
.sousnomdepays {
  font-size: 70%;
  padding-top: 0px;
  padding-bottom: 4px;
  text-align: center;
}

.nomdensemble {
  font-size: 120%;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
}  


       /*-------------Mise en forme noms de groupes---------*/

.groupe1 {
  font-size: 130%;
  font-style: italic;
  font-weight: bold;
  background-color: yellow;
  color: black;
}
.groupe2 {
  font-size: 110%;
  font-style: italic;
  font-weight: bold;
  background-color: gainsboro;
  color: black;
}
.groupe3 {
  font-size: 105%;
  font-style: italic;
  font-weight: bold;
}
.groupe4 {
  font-size: 90%;
  font-style: italic;
  font-weight: bold;
}




/*------------------------  container (pour infobulle perfectionnée) ----------------------*/


#container
{

top: 0%;

}
@media screen and (max-width: 440px)
{
#container
{
width: 100%;
position: static;
top: auto;
left: auto;
padding: 30px 20px;
margin: 0;
}
}
@media screen and (max-height: 340px)
{
#container
{
position: static;
top: auto;
left: auto;
padding-top: 30px;
padding-bottom: 30px;
margin: 0 auto;
}
}


}
#container a
{
color: #84e100;
text-decoration: none;
}
#container a:hover
{
color: #6fbc00;
}

#container abr
{
color: #677FB1;
border-style: dotted;
border-color: #677FB1;
border-width: 0 0 1px;
cursor: help;
}

#container abbr
{
color: #677FB1;
border-style: dotted;
border-color: #111;
border-width: 0 0 0px;
cursor: help;
font-size: 93%;
}


/*
id tooltip c'est-à-dire pour la plupart des infobulles (sans lien)
*/


#tooltip
{
font-family: Ubuntu, sans-serif;
font-size: 1.15em;
text-align: center;
text-shadow: 0 1px rgba( 0, 0, 0, .5 );
line-height: 1.5;
color: #fff;
background: #333;
background: -webkit-gradient( linear, left top, left bottom, from( rgba(
0, 0, 0, .6 ) ), to( rgba( 0, 0, 0, .8 ) ) );
background: -webkit-linear-gradient( top, rgba( 0, 0, 0, .6 ), rgba( 0,
0, 0, .8 ) );
background: -moz-linear-gradient( top, rgba( 0, 0, 0, .6 ), rgba( 0, 0,
0, .8 ) );
background: -ms-radial-gradient( top, rgba( 0, 0, 0, .6 ), rgba( 0, 0,
0, .8 ) );
background: -o-linear-gradient( top, rgba( 0, 0, 0, .6 ), rgba( 0, 0, 0,
.8 ) );
background: linear-gradient( top, rgba( 0, 0, 0, .6 ), rgba( 0, 0, 0, .8
) );
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
border-top: 1px solid #fff;
-webkit-box-shadow: 0 3px 5px rgba( 0, 0, 0, .3 );
-moz-box-shadow: 0 3px 5px rgba( 0, 0, 0, .3 );
box-shadow: 0 3px 5px rgba( 0, 0, 0, .3 );
position: absolute;
z-index: 100;
padding: 10px;
}


*/#tooltip::after
{
width: 0;
height: 0;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid #333;
border-top-color: rgba( 0, 0, 0, .7 );
content: '';
position: absolute;
left: 50%;
bottom: -10px;
margin-left: -10px;
}
#tooltip.top::after
{
border-top-color: transparent;
border-bottom: 10px solid #333;
border-bottom-color: rgba( 0, 0, 0, .6 );
top: -20px;
bottom: auto;
}
#tooltip.left::after
{
left: 10px;
margin: 0;
}
#tooltip.left::after
{
left: 10px;
margin: 0;
}
#tooltip.right::after
{
right: 10px;
left: auto;
margin: 0;
}



/*----------class tooltip pour l'infobulle "actualiser...", qui contient un lien---------*/
.tooltip {
  font-family: Ubuntu, sans-serif;
        font-size: 0.875em;
        line-height: 1.5;
        display:none;
  position:absolute;
  background-color: rgba(0, 0, 0, 0.6);
        text-shadow: 0 1px rgba( 0, 0, 0, .5 );
  border-radius:5px;
  padding:10px;
  color:#fff;
}


/*---- infobulle près du bord supérieur (mais elle peut être coupée sur le bord droit ou gauche) 
Pas de JS, <span class="infobulle" aria-label="texte">INFOBULLE</span>-----*/
.infobulle {
  position: relative;  /* les .infobulle deviennent référents */
  cursor: help;
  border-bottom: 1.5px gray dotted; /* On souligne le texte. */
  color: #677FB1;

}

/* aspect de l'infobulle : after lors du survol et du focus :*/

.infobulle:hover::after,
.infobulle:focus::after {
  content: attr(aria-label);  /* on affiche aria-label */
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%); /* détermine la position horizontale de l'infobulle  */
  z-index: 1; /* pour s'afficher au dessus des éléments en position relative */
  white-space: normal;  /* on autorise le retour à la ligne */
  background-color: rgba(0, 0, 0, 0.6);
        text-shadow: 0 1px rgba( 0, 0, 0, .5 );
  color: #fff;
  font-size: 115%;
  width: 200px;
  border-radius:5px;
  padding:10px;
}




/*--------------------------------- onglets -----------------------------------*/
#decal  /*----?----*/

{
left: 40px;
margin: 0;
}
/*---- systeme_onglets ci-dessous était un test pour voir où était sa limite ----*/
.systeme_onglets
  {
   border:0px solid black;
  width: 780px;
  }
#ComparEspece1 .systeme_onglets,
#ComparEspece2 .systeme_onglets {
  width: 382px;
  border: 0;
  box-sizing: border-box;
}
.onglet
  {
    display:inline-block;
    margin-left:3px;
    margin-right:3px;
    padding:3px;
    border:1px solid black;
    cursor:pointer;
  }
  /*----------onglet fermé-------*/
  .onglet_0
  {
        background-color: rgb(229, 232, 242);
        border-radius: 8px 8px 0 0;
        border:1px solid #737291;
        font-size: 100%;
        font-family: Arial,Helvetica,sans-serif;
  }
  /*----------onglet ouvert-------*/
  .onglet_1
  {
        background-color:#FFFFFF;
        border-color:#737291;
        border-radius: 8px 8px 0 0;
        border-bottom:0px;
        padding-bottom: 4px;
        font-size: 100%;
        font-family: Arial,Helvetica,sans-serif;

  }

  /*-- trait horizontal de part et d'autres des onglets --*/
  .contenu_onglet
  {
        background-color:##FFFFFF;
        margin-top:-1px;
        border:1px solid #737291;
        border-bottom:0px;
        border-left:0px;
        border-right:0px;
        display:none;
  }




/*--------------------pour le carousel (Splide) : ------------------*/
#thumbnail-carousel22 {
    width: 385px;
}

#thumbnail-carousel22 .splide__track {
    width: 385px;
}
#thumbnail-carousel22 .splide__slide {
    width: 75px !important;
}

.splide__slide img {
  width: 100%;
  height: auto;
}




