/* ***** BEGIN LICENCE BLOCK *****
 * Version: CePL 1.1
 * 
 * The contents of this file are subject to the Celtx Public License
 * Version 1.1 (the "License"); you may not use this file except in
 * compliance with the License. You may obtain a copy of the License at
 * http://www.celtx.com/CePL/
 * 
 * Software distributed under the License is distributed on an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
 * the License for the specific language governing rights and limitations
 * under the License.
 * 
 * The Original Code is Celtx Script Manager.
 * 
 * The Initial Developer of the Original Code is Chad House and 4067479
 * Canada Inc. t/a CELTX.
 * 
 * Portions created by Chad House are Copyright (C) 2000-2004 Chad House,
 * parts created by Celtx are Copyright (C) 4067479 Canada Inc. All Rights
 * Reserved.
 * 
 * Contributor(s):
 *
 ***** END LICENCE BLOCK ***** */

body {
  font-family: monospace;
  background-color: white;
}

@media screen {
  .character[dual="true"] {
    display: list-item;
    list-style-image: url(chrome://celtx/skin/dd.png);
  }
}

p {
  margin-top: 0em;
  margin-bottom: 1em;
}

p.act {
  text-decoration: underline;
  text-transform: uppercase;
}

p.sceneheading {
  text-decoration: underline;
}

p.action {
  font-style: italic;
}

p.character {
  text-transform: uppercase;
  margin-bottom: 0em;
}

p.parenthetical {
  margin-bottom: 0em;
}

p.dialog + p.parenthetical {
  margin-top: -1em;
}

p.transition {
  text-align: right;
  text-transform: uppercase;
}

.softbreak:after, .hardbreak:after {
  counter-increment: pages;
  content: counter(pages) ".";
  display: block;
  margin-top: 1em;
  margin-bottom: 1em;
  text-align: right;
}

@media screen {
  .softbreak {
    border-top: 1px dashed black;
    width: 100%;
  }
  .hardbreak {
    border-top: 1px solid black;
    width: 100%;
  }
  .firstpage, .firstpagespacer {
    display: none;
  }
}

@media print {
  .softbreak, .hardbreak {
    page-break-before: always;
  }

  .firstpage, .firstpagespacer {
    height: 1em;
    margin-bottom: 1em;
  }

  .firstpage:after {
    content: "1.";
    display: block;
    text-align: right;
  }

  p + p.act {
    page-break-before: always;
  }
}

