body {
	font-family: serif;
	margin-left: 6px; margin-right: 6px; /* Added for PDF printing */
	font-size: 12pt;
}

h1 {
	font-family: sans-serif;
}

h2 {
	font-family: sans-serif;
}

h3 {
	font-family: sans-serif;
}

p {
text-indent: 1em;
}

table {
	border-spacing: 0px;
	padding: 0px;
	margin-left: auto;
	margin-right: auto;
}

.simplefulltable { /* Puts a border around the table, but not the cells. */
    border-color: #000000;
    border-width: 1px 1px 1px 1px;
    border-style: solid;
	padding: 4px;
	margin: 4px;
}

.simplefulltdhline {
    border-color: #000000;
    border-width: 0 0 1px 0;
    border-style: solid;
}

th {
	font-weight: bold;
}

.simpletable {
    border-color: #000000;
    border-width: 0 0 1px 1px;
    border-style: solid;
	border-collapse: collapse;
}

.simpletd {
	border-color: #000000;
    border-width: 1px 1px 0 0;
    border-style: solid;
    margin: 0;
    padding: 4px;
    background-color: #FFFFFF;
}

.centertable {
	margin-left:auto;
	margin-right:auto;
}

.simpletdblankright {
	border-color: #000000;
    border-width: 1px 0 0 0;
    border-style: solid;
    margin: 0;
    padding: 4px;
    background-color: #FFFFFF;
}

.samplerun {
	font-family: courier;
	color: #0000BB;
	font-size: small;
	margin: 1cm;
	padding: 0.1cm;
}

.sampleruninput {
	color: #000000;
	font-weight: bold;
}

.pythonPromptAndInput {
	color: #000000;
	font-weight: bold;
}

.centeredImage {
	vertical-align: center;
	border-style: solid;
	border-color: black;
	border-width: 1px;
}

.centeredImageP {
	text-align: center;
	font-size: 80%;
}

.sourcecodeHeader {
	font-family: sans-serif;
	font-size: 130%;
}

.sourcecodeSubHeader {
	font-family: sans-serif;
	font-size: 80%;
}


.sourcecode {	
	border-style: double;
	padding: 10px;
	background-color: #F4FFF7;
	font-family: courier;
	margin-left: 1cm;
	margin-right: 1cm;
	margin-top: 0.3cm;
	margin-bottom: 0.3cm;
	padding: 0.1cm;
	padding-top: 0.1cm;
	padding-bottom: 0.1cm;
}

.sourcecode ol {
	margin-top: 0.1cm;
	margin-bottom: 0.1cm;
	font-size: smaller;
}

.sourcecode li {
	line-height:115%;
}

.lineno {
	text-align: right;
}

.sourcecodeTable {
	border-spacing: 5px 0px;
	padding-left: 5px;
}

.sourceblurb {
	background-color: #FFFFFF;
	font-family: courier;
	border-style: dashed;
	border-width: 1px;
	margin-left: 1cm;
	margin-right: 1cm;
	margin-top: 0.5cm;
	margin-bottom: 0.5cm;
	padding: 0.3cm;
}

.api {
	background-color: #FFFFCE;
	border-style: dashed;
	border-width: 1px;
}

.term {
	font-family: sans-serif;
	font-weight: bold;
}

.m {
	font-family: courier;
}

.indented {
	text-indent: 3em;
}

.lineCodeSeparator {
	background-color: #000000;
	width: 1px;
}

.inthischapter {
	background-color: #E0FFE7;
	padding-left: 0.2cm;
	padding-right: 0.2cm;
	margin-left: 1cm;
	margin-right: 1cm;
}


.menuname {
	font-weight: bold;
}

.filename {
	font-style: italic;
}

td.floatTable {
	/* Used for floating tables and images alongside content. CSS float attribute doesn't work very well. */
	vertical-align: top;
}

table.floatTable {
	border: 1px;
}

li.share {
	list-style-image: url('images/cc_share.png');
}
li.remix {
	list-style-image: url('images/cc_remix.png');
}
li.by {
	list-style-image: url('images/cc_by.png');
}
li.nc {
	list-style-image: url('images/cc_nc.png');
}
li.sa {
	list-style-image: url('images/cc_sa.png');
}

li.license {
	list-style-position:outside;
	list-style-type:none;
	padding-bottom:25px;
	padding-left:70px;
	padding-top:10px;
}


.pb {
	page-break-after:always;
}


/* This section is for CSS modifications for the CreateSpace print version (8x10) */
.pagebreaker { page-break-before: always; } 
/*.pagebreaker { }*/


.createspace {
	display: block;
}

.noncreatespace {
	display: none;
}


/*a { text-decoration: none;
	font-style: italic;
	color: #000000; }*/


.codecomment {
	/*font-style: italic;
	color: DarkGray;*/
}

.nw {
	white-space: nowrap;
}