@page {
  margin: 0 !important;
  padding: 0 !important;
  size: A4;
  font-family: 'EDF 2020', sans-serif;
}

/* Body */
body, html {
  color: #001A70 !important;
}

html {
  background: none;
  padding: 0;
  overflow: auto;
}

body {
  box-shadow: none;
  margin: 0;
}

.adjust-page-zoom {
  zoom: 0.60;
  padding: 0;
}

div {
  page-break-inside: avoid;
}

/* Typographie */
h1 {
  font-size: 30px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 20px;
}

h1, h2, h3 {
  color: #001A70;
  font-weight: bold;
}

p {
  font-size: 12px;
}

strong {
  font-weight: 500;
  -webkit-text-stroke-width: 0.05em;
}


/* Section */
section {
  position: relative;
  box-sizing: border-box;
  min-height: 328mm;
  margin: 20px auto 0;
  padding: 15mm 10mm;
  width: 210mm;
  border-radius: 1px;
  background: none;
  box-shadow: none;
}

/* Logo */
header img {
  width: 20%;
  margin-bottom: 24px;
}

/* Invoice */
.invoice-title {
  font-size: 30px;
  margin: 0;
}

.invoice-number {
  color: #FE5716;
  font-weight: bold;
  font-size: 18px;
  margin: 0;
  line-height: 23px;
}

.invoice-number_weight {
 font-weight: normal;
}

/* Aside */
aside {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  background-color: #E9F1F9;
  border-radius: 8px;
}

aside h2 {
  margin: 0 0 8px 0;
}

.aside-info {
  line-height: 16px;
}

.aside-info .noMarginBottom {
  margin-bottom: 0;
}

/* Table */
table {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #001A70;
  table-layout: fixed;
  width: 100%;
  page-break-inside: avoid;
  border-spacing: 0;
  text-align: left;
}

tr, td{
  border:none;
}

.table-header {
  background-color: #001A70 !important;
  border-radius: 8px 8px 0 0;
}

.table-header h3 {
  color: white;
  margin: 4px 0;
}

.table-total {
  background-color:#E0E3EE;
  font-weight: bold;
}

.table-total.borderRadius {
  border-radius: 0 0 8px 0;
}

thead, tbody {
  font-size: 14px;
}

tr {
  page-break-inside: avoid;
  page-break-after: auto
}

th, td {
  padding: 16px 8px;
}

table tbody tr:nth-child(odd) {
  background-color: #E0E3EE;
}

/* Block style */
.block {
  border: 1px solid #001A70;
  margin: 0 0 20px 0;
  padding: 8px;
  border-radius: 8px;
}

.block.table {
 padding: 0;
}

.block th {
 padding: 8px;
}

.block td {
  padding: 16px 8px;
}

.block tbody td p {
  margin: 0;
}


/* Content infos left */
.content-infos {
  float: left;
  display: inline-block;
  width: 32%;
  margin-right: 40px;
}

.content-infos .marginTop {
  margin-top: 32px;
}

.content-infos_title {
  color: #001A70;
  font-size: 20px;
  margin: 0 0 10px 0;
}

.content-infos_block-wrapper {
  margin-bottom: 8px;
}

.content-infos_block-wrapper.noMarginBottom {
  margin-bottom: 0;
}

.content-infos_block-title {
  color: #001A70;
  font-size: 14px;
  font-weight: bold;
  margin: 0 0 4px 0 !important;
}

.content-infos_block-text {
  margin: 0;
  line-height: 17px;
}

.content-infos_block-text.align-center {
  text-align: center;
  margin-top: 4px;
}

.content-infos_block-text.align-center span {
  color: #FE5716;
}

.content-infos_block-text a {
  color: #FE5716;
}


/* Content infos detail */
.content-detail {
  display: inline-block;
  width: calc((100% - 32%) - 40px);
}

.content-detail table tbody tr:nth-child(odd) {
  background-color: transparent;
}

.content-detail_align {
  position : relative;
  margin-bottom: 45px;
}

.content-detail_align img {
  position: absolute;
  top: 13px;
  right: 0;
 width: 13%;
}

.content-detail_mention {
  margin-bottom: 48px;
  font-style: italic;
}


/* Consumption*/
.consumption-header {
  margin: 45px 0 16px 0;
}

.consumption-header h3 {
  margin: 0 4px 0 0;
}

.consumption-header h3 span {
 font-size: 14px;
  font-weight: bold;
}

.consumption-table {
  padding: 0;
}

.consumption-table tbody tr:nth-child(odd) {
  background-color: #E0E3EE;
}

/* Amount */
.totalAmount {
  font-size: 15px;
}




article:after {
  clear: both;
  content: "";
  display: table;
}

article address {
  float: left;
  font-weight: bold;
}


/* DETAILS */
.details {
  page-break-before: always;
}

.content-tab-invoice .content-tab-invoice-grossAmount-info {
  line-height: 16px
}

.content-tab-invoice-grossAmount-header {
  width: 50%;
  text-align: end;
}


