body {
	font-size: 1em;
	background-image: url("../layouts/background.png");
	background-repeat: repeat-x;
	background-color: #c0c0c0;
}

body, div {
	margin: 0px;
	padding: 0px;
}

body, td {
	font-family: verdana, arial, sans-serif;
}

body {
	padding-top: 10px;
}

img {
	border: none;
}

a {
	color: #000000;
	text-decoration: none;
}

.clearThis {
	clear: both;
}

#container {
	height: 98%;
	width: 785px;
	border: 1px solid #000000;
	background-color: #ffffff;
}

#container #header {
	height: 120px;
	vertical-align: top;
}

#container #menu {
	background-color: #bbd0d3;
	background-image: url("../layouts/mainmenubg.png");
	background-repeat: repeat-x;
	background-position: bottom left;
	height: 15px;
	border-top: 1px solid #000000;
	border-bottom: 1px solid #253532;
}

#container #menu #mainmenu td {
	padding: 4px 6px;
	font-size: 70%;
	font-family: verdana, helvetica, sans-serif;
	text-transform: uppercase;
	font-weight: bold;
}

#container #menu #mainmenu .active {
	background-color: #89aaaf;
	border-left: 1px solid #253532;
	border-right: 1px solid #253532;
}

#container #contents {
	vertical-align: top;
	padding-top: 30px;
	padding-left: 25px;
	padding-right: 20px;
	padding-bottom: 20px;
}

#container #contents #contentContainer {
	width: 100%;
}

#container #contents #leftContents #sisaltoTeksti td {
	font-size: 80%;
}

#container #contents #leftContents, #container #contents #rightContents {
	font-size: 80%;
	vertical-align: top;
}

#container #contents #leftContents {
	padding-right: 10px;
}

#container #contents #rightContents {
	width: 200px;
	padding-left: 10px;
	border-left: 1px dotted #a0a0a0;
}

#container #contents #rightContents #koristeKuva {
	margin-bottom: 20px;
}

#container #contents a {
	text-decoration: underline;
}

#container #footer {
	height: 20px;
	text-align: center;
}


.button td {
	vertical-align: middle;
	font-size: 70%;
	font-weight: bold;
	padding: 0px;
}

.button .label {
	background-position: top center;
}

.button .icon {
	background-position: top center;
	padding-right: 4px;
}

.button .left {
	background-position: top left;
	width: 6px;
}

.button .right {
	background-position: top right;
	width: 6px;
}

.button a {
	font-size: 80%;
}

.button .white {
	color: #c0c0c0;
}

.button .white:hover {
	color: #ffffff;
}

.button .black {
	color: #707070;
}

.button .black:hover {
	color: #000000;
}

.roundBox td {
	background-repeat: no-repeat;
	font-size: 50%;
}

.roundBox .contents {
	font-size: 80%;
}

#debugData {
	position: absolute;
	z-index: 2;
	-moz-opacity: .90;
	opacity: .90;
	margin-left: 30%;
	margin-right: 30%;
	width: 400px;
	margin-top: 10px;
	margin-bottom: 10px;
	border: 1px dashed #909090;
	background-color: #f0f0f0;
	padding: 10px;
}
#debugData div {
	font-size: 75%;
}

#largePhoto {
	width: 100%;
	top: 0px;
	left: 0px;
	text-align: center;
	position: absolute;
	visibility: hidden;
	z-index: 3;
	text-align: center;
}

#largePhoto img {
	border: 1px solid #ffffff;
}

#largePhoto #loading img {
	border: none;
}

.infoBox {
	font-style: italic;
	font-size: 80%;
	color: #909090;
}

.field {
	width: 300px;
	border: 1px solid #a0a0a0;
	background-color: #f0f0f0;
	padding: 2px;
}

#multiSelector td:first-child {
	border-left: 1px solid #a0a0a0;
}

#multiSelector td {
	margin-right: 0px;
	border-top: 1px solid #a0a0a0;
	border-right: 1px solid #a0a0a0;
	background-color: #f0f0f0;
	font-weight: bold;
}

#multiSelector td a {
	color: #909090;
}

#multiSelector td a:hover {
	color: #000000;
}
