/* http://2012.scriptfrenzy.org/howtoformatascreenplay */
@media print {
  .comment-box, .comment-add {
    display: none !important;
  }
  body {
    margin: 0;
    font-size: 12pt;
  }
  header {
    page-break-after: always;
    margin-top: 50%;
    text-align: center;
    white-space: pre;
  }
  address {
    position: absolute;
    bottom: 0;
    white-space: pre;
  }
  address.text-left {
    left: 0;
  }
  address.text-right {
    right: 0;
  }
  li {
    margin: 12pt 0;
  }
  .character, .scene, .shot {
    text-transform: uppercase;
  }
  .dialogue, .parenthetical {
    margin-top: -12pt;
  }
  .character {
    margin-left: 2.2in;
  }
  .dialogue {
    margin-left: 1in;
    margin-right: 1.5in;
  }
  .transition .line-text:empty:after {
    display: none;
  }
  .parenthetical {
    margin-left: 1.6in;
    margin-right: 1.9in;
  }
  .parenthetical .line-text:empty:before, .parenthetical .line-text:empty:after {
    display: none;
  }
  .character-highlighted {
    margin-top: 100px;
  }
}
@page {
  size: auto; /* auto is the initial value */
  /* this affects the margin in the printer settings */
  margin: 1in 1in 1in 1.5in;
  @top-right {
    content: counter(page);
    content: "hi";
  }
  @top-right {
    :first {
      content: none;
    }
  }
}