body {
	font-family: Verdana, Arial, sans-serif;
	font-size: 0.6em;
	border-left:1px solid #DDDDDD;
	border-right: 1px solid #DDDDDD;
}

html,body {
	height:auto;
}

html {
	background-color: #999;
	background-image: url("/kkmediat/images/bg.jpg");
	background-repeat: repeat-x;
	background-position: 0 0;
}

body {
	width: 755px;
	margin:auto;
	padding-left:20px;
	background-color:white;
	height:100%;
}

#logo {
	display:block;
	background-color: white;
	padding-top:5px;
	width:755px;
}

#selectLang {
	text-align:right; 
	margin-top:-10px;
	color:#BBB;
	width:740px;
	border:0px;
	margin-bottom:0px;
}

#navbarFin{
	background-color: #DDDDDD;
	height: 20px;
	width: 750px;
	font-weight: bold;
	padding: 2px;
	margin-top:5px;
	margin-bottom:5px;
}




#main {
	width: 755px;
	margin:auto;
	background-color:white;
	height: 1150px;

}



#upperAd {
	background-color: white;
}

#maintext {
	background-color: white;
	border-right: thin dotted #CCCCCC;		
	width:70%;
	padding-top:10px;
	padding-right:10px;
	padding-left:4px;
	margin-right:0px;	
	float:left;
}

#right {
	background-color: white;
	padding-top:10px;
	margin-left: 10px;
	width:25%;	
	float:left;
}







#maintext2 {
	display: block;
	background-color: white;
	width:55%;
	float:left;
	padding-top:10px;
	padding-right:10px;
	
}



#right2 {
display: block;
	float: left;
	width:40%;	
	padding-top:10px;
	padding-left:5px;
	margin-left: 10px;
	background-color: white;
	border-left: 2px dotted #CCCCCC;		
}

#kurssiesittely {
	display: block;
	position: absolute; 
	top: 240px;
	left: 150px;
	background-color: white;
	border-left: thin dotted #CCCCCC;
	border-right: thin dotted #CCCCCC;	
	height: 750px;
	width: 550px;
	padding-left: 10px;
	padding-right: 10px;
	z-index: 24;
}

.kurssikuvaus {
	background-color: beige;
}

.kurssikuvaus li {
	margin-left:-20px; 
}





#navbarFin a{
	color: black;
	text-decoration: none;
}

#navbarFin a:hover {
 background-color: #CCCCCC;
 padding-top:3px; 
 padding-bottom:8px;
}

#navbarEng{
	background-color: #DDDDDD;
	height: 20px;
	width: 750px;
	font-weight: bold;
	padding-top: 3px;
	margin-top:5px;
	margin-bottom:5px;
}

#navbarEng a{
	color: black;
	text-decoration: none;
}

#navbarEng a:hover {
 background-color: #999999;
}




#maintext p img {
float: left; 
}

#maintext a {
	color: navy;
	text-decoration: none;
}



a {
	text-decoration: none;
	color: navy;
}

a:hover{
	color: red;
}

a:visited {
	color: #3399FF;
}



img {
	border: 0px solid;
}



.title {
	display: block;
	background-color: #CCCCCC;
	font-weight: bold;
	color: black;
}

#right p img {
	float: left;
}





h1 {
	background-color: #CC0000;
	color: white;
}

h1,h2 {
	font-size: 10px;
	font-weight:bold;
}


table {
	border: 1px solid gray;
}

th {
	color: white;
	background-color: gray;
	text-align:left;
	font-size:10px;
}

td {
	font-size:10px;
}

caption {
	caption-side:bottom;
	text-align:left;
	font-style:italic;
	font-size:10px;
}

.varaa {
	background-color:beige;padding-bottom:10px; padding-left:2px;margin-bottom:10px;
}

.varaa a {
	text-decoration:underline;
}


#maintext h1 a, #maintext2 h1 a {
	color:#ffffff;
	text-decoration:none;
}


blockquote {
	font-style:italic;
	margin-left:5px;
}


#maintext a {
	text-decoration:underline;
}

.viivaa {
	font-weight:normal;
	text-decoration:underline;
}

.korosta {
	font-size:9px;
	color:#990000;
	padding-left:15px;
	padding-right:15px;
	margin-top:20px;
	margin-bottom:20px;
	background-color:#FFFFCC;
	border:1px dotted #999999;
}

div#swf {
	position:absolute;
	height:610px;
	margin:auto;
	top:120px;
	right:26%;
	z-index:100;
	margin-bottom:230px;
}