﻿@import "common.css";

/*layout*/
#pageblock {
	margin: 0 auto;
	width: 40em;
}

a.in {color: inherit}

blockquote {
	font-size: 90%;
	line-height: 1.3em;
	margin: 1.2em 2em;
}
caption {
	font-size: 90%;
	font-style: italic;
}
code, .code {
	font-size: 90%;
	font-style: normal;
	white-space: nowrap;
}

/* headings */
body {counter-reset: chapter}
h2:before {counter-increment: chapter}

h1 {
	font-size: 1.4em;
	font-weight: normal;
	line-height: 1.4em;
	margin: 0 0 0.3em 0;
	text-align: center;
}
h1.prefix {
	color: gray;
	font-size: 60%;
	margin-top: 3em;
	text-transform: uppercase;
}
h1.subtitle {
	font-size: 1.1em;
	margin: 0 0 0.3em 0;
}
h1.author, h1#author {
	font-size: 100%;
	font-style: italic;
	font-weight: normal;
	margin: 0 0 3em 0;
}
h2 {
	font-size: 1.2em;
	line-height: 1.2em;
	margin: 1.3em 0 0.3em 0;
}
h3 {
	font-size: 1em;
	margin: 1.3em 0 0.3em 0;
}

p {text-align: justify}
dl, dd, ol, p, ul, table, .block
	{margin-bottom: 0.8em}

dd {margin-left: 2em}
dt {margin-bottom: 0.3em}

sup {vertical-align: 40%}

img.major {
	border: 1px solid #AAA;
	display: block;
	margin: 1em auto;
}
/* special paragraph styles */
p.attribution {								/* source attribution following a quotation */
	margin: -0.8em 0 1.5em 0;		/* nullify preceding bottom margin */
	text-align: right;
}
p.caption {										/* to contain an image */
  font-size: 85%;
  font-style: italic;
  padding-bottom: 1em;
  text-align: center;
}
p.abstract, p.ednote {				/* editorial note above an article */
	font-size: 85%;
	line-height: 1.4em;
	margin: 0 5em 2em 5em;
}
p.epigraph {									/* epigraph */
	font-style: italic;
	margin: 0 0 1.5em 20em;
	text-align: left;
	width: 23em;
}
p.pullquote {
	border: 1px solid maroon; border-left: none; border-right: none;
	font-size: 1.2em;
	font-style: italic;
	line-height: 1.4em;
	margin: 1em 25%;
	padding: 0.5em;
	text-align: center;
	}
p.pubdetails {								/* review publication details */
	font-size: 80%;
	text-align: left;
}

p.verse {											/* verse */
	font-style: italic;
	text-align: left;
}
p.attribution, p.epigraph {font-size: 90%}

/* one day IE will…
q:before {content: "“"}
q:after {content: "”"}
q q:before {content: "‘"}
q q:after {content: "’"}
 */


/* lists */
li {margin: 0 0 0.3em 0}
ol {padding-left: 1.5em}

pre {
	font-size: 80%;
	margin: 0 0 0.8em 2em; /* allow for all pre elements beginning and ending with a line break */
}

td, th {padding: 0 1em 0 0}
td {
	text-align: right;
	vertical-align: top;
}
th {vertical-align: bottom}
td.th, th {
	color: #777;
	font-size: 80%;
	font-weight: normal;
	letter-spacing: 0.1em;
	text-align: center;
	text-transform: uppercase;
}
table.bdr {padding: 1em}

tt {
	font-size: 85%;
	white-space: nowrap;
}


.apl {white-space: pre}
.bdr {border: 1px solid #AAA}
.block {display: block}
.centred {
	margin-left: auto;
	margin-right: auto
}

.fleft {
	float: left;
	margin: 0 2em 0.5em 0;
}
.footnote {
	background: #FFE;
	border: 1px solid #CCC;
	float: right;
	font-size: 70%;
	line-height: 1.3em;
	margin: 0 0 1em 2em;
	padding: 1em;
	width: 30%
}
.fright {
	float: right;
	margin: 0 0 0.5em 2em;
}
.highlight {
	background-color: yellow;
	padding: 1px 2px;
}
.italic {font-style: italic}
.left {text-align: left}
.math, .nowrap 
	{white-space: nowrap}

.padded {padding: 0.5em}
.panel {
	background: #FFE;
	border: 1px solid #EEE;
	font-size: 90%;
	padding: 0.5em 1em;
}
.shaded {background: #EEE}
.smallcaps {
	font-size: 85%;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.tight {letter-spacing: -0.1em}

#references {
	font-size: 90%;
	padding-left: 2em;
}

/* contents pages */

#logo .liner {
	background: #005294 url(vec.gif) no-repeat 10px 10px;		/* default background */
	border: 1px solid red;
	color: #005294;																					/* default logo type colour */
	padding: 75px 10px 10px 70px;
}
#logo #inner {background: white}
#logo #inner #features p {font-weight: bold}
#logo p#volume {
	font-size: 120%;
	line-height: 1.4em;
	text-align: left;
}
#logo ul {padding-left: 1em}

#contents h1 {margin: 1em 0}

#contents caption {
	font-style: normal;
	font-weight: bold;
	margin: 0 0 0.3em 0;
	text-align: left;
}
#contents td {
	padding-bottom: 0.5em;
	text-align: left;
}
#contents td.ttl {padding-right: 1em}
