.ez5-field-row,
.ez5-field-block {
  margin: 3px 0;
}

.fields-renderer-plain .ez5-field-block-header {
  width: 100%;
}
.fields-renderer-plain .ez5-field-block-content .cui-horizontal-layout-right > .cui-buttonbar {
  display: none;
}

.pdf-print body {
  margin: 0;
}
.pdf-print .pdf-node-field .ez5-field-block {
  display: block;
}
.pdf-print .pdf-node-field.hide-labels .ez5-field-block-header {
  display: none;
}
.pdf-print .pdf-node-field.row-format .ez5-field-block {
  display: flex;
  margin: 0;
  padding: 8px 0;
}
.pdf-print .pdf-node-field.row-format .ez5-field-block-header {
  width: auto;
}
.pdf-print .pdf-node-field.row-format .ez5-field-block-content > .ez5-nested--has-groups {
  margin: -8px 0;
}
.pdf-print .pdf-node-asset-show-info .ez5-asset-element .ez5-asset-info {
  display: block;
}
.pdf-print .pdf-node-asset-placeholder {
  text-align: center;
  padding: 1cm;
}
.pdf-print .pdf-node-asset-placeholder span {
  margin-top: 1mm;
  display: block;
}
.pdf-print .pdf-node-asset-placeholder i {
  font-size: 10mm;
  margin: 0;
}
.pdf-print .pdf-node-asset .ez-asset-browser-assets .ez-asset {
  display: inline-block;
}
.pdf-print .pdf-node-asset .ez-asset-browser-assets .ez-asset .eas-image img {
  width: 100%;
  height: auto;
}
.pdf-print .pdf-node-asset .ez-asset-browser-assets .ez-asset .eas-image.portrait img {
  height: 100%;
  width: auto;
}
.pdf-print .pdf-node-asset .ez-asset-browser-assets .ez-asset-info-container {
  display: none;
}
.pdf-print .pdf-node-asset .ez-asset-browser-multiple {
  display: none;
}
.pdf-print .pdf-node-eas {
  display: inline-block;
}
.pdf-print .pdf-node-eas .ez5-asset-element img {
  width: 100%;
}
.pdf-print .pdf-node-document.outer-border {
  outline: 1px solid #8e8d8d;
}
@media print {
  .pdf-print .pdf-node-document .pdf-break-page {
    page-break-after: always;
  }
}
.pdf-print .pdf-node-body-grid {
  height: 100%;
  box-sizing: border-box;
}
.pdf-print .pdf-node-body-row {
  overflow: hidden;
  display: flex;
  box-sizing: border-box;
}
.pdf-print .pdf-node-body-row:last-child {
  border-bottom-width: 0 !important;
}
.pdf-print .pdf-node-body-row.inner-border {
  border-bottom: 1px solid #8e8d8d;
}
.pdf-print .pdf-node-body-column {
  box-sizing: border-box;
  display: flex;
}
.pdf-print .pdf-node-body-column-inner {
  overflow: hidden;
  height: 100%;
  width: 100%;
  position: relative;
}
.pdf-print .pdf-node-body-column:last-child {
  border-right-width: 0 !important;
}
.pdf-print .pdf-node-body-column.inner-border {
  border-right: 1px solid #8e8d8d;
}
.pdf-print .pdf-node {
  /* todo: 
    - until we know how the PDF printer works and how it can be configured to render the header/footer, 
      we should keep the preview as close to the final PDF as possible (omit all styles that won't be applied anyways)
  */
}
.pdf-print .pdf-node-header, .pdf-print .pdf-node-footer {
  width: 100%;
  font-size: 12px;
  line-height: 12px;
}
.pdf-print .pdf-node-header-image-left img, .pdf-print .pdf-node-header-image-right img {
  height: 31px;
}
.pdf-print .pdf-node-footer {
  bottom: 0;
  margin-bottom: 0.57cm;
}
.pdf-print-preview {
  overflow: hidden;
}
.pdf-print-preview-body .pdf-node {
  border: 1px dashed #bbbbbb;
}
.pdf-print-preview-body .pdf-node-selected {
  border: 1px dashed #f5e441;
}
.pdf-print-preview-body.outer-border {
  outline: 1px solid #8e8d8d;
}
.pdf-print-preview-body {
  outline: 1px dashed #8e8d8d;
  height: 100%;
  overflow: hidden;
  overflow-y: auto;
}
.pdf-print-preview .pdf-node-body-row {
  border-bottom: 1px dashed #8e8d8d;
}
.pdf-print-preview .pdf-node-body-column {
  border-right: 1px dashed #8e8d8d;
}
.pdf-print .cui-label-multiline > .cui-label-content {
  white-space: pre-wrap;
}
