* {
	font-family: 'verdana','arial',sans-serif;
	font-size: 1em;
}

html,body {
	background-color: gray;
	margin: 0;
	padding: 0;
	counter-reset: header3 figure;
}
/*
html {
	padding: 20px;
	font-size: 70%;
	text-align: center;
}

body {
	border: 1px solid black;
	background-color: #F5F5F5;
	position: relative;
	width: 720px;
	height: auto;
	text-align: left;
	margin: 0 auto;
	background-image: url('http://www.rikkertkoppes.com/images/main_bkg.gif');
	background-repeat: repeat-x;
}
*/

body {
	padding: 20px;
	font-size: 11px;
	text-align: center;
}

div#container {
	border: 1px solid black;
	background-color: #F5F5F5;
	position: relative;
	width: 65em;
	max-width: 100%;
	min-width: 720px;
	height: auto;
	text-align: left;
	margin: 0 auto;
	background-image: url('/images/main_bkg.gif');
	background-repeat: repeat-x;
}

body * {
	text-align: left;
}

div#content {
	position: relative;
}

/* inline elements */
a {
	text-decoration: none;
	color: black;
	font: inherit;
}

/* give each absolute path an external icon */
a[href^="http:"]:after {content: ' ' url('http://www.rikkertkoppes.com/images/link_external.gif')}
/* but not those in my domain */
a[href^="http://www.rikkertkoppes.com"]:after {display: none}

/* note the [att^=val] selector is CSS 3, but implemented by firefox */

/* other (overriding) icons usage */
a[rel~=external]:after {content: ' ' url('http://www.rikkertkoppes.com/images/link_external.gif'); cursor: url('http://www.rikkertkoppes.com/images/cursor_external.png');}
a[rel~=pdf]:after {content: ' ' url('http://www.rikkertkoppes.com/images/link_pdf.gif'); display: inline;}
a[rel~=zip]:after {content: ' ' url('http://www.rikkertkoppes.com/images/link_zip.gif'); display: inline;}

a:hover {
	text-decoration: underline;
	color: #B11232;
}

p a, blockquote a, li a, dl a, address a {
	color: #B11232;
}

kbd {
	font-family: 'courier',monospace;
	color: #333333;
	background-color: #EAEAEA;
}

code,pre,samp {
	font-family: 'courier',monospace;
	color: #00008B;
}

sub,sup {
	font-size: 0.7em;
}

abbr[title], acronym[title] {
	cursor: help;
}

dfn {
	font-weight: bold;
	font-style: normal;
}

button {
	text-align: center;
}

/* block elements */
object {
  margin: 1em 20px;
}
hr {
	display: none;
}
ul,ol,dl {
	margin-left: 20px;
	margin-right: 18px;
	padding: 0;
}
ul li,ol li, dl dd {
	margin-left: 24px;
}
li ul, li ol {
	margin-left: 0px;
	list-style-type: disc;
}
/* expandable sublists */
li.collapsed ul {
	display: none;
}

li.collapsed:hover ul {
	display: block;
	position: absolute;
	border: 1px outset gray;
	background-color: #FEFEFE;
	opacity: 0.95;		
	padding: 3px;
}
/* end expandable sublists */
dd {
	margin-bottom: 0.6em;
}	
p {
	text-align: justify;
	margin: 1em 20px;
}
.lede {  /* introductory part of an article */
	font-weight: bold;
}
.lede strong {
	font-decoration: underline;
}
p img {
	vertical-align: bottom;
}
pre {
	border: 1px solid gray;
	background-color: #DDDDDD;
	margin-left: 30px;
	margin-right: 16px;
	padding: 0px;
	overflow: auto;
	display: block;
	width: 90%;
}
pre.bad {
	border-color: #B11232;
	background-color: #F5F5F5; /* this should become obsolete when IE starts supporting inherit */
}

