@import url(http://fonts.googleapis.com/css?family=Open+Sans:300);

/*
 * @import rules must be the first thing in the css file when using boilerplate, even before comments.
 */


/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 *
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

/*
 * Overflow optional, due to problems that can arise in Firefox when combined with JS plugins
   (like modals or drag-and-drop UIs) that rely on viewport dimension calculations.
 */

html, button, input, select, textarea { font-family: sans-serif; color: #222; }

body { margin: 0; font-size: 1em; line-height: 1.4; }

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/i/440
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */

legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 */

button, input { line-height: normal; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 * 3. Correct inner spacing displayed oddly in IE7 (doesn't effect IE6)
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }

/*
 * Re-set default cursor for disabled elements
 */

button[disabled], input[disabled] { cursor: default; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* =============================================================================
   Chrome Frame Prompt
   ========================================================================== */

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }


/* ==|== primary styles =====================================================
   Author: Jonathan Robinson
   ========================================================================== */

/* General ................................................................................ */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}

/* Headers (h1,h2,etc) have no default font-size or margin,
   you'll want to define those yourself. */ 
h1,h2,h3,h4,h5,h6 { 
	font-weight: normal; 
}

/* Always force a scrollbar in non-IE. 
	 Overflow optional, due to problems that can arise in Firefox when combined with JS plugins
   (like modals or drag-and-drop UIs) that rely on viewport dimension calculations. */
  
html { 
	overflow-y: scroll; 
}

surprise {
	display: none;
	padding-bottom: 10px;
	color: #fff;
	font-style: italic;
}


/* Javascript Prompt ...................................................................... */

#jsNotice {
	padding: 20px 0;
	text-align: center;
	display: none;
}

.no-js #jsNotice {
	display: block;
}


/* Backgrounds ............................................................................ */

body {
	-webkit-transition: background-color 0.4s;
	   -moz-transition: background-color 0.4s;
	     -o-transition: background-color 0.4s;
			    transition: background-color 0.4s;
}

.text1 { background-color: #001f39; }
.text2 { background-color: #2e1904; }
.text3 { background-color: #464646; }
.text4 { background-color: #ce8f4c; }
.text5 { background-color: #9e0b0f; }
.text6 { background-color: #000000; }
.text7 { background-color: #553318; }


/* Container .............................................................................. */

#container {
	position: relative;
	margin: 0 auto;
	width: 320px;
	z-index: 10;
}


/* Text Arrows ............................................................................ */

#textLeft,
#textRight {
	cursor: pointer;
	position: absolute;
	top: 179px;
	width: 27px;
	height: 47px;
	opacity: 0.5;
	-webkit-transition: opacity 0.2s;
	   -moz-transition: opacity 0.2s;
	     -o-transition: opacity 0.2s;
			    transition: opacity 0.2s;
	z-index: 30;
}

#textLeft {
	left: 20px;
	background: url(spriteSheet.png) -140px 0 no-repeat;
}

#textLeft:hover { opacity: 1; }
#textLeft:active { opacity: 0.2; }

#textRight {
	left: 114px;
	background: url(spriteSheet.png) -176px 0 no-repeat;
}

#textRight:hover { opacity: 1; }
#textRight:active { opacity: 0.2; }


/* Header ................................................................................. */

header {
	padding: 10px;
	width: 300px;
	height: 51px;
	text-align: right;
	background-color: #fff;
}

#logo {
	float: left;
	width: 150px;
	height: 51px;
	overflow: hidden;
}

#logo a {
	display: block;
	cursor: default;
	width: 150px;
	height: 51px;
	background: url(spriteSheet.png) 16px -200px no-repeat;
	-webkit-transition: background-color 0.4s;
	   -moz-transition: background-color 0.4s;
	     -o-transition: background-color 0.4s;
			    transition: background-color 0.4s;
}

.text1 #logo a,
.text1 #logo a:hover,
.text1 #logo a:active { background-color: #001f39; }

.text2 #logo a,
.text2 #logo a:hover,
.text2 #logo a:active { background-color: #2e1904; }

.text3 #logo a,
.text3 #logo a:hover,
.text3 #logo a:active { background-color: #464646; }

.text4 #logo a,
.text4 #logo a:hover,
.text4 #logo a:active { background-color: #ce8f4c; }

.text5 #logo a,
.text5 #logo a:hover,
.text5 #logo a:active { background-color: #9e0b0f; }

.text6 #logo a,
.text6 #logo a:hover,
.text6 #logo a:active { background-color: #032345; }

.text7 #logo a,
.text7 #logo a:hover,
.text7 #logo a:active { background-color: #391f0b; }

#headerOptions a,
#headerOptions #headerOptionDivider { display: none; }

#headerOptions #followOnTwitter {
	display: inherit;
	position: absolute;
	top: 10px;
	left: 220px;
	height: 50px;
	width: 50px;
	font-size: 0px;
	background: url(m_twitter.gif) 16px 26px no-repeat;
	overflow: hidden;
}

