/* various formating elements */
@media screen, projection {

	body {
		color: black;
		background-color: white;
	}

	.clearBoth {
		clear: both;
	}

	img, a img {
		border-width: 0px;
	}
	.framed {
		border: 1px solid gray;
	}

	.notUnderlined {
		text-decoration: none;
	}

	.centered {
		text-align: center;
	}

	pre, .boxed, .motto {
		padding: 0.5em;
		border: 1px dotted navy;

		color: black;
		background-color: #ededed;
	}

	pre.console {
		padding: 2px;
		border: none;

		color: #aaaaaa;
		background-color: black;
	}

	.filename {
		font-family: monospace;
	}

	.ref {
		font-size: 80%;
		text-decoration: none;
		vertical-align: super;
	}

	/* legacy stuff used in old texts */
	.normal { font-size: 90%; }
	.mini { font-size: 80%; }
	.micro { font-size: 70%; }

	.hilite {
		color: #c00000;
		background-color: white;
	}

	#portrait {
		float: right;
		width: 150px;

		padding: 0em;
		margin: 0px;
		border: 0px dotted navy;

		color: black;
		background-color: white;
	}

	#extraInfoContainer {
		float: right;
		width: 200px;

		padding: 0em;
		margin: 5px;
		border: 1px dotted navy;

		color: black;
		background-color: white;
	}
	#extraInfoContainer h2 {
		font-size: 1em;
		font-style: italic;
		font-weight: normal;
		text-decoration: none;

		padding: 0.20em;
		margin: 0pt;
		border-bottom: 1px dotted navy;

		color: black;
		/*background-color: #f7e7bd;*/
		background-color: #ffff74;
	}
	#extraInfoContainer ul {
		font-size: 85%;

		text-indent: -25pt;
		list-style-position: inside;

		margin: 0.20em;
	}
	#extraInfoContainer ul li, #extraInfoContainer ul li a {
		text-decoration: none;
		line-height: 140%;
	}

	div.web {
		width: 100%;
	}
	div.web:after {
		content: "&nbsp;"; 
		display: block; 
		height: 0px;
		clear: both; 
		visibility: hidden;
	}

	hr {
		width: 128pt;
		height: 1px;
		border-top: 1px;

		color: navy;
		background-color: white;
	}

	.content {
		list-style: none;
		list-style-position: inside;
	}

	/* bicycle track daily summary */
	.track {
		font-size: 90%;
		font-style : italic;
	}

	/* object label - used for images etc. */
	label, .label {
		font-size: 90%;
		font-weight: normal;

		text-decoration: none;
		text-align: center;
		margin: 0px auto;
	}

	/* language skills -- tables with header and first column in different colours */
	#languageSkills {
		width: 100%;
	}
	#languageSkills table {
		border-collapse: collapse;
		border: 1px solid gray;
	}
	#languageSkills table td {
		padding-top: 1px;
		padding-bottom: 1px;
		padding-left: 4px;
		padding-right: 4px;

		border: 1px solid gray;
	}
	#languageSkills table th {
		padding-top: 1px;
		padding-bottom: 1px;
		padding-left: 4px;
		padding-right: 4px;

		border: 1px solid gray;

		color: black;
		background-color: #ededed;
	}

	/* photo albums formating elements */
	#photoAlbums {
		padding-bottom: 4px;
		border-bottom: 1px dotted navy;
	}
	#photoAlbums ul {
		padding-top: 1px;
		padding-bottom: 1px;
		padding-left: 0px;
		padding-right: 1px;

		display: inline;

		list-style: none;
		list-style-position: inside;
	}
	#photoAlbums ul li {
		display: inline;
		padding: 5px;
	}
	#photoAlbums ul li:before {
		content: "\2022\00A0";
	}
	#photoAlbums ul li:after {
		content: "\00A0\2022";
	}
	#photoAlbums ul li a {
		text-decoration: none;
	}

	#photos div.thumb {
		float: left;

		width: 120px;
		height: 140px;

		padding: 10px;
		margin: 10px;
		border: 1px solid gray;

		color: black;
		background-color: #ededed;
	}

	#photos a.navigation {
		font-size: 130%;
		text-decoration: none;
	}

	#GoogleMap {
		float: right;

		padding: 10px;
		margin: 10px;
		border: 1px solid gray;
	}


	/* Numbered headers */
	div#numberedHeaders h2 {
		counter-increment: h2-number;
	}
	div#numberedHeaders h2:before {
		content: counter(h2-number) " ";
	}
	div#numberedHeaders h3 {
		counter-increment: h3-number;
	}
	div#numberedHeaders h3:before {
		content: counter(h2-number) "." counter(h3-number) " ";
	}
	div#numberedHeaders h4 {
		counter-increment: h4-number;
	}
	div#numberedHeaders h4:before {
		content: counter(h2-number) "." counter(h3-number) "." counter(h4-number) " ";
	}
	div#numberedHeaders h5 {
		counter-increment: h5-number;
	}
	div#numberedHeaders h5:before {
		content: counter(h2-number) "." counter(h3-number) "." counter(h4-number) "." counter(h5-counter) " ";
	}
	div#numberedHeaders h6 {
		counter-increment: h6-number;
	}
	div#numberedHeaders h6:before {
		content: counter(h2-number) "." counter(h3-number) "." counter(h4-number) "." counter(h5-counter) "." counter(h6-number) " ";
	}


	/* formatting of various calendar elements */
	.calendarMonth {
		float:	left;
	
		margin: 5px;
		border: 1px solid navy;
	}
	
	.calendarMonth th {
		font-weight: bold;

		text-align: center;
	}

	.calendarMonth th.header {
		border-bottom: 1px solid navy;

		color: black;
		background-color: #ededed;
	}

	.calendarMonth td {
		color: gray;
		background-color: white;
	
		text-align: center;
		padding: 2px;
	}
	
	.calendarMonth a {
		text-decoration: none;
	}
}
