@media print{
  @page {
    size: A4; /* DIN A4 standard, Europe */

    /* top,right,bottom,left */
    margin: 10mm 0 1.1cm 0;
  }
  
  /* --------------------------------------------------------------------------------
   STANDARD
   --------------------------------------------------------------------------------*/
  html, body {
    font-family: "Open Sans";
    font-size: 1.0em;
    
    width: 210mm;
    height: 297mm;
    background: #FFF;
    overflow: visible;
  }

  body {
    padding-top: 0mm;
    padding-bottom: 0mm;
    padding-left: 0mm;
    padding-right: 20mm;
    margin-left: 0mm;
  }

  a { text-decoration: none; }
  
  /* --------------------------------------------------------------------------------
   BACKGROUND
   --------------------------------------------------------------------------------*/
  .draft {
    top: 500px;
    left: 140px;
  }

  /* --------------------------------------------------------------------------------
   LOGO
   --------------------------------------------------------------------------------*/
  .logo {
    position: fixed;
    right: 5mm;
    top: 5mm;
  }

  .logo_img { padding-right: 40px; }

  /* --------------------------------------------------------------------------------
   PAGE
   --------------------------------------------------------------------------------*/
  .page-inner { margin: auto; }
  .page_break { page-break-before: always }

  /* --------------------------------------------------------------------------------
   HR
   --------------------------------------------------------------------------------*/
  .hr_large{
    margin-left: 0px;
    padding-left: 0px;
    left: 0;
    width: 100%;
  }    

  /* --------------------------------------------------------------------------------
   TURN OFF CONTROLS
   --------------------------------------------------------------------------------*/
  .controls    {display:none; }
  .nav         {display:none;}
  .filter_form {display: none;}
  .print_hide  {display:none;  }

}