#headerOptions #aboutNoodleboot {
	display: inherit;
	position: absolute;
	top: 10px;
	left: 270px;
	height: 50px;
	width: 50px;
	font-size: 0px;
	background: url(m_about.gif) 13px 25px no-repeat;
	overflow: hidden;
}


/* Characters ............................................................................. */

#characters {
	position: relative;
	width: 320px;
	height: 175px;
	font-size: 12px;
	line-height: 14px;
	overflow: hidden;
}

.text1 #characters { background-color: #001f39; }
.text2 #characters { background-color: #2e1904; }
.text3 #characters { background-color: #464646; }
.text4 #characters { background-color: #ce8f4c; }
.text5 #characters { background-color: #9e0b0f; }
.text6 #characters { background-color: #000000; }
.text7 #characters { background-color: #553318; }


/* The text classes define the decor of the page (images and colours) and the story. */

.text1 #characters { color: #b0c0d2; }
.text2 #characters { color: #c7b299; }
.text3 #characters { color: #464646; }
.text4 #characters { color: #9a481d; }
.text5 #characters { color: #fff; }
.text6 #characters { color: #999; }
.text7 #characters { color: #a66213; }

#characters .characterCollection {
	position: absolute;
	top: 0;
	width: 320px;
	height: 175px;
	background: transparent url() 0 0 no-repeat;
	-webkit-transition: left 0.4s;
	   -moz-transition: left 0.4s;
	     -o-transition: left 0.4s;
			    transition: left 0.4s;
}

.text1 #characters .characterCollection { background-image: url(m_text01Character.jpg); }
.text2 #characters .characterCollection { background-image: url(m_text02Character.jpg); }
.text3 #characters .characterCollection { background-image: url(m_text03Character.jpg); }
.text4 #characters .characterCollection { background-image: url(m_text04Character.jpg); }
.text5 #characters .characterCollection { background-image: url(m_text05Character.jpg); }
.text6 #characters .characterCollection { background-image: url(m_text06Character.jpg); }
.text7 #characters .characterCollection { background-image: url(m_text07Character.jpg); }

#characters .characterCollection.position01 {
	left: 0;
	z-index: 20;
}

#characters .characterCollection.position02 {
	left: 320px;
	z-index: 20;
	opacity: 0;
}

#characters .characterCollection.position03 {
	left: 0;
	z-index: 10;
	display: none;
}

#characters .characterCollection.position04 {
	left: -320px;
	z-index: 20;
	opacity: 0;
}

#characters .characterComment {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px 165px 0 20px;
	width: 135px;
	height: 155px;
	opacity: 0;
	z-index: 10;
}

#characters .name {
	margin-bottom: 2px;
	color: #fff;
}

#characters .prompt,
#characters .quote {
	display: none;
}


/* The character classes only define the characters and quotes that appear in the character area. */

/* Turn off teasers. */

#characters #character01b,
#characters #character02b,
#characters #character03b,
#characters #character04b,
#characters #character05b,
#characters #character06b,
#characters #character07b {
	display: none;
}

.text1 #characters #character01a,
.text2 #characters #character02a,
.text3 #characters #character03a,
.text4 #characters #character04a,
.text5 #characters #character05a,
.text6 #characters #character06a,
.text7 #characters #character07a {
	opacity: 1;
	z-index: 20;
}


/* Character arrows */

#characterLeft,
#characterRight {
	display: none;
}


/* Story switch ........................................................................... */

#switch {
	position: relative;
	width: 320px;
	height: 50px;
	background-color: #fff;
}

#storyIndex {
	position: absolute;
	top: 0;
	left: 0;
	width: 320px;
	height: 50px;
	line-height: 50px;
}

.text1 #storyIndex {
	color: #728392;
	background-color: #e5e8eb;
}

.text2 #storyIndex {
	color: #877b6f;
	background-color: #e0ddda;
}

.text3 #storyIndex {
	color: #999;
	background-color: #ececec;
}

.text4 #storyIndex {
	color: #be8a72;
	background-color: #f3e9e5;
}

.text5 #storyIndex {
	color: #c9787b;
	background-color: #f5e6e7;
}

.text6 #storyIndex {
	color: #6e8094;
	background-color: #d9dee3;
}

.text7 #storyIndex {
	color: #918781;
	background-color: #ebe8e6;
}

#storyIndex #storyNumber,
#storyIndex #storyTotal {
	position: absolute;
	font-family: 'Open Sans', Georgia, Arial, sans-serif;
	font-weight: 300;
	z-index: 20;
}

#storyIndex #storyNumber {
	right: 160px;
	padding-right: 10px;
}

#storyIndex #divider {
	display: none;
}

#storyIndex #storyTotal {
	left: 160px;
	padding-left: 10px;
}

#switch #prose,
#switch #about {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	padding-left: 20px;
	width: 140px;
	height: 50px;
	line-height: 50px;
	font-family: 'Open Sans', Georgia, Arial, sans-serif;
	font-weight: 300;
	text-decoration: none;
	-webkit-transition: background-color 0.3s;
	   -moz-transition: background-color 0.3s;
	     -o-transition: background-color 0.3s;
			    transition: background-color 0.3s;
	z-index: 10;
}

