html {
  margin: 0;
}

body {
  background: white;
  color: black;
}

h1 {
  font-family: "times", "Times New Roman", serif;
  color: black;
  /*text-align: left;
  margin-left: 5em;
  margin-left: auto;
  */
  margin-left: 6em;
  border: 1px gray solid;
}

h2 {
  font-family: "times", "Times New Roman", serif;
  color: black;
  text-align: left;
  margin-left: 1em;
}

h3,h4,h5 {
  font-family: "times", "Times New Roman", serif;
  color: black;
  text-align: left;
  margin-left: 1em;
  background: transparent;
}

hr {
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 2px;
}

p {
  margin: 8px;
}

pre {
  margin: 10px;
}

small {
  font-size: 10px;
  margin-left: 8px;
}

a {
  font-family: "times", "Times New Roman", serif;
  font-weight: bold;
}

a:link {
  color: black;
  background-color: transparent;
}

a:visited {
  color: gray;
  background-color: transparent;
}

a:active, a:hover {
  color: white;
  background-color: black;
  text-decoration: none;
}

.bold {
  font-weight: bold;
}

table.koodi th {
  text-align: left;
  font-weight: bold;
  border-bottom: 1px dashed black;
}

div.linkit {
  text-align: center;
}

img {
	border: 0px;
}

.hide {
  display: none;
  color: white
}

div.map { 
  width: 11em; height: auto;
  font-size: small;
}

.uusi {
	/*
	background: #D99;
	*/
	color: white;
	background: black;
}

tr.pariton {
	/*
	background: #AAB;
	background: gray;
	*/
	background: silver;
}

tr.parillinen {
}

div#menu {
	position: absolute;
	width: 10em;
	min-width: 8em;
	left: 5px;
	border: 1px solid black;
	margin-right: 0.5em;
  	text-align: left;
	padding-left: 0.5em;
	
/*
	background: black;
	color: white;
	font-size: small;
	padding: 1px;
*/
}

div#menu ul {
	list-style: none;
}
div#menu li {
}

div#menu a {
	font-family: "times", "Times New Roman", serif;
	font-weight: bold;
	font-size: small;
	color: black;
	text-decoration: none;
}

div#menu a:link {
	color: black;
	background: transparent;
	font-size: small;
	text-decoration: none;
}

div#menu a:visited {
	color: gray; 
	background: transparent;
	font-size: small;
	text-decoration: none;
}

div#menu a:hover,
div#menu a:active {
	color: white; 
	background: black;
	font-size: small;
	text-decoration: none;
}

span.under {
	text-decoration: underline;
}

#leftcolumn {
	/*float: left;*/
	width: 37em;
	min-width: 16em;
	border: 1px solid black;
	/*margin-left: 1em;*/
}

#rightcolumn {
	/*float: left;*/
	width: 37em;
	min-width: 16em;
	border: 1px solid black;
	margin-top: 2em;
	/*margin-left: 1em;*/
}

body {
	text-align: center;
}

#fullcolumn {
	/*float: left;*/
	/*width: 75%;*/
	width: 37em;
	border: 1px solid black;
	/*margin-right: 3em;*/
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 2em;
	text-align: left;
}

div.clearer {
	clear: left;
}

div#copy {
}

div.chapter {
	margin-left: 2.0em;
	margin-bottom: 1.5em;
}
