/* --------------------------------------------------------------

   typography.css
   * Sets up some sensible default typography.

-------------------------------------------------------------- */

/* @font-face STUFF HERE */

	
/* Default font settings.
   The font-size percentage is of 16px. 
   (0.813 * 16px = 13px)
   (0.875 * 16px = 14px)
   (0.9375 * 16px = 15px)
   */
html {
	font-size:100.01%;
}

body {
	font-size: 87.5%;
	line-height: 1.5em;
}

input,
textarea {
	font-size: 1em;
}

	
/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 {
	margin: .6em 0 .6em 0;
	line-height: 1.2em;
}


.dark-bg h1 {
	text-shadow: 1px 1px 1px rgba(0,0,0,.6);
}

h2 {
	font-size:1.8em;
	letter-spacing: -.02em;
	font-weight: 300;
}

h3 {
	font-size:1.3em;
	font-weight: 300;
}

h4 {
	font-size:1.2em;
	font-weight: 300;
}

h5 {
	font-size:1em;
	font-weight:bold;
}

h6 {
	font-size:1em;
	font-weight:bold;
}

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

.entry h2,
.entry h3,
.entry h4,
.entry h5,
.entry h6 {
	padding: .5em 0 0 0;
}




	
/* 
	These can be used to pull an image at the start of a paragraph, so 
	that the text flows around it (usage: <p><img class="left">Text</p>) 
 */
.left {
	float:left!important;
}

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

.right {
	float:right!important;
}

p .right {
	margin:1.5em 0 1.5em 1.5em;
	padding:0;
}

blockquote {
	margin:1.5em;
	font-style:italic;
}

strong,dfn {
	font-weight:bold;
}

em,dfn {
	font-style:italic;
}

sup,sub {
	line-height:0;
}

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

del {
	color:#666;
}

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

pre,code,tt {
	font:1em 'andale mono', 'lucida console', monospace;
	line-height:1.5;
}


	
/* Lists
-------------------------------------------------------------- */
ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

li {
	margin: 0;
	padding: 0;
}

.entry li ul,
.entry li ol {
	margin:0;
}

.entry ul,
.entry ol {
	margin:0 1.5em 1.5em 0;
	padding-left:1.5em;
}

.entry ul {
	list-style-type:disc;
}

.entry ol {
	list-style-type:decimal;
}

.entry ol ol {
	list-style-type: lower-alpha;
}

.entry ul ul,
.entry ol ol {
	margin-bottom: 0;
}

.entry dl {
	margin:0 0 1.5em;
}

.entry dl dt {
	font-weight:bold;
}

.entry dd {
	margin-left:1.5em;
}


	
/* Tables
-------------------------------------------------------------- */

	
/* 
	Because of the need for padding on TH and TD, the vertical rhythm 
	on table cells has to be 27px, instead of the standard 18px or 36px 
	of other elements. 
 */
table {
	margin-bottom:1.4em;
	width:100%;
}

th {
	font-weight:bold;
}

th,td,caption {
	padding:4px 10px 4px 5px;
	vertical-align: top;
	text-align: left;
}

tfoot {
	font-style:italic;
}

caption {
	background:#eee;
}


	
/* Misc classes
-------------------------------------------------------------- */
.small {
	font-size:.8em;
	margin-bottom:1.875em;
	line-height:1.875em;
}

.large {
	font-size:1.2em;
	line-height:2.5em;
	margin-bottom:1.25em;
}

.hide {
	display:none;
}

.quiet {
	color:#666;
}

.loud {
	color:#000;
}

.highlight {
	background:#ff0;
}

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

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

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

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

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

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