#switch #about {
	left: 160px;
	padding: 0 20px 0 0;
	text-align: right;
}


/* text1 */

.text1.prose #switch #prose,
.text1.about #switch #about {
	background-color: #ccd2d7;
}

.text1 #switch #prose,
.text1 #switch #about {
	color: #001f39;
	background-color: #e5e8eb;
} 

.text1 #switch #prose:hover,
.text1 #switch #about:hover {
	color: #fff;
	background-color: #f26522;
}

.text1 #switch #prose:active,
.text1 #switch #about:active {
	background-color: #001f39;
}

.text1.prose #switch #prose:hover,
.text1.prose #switch #prose:active,
.text1.about #switch #about:hover,
.text1.prose #switch #prose:active	{
	cursor: default;
	color: #001f39;
	background-color: #ccd2d7;
}


/* text2 */

.text2.prose #switch #prose,
.text2.about #switch #about {
	background-color: #c0bab3;
}

.text2 #switch #prose,
.text2 #switch #about {
	color: #2e1904;
	background-color: #e0ddda;
} 

.text2 #switch #prose:hover,
.text2 #switch #about:hover {
	color: #fff;
	background-color: #9e0b0f;
}

.text2 #switch #prose:active,
.text2 #switch #about:active {
	background-color: #2e1904;
}

.text2.prose #switch #prose:hover,
.text2.prose #switch #prose:active,
.text2.about #switch #about:hover,
.text2.prose #switch #prose:active	{
	cursor: default;
	color: #2e1904;
	background-color: #c0bab3;
}


/* text3 */

.text3.prose #switch #prose,
.text3.about #switch #about {
	background-color: #dadada;
}

.text3 #switch #prose,
.text3 #switch #about {
	color: #464646;
	background-color: #ececec;
} 

.text3 #switch #prose:hover,
.text3 #switch #about:hover {
	color: #fff;
	background-color: #2896bf;
}

.text3 #switch #prose:active,
.text3 #switch #about:active {
	background-color: #464646;
}

.text3.prose #switch #prose:hover,
.text3.prose #switch #prose:active,
.text3.about #switch #about:hover,
.text3.prose #switch #prose:active	{
	cursor: default;
	color: #464646;
	background-color: #dadada;
}


/* text4 */

.text4.prose #switch #prose,
.text4.about #switch #about {
	background-color: #e7d5cc;
}

.text4 #switch #prose,
.text4 #switch #about {
	color: #822a00;
	background-color: #f3e9e5;
} 

.text4 #switch #prose:hover,
.text4 #switch #about:hover {
	color: #fff;
	background-color: #9408dd;
}

.text4 #switch #prose:active,
.text4 #switch #about:active {
	background-color: #822a00;
}

.text4.prose #switch #prose:hover,
.text4.prose #switch #prose:active,
.text4.about #switch #about:hover,
.text4.prose #switch #prose:active	{
	cursor: default;
	color: #822a00;
	background-color: #e7d5cc;
}


/* text5 */

.text5.prose #switch #prose,
.text5.about #switch #about {
	background-color: #eccecf;
}

.text5 #switch #prose,
.text5 #switch #about {
	color: #9e0b0f;
	background-color: #f5e6e7;
} 

.text5 #switch #prose:hover,
.text5 #switch #about:hover {
	color: #fff;
	background-color: #005952;
}

.text5 #switch #prose:active,
.text5 #switch #about:active {
	background-color: #9e0b0f;
}

.text5.prose #switch #prose:hover,
.text5.prose #switch #prose:active,
.text5.about #switch #about:hover,
.text5.prose #switch #prose:active	{
	cursor: default;
	color: #9e0b0f;
	background-color: #eccecf;
}


/* text6 */

.text6.prose #switch #prose,
.text6.about #switch #about {
	background-color: #b3bdc7;
}

.text6 #switch #prose,
.text6 #switch #about {
	color: #032345;
	background-color: #d9dee3;
} 

.text6 #switch #prose:hover,
.text6 #switch #about:hover {
	color: #fff;
	background-color: #e6b100;
}

.text6 #switch #prose:active,
.text6 #switch #about:active {
	background-color: #032345;
}

.text6.prose #switch #prose:hover,
.text6.prose #switch #prose:active,
.text6.about #switch #about:hover,
.text6.prose #switch #prose:active	{
	cursor: default;
	color: #032345;
	background-color: #b3bdc7;
}


/* text7 */

.text7.prose #switch #prose,
.text7.about #switch #about {
	background-color: #c3bbb5;
}

.text7 #switch #prose,
.text7 #switch #about {
	color: #391f0b;
	background-color: #ebe8e6;
} 

.text7 #switch #prose:hover,
.text7 #switch #about:hover {
	color: #fff;
	background-color: #ffba00;
}

.text7 #switch #prose:active,
.text7 #switch #about:active {
	background-color: #391f0b;
}

