/* BASIC SETUP */
* {
	margin: 0px;
	padding: 0px;
	font-weight:bold;
	text-decoration: none;
	text-align:center;
	font-size: 20px;
}
body {
	background-color: #005a74 /* rgb(0, 106, 136) */;
	font-family: Arial, Helvetica, sans-serif;
}
img { border: none; }
#wrapper {
	margin: 240px auto 0px;
	width: 100%;
	position: relative;
}
.ios #wrapper {
	margin-top: 0px;
	overflow: auto;
	height: 1300px;
	z-index:1;
}
.ios.landscape #wrapper {
	height: 550px;
	margin-top: 0px;
}
.ios.ipad #wrapper {
	overflow: auto;
	height: 1250px;
	z-index:1;
}
.ios.ipad.landscape #wrapper {
	height: 650px;
}
.ios #innerWrapper {
	margin-top: 0px;
	top: 0px;
	position: absolute;
	width: 100%;
}
#content {
	height: auto;
	margin: 0 auto;
	position: relative;
}
.ios #content {
	margin-top: 180px;
}
.bgLink {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
}






/* HEADER STUFF */

/*title box*/
#title {
	display: inline-block;
	*display: inline;
	margin: 0 auto;
	padding: 12px 0px;
	position:fixed;
	text-align: center;
	top: 0px;
	width: 100%;
	z-index: 11;
	background-color: #fff8dd;
	zoom: 1;
}
.landscape #title {
}
#title p.title {
	line-height: 30px;
	font-size: 24px;
}
.underline {
	display:inline;
	border-bottom: 4px solid #FFF;
}
#author {
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	margin-top: 5px;
}
.normal {
	font-weight: normal;
}
.italic {
	font-weight: 900;
}

/* info box */
#top { 
	background-color: #fff8dd;
	color: #005a74;
	height: 240px;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 2;
	top: 75px;
}
.landscape #top {
}
#top p { 
	margin: 0 auto;
	text-align: left;
}
#top p.quote {
	font-size: 16px;
	font-weight: normal;
	margin-top: 12px;
	padding-right: 50px;
	color: black;
}
#top p.attribution {
	font-size: 16px;
	font-weight: normal;
	font-style: italic;
	color: black;
}

#infoCont {
	width: 800px;
	margin: 0 auto;
	margin-top: 30px;
}
#book, #info {
	float: left;
}
#info {
	margin-left: 28px;
	width: 625px;
}
#info a {
	color: #005a74;
	text-align: left;
	display: block;
	margin: 0 auto;
	margin-top: 12px;
	font-size: 16px;
	font-weight: normal;
}
#share {
	position: fixed;
	top: 12px;
	right: 12px;
}
#verso {
	position: fixed;
	left: 12px;
	top: 12px;
}






/* TALKING MAN */
#man {
	bottom: 0px;
	height: 140px;
	left: 0px;
	position: fixed;
	width: 150px;
	z-index:2;
}
#man img { 
	position: absolute;
	bottom: 10px;
	left: 60px;
}
#man span {
	font-size: 11px;
	color: #E03D49;
	left: 20px;
	padding: 2px 6px;
	position: absolute;
	text-transform: uppercase;
	z-index: 1;
}
#man:hover span {
	color: #fff;
	background-color: #E03D49;
}
.ios #man {
	top: 1150px;
}
.ios.landscape #man {
	top: 435px;
}
.ios.ipad #man {
	bottom: 0px;
	top: auto;
}

#man .bgLink {
	z-index: 100;
}
#speechBubble {
	max-width: 250px;
	background-color: white;
	padding: 15px;
	position: fixed;
	left: 85px;
	bottom: 110px;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	display: none;
	background-color: #fff8dd;
	z-index: 100;
}
.ios #speechBubble {
	bottom: -80px;
}
.ios.ipad #speechBubble, .ios.ipad.landscape #speechBubble {
	bottom: 110px;
	top: auto;
}
.ios.landscape #speechBubble {
	bottom: -15px;
}
#speechBubble p {
	font-weight: normal;
	text-align: left;
}
#bubbleBottom {
	position: absolute;
	bottom: -10px;
	left: 20px;
}






/* BLOCKS */
/* basic components */
.block {
	width: 225px;
	height: 160px;
	position: absolute;
	-webkit-transform:translate3d(0,0,0)
}
.line {
	z-index: -1;
	color: #FFF;
	-webkit-transform:translate3d(0,0,0)
}
div.arrow {
	width: 13px;
	height: 21px;
	background: url('images/arrowhead.png') no-repeat;
	position: absolute;
	top: -21px;
	left: 107px;
	z-index: -1;
}


