@charset "utf-8";

/*
Styles for the layout
*/

body {
	margin: 1em auto;
	padding: 0;
	text-align: center;
   width: 50em;
}

/*
Styles for the content column
*/

#content {
	font-family: Georgia, "Times New Roman", Times, serif;
	text-align: left;
}

#content a:link {
	color: #663300;
	font-weight: bold;
}

#content a:visited {
	color: #CC9933;
	font-weight: bold;
	text-decoration: underline;
}

#content a:hover {
	color: white;
	background-color: #663300;
	text-decoration: none;
}

#content a:active {
	color: #663300;
	background-color: white;
	text-decoration: underline;
}

#content li {
	margin-bottom: 1em;
}

#content ul {
	margin-left: 0;
	padding-left: 2em;
}

div.tip p:first-child {
	background: url(../images/tip.gif) no-repeat;
}

div.warning p:first-child {
	background: url(../images/warning.gif) no-repeat;	
}

div.acc p:first-child {
	background: url(../images/acc.gif) no-repeat;
}

div.tip {
	border-top: 3px solid orange;
	border-bottom: 3px solid orange;
}

div.acc {
	border-top: 3px solid green;
	border-bottom: 3px solid green;
}

div.warning {
	border-top: 3px solid red;
	border-bottom: 3px solid red;
}

div.tip, div.acc, div.warning {
	margin: 1.5em 0;
}

div.tip p, div.warning p, div.acc p, div.tip ul, div.warning ul, div.acc ul {
	padding-left: 60px;
}

div.tip div, div.warning div, div.acc div {
	margin-left: 60px;
}

div.tip ul, div.warning ul, div.acc ul {
	list-style: inside;
}

q:before, q:after {
	content: "";
}

blockquote {
	background: transparent url(../images/quote.gif) left top no-repeat;
}

blockquote div {
	padding: 0 30px;
	background: transparent url(../images/quote.gif) right bottom no-repeat;
}

abbr, acronym {
	border: none;
}

abbr[title], acronym[title] {
	border-bottom: 1px dotted;
	cursor: help;
}

.center {	
	text-align: center;
}

a img {
	border: none;
}

td, th {
	border: 1px solid black;
	padding: 5px;
}

table {
	border-collapse: collapse;
	width: 100%;
	margin-top: 1em;
}

caption {
	font-weight: bold;
	margin: 1em;
	font-size: 120%;
}

h1, h2 {
	text-transform: uppercase;
	text-align: center;
}

code {
	background: #E5E5E5;
}

a code {
	background: transparent;
}

/*
CSS source sytnax highlighter
*/

.csssource .selector {
	color: #FF00FF;
}

.csssource .property {
	color: #000099;
}

.csssource .value {
	color: #0000FF;
}

.csssource .comment {
	color: gray;
}

.csssource {
	background-color: #E5E5E5;
	border-left: solid 3px black;
	padding: 1em;
	font-family: monospace;
	margin: 2em 0;
}

/*
HTML source sytnax highlighter
*/

.xhtmlsource span.d {
	color: #4682b4;
	font-style: italic;
}

.xhtmlsource span.t {
	color: #800080;
	font-weight: bold;
}

.xhtmlsource span.a {
	color: black;
	font-weight: bold;
}

.xhtmlsource span.v {
	color: #0000ff;
	font-weight: normal;
}

.xhtmlsource span.e {
	font-weight: bold;
	color: #ff4500;
}

.xhtmlsource span.v span.e {
	font-weight: normal;
}

.xhtmlsource span.c {
	color: gray;
	font-style: italic;
}

.xhtmlsource span.pi {
	color: #da70d6;
	font-style: italic;
}

.xhtmlsource {
	background-color: #E5E5E5;
	border-left: solid 3px black;
	padding: 1em;
	font-family: monospace;
	margin: 2em 0;
}