.clear {
    clear: both;
    font-size: 1%;
    line-height: 1%;
    overflow: hidden;
    height: 1px;
}

.floatLeft {
	float: left;
}

/* navigaatiot */
#esittely #navigation {
	background:transparent url(../images/eu_fin.jpg) no-repeat scroll left bottom;
	padding-bottom:70px;
}

#esittely.en #navigation {
	background:transparent url(../images/eu_en.jpg) no-repeat scroll left bottom;
	padding-bottom:90px;
}

.navigation .blockTitle {
	display: none;
}

ul.horizontal li {
	float: left;
	margin-right:0.5em;
}

ul.horizontal {
	height: 45px;
}

#subnavigation .navigation li, .articles .pager, .guestBook .pager {
	font-size: 21px;
	line-height: 21px;
	height: 30px;
}

#subnavigation .navigation li, .articles .pager {
	margin-bottom: 15px;
}

.pager span, .pager a {
	margin-right: 0.5em;
}

.pager .selected {
	font-weight: bold;
}

#navigation .navigation li {
	font-size: 30px;
	line-height: 30px;
	width: 240px;
	display: block;
}

#navigation .navigation li a.active {
	background: transparent url(../images/navi_active.jpg) left bottom no-repeat;
}

#navigation .navigation li a.active:hover {
	color: #1e1d4f;
}

#navigation .navigation li {
	margin-bottom: 5px;
}
/* navigaatiot loppu */

/* kuvan kustomoidut reunat */

.imgHead, .tl, .tr,
.imgFoot, .bl, .br { line-height: 0; font-size: 0; height: 20px; }

.imgContain { background: url(../images/border_right.jpg) right repeat-y; }
.imgBorder, .guestBook { border: 0px none; padding: 0 20px; background: url(../images/border_left.jpg) left repeat-y; }
.imgHead { background: url(../images/border_top.jpg) repeat-x; }
.tl { float: left; width: 20px; background: url(../images/border_top_left.jpg) no-repeat; }
.tr { float: right; width: 20px; background: url(../images/border_top_right.jpg) no-repeat; }
.imgFoot { background: url(../images/border_bottom.jpg) repeat-x; }
.bl { float: left; width: 20px; background: url(../images/border_bottom_left.jpg) no-repeat; }
.br { float: right; width: 20px; background: url(../images/border_bottom_right.jpg) no-repeat; }

.imgContain img { display: block; } /* Needs to be set in XHTML 1.0 Strict */

.imgContain .entry img {display: inline;}

.imgContain img.imgBorder {
	background: transparent url(../images/border_left.jpg) left repeat-y;
	padding: 0 20px;
}

.guestBook p {
	margin: 0;
}
/*kuvan kustomoidut reunat loppu */ 

/* artikkelit */
.article {
	margin-bottom: 2em;
}

.article .articleDate, #articleDate, .entry .entryDate {
	margin-top: 7px;
	font-size: 12px;
	line-height: 14px;
	color: #1e1d4f;
	margin-bottom: 1em;
}

#esittely .article .floatLeft {
	float: none;
}

#esittely .article .imgContain {
	margin: auto;
}

.article .imgContain {
	float: left;
	margin-top:-5px;
}

.article .textContent {
	margin-left: 10px;
}

.article h1, .entry h1 {
	margin-bottom: 0em;
}

#articleItem #articleBody .imgContain {
	float: right;
}
/* artikkelit loppu */

.fi a.back, .en a.back {
	text-indent: -999em;
	display: block;
	width: 170px;
	height: 30px;
	float: left;
	margin-bottom: 1em;
	overflow: hidden;
}

.fi a.back {
	background: transparent url(../images/back.jpg) left top no-repeat;
}

.en a.back {
	background: transparent url(../images/back_en.jpg) left top no-repeat;
}

a.back:hover {
	background-position: left bottom;
}

/* kustomoidut input kentät */
.fi #send, .en #send {
	text-indent: -999em;
	border: none 0px;
	width: 70px;
	height: 30px;
	overflow: hidden;
	display: block;
}

.fi #send {
	background: transparent url(../images/send.jpg) left top no-repeat;
}

.en #send {
	background: transparent url(../images/send_en.jpg) left top no-repeat;
}	

#send:hover {
	background-position: left bottom;
}

.feedback input {
	width: 250px;
}

.feedback dd {
 	margin-bottom: 1em;
}
 
ul.errors li {
 	color: #FF0000;
	font-size: 12px;
	font-style: italic;
}
 
 /* input loppu */

.en div.feedback {
 	background: transparent url(../images/feedback_bg_en.jpg) right top no-repeat;
}
 
div.feedback {
 	background: transparent url(../images/feedback_bg.jpg) right top no-repeat;
}
 
#block-esittely {
 	margin-top: 1em;
 	float: left;
	width: 360px;
}
 
#esittely .articles {
 	float: left;
	width: 300px;
	margin-left: 20px;
	margin-top: 1em;
}
 
#esittely .article .textContent {
	float: left;
	width: 300px;
}

div.related {
	margin-bottom: 2em;
}

dt label {
	font-weight: bold;
}

dt {
	margin: 1.5em 0 0.5em;
}

#block-b110 {
	text-align: left;
	font-size: 14px;
	line-height: 20px;
	font-family: Arial, Helvetica, sans-serif;
	color: #333333;
}

#header #langBar {
	padding-right: 7px;
	padding-top: 3px;
	text-align: right;
	height: 40px;
	background: transparent url(../images/kielivalinta.jpg) no-repeat right top;
}

#header #langBar a{
	background: transparent url(../images/navi_separator.jpg) no-repeat scroll left top;
	padding: 0 0.3em 0 0.5em;
}

#header #langBar a:first-child {
	background: none;
}

#header #langBar a.selected {
	text-decoration: none;
	color: #ff8540;
	font-weight: bold;
}

.fi .testComments {
	height: 60px;
	background: transparent url(../images/comments.jpg) no-repeat scroll left top;
}

.en .testComments {
	height: 60px;
	background: transparent url(../images/comments_en.jpg) no-repeat scroll left top;
}

#block-kilpailuLeipis {
	float: left;
	width: 360px;
	margin-top: 1em;
}

#block-toivepalstaHeader, #p78 .articles {
	margin-top: 1em;
	margin-left: 20px;
    float: left;
    width: 300px;
}