@page {
  margin: 150px 20px 120px;
  background: url('https://app.wenku.cz/images/template_images/invoice/background.jpg') no-repeat 0 0;
  background-image-resize: 6;
  header: headernext;
  footer: footer;
  font-size: 8px;
}

@page :first {
  header: headerfirst;
}

.newPage {
  page-break-before: always;
}

.bkgPic {
  background: url('https://app.wenku.cz/images/template_images/contract/bublinaSiroka350.png') no-repeat 0px 10px;
  background-image-resize: 4;
  vertical-align: baseline;
}

em {
  text-transform: none !important;
  font-style: normal !important;
  text-decoration: line-through;
  background-color: #000000;
  user-select: none;
}

.doklad {
  color: #ffffff;
  font-size: 22px;
  font-weight: bold;
  padding-top: 20px;
  vertical-align: bottom;
  line-height: 40px;
  height: 40px;
}

.dokladTyp {
  color: #ffffff;
  font-size: 16px;
  font-weight: normal;
  margin-top: 0px;
  letter-spacing: 2px;
}

h2 {
  font-size: 16px;
}

h3 {
  font-size: 14px;
}

p {
  font-size: 12px;
  line-height: 14px;
  padding: 6px 20px;
  margin: 0px;
}

li {
  font-size: 12px;
}

li.minified {
  margin-bottom: 0px;
  margin-top: 0px;
  padding-bottom: 0px;
  padding-top: 0px;
    }

ul.minified {
  margin-bottom: 0px;
  margin-top: 0px;
  padding-bottom: 0px;
  padding-top: 0px;
}

table.headerfirst,
tr.headerfirst,
td.headerfirst {
  margin: 0px;
  padding: 0px;
}

table.headernext,
tr.headernext,
td.headernext {
  margin: 0px;
  padding: 0px;
}

table,
tr,
td {
  font-size: 12px;
}

td {
  padding-left: 2mm;
  vertical-align: top;
  padding-right: 2mm;
  padding-top: 0.0mm;
  padding-bottom: 0.0mm;
}

table td div {
  padding: 50px;
}

hr.withFooter {
  width: 100%;
  height: 1px;
  text-align: left;
  color: #99cc33;
  margin-top: 1pt;
  margin-bottom: 1pt;
}

hr.greenHr {
  width: 99%;
  height: 1px;
  text-align: center;
  color: #99cc33;
  margin-top: 1pt;
  margin-bottom: 1pt;
}

hr.whiteHr {
  width: 99%;
  height: 1px;
  text-align: center;
  color: #ffffff;
  margin-top: 1pt;
  margin-bottom: 1pt;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.footerText {
  line-height: 30px;
}

.footerImage {
  width: 30px;
  vertical-align: middle;
}

td.footer {
  opacity: 0.5;
  vertical-align: top;
}

.header {
  margin-bottom: 30px;
}

img.footerImage {
  width: 20px;
  height: 20px;
}

span.footerText {
  color: #999999;
  font-size: 10px;
}

table.footerTable tr,
table.footerTable td {
  margin: 0px;
  padding: 0px;
}

table.footerTable {
  margin-top: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.footerMessage {
  color: #99cc33;
  margin-bottom: 20pt;
  font-size: 14px;
}

.MsoTableGrid {
  margin-top: 10px;
  margin-bottom: 0px;
  text-align: center;
}

.MsoTableGrid p {
  text-align: left;
}

.MsoTableGrid p.center {
  text-align: center;
}

.hidden {
  display: none !important;
}

img.qrcode {
  width: 120px;
  margin-top: -20px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
}

table.nospantable {
  margin-left: 0px;
  padding-left: 0px;
}

table.nospantable tr {
  margin-left: 0px;
  padding-left: 0px;
}

table.nospantable tr td {
  margin-left: 0px;
  padding-left: 0px;
}