@media screen{
  /* --------------------------------------------------------------------------------
   STANDARD
   --------------------------------------------------------------------------------*/
  html,body {
    font-family: "Open Sans";
    font-size: 1.0em;
    
    font-weight: 200;
    margin-top: 0px;
    padding-top: 0px;
  }

  body{  background: #e6e6e6;}

  .screen_hide { display:none;  }
  
  /* --------------------------------------------------------------------------------
   BACKGROUND
   --------------------------------------------------------------------------------*/
  .draft {
    top: 350px;
    left: calc(50vw - 300px);
  }

  /* --------------------------------------------------------------------------------
   LOGO
   --------------------------------------------------------------------------------*/
  .logo {
    position: absolute;
    padding-left: 1337;
  }

  .logo_img { padding-left: 870px; }

  /* --------------------------------------------------------------------------------
   PAGE
   --------------------------------------------------------------------------------*/
  .page-inner a {
    /* color: black; */
    /* text-decoration: none; */
  }

  .page-padding { padding-left: 200px; }

  .page-inner {
    min-height: 1080px;
    
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    
    padding-top: 30px;
    padding-bottom: 30px;    
  }

  .page_break {
    height: 30px;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
    background: grey;
  }

  /* --------------------------------------------------------------------------------
   HR
   --------------------------------------------------------------------------------*/
  .hr_large{
    margin-top: 40px;
    width: 1021px;
    margin-left: auto;
    margin-right: auto;
  }

  /* --------------------------------------------------------------------------------
   LINKS
   --------------------------------------------------------------------------------*/
  .form_link        { text-decoration: none; }
  .-no_decoration a { text-decoration: none; }
  .initials a       { text-decoration: none; }
  .nav a            { text-decoration: none; }
  footer a          { text-decoration: none; }

  /* --------------------------------------------------------------------------------
   FILTER
   --------------------------------------------------------------------------------*/
  .filter_form {
    background: #eee;
    margin-left: auto;
    margin-right: auto;
    width:1021px;
    height: 450px;
  }
  .filter_form_inner{ padding: 20px; }

  /* --------------------------------------------------------------------------------
   PADDING
   --------------------------------------------------------------------------------*/
  .padding_right_10 { padding-right: 10px; }
  .padding_left_50 {  padding-left: 50px;  }
  
  /* --------------------------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------------------------*/
  .footer {    padding-top: 40px; }
  .footer-info { display: none; }
}

/* --------------------------------------------------------------------------------
 STANDARD
 --------------------------------------------------------------------------------*/
body{
  width: 100%;
  font-weight: 200;
}

pre{
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* --------------------------------------------------------------------------------
TABLES
--------------------------------------------------------------------------------*/
/* Report table structure for header & footer */
table.report-container {
  counter-reset: page;         
  margin: 0;
  padding: 0;
  page-break-after: always;
  width: 100%;
}

thead.report-header {
  display: table-header-group;
  height: 100px;
}

/* --------------------------------------------------------------------------------
 HEADER
 --------------------------------------------------------------------------------*/
.header {
  padding-top: 15px;
  padding-bottom: 10px;
  font-size: 1.2em;
  font-weight: bold;
}

/* --------------------------------------------------------------------------------
 FOOTER
 --------------------------------------------------------------------------------*/
tfoot.report-footer {
  display:table-footer-group;
  height: 50px;
}

.footer-info {
  position: fixed;
  height: 50px;
  width: 821px;
  bottom: 0px;
  display: block;
  overflow: visible;
}

/* --------------------------------------------------------------------------------
 PAGE
 --------------------------------------------------------------------------------*/
.page-inner {
  background:white;
  width:1021px;
}

/* --------------------------------------------------------------------------------
 BACKGROUNDS
 --------------------------------------------------------------------------------*/
.draft {
  position: fixed;
  z-index: 10000;
  color: grey;  
  font-size:270px;
  font-weight: bold;
  transform:rotate(-45deg);
  opacity: 0.1;
}

.picture_bg{
  background-image: url("/images/501_edge.jpg");
  background-repeat: no-repeat;
  background-position-x: right;
  background-position-y: top;
  background-size: 590px 1100px;
}

/* --------------------------------------------------------------------------------
 FIELDS
 --------------------------------------------------------------------------------*/
#row { page-break-inside: avoid;}

.totals {
  float:left;
  padding-left: 450px;
  font-weight: bold;
}

.no{
  float: left;
  text-align: right;
  width: 60px;
  padding-right: 10px;
}

.no_s{
  float: left;
  text-align: right;
  width: 45px;
  padding-right: 10px;
}

.no_l{
  float: left;
  text-align: left;
  width: 60px;
  padding-right: 10px;
}

.date{
  float: left;
  text-align: right;
  width: 70px;
  padding-right: 20px;
}

.code{
  float: left;
  text-align: right;
  width: 70px;
  padding-right: 20px;
}

.account {
  float: left;
  width: 320px;
}

.account_s {
  float: left;
  width: 280px;
}

.account_xs {
  float: left;
  width: 220px;
}

.account_xxs {
  float: left;
  width: 130px;
}

.details {
  float: left;
  width: 160px;
  padding-right: 10px;
}

.name_xxxxs{
  float: left;
  width: 120px;
  padding-right: 10px;
}
.name_xxxs{
  float: left;
  width: 200px;
  padding-right: 10px;
}
.name_xxs{
  float: left;
  width: 280px;
  padding-right: 10px;
}

.name_xs{
  float: left;
  font-size: 0.9em;
  width: 330px;
}

.name_s{
  float: left;
  font-size: 0.9em;
  width: 390px;
  padding-right: 10px;
}

.name{
  float: left;
  font-size: 0.9em;
  width: 450px;
  padding-right: 10px;
}

.name_m{
  float: left;
  font-size: 0.9em;
  width: 460px;
  padding-right: 10px;
}

.name_l{
  float: left;
  font-size: 0.9em;
  width: 530px;
  padding-right: 10px;
}

.net_movements{
  float: left;
  width: 523px;
  padding-right: 10px;
}

.type{
  float: left;
  text-align: right;
  width: 15px;
  padding-right: 15px;
}

.code{
  float: left;
  text-align: right;
  width: 35px;
  padding-right: 15px;
}

.voucher{
  float: left;
  text-align: right;
  width: 60px;
  padding-right: 15px;
}

.journal_type{
  font-size: 0.7em;
  font-style: italic;
}

.amount {
  float: left;
  font-size: 1em;
  width: 105px;
  padding-right: 10px;
}

.amount_s {
  float: left;
  font-size: 0.9em;
  width: 65px;
  padding-right: 10px;
}

.amount_xs {
  float: left;
  font-size: 0.9em;
  width: 50px;
  padding-right: 10px;
}

.initials {
  float: left;
  font-size: 0.8em;
  width: 26px;
  padding-right: 0px;
}

.percent {
  float: left;
  font-size: 0.8em;
  width: 45px;
  padding-right: 10px;
}

.percent_s {
  float: left;
  font-size: 0.9em;
  width: 40px;
  padding-right: 10px;
}

.diff {
  float: left;
  font-size: 0.7em;
  width: 65px;
  padding-right: 10px;
}

/* --------------------------------------------------------------------------------
 BOXES
 --------------------------------------------------------------------------------*/
.-small_box {
  float: left;
  width: 100px;
  padding-right: 10px;
}
.-medium_box {
  float: left;
  width: 200px;
  padding-right: 10px;
}
.-large_box {
  float: left;
  width: 300px;
  padding-right: 10px;
}

/* --------------------------------------------------------------------------------
 DISCLAIMER
 --------------------------------------------------------------------------------*/
.disclaimer_container{  width: 800px;}
.disclaimer          {  width: 450px;}

/* --------------------------------------------------------------------------------
 HR
 --------------------------------------------------------------------------------*/
.hr_large {
  background-color: #1f3568ff;
  -webkit-print-color-adjust: exact !important; /*Printing background color in chrome*/
  print-color-adjust: exact !important;         /*Printing background color in firefox*/
  margin-top: 480px;
  height: 100px;
}

.hr_large_text {
  padding-top: 26px;
  color: white;
  text-align: center;
  font-size: 2em;
}
.hr_page {
  border-bottom: solid 1px grey;
  width: 880px !important;
}

.hr_page_tb {
  border-bottom: solid 1px grey;
  margin-left: 40px;
  width: 900px !important;
}

/* --------------------------------------------------------------------------------
 LOGO
 --------------------------------------------------------------------------------*/
.logo {
  margin-left: auto;
  margin-right: auto;
}

.logo_img {
  height: 120px;
  padding-top: 20px;
}

.logo_small {
  height: 60px;
  padding-left: 40px;
}

.logo_front {
  height: 90px;
  padding-right: 20px;
}

.logo_big {
  margin: auto;
  width: 50%;
  padding-left: 90px;
}

.logo_big_img {  height: 400px;}

/* Alternating highlighting */
.-highlight0 {  background: white;}
.-highlight1 {  background: white;/* #e3f7ff; */}
