/* @group @font-face */

@font-face {
    font-family: Axel;
    font-weight: 500;
    src: url(fonts/Axel-Regular.ttf) format('truetype');
}
@font-face {
    font-family: Axel;
    font-weight: 700;
    src: url(fonts/Axel-Bold.ttf) format('truetype');
}

/* @end */

.serif {
	font-family: "Didot", "Cochin", "Baskerville", "Century", "Cambria", "Hoefler Text", Georgia, "Caslon", "Palatino", "Palatino Linotype", serif;	
}
.sans {
	font-family: "Futura", "Myriad Pro", "MyriadPro", Corbel, "Lucida Sans", "Lucida Sans Unicode", "Lucida Grande", "Franklin Gothic Medium", "Tahoma", sans-serif;
}
.sans-condensed, .widgets {
	font-family: Axel, "Futura Condensed", "Futura-Condensed", "Futura-CondensedMedium", "Myriad Pro Condensed", "MyriadPro-Condensed", "Franklin Gothic Medium", "Helvetica Narrow", "Arial Narrow", sans-serif;
}
.slab {
	font-family: "Rockwell", "Lubalin Graph", "AmericanTypewriter", "American Typewriter", serif;	
}

body {
	font-size: 14px;
	line-height: 1.375em; /* 19.25px */
	font-weight:400;
	color: #4d4e52;
	margin: 0;
	padding: 0;
	background: #f8f8f8 url(../img/cg4_dash_8x4.png) fixed;
}

/* @group Sizes */
/* Computed with http://drewish.com/tools/vertical-rhythm */

h1, .title {
	font-size: 2em;
	line-height: 1.375em;
	margin-bottom: 0.6875em;
	margin-top: 0em;
}

h2, .chapter, #nav ul li {
	font-size: 1.625em;
	line-height: 1.6923em;
	margin-bottom: 0.8462em;
	margin-top: 0em;
}

h3, .section {
	font-size: 1.375em;
	line-height: 1em;
	margin-bottom: 1em;
	margin-top: 0em;
}

h4, .subsection, .large {
	font-size: 1.125em;
	line-height: 1.2222em;
	margin-bottom: 0.6111em;
	margin-top: 1.8333em;
}

h5, h6, .par, p, blockquote, ul, ol, dl, th, td {
	font-size: 1em; 
	line-height: 1.375em;
	margin-bottom: 1.375em;
}

h5, h6, .par, p, blockquote, ul, ol, dl {
	margin-top: 0;
}

p + ul, p + ol, p + dl {
	margin-top: -1.375em;
}

h6 + ul, h6 + ol, h6 + dl {
	margin-top: 1.375em;
}

.small, .caption, .pp_details {
	font-size: 0.875em;
	line-height: 1.5714em;
	margin-bottom: 0em;
	margin-top: 1.5714em;
}

.footnote, .tiny {
	font-size: 0.6875em;
	line-height: 2em;
	margin-bottom: 2em;
	margin-top: 0em;
}

/* @end */

/* @group Headings */

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	font-style: normal;
	color: #3DB7E4;
}

h6 {
	color: #372d24;
	font-weight: bold;
	margin-bottom: 0;
}

h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {
	margin: 0;
}

/* @end */

/* @group Text elements */

p, blockquote, ul, ol, dl, table, tr, td {
	margin-left: 0;
	margin-right: 0;
}

p {
	color: #4D4F53;
}

p img.left {
	float: left;
	margin: 1.5em 1.5em 1.5em 0;
	padding: 0;
}

p img.right {
	float: right;
	margin: 1.5em 0 1.5em 1.5em;
}

a {
	text-decoration: none;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: inherit!important;
	border: inherit!important;
	font: inherit!important;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
	color: white!important;
	border: inherit!important;
	font: inherit!important;
	background: #4db2e2 repeat-x 0 bottom;
}

blockquote {
	font-style: italic;
}

strong {
	color: #372d24;
	font-weight: bold;
}

em,dfn {
	font-style: italic;
}

dfn {
	font-weight: bold;
}

sup, sub {
	line-height: 0;
}

abbr, 
acronym {
	border-bottom: 1px dotted #666;
}

address {
	margin: 0 0 1.5em;
	font-style: italic;
}

del {
	color: #655c53;
}

pre {
	margin: 1.5em 0;
	white-space: pre;
}

pre, code, tt {
	font: 1em 'Menlo', 'Andale Mono', 'Lucida Console', monospace;
}

/* @end */

/* @group Lists */

li ul, li ol, li dl {
	margin: 0 1.375em;
}

ul, ol, dl {
	margin: 0 1.375em;
}

ul {
	list-style-type: disc;
}

ol {
	list-style-type: decimal;
}

dl {
	margin: 0;
}

dl dt {
	font-weight: bold;
}

dd {
	margin-left: 1.375em;
}

/* @end */

/* @group Tables */

table {
	margin-bottom: 1.4em;
	width: 100%;
}

th {
	font-weight: bold;
}

thead th {
	background: #c3d9ff;
}

th, td, caption {
	padding: 4px 10px 4px 5px;
}

tr.even td {
	background: #e5ecf9;
}

tfoot {
	font-style: italic;
}

caption {
	background: #dfe1dd;
}

/* @end */

/* @group Misc */

.light {
	font-weight:300;
}

.thin {
	font-weight:100;
}

.hide {
	display: none;
}

.quiet, .caption {
	color: #8B8D8E;
}

.loud {
	color: #000;
}

.highlight {
	background: #d6ff0b;
}

.added {
	background: #060;
	color: #fff;
}

.removed {
	background: #900;
	color: #fff;
}

.first {
	margin-left: 0!important;
	padding-left: 0!important;
}

.last {
	margin-right: 0!important;
	padding-right: 0!important;
}

.top {
	margin-top: 0;
	padding-top: 0;
}

.bottom {
	margin-bottom: 0;
	padding-bottom: 0;
}

.caption {
	
}
/* @end */

/*
Classical sizes:

6pt: nonpareil
7pt: minion
8pt: brevier (small text)
9pt: bourgeois (galliard)
10pt: long primer (garamond)
11pt: small pica (philosophy)
12pt: pica
14pt: english (augustin)
18pt: english
21pt: double small pica (double pica)
24pt: double pica (two-line pica)
36pt: double great primer (2-line great primer)

*/
