html {
 font-size:100%
}
body,
input,
select,
textarea,
button,
.ui-btn {
 font-size:1em;
 line-height:1.3;
 font-family:sans-serif
}

body{
  background-color: #AFC293;
  font-family:Arial,Helvetica,Sans-serif;
  margin:0px;
}
.but{
  border-radius:10px;
  padding: 15px;
  background-color: #000;
  color:#fff;
  text-align: center;
  text-overflow: ellipsis;
  width: 340px;
  margin:auto;
  margin-bottom: 10px;
  cursor:pointer;
}

.but:hover {
	 background-color: #333;
}

.fleft{
  float: left;
}
.fright{
  float: right;
}

.mtit{
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: auto;
}

.slink{
  color:#fff;
  text-decoration: none;
}

.butlog{
  border-radius:5px;
  padding: 10px;
  background-color: #000;
  color:#fff;
  text-align: center;
  text-overflow: ellipsis;
  width: 95%;
  margin-top: 25px;
  margin-left:auto;
  margin-right:auto;
  cursor:pointer;
}


.butlog:hover {
	 background-color: #333;
}

.ifield{
  line-height: 1.5em;
  padding: 2px;
}

.header{
  position: fixed;
  top:0px;
  left:0px;
  width:100%;
  background-color: #fff;
  padding: 0px;
  margin: 0px;
  overflow: hidden;
  height: 120px;
}

#fdclogo{
  height:120px;
}

.container{
  width: 100%;
  margin-top: 120px;
}

.tit{
  background-color: #030;
  color:#fff;
  text-align: center;
  text-align-last: center;
  text-overflow: ellipsis;
}

.msg{
  padding: 15px;
  background-color: #DEE;
  color:#345;
}

.hmenu {
    font-size: 2em;
   /* position: absolute;*/
    z-index: 200;
    float: left;
    cursor: pointer;
}

#menubar{
  height: 40px;
  line-height: 40px;
  position: fixed;
  z-index: 100;
  right:0;
  left:0;
}

#menubar i.fa {
  font-size: 2em;
  line-height: 1em;
  padding: 5px;
  z-index: 200;
  cursor: pointer;  
}

.justify-content-center {
  justify-content: center !important;
}

.content-center {
  text-align: center !important;
}

#container{
	padding:15px;
}

.dtit{
  font-weight: bold;
  display: inline-block;
  width:150px;
}

.dval{
  display: inline-block;
}

.login{
  max-width: 480px;
  padding: 15px;
  background-color: #fff;
  margin: auto;
  border-radius: 5px;
}

.form-label {
margin-bottom: 0.2rem;
margin-top: 0.5rem;
color: rgb(68,68,68);
}
label {
  display: inline-block;
}
.form-control {
  display: block;
  width: 95%;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: .375rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

#consoleApp{
	display:none;
	height:150px;
	width:100%;
	position:fixed;
	left:0px;
	top:600px;
	z-index: 1000;
	background-color: #333;
	color:#aaa;
	overflow-y:scroll;
}

.species{
  display: inline-block;
}

.out{
  opacity: 0.3;
}

#msgbar{
  display: none;
  position: fixed;
  z-index: 100;
  width: 100%;
  margin-top: 40px;  
}

#container{
  padding-top: 100px;
  max-width: 400px;
  margin:auto;
}

input[name=username]{
  text-transform: uppercase;
}

.sliding-navbar{
    position: fixed;
    top:0;
    left:-300px;
    height: 100vh;
    width: 300px;
    background: #333;
    transition: left 0.3s ease-in-out;
    z-index: 300;
}
.sliding-navbar--open{
    left: 0px;
}
.mask{
    position:fixed;
    top: 0px;
    left:0px;
    height: 100vh;
    width:100%;
    background: #333;
    opacity:0.5;
    z-index: -200;
    display: none;
}
.show{
    z-index: 200;
    display: block;
}

#navbarmenu{
    /*position: absolute;
    left: 20%;
    top: 50%;
    transform: translate(-15%, -50%);*/
}

.navbar--items{
    list-style-type: none;
    padding-left: 30px;
    /*position: absolute;
    left: 20%;    */
}
.navbar--item{
    margin: 20px;
    letter-spacing: 1px;
    color: white;
    font-family:sans-serif;
    font-size: 14px;
    /*text-transform: uppercase;*/
}
.menu-opened:before {
    bottom: 3px;
    transition: bottom 0.3s ease-in-out;
}
.menu-opened:after {
    top: 3px;
    transition: top 0.3s ease-in-out;
}

