/* --ISOTOPE -- button ---- */

/* * { box-sizing: border-box; } */
/* btnsuppr pour ilyatoo/admindm */
.btnsuppr {
	float:right;
}
.btnajoutsimple,.btnsupprsimple {
	float:left;
}

.button {
  display: inline-block;
  padding: 0.5em 1.0em;
  background: #EEE;
  border: none;
  border-radius: 7px;
  background-image: linear-gradient( to bottom, hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.2) );
  color: #222;
  font-family: sans-serif;
  font-size: 12px; /* 16px à l'origine*/
  text-shadow: 0 1px white;
  cursor: pointer;
}

.button:hover {
  background-color: #8CF;
  text-shadow: 0 1px hsla(0, 0%, 100%, 0.5);
  color: #222;
}

.button:active,
.button.is-checked {
  background-color: #28F;
}

.button.is-checked {
  color: white;
  text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8);
}

.button:active {
  box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
}

/* ---- button-group ---- */

.button-group {
  margin-bottom: 5px;/* 20px à l'origine*/
}

.button-group:after {
  content: '';
  display: block;
  clear: both;
}

.button-group .button {
  float: left;
  border-radius: 0;
  margin-left: 0;
  margin-right: 1px;
}

.button-group .button:first-child { border-radius: 0.5em 0 0 0.5em; }
.button-group .button:last-child { border-radius: 0 0.5em 0.5em 0; }

/* ---- isotope ---- */
.big-demo {
display:block;/*dm*/
/*width:available;	/*dm prob car la div est vide et n'a QUE les btn de tri pocommme contenu donc pas assez large*/
/*width: -moz-available;
width: -webkit-fill-available;
width:available;*/
}	
.grid {
  border: 1px solid #333;
  /*display:inline-block;/*dm pour eviter supperposition dans ilyatoo mais place verticalement das isotope */
  /*display:block;/*dm*/
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .element-item ---- */

.element-item {
  position: relative;
  float: left;
  width: 150px;/*largeur cf ci-dessous*/
  height: 260px;
  margin: 5px;
  padding: 10px;
  background: #f0f0f0; /* #888 à l'origine */
  color: #262524;
}

.element-item > * { /*ne sélectionnera que des enfants directs*/
  margin: 0;
  padding: 0;
}

.element-item .name {
  position: absolute;
  left: 0px;
  top: 150px;
  height: 55px;
  letter-spacing: 0;
  font-size: 12px;
  text-transform: uppercase;
  /*font-weight: bold;*/
  color:black;
  z-index: 13;
  /*width: 150px; pas de largeur pour avoir le max /*largeur cf ci-dessus*/
  text-align: center;
  overflow-y: auto;

  width: -webkit-fill-available;
  width: -moz-available;
  margin:0px;/*pour le p*/
}
.surligne{
  background-color: white;
  color: black;
  padding: 1px;
}
.element-item .number { /*a changer en Date*/
  position: absolute;
  right: 8px;
  top: 205px;
}
.element-item .symbol { /*sigle*/
  position: absolute;
  left: -10px;/*10 à l'origine*/
  top: -8px;/*10 à l'origine*/
  font-size: 1.5em;/* 42px à l'origine */
  font-weight: bold;
  color: red;
  background-color: white;
  z-index: 14;
  margin-left: 5px;
  margin-right: 5px;
}



.element-item .chiffreDM {
  position: absolute;
  left: 130px;
  top: -8px;
  font-size: 12px;
  color:white;
  background-color: blue;
  z-index: 15;
  margin-left: 5px;
  margin-right: 5px;
}
.element-item .caccartooISOTOPEJS {
position: absolute;
  left: -5px;/* aligné sur symbole */
  top: 5px;/* sous symbol*/
  z-index:16;
}
.element-item .nomlong {
position: absolute;
  left: 3px;/* aligné sur symbole */
  top: 5px;/* sous symbol*/
  font-size: 0.6em;
  z-index:10;
}
.element-item .VRP_ISOTOPEJS {
position: absolute;
  left: 0px;
  top: 205px;
  height: 55px;
    font-size: 0.5em;
	font-style: italic;
    /*bottom: -10px; on part du bas */
  text-align: center;
  overflow-y: auto;

  width: -webkit-fill-available;
  width: -moz-available;
  margin:0px;/*pour le p*/

    z-index: 10;
}
.element-item .nomenanglais_ISOTOPEJS {
position: absolute;
  left: 0px;
  top: 240px;
  height: 55px;
    /*font-size: 0.5em;*/
	font-style: italic;
    /*bottom: -10px; on part du bas */
  text-align: center;
  overflow-y: auto;

  width: -webkit-fill-available;
  width: -moz-available;
  margin:0px;/*pour le p*/

    z-index: 10;
}

.element-item.alkali          { background: #F00; background: hsl(   0, 100%, 50%); }
.element-item.alkaline-earth  { background: #F80; background: hsl(  36, 100%, 50%); }
.element-item.lanthanoid      { background: #FF0; background: hsl(  72, 100%, 50%); }
.element-item.actinoid        { background: #0F0; background: hsl( 108, 100%, 50%); }
.element-item.transition      { background: #0F8; background: hsl( 144, 100%, 50%); }
.element-item.post-transition { background: #0FF; background: hsl( 180, 100%, 50%); }
.element-item.metalloid       { background: #08F; background: hsl( 216, 100%, 50%); }
.element-item.diatomic        { background: #00F; background: hsl( 252, 100%, 50%); }
.element-item.halogen         { background: #F0F; background: hsl( 288, 100%, 50%); }
.element-item.noble-gas       { background: #F08; background: hsl( 324, 100%, 50%); }