pre:before {
	display: block;
	background-color: #00008B;
	color: white;
	font-size: 8px;
	padding-left: 4px;
	font-weight: bold;
	content: attr(class);	/* this is cool indeed */
}
pre.bad:before {
	background-color: #B11232;
}
blockquote {
	color: #333333;
	margin-left: 20px;
	padding-left: 24px;
	text-align: justify;
}
blockquote {
	margin: 0 20px;
	padding: 1em;
	background-color: #EEEEEE;
	-moz-border-radius: 1em;
	-webkit-border-radius: 1em;
	border-radius: 1em;
	border: 2px solid silver;
	border-width: 1px 4px 3px 1px;
}
/*
blockquote p:first-child:before {
	content: url('images/blockquote_66.gif');
}

blockquote p:last-child:after {
	content: url('images/blockquote_99.gif');
	vertical-align: -12px;
}
*/
address {
	text-align: right;
	margin-right: 16px;
}
address:before {
	content: '\2014  ';
}


#flag  {
	color: #F5F5F5;
	background-color: #B11232;
	min-height: 75px;
	margin: 0;
	background-image: url('/images/h1_bkg.gif');
	background-repeat: no-repeat;
	font-size: 2em;
	text-align: center;
}

h1 {
	font-size: 1.6em;
	margin: 16px;
	margin-bottom: 2.5em;
	position: relative;
	clear: both;
	background-repeat: no-repeat;
	height: 20px;
}

h1.page_title_1 {background-image: url('/dynImg.php?size=14&mode=page_title&id=1&prefix=%D4%20')}
h1.page_title_2 {background-image: url('/dynImg.php?size=14&mode=page_title&id=2&prefix=%D7%20')}
h1.page_title_3 {background-image: url('/dynImg.php?size=14&mode=page_title&id=3&prefix=%D6%20')}
h1.page_title_4 {background-image: url('/dynImg.php?size=14&mode=page_title&id=4&prefix=%D5%20')}
h1.page_title_5 {background-image: url('/dynImg.php?size=14&mode=page_title&id=5&prefix=%D8%20')}
h1.page_title_6 {background-image: url('/dynImg.php?size=14&mode=page_title&id=6&prefix=%D8%20')}
h1.page_title_7 {background-image: url('/dynImg.php?size=14&mode=page_title&id=7&prefix=%D8%20')}
h1.page_title_8 {background-image: url('/dynImg.php?size=14&mode=page_title&id=8&prefix=%D8%20')}
h1.page_title_9 {background-image: url('/dynImg.php?size=14&mode=page_title&id=9&prefix=%D8%20')}
h1.error {background-image: url('/dynImg.php?size=14&text=error&prefix=%CA%20')}

h2 {
	font-size: 1.4em;
	padding-left: 16px;
	margin-bottom: 0;
	margin-top: 1em;
}


h3 {
	font-size: 1.2em;
	padding-left: 16px;
	margin-bottom: 0;
}
h3:before {
	counter-increment: header3;
	content: counter(header3) '. ';
}
h3:target, div:target {
	background-image: url('images/target_arrow.gif');
	background-repeat: no-repeat;
	background-position: 5px 5px;
}

h4 {
	font-size: 1em;
	padding-left: 16px;
	margin-bottom: 0;
}

/*forms*/
form {
	margin: 16px;
	padding: 0px;
}
fieldset {
	border: 1px solid #DDDDDD;
	margin: 0px;
	padding: 16px;
	margin-bottom: 1em;
}
fieldset.process {
	border: none;
	padding: 0;
}
fieldset dl, fieldset dt, fieldset dd {
	margin: 0;
	padding: 0;
}
fieldset dl input { 
	width: 200px;
	display: block;
}
fieldset dl input[type=checkbox] {
	width: auto;
	display: inline;
}
fieldset dl input[type=hidden] {
	display: none;	/* opera renders my hidden boxes :( */
}
fieldset dl input {
	border: 1px solid #DDDDDD;
}
textarea, object.drawingcanvas {
	width: 650px;
	overflow: auto;
	border: 1px solid #DDDDDD;
}


/*tables */
table {
	background-color: #EFEFEF;
	border-bottom: 2px solid #B11232;
	border-top: 1px solid #B11232;
	border-collapse: collapse;
	empty-cells: show;
	margin: 0 auto;
}

/* ok, we are ready for the future. Browserbuilders: please, please implement this 
tr:nth-child(odd) {
	background-color: #E7E7E7;
}
*/
tr.tr-odd {
	background-color: #E7E7E7;
}

