/*
	Stylesheet Name: Bookish
	Template Name: Book
	Styles for print media.
	See screen.css for details.
*/

/* 	PAGE LAYOUT
	____________________________________________________________________________ */
	
	body {
		margin: 0;
	}
	#banner {
		background-color: transparent;
		width: 100%;
	}	
	#page {
		margin-right: 1pt;
	}
	#page-header, #page-body, #page-footer, #cover {
		margin-left: 0;
	}
	#LNC-nav {
		display: none;
	}
	#edition-header {
		width: 100%;
	}
	#edition-header h2 {
		margin: 0;
		padding: 0.5em 10px;
	}
	#page-body img, .wide img {
		max-width: 100% !important;
		height: auto !important;
	}
	.slide img, #page-body img {
		width: 24pc !important;
		height: auto !important;
	}
	#page-header {
		margin-bottom: 4em;
	}
	#page-footer {
		border-top: solid 1px #9cc0e4;
		margin-top: 2em;
		padding-top: 1em;
	}
	#page-footer p, #page-footer li, #page-footer dt, #page-footer dd {
		font-size: 1em;
	}
	#sidebar {
		margin-top: 4em;
		border-top: solid 1pt #000;
		padding-top: 1em;
	}
	#sidebar > h2:first-child {
		margin-top: 0em;
	}
/*
	.wide {
		position: relative;
		left: -16em;
		width: 61em;
	}
	*/
	div.wide {
		margin: 3em 0 3em 0;
	}
	
	
	#footer {
		background-color: #0a2061;
		width: 100%;
		margin-top: 2em;
		padding: 0.5em 0;
	}
	#edition-banner img, .prevnext, #nearnav, h2.contents, h2.contents + ul, h2.print, h2.print + ul {
		display: none;
	}


/* 	TYPOGRAPHY
	____________________________________________________________________________ */


	body {
		font-family: Palatino, "Times New Roman", Times, serif;
		font-size: 10pt;
	}
	#banner {
		display: none;
	}
	#page p, li, dt, dd {
		line-height: 1.4em;
	}
	p {
		margin: 1em 0 0 0; /* IE seems to need this, otherwise paragraphs get spaced out too much. */
	}
	dl.glossary dt {
		font-weight: bold;
	}
	dl.glossary dd {
		margin-left: 1em;
	}
	.part-of-speech {
		font-weight: normal;
		font-style: italic;
	}
	#page-body p + p, #page-body p + div.sideimage + p, #page-body p + div.callout + p {
		margin-top: 0;
		text-indent: 2em;
	}
	#page-body p + p.author, #page-body p.caption, #page-body p.caption + p, #page-body p + p.break, #page-body p + p.caption, #page-body .pre p + p, .chapter-intro p + p {
		margin-top: 1em;
		text-indent: 0;
	}
	h1 {
		font-size: 24pt;
		margin-top: 12pt;
	}
	h2 {
		font-size: 18pt;
		margin: 1.5em 0 0 0;
		font-weight: normal;
	}
	#page h3, #sidebar h3, #edition-title {
		font-family: Tahoma, sans-serif;
		font-weight: normal;
		font-size: 11pt;
		text-transform: uppercase;
		letter-spacing: 0.1em;
		margin-bottom: 0;
		margin-top: 1.5em;
	}
	p.author {
		font-family: Tahoma, sans-serif;
		font-weight: bold;
		font-size: 10pt;
		text-transform: uppercase;
		letter-spacing: 0.1em;
	}
	p.subtitle {
		font-family: Tahoma, sans-serif;
	}
	#edition-title {
		border-bottom: solid 0pt #000;
	}
	#edition-title a {
		color: inherit;
		text-decoration: none;
	}
	abbr {
		border: none;
	}
	
	#edition-header h2 {
		font-size: 10pt;
		text-transform: uppercase;
	}
	p.next-page {
		display: none;
	}

	span[lang] {
		font-style: italic;
	}
	
	
	#print-footer {
		border-top: solid 0pt black;
	}
	
	.worksheet li {
		padding-bottom: 3em;
	}
	.worksheet li.short {
		padding-bottom: 0;
	}
	.worksheet li.long {
		padding-bottom: 12em;
	}
	ul.worksheet, #page ul.worksheet {
		list-style: none;
		padding-left: 0;
	}

	.worktitle {
		font-style: italic;
	}

