 /*	These are only the override values -- the bulk comes from the 'all' stylesheet. */


body {
    width: 97%;
    font: 10px/14px sans-serif;
    background: white;
    padding-left: 2.0em;
    padding-right: 2.0em;
}

/* BODY ELEMENTS*/

header {
    background: rgb(245, 256, 239);
    border: 1px #244646 none;
    border-top: 1px #244646 solid;
    border-left: 1px #244646 solid;
    border-right: 1px #244646 solid;
    color: #244646;
    padding-left: 10px;
}

h1 {
    border-top: 1px #244646 solid;
	margin-top: 10px;
	padding-top: 20px;
}

h5 {
	margin-top: 0.4em;
	margin-bottom: -0.4em;
}

#banner {
    background: rgb(245, 256, 239);
    color: black;
    border: 1px black none;
    border-bottom: 1px #244646 solid;
    border-left: 1px #244646 solid;
    border-right: 1px #244646 solid;
    padding-left: 10px;
}

#content {
    width: 100%;
   	border: thin blue none;
    background: white;
}

img {
	max-width: 200px;
}

/* PAGES */
#page1 {
	display: block;
	clear: both;
}
#page2 {
	display: block;
	clear: both;
}
#page3 {
	display: block;
	clear: both;
}
#page4 {
	display: block;
	clear: both;
}
#page5 {
	display: block;
	clear: both;
}
#page6 {
	display: block;
	clear: both;
}
#page7 {
	display: block;
	clear: both;
	page-break-after:auto;
}
#page8 {
	display: block;
	clear: both;
	page-break-after:auto;
}
#page9 {
	display: block;
	clear: both;
	page-break-after:auto;
}
#page10 {
	display: block;
	clear: both;
	page-break-after:auto;
}
#page11 {
	display: block;
	clear: both;
	page-break-after:auto;
}
#page12 {
	display: block;
	clear: both;
	page-break-after:auto;
}
#page13 {
	display: block;
	clear: both;
	page-break-after:auto;
}
#page14 {
	display: block;
	clear: both;
	page-break-after:auto;
}
#page15 {
	display: block;
	clear: both;
	page-break-after:auto;
}
#page16 {
	display: block;
	clear: both;
	page-break-after:auto;
}
#page17 {
	display: block;
	clear: both;
	page-break-after:auto;
}
#page18 {
	display: block;
	clear: both;
	page-break-after:auto;
}
#page19 {
	display: block;
	clear: both;
	page-break-after:auto;
}

/* SIDEBAR */
#flipper,
aside {
	display: none;
/*	background-color: #f0f0f0; */
}

#pageprev,
#pagenext {
	display: none;
}

.amazon {
	display: none;
}

aside #credits { /* when aside is set to display: none, this is not displayed either */
	display: block;
	position: absolute;
	bottom: 0px;
	width: 100%;
	margin: 2px 2px 2px 1px;
	background-color: #e8e8e8;
	border: 1px #d0d0d0 solid;
	overflow: normal;
}

.sidebar {
	font: 10px/12px serif;
	text-align: justify;
	width: 20%;
	float: right;
	padding: 3px 6px !important;
	margin: 10px 0 10px 14px;
	color: black;
	background-color: #9ccfcf;
	border: 1.0px solid black;
	border-radius: 6px;
}

/* FOOTER */
footer {
	margin-top: 12px;
    background: #cceeee;
    color: black;
}

footer p {
	text-align: right;
}

#mainContent p {
    padding: 0.2em inherit;
}
#mainContent p.script {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}


#mainContent a,
#mainContent a:visited {
	background-color: inherit;
	border-bottom: none;
}

#mainContent p.script+p,
#mainContent p+ul,
#mainContent p+ol {
	margin-top: 0px; 	/* this is different from the screen version */
	margin-bottom: 0px;
}


/* SPECIAL MODIFIERS */

.update {
	font-size: inherit;
	font-weight: inherit;
/*	background-color: rgb(228, 244, 211); */
}
.update:before {
	content: "";
}

/* SCRIPT DEBUGGER SIMULATION */
.sd {
	border: thin solid rgb(160, 169, 181);
	background: rgb(255,255,255);
	margin: 0.3em 0.3em 0.3em 1.0em;
	padding-bottom: 1.0em;
}
