body {
background-color: rgb(217,214,211);
background-image: linear-gradient(bottom, rgb(194,189,184) 0%, rgb(240,238,237) 100%);
background-image: -o-linear-gradient(bottom, rgb(194,189,184) 0%, rgb(240,238,237) 100%);
background-image: -moz-linear-gradient(bottom, rgb(194,189,184) 0%, rgb(240,238,237) 100%);
background-image: -webkit-linear-gradient(bottom, rgb(194,189,184) 0%, rgb(240,238,237) 100%);
background-image: -ms-linear-gradient(bottom, rgb(194,189,184) 0%, rgb(240,238,237) 100%);
background-image: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(1, rgb(194,189,184)),
	color-stop(0, rgb(240,238,237))
);
	text-size-adjust: none;
	-o-text-size-adjust: none;
	-ms-text-size-adjust: none;
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
}

/* set the viewport (applies only to IE Mobile and IE Metro) */
@viewport { width: device-width; }
@-ms-viewport { width: device-width; }

/* remove 300ms delay for double-tap-to-zoom detection (we dont' need it, we're responsive) */
html {
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}


.viewbook-2012 {
font-size: 10px;
font-family: Prelude, sans-serif;
overflow: hidden;
}

.debug-output {
font-size: 0.8em;
height: 1.2em;
padding-left: 0.5em;
padding-right: 0.5em;
background-color: #000;
color: #FFF;
}

.header-image img,
.content-image img {
width: 100%;
height: auto;
vertical-align: bottom;
}

.header-image img.gradient {
width: 100%;
height: 1em;
vertical-align: top;
}

.content-image {
padding: 0.25em;
border: 1px solid rgba(0,0,0,0.5);
box-shadow: 0em 0.1em 0.3em rgba(0,0,0,0.5);
background-color: #FFF;
}

.header-image .headline {
position: absolute;
color: #FFF;
font-size: 1.75em;
text-shadow: 0em 0.1em 0.1em rgba(0,0,0,0.5);
overflow: hidden;
padding-bottom: 0.5em;
padding-left: 0.7em;
font-family: sans-serif; /* we need a font we _know_ is loaded already */
}

.page-content {
font-size: 1.2em;
padding-left: 1em;
padding-right: 1em;
padding-bottom: 1em;
overflow: hidden;
}


.page-content h2 {
font-weight: normal;
font-size: 1.4em;
}

.page-content ul {
padding-left: 1.5em;
}

.menu-bar {
background-color: #FFF;
width: default;
height: 6em;
}

.menu-bar.vertical {
width: 6em;
height: default;
}

.ripped-paper {
position: absolute;
z-index: 100;
}

.ripped-paper.portrait {
	/* position at bottom of menu-bar */
	width: 100%;
	height: 1.5em;
	top: 6em;
}

.ripped-paper.landscape {
	/* position to the right of menu-bar.vertical */
	height: 100%;
	width: 1.5em;
	left: 6em;
}

.menu-popup {
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.5);
position: absolute;
top: 0px;
left: 0px;
z-index: 120;
}

.menu-popup .modal-box {
	padding: 1em;
	margin: 2em;
	background-color: #FFF;
	border: 0.2em solid #000;
}

.menu-popup .item {
font-size: 1.4em;
padding-top: 0.5em;
padding-bottom: 0.5em;
border-top: 1px solid #EEE;
border-bottom: 1px solid #EEE;
margin-bottom: -1px;
color: #777;
}

.menu-popup .item.current {
color: #000;
}

.menu-popup .item img {
opacity: 0;
width: 1.4em;
height: 1.4em;
margin-right: 0.5em;
}

.menu-popup .item.current img {
opacity: 1.0;
}

.page-content a {
	color: rgb(190, 1, 2);
}

.page-content p.disclaimer {
	font-size: 0.8em;
}

.page-content table {
	border: 1px solid #777;
	background-color: #FFF;
	border-spacing: 0px;
	width: 100%;
}

.page-content table th,
.page-content table td {
padding: 0.5em;
font-weight: normal;
}

.page-content table th {
background-color: #777;
color: #FFF;
}

.page-content table tr:nth-child(even) td {
background-color: #EEE;
}

.page-content blockquote {
	background-color: #FFF;
	border: 0.1em solid #777;
	padding: 0.5em;
	margin: 0em;
	margin-top: 1.2em;
	margin-bottom: 1.2em;
}

.page-content blockquote span.quote {
	display: block;
	text-align: center;
	margin-bottom: 1em;
	font-size: 1.0em;
	line-height: 1.3em;
	font-family: Georgia, serif;
	color: #555;
}

.page-content blockquote span.attribution {
	display: block;
	font-style: italic;
	margin-left: 50%;
	font-size: 0.75em;
}

.viewbook-button {
color: white;
text-shadow: 0em 0.1em 0.2em rgba(0, 0, 0, 0.5);
text-align: center;
margin-top: 1em;
margin-bottom: 1em;
padding: 1em;
font-size: 1.1em;
font-weight: bold;
/* box-shadow: 0em 0.25em 0.5em rgba(0, 0, 0, 0.5); */
border-top: 0.2em solid rgb(250, 60, 60);
border-bottom: 0.2em solid rgb(100, 0, 0);
border-radius: 1em;

background-color: #b70102;
background-image: linear-gradient(bottom, rgb(159,1,1) 0%, rgb(213,1,4) 100%);
background-image: -o-linear-gradient(bottom, rgb(159,1,1) 0%, rgb(213,1,4) 100%);
background-image: -moz-linear-gradient(bottom, rgb(159,1,1) 0%, rgb(213,1,4) 100%);
background-image: -webkit-linear-gradient(bottom, rgb(159,1,1) 0%, rgb(213,1,4) 100%);
background-image: -ms-linear-gradient(bottom, rgb(159,1,1) 0%, rgb(213,1,4) 100%);
background-image: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(1, rgb(159,1,1)),
	color-stop(0, rgb(213,1,4))
);}

.viewbook-button.down {
background-image: linear-gradient(top, rgb(159,1,1) 0%, rgb(213,1,4) 100%);
background-image: -o-linear-gradient(top, rgb(159,1,1) 0%, rgb(213,1,4) 100%);
background-image: -moz-linear-gradient(top, rgb(159,1,1) 0%, rgb(213,1,4) 100%);
background-image: -webkit-linear-gradient(top, rgb(159,1,1) 0%, rgb(213,1,4) 100%);
background-image: -ms-linear-gradient(top, rgb(159,1,1) 0%, rgb(213,1,4) 100%);
background-image: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(0, rgb(159,1,1)),
	color-stop(1, rgb(213,1,4))
);
}

.menu-popup .more-top, .menu-popup .more-bottom {
	position: absolute;
	z-index: 1000;
}