.text7.prose #switch #prose:hover,
.text7.prose #switch #prose:active,
.text7.about #switch #about:hover,
.text7.prose #switch #prose:active	{
	cursor: default;
	color: #391f0b;
	background-color: #c3bbb5;
}


/* Story container ........................................................................ */

#stories {
	position: relative;
	width: 320px;
	background-color: #fff;
	-webkit-transition: height 0.4s;
	   -moz-transition: height 0.4s;
	     -o-transition: height 0.4s;
			    transition: height 0.4s;
	overflow: hidden;
}


/* Story collections ...................................................................... */

.storyCollection {
	position: absolute;
	top: 0;
	width: 320px;
	height: 100%;
	font-size: 14px;
	line-height: 21px;
	background-color: #fff;
	-webkit-transition: left 0.4s;
	   -moz-transition: left 0.4s;
	     -o-transition: left 0.4s;
			    transition: left 0.4s;
	overflow: hidden;
}

.text1 .storyCollection,
.text1 .storyCollection a { color: #001f39; }
.text2 .storyCollection,
.text2 .storyCollection a { color: #2e1904; }
.text3 .storyCollection,
.text3 .storyCollection a { color: #464646; }
.text4 .storyCollection,
.text4 .storyCollection a { color: #822a00; }
.text5 .storyCollection,
.text5 .storyCollection a { color: #9e0b0f; }
.text6 .storyCollection,
.text6 .storyCollection a { color: #032345; }
.text7 .storyCollection,
.text7 .storyCollection a { color: #391f0b; }

.storyCollection.position01 {
	left: 0;
	z-index: 20;
}

.storyCollection.position02 {
	left: 320px;
	opacity: 0;
	z-index: 20;
}

.storyCollection.position03 {
	left: 0;
	opacity: 0;
	display: none;
}

.storyCollection.position04 {
	left: -320px;
	opacity: 0;
	z-index: 20;
}

.storyCollection h1 {
	margin-bottom: 10px;
	font-family: 'Open Sans', Georgia, Arial, sans-serif;
	font-weight: 300;
	font-size: 24px;
	line-height: 24px;
}

.storyCollection h2 {
	margin-top: 20px;
	margin-bottom: 8px;
	font-size: 18px;
	line-height: 20px;
}

.storyCollection h3 {
	margin-top: -6px;
	margin-bottom: 6px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	font-style: italic;
	line-height: 21px;
	opacity: 0.5;
}

.storyCollection p + p {
	text-indent: 20px;
}

.storyCollection p.newScene {
	margin-top: 10px;
	text-indent: 0;
}

.storyCollection p.italic {
	font-style: italic;
}


/* Story03 formatting */

#story03 .storyProse p.italic {
	padding-left: 20px;
	text-indent: -20px;
}


/* Story04 formatting */

#story04 .storyProse p {
	padding-left: 20px;
	text-indent: -20px;
}

#story04 .storyProse p.newVerse {
	margin-top: 15px;
}


/* Story05 formatting */

#story05 .storyProse .chapter {
	margin-bottom: 20px;
}

#story05 .storyProse .chapter .fig {
	position: relative;
	text-align: center;
	text-indent: 0;
	font-size: 12px;
	font-style: italic;
}

#story05 .storyProse .chapter .fig span {
	position: absolute;
	left: 0;
	top: 50%;
}


/* Story06 formatting */

#story06 .storyProse p {
	margin-bottom: 15px;
	text-indent: 0;
}


/* Story link formatting */

.storyCollection a:hover {
	color: #fff;
	background-color: #000;
	text-decoration: none;
}

.storyCollection a:active {
	color: #666;
	background-color: #fff;
} 


/* Social */

.social {
	margin-top: 20px;
}

/* storyProse and storyAbout */

.storyCollection .storyProse,
.storyCollection .storyAbout {
	position: absolute;
	top: 0;
	padding: 20px 20px 0 20px;
	width: 280px;
	-webkit-transition: left 0.4s;
	   -moz-transition: left 0.4s;
	     -o-transition: left 0.4s;
			    transition: left 0.4s;
}

.prose .storyCollection .storyProse
.about .storyCollection .storyAbout {
	left: 0;
}

.prose .storyCollection .storyAbout {
	left: 320px;
}

.about .storyCollection .storyProse {
	left: -320px;
}


/* Footer ................................................................................. */

footer {
	height: 105px;
}

.text1 footer {
	background: url(m_text01PageBack.jpg) 0 0 repeat-x;
}

.text2 footer {
	background: url(m_text02PageBack.jpg) 0 0 repeat-x;
}

.text3 footer {
	background: url(m_text03PageBack.jpg) 0 0 repeat-x;
}

.text4 footer {
	background: url(m_text04PageBack.jpg) 0 0 repeat-x;
}

.text5 footer {
	background: url(m_text05PageBack.jpg) 0 0 repeat-x;
}

.text6 footer {
	background: url(m_text06PageBack.jpg) 0 0 repeat-x;
}

.text7 footer {
	background: url(m_text07PageBack.jpg) 0 0 repeat-x;
}

