/*
Copyright (c) 2012-2013 Nima Yousefi & John August

Permission is hereby granted, free of charge, to any person obtaining a copy 
of this software and associated documentation files (the "Software"), to 
deal in the Software without restriction, including without limitation the 
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 
sell copies of the Software, and to permit persons to whom the Software is 
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in 
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 
IN THE SOFTWARE.
*/

* {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
}
html {
	margin: 0;
	padding: 0;
}
body {
	background-color: #fff;
	color: #3e3e3e;
	font: 14px/1.3em 'Courier', serif;
	padding: 0;
	margin: 0;
}
article {
	padding: 40px 0;
	margin: 0;
}
section {
	padding: 0 0 0 40px;
	width: 465px;
	margin-right: auto;
	margin-left: auto;
}
p {
	margin: 1.3em auto;
	word-wrap: break-word;
	padding: 0 10px;
}
body > p:first-child {
	margin-top: 0;
}
.scene-heading, .transition, .new-act, .end-of-act, .character {
	text-transform: uppercase;
}

.transition {
	text-align: right;
}

.new-act, .end-of-act {
	text-align: center;
}

.character {
	margin: 1.3em auto 0;
	width: 180px;
}

.dialogue {
	margin: 0 auto;
	width: 310px;
}

.parenthetical {
	margin: 0 auto;
	width: 250px;
}

.scene-heading {
	margin-top: 2.6em;
	font-weight: bold;
	position: relative;
	padding-right: 40px;
}
.scene-number-left {
	float: left;
	margin-left: -50px;
}
.scene-number-right {
	position: absolute;
	right: 0;
	top: 0;
}
#script-title {
	overflow: hidden;
	display: block;
	padding-bottom: 2.6em;
	margin-bottom: 2.6em;
}
#script-title .title {
	text-align: center;
	margin: 1.3em 0;
	text-decoration: underline;
	font-weight: bold;
	text-transform: uppercase;
}
#script-title .credit {
	text-align: center;
}
#script-title .authors {
	text-align: center;
}
#script-title .source {
	text-align: center;
	padding-top: 1.3em;
}
#script-title .notes {
	padding-top: 2.6em;
}
#script-title .notes {
	white-space: pre-line !important;shape-rendering
}
.center {
	text-align: center !important;
}
hr {
    height: 0px;
    border: none;
    border-bottom: 1px solid #ccc;
}
.dual-dialogue {
	overflow: hidden;
}
.dual-dialogue .dual-dialogue-left,
.dual-dialogue .dual-dialogue-right {
	width: 228px;
	float: left;
}
.dual-dialogue p {
	width: auto;
}
.dual-dialogue .character {
	xtext-align: center;
	padding-left: 40px;
}
.dual-dialogue .parenthetical {
	padding-left: 40px;
}
p.page-break {
    text-align: right;
    border-top: 1px solid #ccc;
    padding-top: 20px;
    margin-top: 20px;
}