 
/*********
 * Yleiset 
 *********/


body {
	background-color: #D9EBD6;
	width: 800px;
	margin-left: auto;
	margin-right: auto;
	font-family: Arial, Helvetica, sans-serif;
	text-align: center;
}

div {
	text-align: left;
}
a:link, a {
	color: blue;
	text-decoration: underline;
}

a:active, a:hover {
	text-decoration: none;
}

a:visited {
	color: black;
	text-decoration: underline;
}

img {

	border: 0px;
	}

td { 
	vertical-align: top;
}

#main_content img {
 padding: 2px;
  border: 1px solid #BADFB5;
  }
#main_content a img {
 border: 0;
 }


#paamokkula {
	margin-left: auto;
	margin-right: auto;
	width: 800px;
	background-color: #fff;
}
#container {
	padding: 10px;
}
#header {
	height: 91px;
	background-color: #1E700E;
}
#main_content {
	margin-top: 10px;
	margin-bottom: 10px;
	line-height: 125%;
	font-size: 0.9em;
	margin-left: 10px;
	margin-right: 10px;
	text-align: justify;
}


/***************
 *  kontrollerit
 ***************/
 
#controllers {
	float: right;
	width: 250px;
	margin-left: 20px;
	color: #000;
	margin-bottom: 10px;
}
#controllers ul {
	padding-left: 0px;
	margin: 5px;
	list-style-type: none;
}
#controllers ul.nomark li a {
	display: block;
	clear: left;
	padding-bottom: 2px;
}
.controller_box {
	border: 1px solid #BADFB5;
	font-size: 0.8em;
}
.controller_topic {
	background-color: #57a14e;
	padding: 3px;
	margin-bottom: 5px;
	text-align: center;
	color: #fff;
	font-weight: bold;
}
.controller_text {
	padding: 2px;
	padding-bottom: 5px;
	color: #000;
	text-align: center;
}
.controller_text_left {
	text-align: left;
}
.controller_text,.controller_text_left {
	padding-left: 5px;
}
.controller_text_left h1, .controller_text h1 {
	font-size: 1.1em;
	font-weight: bold;
	border-bottom: 1px solid black;
	width: 100%;
	padding: 10px 0 0 0;
	margin: 0;
}
.controller_text_left a {
	line-height: 17px;
}
	
.controller_text ul {
	text-align: left;
}
.controller_text li {
    margin-bottom: 5px;
}

#controllers a, #controllers a:visited {
	color: #000;
}
#controllers a:hover, #controllers a:active {
	color: #000;	
	background-color: #d9ebd5;
	text-decoration: none;
}
#controllers .controller_topic a, #controllers .controller_topic a:visited {
	color:white; 
	text-decoration: none;
}
#controllers .controller_topic a:hover, #controllers .controller_topic a:active {
	color: white;
	text-decoration: underline;
	background-color: #57a14e;
}


/***********
 * Linkbarit
 ***********/
 
#linkbar1 {
	margin: 0px;
	background-color: #57a14c;
	height: 25px;
	border-top: 1px solid white;
}
#linkbar2 {
	margin: 0px;
	background-color: #D9EBD6;
	height: 20px;
	text-align: center;
	border-top: 1px solid white;
	padding-bottom: 5px;
}
#linkbar1 ul {
	border: 0;
	margin: 0;
	padding: 0;
	list-style-type: none;
	text-align: center;
	clear: left;
	display: inline;
}
#linkbar1 ul li {
	float: left;
	display: inline;
	text-align: center;
	padding: 0;
	margin: 0;
	border-right: 1px solid white;
	width: 112px; 
	color: #fff;
}

#linkbar1 ul li a, #linkbar1 {
	height: 25px;
	padding: 0;
	margin: 0;
	text-decoration: none;
	display: block;
	text-align: center;
	letter-spacing: 1px;
	line-height: 25px;
	color: #fff;
	font-weight: bold;
	font-size: 10px;
}


#linkbar1 ul li a:visited {
	color: #fff;
	text-decoration: none;
}


#linkbar1 ul li a:hover {
	background-color: #1e700e;
	border-top: #1e700e;
}

