/* -------------------------------------------------------------- 
   
   typography.css
   * Sets up some sensible default typography.
   
-------------------------------------------------------------- */

/* Default font settings. 
   The font-size percentage is of 16px. (0.75 * 16px = 12px) */
body { 
	font-size: 13px;
	font-family: "Open Sans",sans-serif;
	/*@sh color: #7c7c7c;*/
	color: #666666;
}


/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 { 
	font-weight: normal; 
	color: #777; 
	/* margin-top: 10px; */
	margin-top: 1em;
}

h2 {
	color: #777;
	/*font-family:  Arial,Helvetica,sans-serif*/
}

/*
h1 { font-size: 28px; line-height: 1; margin-bottom: 0.5em; }
h2 { font-size: 21px; margin-bottom: 0.75em; }
*/
h1 { font-size: 38px; line-height: 1; margin-bottom: 0.5em; }
h2 { font-size: 28px; margin-top: 0.75em; margin-bottom: 0.75em; }
h3 { font-size: 18px; line-height: 1; margin-bottom: 1em; }
h4 { font-size: 15px; line-height: 1; font-weight: bold; margin-bottom: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
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 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; }

/*
Note: a:hover MUST come after a:link and a:visited in the CSS definition in order to be effective!!
a:active MUST come after a:hover in the CSS definition in order to be effective!!
*/
a:visited    { /*@sh color: #3876be; */  color: #324aab; /*#2665be; */}
a:focus, a:hover     { /*@sh color: #3876be; */  color: #333; }
a { 
	/*@sh color: #666; */
	color: #3876be;
	text-decoration: none; 
	outline: none;
}


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	{
	/* margin: 1.5em 0;    top right bottom left */
	margin : 1px 0 1em 0;
	white-space: pre;
    padding: 0.7em 1em;
	/* @sh */
	overflow: auto;
    word-wrap: normal;
    border: 1px solid #CCC;
    border-radius: 2px;
    box-shadow: 0px 0px 0.5em #CCC inset;
    padding: 0.7em 1em;
	background-color: #F4F4F4;
	color: #333;
}
pre,code,tt {
/*
    font-family: Consolas,"Andale Mono WT","Andale Mono","Bitstream Vera Sans Mono","Nimbus Mono L",Monaco,"Courier New",monospace;
    font-size: 1em;
    direction: ltr;
    text-align: left;
    background-color: #FBFAF9;
    color: #333;
    box-shadow: 0px 0px 0.3em #CCC inset;
    border-radius: 2px;
	*/
	font: 0.85em '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; }
ol          { list-style-type: decimal; }

dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 1.5em;}
/* @sh */
li {  margin-bottom: 8px; }


/* 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: #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; }
