@media print {
  @page {
    size: 21cm 29.7cm;
    margin-top: 1cm;
    margin-bottom: 1cm;
    margin-left: 1cm;
    margin-right: 1cm;
  }

  [style] {
    width: 100% !important;
    max-width: 100% !important;
    /* height: auto !important; */
    /* position: static !important; */
    /* overflow: visible !important; */
  }

  body,
  #mainContent {
    min-width: 0;
    background: transparent;
    margin: 0;
    padding: 0;
  }

  #centerHeader,
  #navigation,
  #leftmenu,
  #centerFooter,
  #YAH,
  #calcul a.button,
  .tipper,
  .small-tipper,
  .print-hidden {
    display: none;
  }

  #centerCenter {
    width: auto;
  }

  #center {
    width: auto;
    margin: 0;
    padding: 10px;
  }

  #pagecontent {
    margin-left: 0px;
    padding: 0px;
  }

  #intro-calcul h1 {
    color: #788b00;
    font: 16px Arial, Helvetica, sans-serif;
    font-weight: normal;
  }

  #calcul {
    top: 0px;
  }

  * + html #intro-calcul,
  * html #intro-calcul,
  * + html #calcul,
  * html #calcul {
    margin-top: 190px;
    position: relative;
    top: -180px;
  }

  * + html #calcul,
  * html #calcul {
    margin-top: 0px;
  }

  #calcul table {
    /* width: 650px; */
    width: 100%;
  }

  #calcul table *,
  #calcul input,
  #calcul select,
  #calcul td div div,
  #calcul td span div {
    font-size: 10px;
    font-size: 10px !important;
  }

  #calcul table tr.header td {
    height: auto;
  }

  #calcul table tfoot .owner,
  #calcul table tfoot .owner-text {
    display: block;
  }

  #calcul table tfoot .credit,
  a {
    text-decoration: none;
    color: #499cc1;
    font-size: 10px;
  }

  #calcul table tfoot .credit {
    clear: both;
    white-space: nowrap;
  }

  .one-morg-hd .header,
  .one-morg .form-component,
  .one-morg .header {
    width: 100px !important;
    padding-right: 6px !important;
  }

  .one-morg-hd .header,
  .one-morg .arrow-end,
  .one-morg .arrow-start {
    width: 86px !important;
  }

  .one-morg .qx-form-component-width {
    width: 100px !important;
    display: block;
    float: left;
  }

  .one-morg-hd .morg-passage {
    width: 110px !important;
  }

  .one-morg-hd .morg-type {
    width: 120px !important;
  }

  .one-morg-hd .morg-teneur {
    width: 60px !important;
  }

  .one-morg-hd .morg-quantite {
    width: 60px !important;
  }

  .one-morg-hd .morg-cond {
    width: 100px !important;
  }

  .fourniture-item {
    width: 400px !important;
  }

  .fourniture-item div div div div div {
    width: 396px !important;
  }

  * + html .one-morg-hd .header,
  * + html .one-morg .arrow-end,
  * + html .one-morg .arrow-start,
  * html .one-morg-hd .header,
  * html .one-morg .arrow-end,
  * html .one-morg .arrow-start {
    width: 102px !important;
  }

  .qx-form-component-ie8 {
    top: 2px;
  }

  .teneur-engrais {
    width: 60px;
  }

  table tr.form-item td table td .final-calcul {
    width: 130px;
  }
}
