/* -------------------------------------------------------------- 
   
   typography.css
   * Sets up some sensible default typography.
  
   Based on work by:
   * Olav Bjorkoy      [bjorkoy.com]
   * Nathan Borror     [playgroundblues.com]
   * Jeff Croft        [jeffcroft.com]
   * Christian Metts   [mintchaos.com]
   * Wilson Miner      [wilsonminer.com]
   
   Read more about using a baseline here:
   * alistapart.com/articles/settingtypeontheweb
  
-------------------------------------------------------------- */

/* Default font settings
   The font-size percentage is of 16px (0.75 * 16px = 12px) */
body { 
	font-size: 81.25%;
/*	font-size: 75%;*/
	color: #333; 
	font-family: Arial, sans-serif;
	}


/* Headings
-------------------------------------------------------------- */
h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #111; }

h1 { font-size: 2em; margin-bottom: 0.5em; color: #5A0048; font-weight: bold; line-height: 1.2; letter-spacing: -1px;}
h2 { font-size: 1.5em; line-height: 1.125; margin-bottom: 1em; color: #5A0048; }
h3 { font-size: 1.2em; font-weight: bold; line-height: 1.25; margin-bottom: 0.25em; color: #5A0048; }
h4 { font-size: 1em; font-weight: bold; margin-bottom: 0.25em; color: #5A0048; }
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;
	}


/* Text elements
-------------------------------------------------------------- */
p           { margin: 0 0 1.5em; }
p.last      { margin-bottom: 0; }
p img,
p img.left	{ float: left; margin: 0 1.0em 0.5em 0; padding: 0; }
p img.right	{ float: right; margin: 0 0 0.5em 1.0em; padding: 0; }
p img.center{ float: none; margin: 0 auto 0.5em auto; padding: 0; display: block;}
img         { margin: 0; }

a:focus, 
a:hover     { color: #000; text-decoration: underline; }
a           { color: #910081; text-decoration: none; }
#body a		{ text-decoration: underline; }
#body a:hover { background-color: #EFEFEF; }

blockquote  { margin: 1.5em; color: #666; font-style: italic; }
strong      { 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:#666; }*/

pre,code    { margin: 1.5em 0; white-space: pre; }
tt          { display: block; margin: 1.5em 0; line-height: 1.5; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; } 


/* Lists
-------------------------------------------------------------- */
li ul, 
li ol       { margin:0 1.5em; }
ul, ol      { margin: 0 1.5em 1.5em 1.5em; }

ul          { list-style-type: disc; margin-left: 0; }
ol          { list-style-type: decimal; }

dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 1.5em;}

#body ul {
	margin-left: 1.8em;
	}
#body ol {
	margin-left: 3em;
	}

/* Tables
-------------------------------------------------------------- */
table       { margin-bottom: 1.4em; }
th          { border-bottom: 2px solid #ccc; font-weight: bold; background: #eee; }
td          { border-bottom: 1px solid #ddd; }
th,td       { padding: 4px 10px 4px 5px; }
tr.even td  { background: #eef; }
tfoot       { font-style: italic; }
caption     { background: #ffc; }

/* Use this if you use span-x classes on th/td. */
table .last { padding-right: 0; } 


/* Misc classes
-------------------------------------------------------------- */
.small      { font-size: 85%; margin-bottom: 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; }

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

del.diffdel {
	text-decoration: line-through;
	background-color: #FB8287;
	}
del.diffmod {
	text-decoration: line-through;
	background-color: #FFBF00;
	}
del.diffdel img {
	border: 2px solid #D75357;
	}
ins.diffins {
	text-decoration: none;
	background-color: #A3E78D;
	}
ins.diffmod {
	text-decoration: none;
	background-color: #FFBF00;
	}
ins.diffins img {
	border: 2px solid #6BC451;
	}
ins.diffmod img,
del.diffmod img {
	border: 2px solid #FF9000;
	}



/* Custom content styles
-------------------------------------------------------------- */
.quote {
	color: #5A0048;;
	display: block;
	padding: 12px 15px 12px 55px;
	margin-top: 1em;
	font-size: 115%;
	line-height: 1.3;
	font-style: italic;
	background: #F6F6F6 url("/images/quote.gif") 12px 12px no-repeat;
	}
.callout-left {
	display: block;
	float: left;
	width: 32%;
	padding: 1%;
	margin-right: 2%;
	background-color: #ECECEC;
	clear: right;
	font-weight: bold;
	}
.callout-right {
	display: block;
	float: right;
	width: 32%;
	padding: 1%;
	margin-left: 2%;
	background-color: #ECECEC;
	clear: left;
	font-weight: bold;
	}
img.right {
    margin-left: 10px;
    margin-bottom: 10px;
    }
img.left {
    margin-right: 10px;
    margin-bottom: 10px;
    }

p.date {
	margin: -1em 0 0.5em 0;
	color: #999;
	font-weight: bold;
	}
p.return {
	border-top: 1px solid #EEE;
	border-bottom: 1px solid #EEE;
	margin: 2em 0 1em 0;
	padding: 3px 6px;
	font-size: 92%;
	background-color: #F7F7F7;
	clear: both;
	}
p.commenting_closed {
	font-weight: bold;
	font-size: 92%;
	}
#body p.tags {
	border-top: 1px solid #EEE;
	border-bottom: 1px solid #EEE;
	margin: 2em 0 2em 0;
	padding: 3px 6px;
	font-size: 92%;
	background-color: #F7F7F7;
	clear: both;
	}
#body p.return a,
#body p.tags a {
	text-decoration: none;
	}

h3 a {
	float: right;
	display: inline;
	color: #999;
	font-weight: normal;
	font-size: 85%;
	}
h3 a:hover {
	color: #000;
	text-decoration: none;
	}

h3 a.rss_icon {
	padding-right: 20px;
	background: url("/images/rss_icon.png") 100% 50% no-repeat;
	}