body {
	/*background-color: #dddabc;*/
	background-color: #abc0db;
	/*background-image: url("../images/body_gradient.gif");*/
	background-image: url("../images/skyback.jpg");
	background-attachment: fixed;
	background-repeat: repeat-y;

	font-family: Verdana, sans-serif;
	color: #000000;
	
	margin: 0px;
	padding: 0px;
}


img#giant {
	position: fixed;
	/*top: 10px;*/
	bottom: 0px;
	left: 0px;
	z-index: 2;
}
img#bgimg {
	position: fixed;
	top: 0px;
	left: 0;
	z-index: 1;
}


div#mainlinks {
	/*background-color: #dddabc;
	background-image: url("../images/link_bg2.jpg");
	background-repeat: no-repeat;*/
	background-image: url("../images/linkbg.png");
	background-repeat: no-repeat;

	position: absolute;
	top: 0px;
	left: 200px;
	right: 0px;
	
	width: auto;
	height: 64px;
}
div#mainlinks table#links {
	height: 64px;
}
div#mainlinks table#links td {
	vertical-align: bottom;
}
div#mainlinks a {
	font-weight: bold;
	font-size: 130%;
	font-family: Verdana, sans-serif;
	padding: 0px 0.3em;
	margin: 0;

	text-decoration: none;
	font-variant: small-caps;
}
div#mainlinks a:link, div#mainlinks a:visited {
	color: #2626E6;
}
div#mainlinks a:hover, div#mainlinks a:active {
	/*background-color: #D7D6B4;*/
	background-color: #A0B3CD;
	color: #0000FF;
}
div#mainlinks span.selected {
	display: inline;
	font-weight: bold;
	font-size: 130%;
	font-family: Verdana, sans-serif;
	padding: 0px 0.3em;
	margin: 0;

	color: #000;

	text-decoration: none;
	font-variant: small-caps;
}


div#content {
	/*background-color: #f6f4d9;*/
	background-color: #def1fc;
	/*background-image: url("../images/suvitausta.jpg");
	background-repeat: no-repeat;
	background-attachment: absolute;
	background-position: 0 0;*/

	position: absolute;
	left: 200px;
	top: 64px;
	right: 0;

	margin: 0px;
	padding: 1em;
	
	border-left: dotted 2px #999;
	border-top: solid 1px #000;
	
	z-index: 10;
}

a:link, a:visited {
	color: #000095;
	background: transparent;
	text-decoration: none;
}
a:hover, a:active {
	color: #000095;
	background: #B7CCEA;
	text-decoration: underline;
}
a.image:hover, a.image:active {
	background: transparent;
}
img {
	border: none;
}

p {
	padding: 0 0 1ex 0;
	margin: 0;
}


h1, h2, h3, h4 {
	margin: 0 0 2ex;
	padding: 0;
}
h1 {
	font-size: 150%;
	text-align: center;
}
h2 {
	font-size: 150%;
	font-variant: small-caps;
	font-weight: bolder;

	background-color: #075FA8;
	color: #F7F7F7;
	
	clear: both;
	text-align: center;
	
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	
	margin-left: 10%;
	margin-right: 10%;
}
h3 {
	font-size: 130%;
	font-variant: small-caps;
	font-weight: bolder;
	background-color: #9FCDE1;
	color: #2E2E2E;
	border-bottom: solid 3px #091D5A;
	
	margin-left: 5%;
	margin-right: 5%;
	
	clear: both;
	text-align: center;
}
h4 {
	font-size: 100%;
}

table {
	margin-bottom: 2ex;
}
th {
	text-align: left;
	vertical-align: top;
	padding-right: 1em;
	padding-bottom: 0.1em;
}
td {
	vertical-align: top;
	padding-right: 1em;
	padding-bottom: 0.1em;
}

ul {
	margin: 0 0 2ex;
	padding: 0;
}
ul li {
	/*list-style-type: circle;*/
	list-style-image: url("../images/green_point.gif");
	list-style-position: inside;
	margin-bottom: 0.2em;
}


div.header {
	background-image: url("../images/header_back.gif");
	background-repeat: no-repeat;
	background-position: 100% 0;
	margin-bottom: 2ex;
}


.subjects {

}
.subjects th {
	/*background: #FCEEC4;*/
	background-color: #BFDEFC;
}

/* Alternating rows in the subject list */
.subjects td.s1 {
	padding-right: 1em;
	/*background: #f6f4d9;*/
	background-color: #D7ECF8;
}
.subjects td.s2 {
	padding-right: 1em;
	background: #C3DBE9;
}

.subjects td.d1 {
	padding-right: 0;
	background: #f6f4d9;
}
.subjects td.d2 {
	padding-right: 0;
	background: #ECEAD0;
}


/* Table for a single message */
.messages {
	margin-left: 2em;
}
/* Subject of a single question */
.subject {
	background-color: #B1CBE6;
	padding: 1ex 2em;
	margin: 0;
	border-width: 0;
}
/* Body of a single question */
.message {
	background-color: #A7DFF2;
	padding: 1ex 2em;
	margin: 0;
	border-width: 0;
}
/* Subject of a single answer */
.subject2 {
	background-color: #9BB2CB;
	padding: 1ex 2em;
	margin: 0;
	border-width: 0;
}
/* Body of a single answer */
.message2 {
	background-color: #90C1D1;
	padding: 1ex 2em;
	margin: 0;
	border-width: 0;
}

.delimit {
	height: 1em;
}

/* The question form */
form#msgform {

}
/* Name input box */
form#msgform input[type=text] {
	width: 20em;
	background-color: #EDF9FD;
}
/* Text message area */
form#msgform textarea {
	width: 30em;
	height: 15ex;
	background-color: #EDF9FD;
}
/* Submit button */
form#msgform input[type=submit] {
	background-color: #B4D8DF;
	color: #333;
	font-weight: bolder;
	padding: 0.5em;
}
/* Submit button while hovering */
form#msgform input[type=submit]:hover {
	background-color: #89C3CE;
}


.warning {
	color: #d22;
	font-weight: bolder;
}


div#sponsorit {
	width: auto;
	margin: 6ex 0;

	text-align: center;
}

div#sponsorit img {
	padding: 0;
	border: none;
}
