/* llmatt CSS */

html, body {
	height: 100%;
}

body {
	background-repeat: repeat;
	background-image: url('img/taustis2.jpg');
	background-color: #f1dfc6;
	margin: 0;
	padding: 0;
	font: 70%/160% Verdana, Arial, Helvetica, sans-serif;
}

/* main structure */

#wrapper {
	position: relative;
	margin: 0px auto;
	padding: 0;
	width: 100%;
	border: 0px;
	min-height: 100%;
	height: 100%;
}

#columnwrapper {
	margin: 0 auto;
	width: 830px;
	background-color: #fff;
}

#header {
	margin: 0 auto;
	width: 830px;
	height: 237px;
	background-image: url('img/header5.gif');
	background-repeat: no-repeat;
	margin-top: 20px;
}

#nav {
	margin: 0 auto;
	width: 694px;
	height: 45px;
}

#leftcolumn {
	float: left;
	width: 140px;
	background-color: #fff;
	padding-left: 25px;
}

#rightcolumn {
	float: right;
	width: 520px;
	background-color: #fff;
	padding-right: 20px;
}

#footer {
	margin: 0 auto;
	width: 830px;
	height: 25px;
	background-image: url('img/footer2.gif');
	margin-bottom: 50px;
}

#agenda {
	width: 500px;
	background-color: #f6f7d0;
	border: 1px solid #ddd;
	margin-left: 20px;
	padding: 0;
}

/* sidebar list styles */

#sidebar ul {
	margin: 0;
	padding: 0;
}

#sidebar ul li ul li {
	margin: 0 0px 0 20px;
	padding: 0;
}

#sidebar li {
	margin: 0;
	padding: 0;
	list-style: none;
}

#sidebar .page_item a {
	color: #FBB040;
	text-decoration: none;
	font-weight: bold;
}

#sidebar a {
	color: #FBB040;
	text-decoration: none;
	font-weight: bold;
}

#sidebar a:hover {
	color: #41ad49;
	text-decoration: none;
	font-weight: bold;
}

#sidebar .current_page_item a {
	color: #41ad49;
	text-decoration: none;
	font-weight: bold;
}
#sidebar .current_page_item ul.children a {
	color: #FBB040;
}
#sidebar .current_page_item ul.children a:hover {
	color: #41ad49;
}

/* header links */

#link_puoti {
	display: block;
	position: absolute;
	margin-top: 135px;
	margin-left: 265px;
	width: 50px;
	height: 25px;
}

#link_kurssit {
	display: block;
	position: absolute;
	margin-top: 135px;
	margin-left: 350px;
	width: 64px;
	height: 25px;
}

#link_teemaillat {
	display: block;
	position: absolute;
	margin-top: 135px;
	margin-left: 445px;
	width: 94px;
	height: 25px;
}

#link_hoidot {
	display: block;
	position: absolute;
	margin-top: 135px;
	margin-left: 570px;
	width: 60px;
	height: 25px;
}

#sidebar {
	color: #ef9c18;
	width: 180px;
}

#sidebar p {
	margin: 0;
	padding: 0;
}

.post {
	margin: 0;
	padding: 0;
}

/* links */

#rightcolumn a {
	color: #FBB040;
	text-decoration: none;
}

#rightcolumn a:hover {
	color: #7ccd4a;
	text-decoration: underline;
}

/* curved box styles */

.curveBox { 
	position: relative; 
	width: 520px; 
	background: #f8fac0; 
	color: #41ad49; 
	margin: 0;
	padding: 0;
	float: right;
}

#cv1, #cbl, #ctr, #cbr {
	position: absolute; 
	width: 20px; 
	height: 20px; 
	color: #3399FF; 
	background: #fff; 
	overflow: hidden; 
	font-style: normal; 
	z-index: 1;
}
#cv1 {
	top:0; 
	left:0;
}

#cbl {
	bottom:0; 
	left:0;
}

#ctr {
	top:0; 
	right:0;
}

#cbr {
	bottom:0; 
	right:0;
}
.curveBox em b {
	position:absolute; 
	font-size:150px;
	font-family:arial;
	color:#f8fac0; 
	line-height:40px; 
	font-weight:normal;
 }
 
#cv1 b {left:-8px;}
#ctr b {left:-25px;}
#cbl b {left:-8px; top:-17px;}
#cbr b {left:-25px; top:-17px;}

.curveBox p {position:relative; z-index:100; padding:10px 20px; margin: 0;}

.clear {
	clear: both;
}

/*agenda curved */

.curveBox2 { 
	position: relative; 
	width: 490px; 
	background: #feffed; 
	color: #41ad49; 
	margin: 0 auto;
	padding: 0;
	padding-bottom: 12px;
}

#cv1_2, #cbl_2, #ctr_2, #cbr_2 {
	position: absolute; 
	width: 20px; 
	height: 20px; 
	color: #3399FF; 
	background: #f8fac0; 
	overflow: hidden; 
	font-style: normal; 
	z-index: 1;
}
#cv1_2 {
	top:0; 
	left:0;
}

#cbl_2 {
	bottom:0; 
	left:0;
}

#ctr_2 {
	top:0; 
	right:0;
}

#cbr_2 {
	bottom:0; 
	right:0;
}
.curveBox2 em b {
	position:absolute; 
	font-size:150px;
	font-family:arial;
	color:#feffed; 
	line-height:40px; 
	font-weight:normal;
 }
 
#cv1_2 b {left:-8px;}
#ctr_2 b {left:-25px;}
#cbl_2 b {left:-8px; top:-17px;}
#cbr_2 b {left:-25px; top:-17px;}

.curveBox2 p {position:relative; z-index:100; padding:10px 20px; margin: 0;}

/* comment styles */

#commentform {
	margin-bottom: 30px;
}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 0;
	}

#commentform textarea {
	width: 400px;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: left;
	}

/* header styles */

h4 {
	font: 160% Verdana, Arial, Helvetica, sans-serif;
	color: #BD644B;
	margin: 0;
	padding: 0;
	margin-left: 20px;
	margin-top: 8px;
}

h3 {
	margin: 0 0 5px 0;
	padding: 0;
	font: 110% Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
}

h2 {
	margin: 0 0 0 20px;
	padding: 0;
	font: 160% Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
}

h1 {
	font: 160% Verdana, Arial, Helvetica, sans-serif;
	color: #ef9c18;
}

small {
	margin-left: 20px;
}

/* lines & borders */

.green {
	border: 1px solid #7ccd4a;
	width: 155px;
	text-align: left; /*this will align it for IE*/
	margin: 8px auto 8px 0; /*this will align it left for Mozilla*/
}
