/* 
	Styling for HTML produced by boodebr-artml.xsl stylesheet.
	
	http://boodebr.org
*/

body {
	background: #737555;
	font-family: 'Lucida Grande', Verdana, Arial, sans-serif;
	font-size: 90%;
}

/* For error messages (used by boodebr-artml.xsl to highlight problems) */
div.error {
	color: #ffffff;
	background: #ff0000;
	font-size: 2em;
	font-weight: bold;
}
	
/* The overall container for the article */
div.top-container {
	background: #ffffff;
	width: 750px;
	margin-left: 5em;
	padding-left: 2em;
	padding-right: 2em;
	padding-top: 1em;
	padding-bottom: 2em;
	border: 4px solid black;
}

/* Header for page (not article!) */
div.page-header {
	font-size: 1.6em;
	font-weight: bold;
	padding-bottom: .5em;
}

a:link {
	text-decoration: none;
	color: black;
}

a:hover {
	color: black;
	background: #ffff00;
}

a:visited {
	text-decoration: none;
	color: black;
}

/* Container for the article header */
div.article-header {
	border-bottom: 1px solid black;
	padding-bottom: 1em;
	margin-bottom: 1em;	
	
}

div.article-title {
	font-size: 1.2em;
	font-weight: bold;
	/*margin-bottom: 1em;*/
}

/*div.article-subtitle {
	font-size: 0.8em;
}*/

div.section {
}

div.section-title {
	font-size: 1.2em;
	font-weight: bold;
	padding-bottom: 0.2em;
	border-bottom: 1px solid black;
	margin-bottom: 1em;
}

div.text {
	font-size: 1em;
	margin-left: 2em;
	margin-right: 6em;
	margin-bottom: 1em;
	margin-top: 1em;
}

div.code-title {
	font-size: 1em;
	margin-left: 3em;
	background: #dae087;
	width: 640px;
	border: 1px solid #555555;
	padding-left: 10px;
	margin-bottom: 0;
}

div.code {
	font-size: 1em;
	margin-left: 3em;
	background: #dddddd;
	width: 640px;
	border: 1px solid #888888;
	padding-left: 10px;
	margin-top: 0em;
	margin-bottom: 1em;
	
	/* hide any text that falls outside the bounding box */
	overflow: hidden;
}

/* a code block inside of a <text> */
div.text-code-inner {
	font-size: 1em;
	margin-left: 1em;
	background: #dddddd;
	width: 580px;
	border: 1px solid #888888;
	padding-left: 10px;	
	margin-top: 0em;
	margin-bottom: 1em;
	/* hide any text that falls outside the bounding box */
	overflow: hidden;

}

div.text-code-inner-title {
	font-size: 1em;
	margin-left: 1em;
	background: #dae087;
	width: 580px;
	border: 1px solid #555555;
	padding-left: 10px;
	margin-bottom: 0;
	margin-top: 1em;
}

/* a code block inside of a <warn> */
div.warn-code-inner {
	font-size: 1em;
	margin-left: 1em;
	background: #dddddd;
	width: 470px;
	border: 1px solid #888888;
	padding-left: 10px;	
	margin-top: 1em;
	margin-bottom: 1em;
}

span.code {
	font-family: monospace;
	font-size: 1em;
	background: #dddddd;
	padding-left: .3em;
	padding-right: .3em;
}

div.warn {
	font-size: 1em;
	margin-left: 6em;
	margin-right: 6em;
	/* make top of div.warn touch bottom of div.warn-title */
	margin-top: 0;	
	margin-bottom: 1em;
	border: 1px solid #888888;
	background: #eeeead;
	color: #000000;
	padding-left: 2em;
	padding-right: 2em;
}
	
div.warn-title {
	font-size: 1em;
	text-align: center;
	font-weight: bold;
	margin-left: 6em;
	margin-right: 6em;
	margin-bottom: 0;
	border: 1px solid #000000;
	background: #ff0000;
	color: #ffffff;
	padding-top: 3px;
	padding-bottom: 3px;	
}

div.note {
	font-size: 1em;
	margin-left: 1em;
	margin-right: 1em;
	/* make top of div.warn touch bottom of div.warn-title */
	margin-top: 0;	
	margin-bottom: 1em;
	border: 1px solid #888888;
	background: #e3efef;
	color: #000000;
	padding-left: 2em;
	padding-right: 2em;
	padding-top: 0.8em;
	padding-bottom: 0.8em;
}
	
div.note-title {
	font-size: 1em;
	text-align: center;
	font-weight: bold;
	margin-left: 1em;
	margin-right: 1em;
	margin-bottom: 0;
	border: 1px solid #000000;
	background: #59a2a3;
	color: #ffffff;
	padding-top: 3px;
	padding-bottom: 3px;	
}

div.table-title {
	margin-left: 6em;
	margin-right: 6em;
	font-size: 1.2em;
	font-weight: bold;
	padding-bottom: 1em;
	text-align: center;
}

table.body {
	border: 1px solid #888888;
	border-collapse: collapse;
	margin-left: auto;
	margin-right: auto;
	background: #ddf3ff;
	font-size: 1em;
}

tr {
	border: 1px solid #888888;
	border-collapse: collapse;
}

th {
	border: 1px solid #888888;
	border-collapse: collapse;
	padding-left: 0.5em;
	padding-right: 0.5em;
	background: #eeeead;
	text-align: center;
}

td {
	border: 1px solid #888888;
	border-collapse: collapse;
	padding-left: 0.5em;
	padding-right: 0.5em;
	text-align: center;
}

a.show:link {
	text-decoration: underline;
	color: #0000ff;
}

a.show:visited {
	text-decoration: underline;
	color: #000088;
}

a.text:link {
	text-decoration: underline;
	color: #0000ff;
}

a.text:visited {
	text-decoration: underline;
	color: #000088;
}

div.footer {
	font-size: 0.8em;
	border-top: 2px solid black;
	padding-top: 1em;
	margin-top: 3em;
}

div.block-img, img.block-img, table.block-img, tr.block-img, td.block-img {
	margin-left: auto;
	margin-right: auto;
	border: 0;
}