caption {
	font-weight: bold;
	text-align: left;
	margin: 0 auto;
}

tfoot th, tfoot td {
	border-top: 1px solid #B11232;
}

tfoot th {
	background-color: #DDDDDD;
	font-style: italic;
	text-align: right;
	font-weight: normal;
}

tfoot td {
	font-style: italic;
}

td, th {
	vertical-align: top;
	padding: 0px 3px 0px 3px;
}
	
thead th {
	background-color: #B11232;
	font-weight: bold;
	color: white;
	text-align: left;
}

tbody th {
	background-color: #DDDDDD;
	border-right: none;
	font-weight: normal;
	text-align: right;
}

/* ok, the following does not work in ie, but it's a nice extra for other browsers */
tbody td[colspan] {
	text-align: center;
}

tbody td[rowspan] {
	vertical-align: middle;
}

tbody th[colspan] {
	text-align: center;
}

th[scope=rowgroup] {
	font-weight: bold;
}

tbody td {
	border-right: 1px solid white;
}

/* mathml */
math {
	color: #00008B;
	text-align: left;
}

div.math {
	padding-left: 100px;
	margin: 1em 0;
	font-size: 12pt;
}

.math {
	position: relative;
}

.math * {
	font-family: auto;
}

.math span.mathnr {
	position: absolute;
	right: 60px;
	top: 50%;
	margin-top: -0.5em;
	color: #00008B;
	content: '(' counter(math) ')';
	counter-increment: math;
}

/* special */
.non_visual {
	display: none !important;
}

p.note {
	color: #999999;
	border-left: 0.15em solid #999999;
	border-right: 0.15em solid #999999;
	margin: 1em 14px;
	background-image: url('http://www.rikkertkoppes.com/images/note_bkg.gif');
	background-repeat: no-repeat;
	background-position: bottom center;
	padding: 3px;
}

p.note:before {
	content: '\20';
	display: block;
	overflow: hidden;
	height: 1px;
	margin-left: -3px;
	margin-top: -3px;
	margin-right: -3px;
	background-image: url('http://www.rikkertkoppes.com/images/note_bkg.gif');
	background-repeat: no-repeat;
	background-position: top center;
}

span.note {
	color: #999999;
}

span.note:before {
	content: '[';
	font-weight: bold;
}

span.note:after {
	content: ']';
	font-weight: bold;
}
.note a {
	color: #999999;
	text-decoration: underline;
}
.note a:hover {
	color: #B11232;
}
div.article {
	clear: both;
}
p.article_date {
	font-size: 1em;
	color: #333333;
	margin: 0px 0px 0px 16px;
}
span.article_date_modified {
	font-style: italic;
}
span.more a {
	display: inline;
}

div.artwork_block {
	float: left;
}
div.artwork_thumb_block {
	float: left;
	width: 300px;
}
dl.figure dt img {
	border: 1px solid silver;
}
dl.figure dt a img {
	border: 1px solid #00008B;
	padding: 1px;
}
dl.figure.transparent dt img {
	border: none;
}
dl.figure dd {
	padding-left: 3px;
	margin: 0;
	margin-bottom: 1em;
	font-style: italic;
	font-size: 0.9em;
}
dl.figure dd:before {
	content: 'figure ' counter(figure) '. ';
	counter-increment: figure;
	color: #00008B;
}
dl.figure dd * {
	margin: auto;
}
span.figure_back_reference:before {
	content: ' (figure ' counter(figure) ')';
	color: #00008B;
}
span.figure_forward_reference:before {
	counter-increment: figure 1;
	content: ' (figure ' counter(figure) ')';
	color: #00008B;
}
span.figure_forward_reference:after {
	counter-increment: figure -1;
	content: '';
}
img {
	border: none;
}
img.artwork_thumb {
	border: 1px solid #B11232;
	border-left-width: 20px;
}
/*
li.skip_link, li#admin_nav {
	display: none;
}
*/
map#mainmenu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px dashed gray;
	margin-bottom: 1em;
}
map#mainmenu ul li {
	min-width: 100px;
	display: -moz-inline-box;
	display: inline-block;
	border-right: 1px solid gray;
	text-align: center;
	margin: 0;
	padding: 0 1em 0 1em;
}
map#mainmenu ul li a {
	color: #333333;
	font-variant: small-caps;
	border: none;
	display: block;
	text-align: center;
	min-width: 100px; /* I added this for opera, which refuses to give this element the whole available width */
}
map#datespan {
	position: absolute;
	right: 16px;
	border-top: 1px solid #666666;
	margin-top: 1em;
	color: #666666;
	width: 200px;
	text-align: right;
	z-index: 1;
}
map#datespan ol {
	display: none;
	list-style: none;
	border: 1px outset gray;
	margin: 0;
	padding: 3px;
	background-color: #F5F5F5;
	opacity: 0.95;		/* this is CSS3; I won't add the IE thing, too bad huh :P */
}
map#datespan li {
	margin: 0px;
}
map#datespan p {margin: 0}
map#datespan p:before {
	content: url('http://www.rikkertkoppes.com/images/arrow_down_red.gif');
	margin-right: 3px;
}
map#datespan:hover ol {
	display: block;
}