.icomen{
    position:absolute;
    margin-left: -25px;
    font-size: 18px;
}

.icomen.fa{
    font-size: 18px;
}

.divdec {
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.pending{
  background-color: #FFEEE0;
}

.dh{
  display: inline-block;
  float: right;
  font-size: 0.8em;
}

.hg{
  font-variant:small-caps;
  color: #444;
}

.msgloc{
  font-size: 0.8em;
  color:#aaa;
  background-color: #333;
  padding:8px;
  margin-top:10px;
}

.elem{
  margin-bottom: 5px;
}

/* useless shit */
*{
    margin:0;
    padding:0;
}
.desc{
    color: white;
    font-family:sans-serif;
    font-weight:bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
        position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.but.species{
  line-height:30px;
  font-size:1.5em;
  width:340px;
  text-align:center;
}

.bkgsang{
  background-image:url(img/icosanglier.png);
  background-repeat: no-repeat;
  background-position: 15px center;
}
.bkgbrocard{
  background-image:url(img/icobrocard.png);
  background-repeat: no-repeat;
  background-position: 15px center;
}
.bkgcerf{
  background-image:url(img/icocerf.png);
  background-repeat: no-repeat;
  background-position: 15px center;
}
.bkgdaim{
  background-image:url(img/icodaim.png);
  background-repeat: no-repeat;
  background-position: 15px center;
}
.bkgmouflon{
  background-image:url(img/icomouflon.png);
  background-repeat: no-repeat;
  background-position: 15px center;
}

td.c1{
  width:150px;
}
td.c2{
  width:80px;
  text-align: right;
}
td.c3{
  width:80px;
  text-align: right;
}
td.c4{
  width:80px;
  text-align: right;
}

.tabattr {
  background-color:#ddd;
  border:solid 1px #aaa;
}
.tabattr td{
  background-color:#fff;
  padding:3px;
}
.tabattr td.c1{
  font-size: 0.9em;
  }

.tabattr th{
  text-align: left;
  font-size: 0.8em;
  padding:3px;
}

.tabattrsai {
  background-color:#ddd;
  border:solid 1px #aaa;
}
.tabattrsai th{
  text-align: left;
  font-size: 0.8em;padding:2px;
  width:150px;
}

.tabattrsai td{
  text-align: right;
  background-color:#fff;
  padding-right: 10px;
  width:100px;
}


select {
  // A reset of styles, including removing the default dropdown arrow
  appearance: none;
  background-color: #DDD;
  border: none;
  padding: 0 1em 0 0;
  margin: 0;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  cursor: inherit;
  line-height: inherit;

  // Stack above custom arrow
  z-index: 1;

  // Remove dropdown arrow in IE10 & IE11
  // @link https://www.filamentgroup.com/lab/select-css.html
  &::-ms-expand {
    display: none;
  }

  // Remove focus outline, will add on alternate element
  outline: none;
}

.select {
  min-width: 15ch;

  border: 1px solid var(--select-border);
  border-radius: 0.25em;
  padding: 0.25em 0.5em;

  font-size: 0.9rem;
  cursor: pointer;
  line-height: 1.1;
  width:100%;

  // Optional styles
  // remove for transparency
  background-color: #fff;
  background-image: linear-gradient(to top, #f9f9f9, #fff 33%);

  // Custom arrow
  &:not(.select--multiple)::after {
    content: "";
    justify-self: end;
    width: 0.8em;
    height: 0.5em;
    background-color: var(--select-arrow);
    clip-path: polygon(100% 0%, 0 0%, 50% 100%);
  }
}

// Interim solution until :focus-within has better support
select:focus + .focus {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border: 2px solid var(--select-focus);
  border-radius: inherit;
}

select[multiple] {
  padding-right: 0;

  /*
   * Safari will not reveal an option
   * unless the select height has room to 
   * show all of it
   * Firefox and Chrome allow showing 
   * a partial option
   */
  height: 6rem;

  option {
    white-space: normal;

    // Only affects Chrome
    outline-color: var(--select-focus);
  }

 }

.select--disabled {
  cursor: not-allowed;
  background-color: #eee;
  background-image: linear-gradient(to top, #ddd, #eee 33%);
}

label {
  font-size: 1.125rem;
  font-weight: 500;
}