/* special types */

/* wavey line box*/
.actionBox .link {
	position: relative;
	width: 219px;
	font-family: Georgia, serif;
	line-height: 23px;
	font-style: italic;
	padding-top: 8px;
	padding-bottom: 8px;
	margin: 0 auto;	
	background-color: #E03D49;
	font-size: 18px;
}
.actionBoxBottom {
	width: 219px;
	margin: 0 auto;
	height: 8px;
	background: url('images/wavey.png') no-repeat 0px -8px;
	position: absolute;
	bottom: -8px;
}
.actionBoxTop {
	width: 219px;
	height: 7px;
	background: url('images/wavey.png') no-repeat;
	position: absolute;
	top: -7px;
}
.actionBox a.link{
	color: white;
}
.actionBox div.link{
	background-color: white;
}
a .actionBoxBottom {
	background-image: url('images/wavey-red.png');
}
a .actionBoxTop {
	background-image: url('images/wavey-red.png');
}


/* question box*/
.question {
	background: url('images/circlebg-small.png') center center no-repeat;
}
.question.large {
	background: url('images/circlebg.png')
}
.question .link {
	width: 100%;
}

/* answer boxes */
.answer {
	padding:10px;
	padding-left: 16px;
	padding-right: 16px;
	display:inline;
	background-color: white;
}
a.answer {
	color: #E03D49;
	background-color: #fff;
}

a.answer:hover {
	color: #fff;
	background-color: #E03D49;
}
div.answer{
	color: #000;
}

/* square box */
.actionNormal > * {
	background-color: black;
	color: white;
	padding: 12px;
	padding-left: 24px;
	padding-right: 24px;
	width: 177px;
}
.actionNormal > a {
	background-color:#E03D49;
	color: white;
}

/* TRASH!!! */
.trash {
	background: url('images/trash.png') no-repeat center center;
}



/* END SEQUENCE */

/* first screen */
#giveup {
	display: none;
	width: 300px;
	position: fixed;
	top: 50%;
	left: 50%;
	padding: 30px;
	background-color: #fff8dd;
	margin-left: -180px;
	margin-top: -86px;
	z-index: 12;
}
#giveup p {
	margin-bottom: 30px;
}
#giveup .answer {
	padding: 10px;
	margin: 0px 20px;
}
#giveup p {
	margin-bottom: 20px;
}
#giveup .answer {
	padding: 10px;
	margin-left: 20px;
	margin-right: 20px;
	background-color: #fff8dd;
}
#giveup .answer:hover {
	background-color:#E03D49;
}

/* second screen */
#endScreen {
	display: none;
}
#endScreenBg {
	width: 100%;
	height: 100%;
	background-color: black;
	opacity: .75;
	position: fixed;
	top: 0px;
	z-index: 2;
}
.ios #endScreenBg {
	height:1300px;
	z-index:2;
}

#messageBorder {
	position: fixed;
	top: 50%;
	left: 50%;
	background-color: #005A74;
	margin-left: -241px;
	margin-top: -164px;
	z-index: 12;
	padding: 10px;
	border: 6px groove #FFF;
}
#message {
	width: 350px;
	padding: 50px;
	z-index: 12;
	background-color: #FFF8DD;
	padding-bottom: 30px;
}
#message a {
	font-size: 16px;
	color: #005a74;
}
#message a:hover {
	color: #E03D49;
}
#congratulations {
	font-size: 24px;
	margin-bottom: 28px;
}
#endShare {
	position: relative;
	margin-bottom: 10px;
}

#endShare a.twitter{
	background: url('images/twitter.png') no-repeat;
	padding-left: 27px;
	padding-top: 3px;
	padding-bottom: 2px;
	margin-left: 10px;
}
#endShare a.twitter:hover{
	background: url('images/twitter-red.png') no-repeat;
}

#endShare a.facebook{
	background: url('images/facebook.png') no-repeat;
	padding-left: 27px;
	padding-top: 3px;
	padding-bottom: 2px;
}
#endShare a.facebook:hover{
	background: url('images/facebook-red.png') no-repeat;
}

#endShare span {
	font-size: 16px;
}
#endShareBottom {
	margin-bottom: 30px;
	font-weight: normal;
	font-size: 16px;
}
#startOver:link, #startOver:visited {
	background-color: transparent;
}
a#startOver:hover {
	color: white;
	background-color: #E03D49;
}
#spacer {
	height: 25%;
	z-index: -1;
}