div#referrers {
	clear: both;
}

div#referrers ol {
	list-style-type: disc;
}

div#quicknav {
	background-color: #B11232;
	height: 8px;
	margin: 2em 0;
	clear: both;
	text-align: center;
	line-height: 1px;
}
div#quicknav img#older {
	display: block;
	margin: 0 auto;
}
div#quicknav a#previous {
	color: #B11232;
	background-color: #F5F5F5;
	font-size: 11px;
	line-height: 11px;
	float: left;
	padding-right: 2px;
	top: -2px;
	position: relative;
}
div#quicknav a#previous:before {
	--content: url('/images/more.gif');
	padding-right: 2px;
}
div#quicknav a#next {
	color: #B11232;
	background-color: #F5F5F5;
	font-size: 11px;
	line-height: 11px;
	float: right;
	padding-left: 2px;
	top: -2px;
	position: relative;
}
div#quicknav a#next:after {
	--content: url('http://www.rikkertkoppes.com/images/more.gif');
	padding-left: 2px;
}
div#comment {
	color: #444444;
	clear: both;
	margin-top: 4em;
}
dl.comment {
	margin-bottom: 3em;
}
dl.comment dd {
	margin-left: 16px;
	margin-bottom: 1em;
}
dl.comment dd p {
	margin-left: 0;
	margin-right: 0;
}
div#administration {
	border-top: 1px solid #999999;
	height: 21px;
	background-image: url('http://www.rikkertkoppes.com/images/administration_bkg.gif');
	background-repeat: no-repeat;
	text-align: right;
}

a#admin{
	background-image: url('http://www.rikkertkoppes.com/images/edit_current.gif');
	background-repeat: no-repeat;
	float: right;
	width: 33px;
	height: 21px;
}
a#atom_feed {
	background-image: url('http://www.rikkertkoppes.com/images/feed_atom_icon.gif');
	background-repeat: no-repeat;
	float: right;
	height: 21px;
	width: 86px;
}

a#atom_feed span, a#admin span {
	display: none;
}

div#copyright {
	color: #999999;
	text-align: center;
	font-size: 0.8em;
	margin-top: 2em;
}


div#hook1 {
	position: absolute;
	top: 50%;
	width: 20px;
	height: 60px;
	left: 100%;
	border: 0px solid black;
	margin-left: 1px;
	
	background-image: url('http://www.rikkertkoppes.com/images/label.gif');
	background-repeat: no-repeat;
}
div#hook1 div {
}

div#hook3 {
	clear: both;
}

a#breakout {
	position: absolute;
	left: 0;
	top: 0;
	cursor: pointer;
	width: 17px;
	height: 15px;
	background-image: url('http://www.rikkertkoppes.com/images/breakout_bkg.gif');
	background-repeat: no-repeat;
	background-position: 2px 2px;
}

/* SEARCH BOX */
form#search {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	padding: 0;
}

/* I wanne see it immediately when these are supported 
div.article {
	column-count: 2;
	-moz-column-count: 2;
}
*/