/*	LINKS
	____________________________________________________________________________ */

	#page a[href^="http://"]:after, .linkslist a[href^="http://"]:after, a[rel="license"]:after {
		content: " (" attr(href) ")"
	}
	#page a[href^="/"]:after, .linkslist a[href^="/"]:after {
		content: " (http://www.learnnc.org" attr(href) ")";
	}
	#page a.zoom:after, #page a.definition:after {
		content: "";
	}
	a.definition {
		color: inherit;
		text-decoration: none;
	}

	
/*	IMAGES
	____________________________________________________________________________ */


	img {
		border: none;
	}
	.figure {
		margin: 2em 0 1em 0;
	}
	.slide {
		margin: 1em 0;
		padding-bottom: 0.2em;
	}
	#cover .slide {
		padding: 0;
		border: none;
	}
/*	
	div.sideimage, div.callout {
		position: absolute;
		text-align: right;
		left: 0em;
		width: 12pc;	
	}
*/
	div.sideimage, div.callout  {
		float: right; 
		width: 12pc; 
		padding-left: 0.5em;
		margin: 0.5em 0 0.5em 1em;
	}

	div.sideimage a img, .pullout a img {
		cursor: -moz-zoom-in;
	}
	#page-body div.sideimage img, #page-body .pullout img {
		width: 12pc !important;
		height: auto !important;
		border: solid 0pt #000;
	}
	#page-body img, #sidebar img, .wide img {
		border: solid 0pt #000;
	}
	#sidebar img {
		max-width: 100%;
		height: auto !important;
	}
	#page div.callout p, #page div.sideimage p.caption {
		border-bottom: none;
	}
	#page p.caption {
		font-family: Tahoma, sans-serif;
		font-size: 8pt;
		line-height: 1.3em;
		margin-top: 2pt;
		padding-bottom: 0.5em;
		border-bottom: solid 1px #000;
		width: 24pc;
	}
	#page div.sideimage p.caption, #page .pullout p.caption {
		width: 100%;
	}
	img#license-logo {
		margin-top: 1em;
	}
	
	hr {
		color: #9cf;
		background-color: #9cf;
		height: 1px;
		width: 60%;
		margin-top: 2em;
		margin-bottom: 2em;
	}
		
	
	/*	FOOTNOTES
	____________________________________________________________________________ */

	a.noteref {
		font-weight: bold;
		text-decoration: none;
		font-size: 83%;
		vertical-align: super;
	}

	dl.noteslist {
		clear: both;
		width: auto;
		margin: 0;
		padding: 0;
	}
	dl.noteslist dt {
		width: 1.5em;
		text-align:left;
		margin: 0 0 -1.2em 0;
		font-weight: bold;
	}
	dl.noteslist dd {
		clear: right;
		margin: 0;
		padding-left: 1.5em;
	}

/*	TABLES
	____________________________________________________________________________ */

	table.data {
		margin-top: 1em;
	}
	table.data th, table.data td {
		border-bottom: solid 1px #666;
		padding: 0.5em 1em;
	}
	table.data th {
		text-align: left;
	}
	table.data td.number {
		text-align: right;
	}
	
	table.fill-in th, table.fill-in td {
		padding: 0.5em;
	}
	table.fill-in th, table.fill-in td {
		text-align: center;
		border-right: solid 1px #666;
		border-bottom: solid 1px #666;
	}
	table.fill-in tbody th {
		text-align: left;
	}
	table.fill-in {
		padding: 1em;
		border: solid 1px #666;
	}

	.geo th, td {
		font-size: 1.1em;
		line-height: 1.5em;
	}
	.geo td p, .geo td li, .geo td dd, .geo td dt {
		font-size: 1em;
	}
	.geo td p:first-child {
		margin-top: 0;
	}
	#page-body .geo td p + p {
		text-indent: 1em;
	}
	table.geo  {
		border-collapse: collapse;
		margin: 2em 1px;
	}
	table.geo td, table.geo th {
		padding: 0.5em 0.5em;
		border: solid 1px #000;
	}
