@charset "UTF-8";
@page {
  margin: 3.5cm 1cm 1cm 2cm;
  @bottom-right {
    font-size: 10pt;
    content: counter(page) " / " counter(pages);
    height: 1cm;
    text-align: right;
    width: 2cm;
  }
}

@page:first {
	margin: 0.5cm 1cm 1cm 2cm;
}

body {
  font-family: sans-serif;
  font-size: 10pt;
}

#logo-eo {
  position: fixed;
  top: 0;
  left: 0;
  width: 160px;
}

#date {
  position: absolute;
  right: 0;
  line-height: 90%;
}

#info {
  margin-top: 100px;
  white-space: pre;
  font-size: 90%;
}

#to {
  position: absolute;
  right: 0;
  top: 90px;
  background: #FAFAFA;
  width: 20em;
  padding: 1em;
}

tr#code td {
  font-weight: bold;
}

#date tr td.col2 {
  text-align: right;
}

#intitule h1 {
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-size: 14pt;
  text-align: center;
}

table#lignes {
  width: 100%;
  border-collapse: collapse;
}

table#lignes thead td {
  background: lightgrey;
}

table#lignes thead td,
table#lignes tbody td {
  border: 1px solid black;
  padding: 3px;
}

#main {
  margin-bottom: 100px;
}

table#lignes tfoot td.total {
  text-align: right;
  padding-top: 0.5ex;
}

td.number {
  text-align: right;
  min-width: 100px;
}

#footer {
  position: absolute;
  bottom: 0;
}

div#rib {
  font-size: 80%;
  white-space: pre;
  background: #EEEEEE;
  width: 70%;
  padding: 1ex;
  text-align: center;
}

div#le {
  font-size: 80%;
  position: absolute;
  right: 0;
  top: 0;
  width: 28%;
  text-align: center;
}

div#le img {
  padding-top: 5px;
  width: 150px;
}

div#echeance {
  padding-top: 1rem;
  font-size: 8px;
}

div#echeance a {
  color: inherit;
  text-decoration: none;
}