footer p {
	height: 105px;
	background: url(m_footerBack.png) 0 0 no-repeat
}



/* About Noodleboot ....................................................................... */

.aboutNoodleboot #textLeft,
.aboutNoodleboot #textRight,
.aboutNoodleboot #switch {
	display: none;
}

.aboutNoodleboot.text1 #logo a:hover { 
	background-color: #f26522; 
	cursor: pointer;
}

.aboutNoodleboot.text1 #logo a:active { 
	background-color: #001f39;
}

.aboutNoodleboot #mailToLink {
	display: inherit;
	position: absolute;
	top: 10px;
	left: 259px;
	height: 51px;
	width: 51px;
	font-size: 0px;
	color: #fff;
	background: url(m_contact.gif) 20px 27px no-repeat;
	overflow: hidden;
}

.aboutNoodleboot #characters img {
	position: relative;
	left: -15px;
	width: 350px;
	height: 175px;
}

.aboutNoodleboot #stories {
	height: 425px;
}

.aboutNoodleboot .storyProse h1 {
	margin-bottom: 15px;
}


/* ==|== media queries for DESKTOP design ===================================
   Media Query for Responsive Design.
   This example overrides the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 954px) {
  /* Style adjustments for viewports that meet the condition */
	
	/* Backgrounds ............................................................................ */
	
	#pageBack {
		position: absolute;
		top: 0;
		width: 100%;
		height: 430px;
		z-index: 1;
	}
	
	#pageBack div {
		position: absolute;
		top: 0;
		width: 100%;
		height: 430px;
		opacity: 0;
		-webkit-transition: opacity 0.4s;
			 -moz-transition: opacity 0.4s;
				 -o-transition: opacity 0.4s;
						transition: opacity 0.4s;
	}
	
	.text1 #pageBack #text01Back {	
		background: url(w_text01PageBack.png) 50% 0 repeat-x;
		opacity: 1;
	}
	
	.text2 #pageBack #text02Back {	
		background: url(w_text02PageBack.png) 50% 0 repeat-x;
		opacity: 1;
	}
	
	.text3 #pageBack #text03Back {	
		background: url(w_text03PageBack.png) 50% 0 repeat-x;
		opacity: 1;
	}
	
	.text4 #pageBack #text04Back {	
		background: url(w_text04PageBack.png) 50% 0 repeat-x;
		opacity: 1;
	}
	
	.text5 #pageBack #text05Back {	
		background: url(w_text05PageBack.png) 50% 0 repeat-x;
		opacity: 1;
	}
	
	.text6 #pageBack #text06Back {	
		background: url(w_text06PageBack.png) 50% 0 repeat-x;
		opacity: 1;
	}
	
	.text7 #pageBack #text07Back {	
		background: url(w_text07PageBack.png) 50% 0 repeat-x;
		opacity: 1;
	}

	
	/* Container .............................................................................. */
		
	#container {
		width: 954px;
	}
	
	
	/* Text Arrows ............................................................................ */
	
	#textLeft,
	#textRight {
		top: 420px;
		width: 60px;
		height: 110px;
		opacity: 0.3;	
	}

	#textLeft {
		left: 0px;
		background-position: 0 0;
	}
	
	#textRight {
		left: 894px;
		background-position: -70px 0;
	}
	

	/* Header ................................................................................. */

	header {
		margin: 0 85px;
		padding: 15px;
		width: 754px;
		height: 70px;
	}
	
	#logo {
	width: 209px;
	height: 70px;
}
	
	#logo a {
		width: 209px;
		height: 70px;
		background-position: 22px -120px;
	}

	.outOfSync.text1 #logo a:hover,
	.aboutNoodleboot.text1 #logo a:hover { background-color: #f26522; cursor: pointer; }
	.outOfSync.text1 #logo a:active,
	.aboutNoodleboot.text1 #logo a:active { background-color: #001f39; }
	
	.outOfSync.text2 #logo a:hover { background-color: #9e0b0f; cursor: pointer; }
	.outOfSync.text2 #logo a:active { background-color: #2e1904; }
	
	.outOfSync.text3 #logo a:hover { background-color: #2896bf; cursor: pointer; }
	.outOfSync.text3 #logo a:active { background-color: #464646; }
	
	.outOfSync.text4 #logo a:hover { background-color: #9408dd; cursor: pointer; }
	.outOfSync.text4 #logo a:active { background-color: #822a00; }
	
	.outOfSync.text5 #logo a:hover { background-color: #005952; cursor: pointer; }
	.outOfSync.text5 #logo a:active { background-color: #9e0b0f; }
	
	.outOfSync.text6 #logo a:hover { background-color: #e6b100; cursor: pointer; }
	.outOfSync.text6 #logo a:active { background-color: #032345; }
	
	.outOfSync.text7 #logo a:hover { background-color: #ffba00; cursor: pointer; }
	.outOfSync.text7 #logo a:active { background-color: #391f0b; }

	#headerOptions {
		margin-top: 50px;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 14px;
		line-height: 14px;
	}
	
	#headerOptions a,
	#headerOptions #headerOptionDivider {
		display: inline;
	}
	
	#headerOptions a {
		text-decoration: none;
	}
	
	#headerOptions #followOnTwitter,
	#headerOptions #aboutNoodleboot {
		display: inline;
		position: relative;
		top: 0;
		left: 0;
		height: auto;
		width: auto;
		font-size: 14px;
		background: none;
	}
	
	.text1 #headerOptions,
	.text1 #headerOptions a,
	.text1 #headerOptions #aboutNoodleboot { color: #7f8f9c; }
	.text1 #headerOptions a:hover,
	.text1 #headerOptions #aboutNoodleboot:hover { color: #f26522; }
	.text1 #headerOptions a:active,
	.text1 #headerOptions #aboutNoodleboot:active { color: #7f8f9c; }
	
	.text2 #headerOptions,
	.text2 #headerOptions a,
	.text2 #headerOptions #aboutNoodleboot { color: #968c81; }
	.text2 #headerOptions a:hover,
	.text2 #headerOptions #aboutNoodleboot:hover { color: #d21217; }
	.text2 #headerOptions a:active,
	.text2 #headerOptions #aboutNoodleboot:active { color: #968c81; }
	
	.text3 #headerOptions,
	.text3 #headerOptions a,
	.text3 #headerOptions #aboutNoodleboot	{ color: #999; }
	.text3 #headerOptions a:hover,
	.text3 #headerOptions #aboutNoodleboot:hover { color: #2896bf; }
	.text3 #headerOptions a:active,
	.text3 #headerOptions #aboutNoodleboot:active { color: #999; }
	
	.text4 #headerOptions,
	.text4 #headerOptions a,
	.text4 #headerOptions #aboutNoodleboot { color: #c0947f; }
	.text4 #headerOptions a:hover,
	.text4 #headerOptions #aboutNoodleboot:hover { color: #9408dd; }
	.text4 #headerOptions a:active,
	.text4 #headerOptions #aboutNoodleboot:active { color: #c0947f; }
	
	.text5 #headerOptions,
	.text5 #headerOptions a,
	.text5 #headerOptions #aboutNoodleboot { color: #ce8587; }
	.text5 #headerOptions a:hover,
	.text5 #headerOptions #aboutNoodleboot:hover { color: #fa0; }
	.text5 #headerOptions a:active,
	.text5 #headerOptions #aboutNoodleboot:active { color: #ce8587; }
	
	.text6 #headerOptions,
	.text6 #headerOptions a,
	.text6 #headerOptions #aboutNoodleboot { color: #8191a2; }
	.text6 #headerOptions a:hover,
	.text6 #headerOptions #aboutNoodleboot:hover { color: #e6b100; }
	.text6 #headerOptions a:active,
	.text6 #headerOptions #aboutNoodleboot:active { color: #8191a2; }
	
	.text7 #headerOptions,
	.text7 #headerOptions a,
	.text7 #headerOptions #aboutNoodleboot { color: #877d77; }
	.text7 #headerOptions a:hover,
	.text7 #headerOptions #aboutNoodleboot:hover { color: #e6b100; }
	.text7 #headerOptions a:active,
	.text7 #headerOptions #aboutNoodleboot:active { color: #877d77; }

	
	/* Characters ............................................................................. */

	#characters {
		margin: 0 85px;
		border: solid #fff 5px;
		border-top-width: 0px;
		border-bottom-width: 0px;
		width: 774px;
		height: 350px;
		font-size: 14px;
		line-height: 18px;
	}


	/* The text classes define the decor of the page (images and colours) and the story. */

	.text1 #characters { background: url(w_text01CharBack.jpg) 0 0 no-repeat;	}
	.text2 #characters { background: url(w_text02CharBack.jpg) 0 0 no-repeat; }
	.text3 #characters { background: url(w_text03CharBack.jpg) 0 0 no-repeat; }
	.text4 #characters { background: url(w_text04CharBack.jpg) 0 0 no-repeat; }
	.text5 #characters { background: url(w_text05CharBack.jpg) 0 0 no-repeat; }
	.text6 #characters { background: url(w_text06CharBack.jpg) 0 0 no-repeat; }
	.text7 #characters { background: url(w_text07CharBack.jpg) 0 0 no-repeat; }
	
	#characters .characterCollection {
		width: 774px;
		height: 350px;
	}
	
	.text1 #characters .characterCollection,
	.text2 #characters .characterCollection,
	.text3 #characters .characterCollection,
	.text4 #characters .characterCollection,
	.text5 #characters .characterCollection,
	.text6 #characters .characterCollection,
	.text7 #characters .characterCollection { 
		background-image: none; 
	}
	
	#characters .characterCollection.position02 { left: 774px; }
	#characters .characterCollection.position04 { left: -774px; }

	#characters .characterComment {
		padding: 10px 20px 20px 20px;
		width: 734px;
		height: 320px;
	}
	
	#characters .prompt,
	#characters .quote {
		display: inherit;
	}
	
	#characters .name {
		margin-left: 70px;
		color: #fff;
	}
	
	#characters .desc {
		margin-left: 70px;
	}
	
	#characters .prompt {
		margin-left: 70px;
	}
	
	#characters .prompt a {
		text-decoration: none
	}
	
	#characters .characterComment.teaser {
		cursor: pointer;
	}

	.text1 .characterComment.teaser a { color: #b0c0d2; }
	.text1 .characterComment.teaser:hover a { color: #f26522; }
	.text1 .characterComment.teaser:active a { color: #b0c0d2; }
	
	.text2 .characterComment a { color: #c7b299; }
	.text2 .characterComment.teaser:hover a { color: #d21217; }
	.text2 .characterComment.teaser:active a { color: #c7b299; }
	
	.text3 .characterComment a { color: #464646; }
	.text3 .characterComment.teaser:hover a { color: #fff; }
	.text3 .characterComment.teaser:active a { color: #464646; }
	
	.text4 .characterComment a { color: #9a481d; }
	.text4 .characterComment.teaser:hover a { color: #9408dd; }
	.text4 .characterComment.teaser:active a { color: #9a481d; }
	
	.text5 .characterComment a { color: #fff; }
	.text5 .characterComment.teaser:hover a { color: #f33; }
	.text5 .characterComment.teaser:active a { color: #fff; }
	
	.text6 .characterComment a { color: #999; }
	.text6 .characterComment.teaser:hover a { color: #e6b100; }
	.text6 .characterComment.teaser:active a { color: #999; }
	
	.text7 .characterComment a { color: #a66213; }
	.text7 .characterComment.teaser:hover a { color: #fff; }
	.text7 .characterComment.teaser:active a { color: #a66213; }

	#characters .quote {
		position: absolute;
		bottom: 20px;
		left: 20px;
		width: 240px;
		font-family: 'Open Sans', Arial, sans-serif;
		font-weight: 300;
		font-size: 20px;
		line-height: 26px;
	}
	
	.text1 #characters .quote { color: #b0c0d2; }
	.text2 #characters .quote { color: #c7b299; }
	.text3 #characters .quote { color: #bbb; }
	.text4 #characters .quote { color: #9a481d; }
	.text5 #characters .quote { color: #fff; }
	.text6 #characters .quote { color: #ccc; }
	.text7 #characters .quote { color: #fff; }
	
	.outOfSync.text1 #characters .quote { color: #b0c0d2; }
	.outOfSync.text2 #characters .quote { color: #c7b299; }
	.outOfSync.text3 #characters .quote { color: #ddd; }
	.outOfSync.text4 #characters .quote { color: #9a481d; }
	.outOfSync.text5 #characters .quote { color: #fff; }
	.outOfSync.text6 #characters .quote { color: #999; }
	.outOfSync.text7 #characters .quote { color: #fff; }
	
	
	/* The character classes only define the characters and quotes that appear in the character area. */

	/* Show this for every other story but its own. */

	#characters #character01b,
	#characters #character02b,
	#characters #character03b,
	#characters #character04b,
	#characters #character05b,
	#characters #character06b,
	#characters #character07b {
		display: block;
		background: transparent url() 0 0 no-repeat;
		opacity: 1;
	}

	#characters #character01b { background-image: url(w_character01a.png); }
	#characters #character02b { background-image: url(w_character02a.png); }
	#characters #character03b { background-image: url(w_character03a.png); }
	#characters #character04b { background-image: url(w_character04a.png); }
	#characters #character05b { background-image: url(w_character05a.png); }
	#characters #character06b { background-image: url(w_character06b.png); }
	#characters #character07b { background-image: url(w_character07a.png); }
	
	.text1.character1 #characters #character01b,
	.text2.character2 #characters #character02b,
	.text3.character3 #characters #character03b,
	.text4.character4 #characters #character04b,
	.text5.character5 #characters #character05b,
	.text6.character6 #characters #character06b,
	.text7.character7 #characters #character07b { 
		display: none;
		opacity: 0;
	}

	
	/* Show this for its own story */

	.text1.character1 #characters #character01a { background-image: url(w_character01a.png); }
	.text2.character2 #characters #character02a { background-image: url(w_character02a.png); }
	.text3.character3 #characters #character03a { background-image: url(w_character03a.png); }
	.text4.character4 #characters #character04a { background-image: url(w_character04a.png); }
	.text5.character5 #characters #character05a { background-image: url(w_character05a.png); }
	.text6.character6 #characters #character06a { background-image: url(w_character06a.png); }
	.text7.character7 #characters #character07a { background-image: url(w_character07a.png); }


	/* Character arrows */

	#characterLeft,
	#characterRight {
		display: block;
		cursor: pointer;
		position: absolute;
		top: 12px;
		left: 10px;
		width: 26px;
		height: 47px;
		background: url(spriteSheet.png) -140px 0 no-repeat;
		opacity: 0.3;
		-webkit-transition: opacity 0.2s;
			 -moz-transition: opacity 0.2s;
				 -o-transition: opacity 0.2s;
						transition: opacity 0.2s;
		z-index: 50;
	}
	
	#characterRight {
		left: 52px;
		background: url(spriteSheet.png) -176px 0 no-repeat;
	}
	
	#characterLeft:hover,
	#characterRight:hover { 
		opacity: 1;
	}
	
	#characterLeft:active,
	#characterRight:active { 
		opacity: 0.3;
	}

	
	/* Story switch ........................................................................... */
	
	#switch {
		margin: 0 85px;
		padding: 0 5px;
		width: 774px;
		height: 50px;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 18px;
		line-height: 50px;
	}
	
	#storyIndex {
		position: relative;
		padding-left: 20px;
		width: 754px;
		height: 50px;
	}
	
	#storyIndex #storyNumber {
		position: relative;
		left: 0;
		padding-right: 0;
	}
	
	#storyIndex #divider {
		display: inline;
		margin: 0 2px;
	}
	
	#storyIndex #storyTotal {
		position: relative;
		left: 0;
		padding-left: 0;
	}
	
	#switch #prose,
	#switch #about {
		left: 627px;
		padding: 0;
		width: 75px;
		height: 50px;
		border-left: 1px solid #fff;
		text-align: center;
		text-decoration: none;
		-webkit-transition: background-color 0.3s;
			 -moz-transition: background-color 0.3s;
				 -o-transition: background-color 0.3s;
						transition: background-color 0.3s;
	}

	#switch #about {
		left: 703px;
	}


	/* Story container ........................................................................ */
	
	#stories {
		margin: 0 85px;
		border: 5px solid #fff;
		border-bottom: none;
		border-top: none;
		width: 774px;
	}


	/* Story collections ...................................................................... */

	.storyCollection {
		width: 774px;
		font-size: 16px;
		line-height: 24px;
	}
	
	.storyCollection.position02 { left: 774px; }
	.storyCollection.position04 { left: -774px; }

	.storyCollection h1 {
		margin-bottom: 15px;
		width: 490px;
		font-size: 33px;
		line-height: 36px;
	}

	.storyCollection h2 {
		margin-bottom: 15px;
		width: 490px;
		font-family: 'Open Sans', Georgia, Arial, sans-serif;
		font-weight: 300;
		font-size: 24px;
		line-height: 28px;
	}

	.storyCollection h3 {
		margin-top: -12px;
		margin-bottom: 12px;
		width: 490px;
		font-size: 16px;
		line-height: 24px;
	}

	.storyCollection p {
		width: 490px;
		white-space: normal;
	}
	
	.storyCollection p + p {
		text-indent: 30px;
	}
	
	.storyCollection p.newScene {
		margin-top: 20px;
	}
	
	
	/* Story03 formatting */

	#story03 .storyProse p.italic {
		padding-left: 0;
		text-indent: 0;
	}
	
	/* Story05 formatting */

	#story05 .storyProse .chapter {
		position: relative;
		display: table;
		margin-bottom: 10px;
		width: 609px;
		height: 225px;
		background: url(w_pixieStoryBack.jpg) 0 0 no-repeat;
	}

	#story05 .storyProse .chapter p {
		display: table-cell;
		padding: 0 0 0 20px;
		height: 225px;
		width: 369px;
		vertical-align: middle;
	}

	#story05 .storyProse .chapter .fig {
		display: table-cell;
		padding:  0 0 0 20px;
		width: 220px;
	}

	#story05 .storyProse .chapter .fig span {
		position: absolute;
		left: 104px;
		top: 10px;
		opacity: 0.5;
	}


	/* Social */

	.social {
		position: absolute;
		top: 50px;
		left: 620px;
		margin-top: 0;
		width: 150px;
		text-align: right;
	}


	/* storyProse and storyAbout */
	
	.storyCollection .storyProse,
	.storyCollection .storyAbout {
		padding: 35px 25px 5px 25px;
		width: 724px;
	}
	
	.prose .storyCollection .storyAbout {
		left: 774px;
	}
	
	.about .storyCollection .storyProse {
		left: -774px;
	}
	

	/* Footer ................................................................................. */
	
	.text1 footer,
	.text2 footer,
	.text3 footer,
	.text4 footer,
	.text5 footer,
	.text6 footer,
	.text7 footer {
		margin: 0 81px 20px 81px;
		height: 77px;
		background: url(w_footerBack.png) 0 0 no-repeat;
	}
	
	footer p {
		background: none;
	}
	
	/* About Noodleboot ....................................................................... */
	
	.aboutNoodleboot #textLeft,
	.aboutNoodleboot #textRight,
	.aboutNoodleboot #switch {
		display: block;
	}
	
	.aboutNoodleboot #storyIndex {
		font-family: 'Open Sans', Georgia, Arial, sans-serif;
		font-weight: 300;
	}
	
	.aboutNoodleboot #mailToLink {
		position: relative;
		top: 0;
		left: 0;
		height: auto;
		width: auto;
		font-size: 14px;
		overflow: hidden;
		background: none;	
	}
	
	.aboutNoodleboot #characters img {
		left: 0;
		width: 774px;
		height: 350px;
	}



	
}



/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