#linkbar1 li.inline, #linkbar1 li.inline a  {
	display: inline;
	font-weight: normal;
	text-align: center;
	float: left;
	font-size: 9px;
	text-decoration: none;
	line-height: 25px;
	color: #fff;
	width: 50px;
	min-width: 50px;
	max-width: 50px; 
	border: 0;
}
#linkbar1 ul li.inline a:hover {
	background-color: #57a14c;
}
#linkbar2 a, #linkbar2 {
	height: 20px;
	padding: 0;
	text-align: center;
	line-height: 20px;
	color: #000;
	font-weight: normal;
	font-size: 11px;
	letter-spacing:1px;
}
#linkbar2 a:hover {
	text-decoration: none;
}

#linkbar2 span.inline, #linkbar2 span.inline_auth {
	background: #D9EBD6;
	float: right;
}
#linkbar2 span.inline a, #linkbar2 span.inline_auth {
	line-height: 20px;
	color: #666;
	text-decoration: none;
}
#linkbar2 span.inline_auth a {
	color: red;
	font-weight: bold;
}
#linkbar2 span.inline a:hover, #linkbar2 span.inline_auth a:hover {
	text-decoration: underline;
}
table#hallitus {
	text-align: left;
	width: 100%;
}

table#hallitus td.kuva {
	text-align: center;
}

table#hallitus td {
	vertical-align: top;
}

table.tentti {
	width: 450px;
}
table.tentti tr.kurssi {
	background-color: #D9EBD6;
}
table.tentti td {
	padding: 5px;
}


h1, h2, h3, h4, h5, h6	{
	font-family: 	Avenir, "Gill Sans", Myriad, Arial, "Bitstream Vera Sans", Helvetica, sans-serif;
	font-weight: normal;
	margin-top: 25px;
	margin-bottom: 2px;
	letter-spacing: 1px;
}
h1 {
	font-size: large;
	border-bottom: 1px solid black;
	margin-right: 270px;
}

h2 {
	font-size: medium;
	font-weight: bold;
}

h3 {
	font-size: small;
	font-weight: bold;
}

.copytext {
	font-style: italic;
}

#footer {
	margin: 0px
	padding-top: 2px;
	padding-bottom: 2px;
	margin-top: 10px;
	background-color: #57a14c;
	font-size: 11px;
	color: #ffffff;
	text-align: center;
	float: bottom;
	width: 780px;
}
#footer a, #footer a:visited {
	color: #fff;
}
#footer a:hover, #footer a:active {
	color: #fff;
	text-decoration: none;
}
#footer span.copytext {
	float: right;
	margin-right: 4px;
}

#footer span.webmaster {
	clear: right;
	float: left;
	margin-left: 4px;
}

#print_header {
	display: none;
}
#print_header_text {
	display: none;
}
#print_header_address {
	display: none;
}
div.docdisp {
	background: #fff;
	border: 1px solid  #BADFB5;
	width: 80%;
	margin: 10px auto 10px auto;
	padding: 10px;
}
div.docdisp pre {
	max-width: 600px;
}

div#dummy_ie_wrapper {
	text-align: center;
}

input.button, input.text {	
	border: 1px solid black;
	font-weight: bold;
	font-size: 10px;
}

table#paivystys {
	margin: 0 auto;
	border: 1px solid #BADFB5;
	padding: 2px;
	width: 700px;
}
table#paivystys td, table#paivystys th {
	border: 1px solid #BADFB5;
	text-align: center;
}
table#paivystys th, table#paivystys td.aika {
	background: #57a14c;
	padding: 4px;
	border: 0;
	font-weight: normal;
}
table#paivystys td.aika {
	width: 50px;
}

div.rss-syote {
    clear: both;
    width: 730px;
    text-align: right;
    font-size: small;
}
div.rss-syote a, div.rss-syote a:visited {
    color: #ccc;
}
p.syndinfo {
	color: #666;
	font-size: 0.8em;
}
p.syndinfo a {
	color: #999;
}
ul.syndikointi {
	list-style-type: none;
}
ul.syndikointi li {
	font-size: 1.2em;
}
ul.syndikointi a {
	text-decoration: underline;
	}
ul.syndikointi a:hover {
	text-decoration: none;
	}
ul.syndikointi a:visited {
	color: #666;
	}

div.bigbanner
{
    margin: 0px 10px 0px 10px;
    width: 760;
    text-align: center;
}
