﻿.clear {
    clear: both;
    font-size: 1%;
    line-height: 1%;
    overflow: hidden;
    height: 0px;
}

.h1px {
	height: 1px;
}

.grayBg {
	background: transparent url(../images/gray-bg.jpg) repeat left top;
}

.floatLeft {
	float: left;
}

.floatRight {
	float: right;
}

.errors li {
	font-style: italic;
	color: #c50000;
}

.mainOuterWrapperMinHeight {
	float: left;
	width: 0px;
	height: 400px;
}

/* osio- ja päänavigaatio */
#homeLink a {
	display: block;
	height: 35px;
	line-height: 35px;
	font-size: 13px;
	width: 60px;
	background: transparent url(../images/homelink-bg.png) no-repeat left top; 
	text-indent: -999em;
}

#homeLink a:hover {
	background-position: left bottom; 
}

#navigation h1.blockTitle, #navigation2 h1.blockTitle, #mainNavigation h1.blockTitle, #subNavigation h1.blockTitle {
	display: none;
}

#navigation li, #navigation2 li {
	height: 35px;
	list-style-type: none;
	list-style-image: none;
}

#navigation ul, #navigation2 ul {
	height: 35px;
	padding: 0 5px;
}

#navigation li a, #navigation2 li a {
	text-transform: uppercase;
	height: 35px;
	line-height: 37px;
}

#navigation li a {
	width: 320px;
	background: transparent url(../images/navigation-a-bg.png) no-repeat left top;
}

#navigation2 li a {
	width: 300px;
	background: transparent url(../images/navigation-2-a-bg.png) no-repeat left top;
}

#navigation li a:hover, #navigation li a.active, #navigation2 li a:hover, #navigation2 li a.active  {
	background-position: left bottom;
}

#navigation li a, #navigation2 li a, #mainNavigation li a {
	font-size: 13px;
	display: block;
}

#mainNavigation li {
	background: transparent url(../images/navigation-li-hover-bg.png) no-repeat right top;
}

#mainNavigation li a:hover {
	background: transparent url(../images/navigation-li-hover-bg.png) no-repeat right top;
}

#mainNavigation li a {
	height: 46px;
	line-height: 30px;
	padding: 0 20px;
	background: transparent url(../images/navigation-li-hover-bg.png) no-repeat right -300px;
}

#mainNavigation li a.active {
	padding-right: 19px;
	margin-right: 1px;
	background: transparent url(../images/mainnavigation-active-bg.png) no-repeat center bottom;
}


#mainNavigation .navigation {
	width: 970px;
	height: 46px;
	background: transparent url(../images/mainnavigation-bg.jpg) left top;
}

#mainNavigation ul {
	height: 46px;
	padding: 0 25px;
	list-style-type: none;
	list-style-image: none;
} 

#mainNavigation li {
	height: 46px;
	list-style-type: none;
	list-style-image: none;
	background: transparent url(../images/navigation-li-bg.jpg) no-repeat right 1px;
}

#subNavigation .navigation {
	background: transparent url(../images/subnavigation-top-bg.png) no-repeat left top;
	padding-top: 15px;
	min-height: 1px;
}

#subNavigation ul {
	background: transparent url(../images/subnavigation-bg.png) repeat-y left top;
	width: 240px;
	display: block;
	clear: both;
}

#subNavigation ul li {
	background: transparent url(../images/subnavigation-li-bg.jpg) no-repeat left top;
	width: 210px;
	margin-left: 15px;
	height: 30px;
	list-style-type: none;
	list-style-image: none;
	list-style-position: outside;
	display: block;
	clear: both;
}

#subNavigation ul li a {
	line-height: 30px;
	font-size: 12px;
	padding-left: 20px;
	display: block;
	height: 30px;
}

#subNavigation ul li a:hover, #subNavigation ul li a.active {
	background: transparent url(../images/subnavigation-li-bg.jpg) no-repeat left bottom;
}

#subNavigation ul ul {
	background: none;
	padding-top: 0;
	padding-left: 0;
}

#subNavigation ul ul li {
	background: transparent url(../images/subnavigation-li-li-bg.jpg) no-repeat left top;
	padding-top: 0;
	padding-left: 0;
}

#subNavigation ul ul li a {
	padding-left: 40px;
}

#subNavigation ul ul li a:hover, #subNavigation ul ul  li a.active {
	background: transparent url(../images/subnavigation-li-li-bg.jpg) no-repeat left bottom;
}

#subNavigation .blockBody{
	padding-bottom: 15px;
	background: transparent url(../images/subnavigation-footer-bg.png) no-repeat right bottom;	
}

/* päänavigaatio loppu */

/* horizontal menu */

ul.horizontal li {
	float: left;
	text-align: center;
	list-style-position: outside;
}

ul.horizontal li a {
	text-align: center;
	float: left;
}

/* horizontal menu loppu */

/* navigaatio yleiset */
.navigation a {
	text-decoration: none;
}

.navigation .selected a {
	color: #ffffff;
}

.navigation a:link {color: #dddddd}
.navigation a:visited {color: #dddddd}
.navigation a:hover {color: #ffffff}
.navigation a:active {color: #dddddd}
/* navigaatio yleiset loppu */

/* quicklinks */
.blockBoxHeader {
	font-size: 13px;
	line-height: 30px;
	text-transform: uppercase;
	text-align: center;
	color: #706f6e;
	padding-top: 5px;
}

.quickLinkLink {
	font-size: 12px;
	line-height: 17px;
	text-align: right;
	float: left;
	width: 290px;
}

#quickLinks a {
	color: #e20916;
}

#quickLinks .quickLinksWrapper {
	padding: 15px 10px 0 20px;
}

.ql1, .ql2, .ql3 {
	padding:0 10px 0 20px;
}

.blockBox {
	width: 240px;
}

.blockBoxHeader {
	background: transparent url(../images/block-top-bg.png) no-repeat left bottom;
	height: 40px;
	width: 240px;
}

.blockBoxWrapper {
	background: transparent url(../images/block-bg.png) repeat-y left top;
	width: 240px;
}

.blockBoxContent {
	padding: 0 15px;
}	

.blockBoxFooter {
	background: transparent url(../images/block-footer-bg.png) no-repeat left top;
	height: 15px;
	line-height: 1px;
	width: 240px;
}

.centerBarTop {
	background: transparent url(../images/content-box-top-bg.jpg) no-repeat left top;
	height: 45px;
}

.contentAreaWrapper {
	width: 720px;
	background: transparent url(../images/content-box-wide-bg.png) repeat-y left top;
}

.contentArea {
	padding: 0 15px;
	background: transparent url(../images/content-box-bg.jpg) repeat-y left top;
}

.centerBarFooter {
	background: transparent url(../images/content-box-footer-bg.jpg) no-repeat left bottom;
	height: 15px;
}

#centerBarWide .centerBarTop {
	background: transparent url(../images/content-box-top-wide-bg.png) no-repeat left bottom;
	height: 45px;
}

#centerBarWide .centerBarFooter {
	background: transparent url(../images/content-box-footer-wide-bg.png) no-repeat left top;
	height: 15px;
}

#centerBarWide .contentArea {
	background: none;
	padding: 0 15px;
}

/* quicklinks loppu */

/* news block */
p.articleDate {
	padding-bottom: 3px;
	color: #a1a1a1;
	font-size: 11px;
	line-height: 15px;
}

.articles {
}

.article {
	width: 190px;
	padding-left: 20px;
	background: transparent url(../images/bullet.gif) no-repeat 0 4px;
}

.contentArea .article {
	width: 430px;
}

.contentArea .articleHr {
	height: 5px;
	background: transparent url(../images/block-content-hr-bg.jpg) repeat-x center center;
	padding: 10px 0 15px; 
}

.articleHr {
	height: 5px;
	background: transparent url(../images/block-hr-bg.jpg) no-repeat center center;
	padding: 0 0 15px; 
}

.articleHr:last-child {
	display: none;
}

.articleTeaser p {
	padding-bottom: 0.5em;
}

.pager a {
	padding: 0 5px;
}

a.readMore {
	color: #666666;
	font-size:14px;
	letter-spacing:-0.5px;
	line-height:21px;
}

a.readMore:hover {
	color: #8b070e;
}
	
/* news block loppu */

#block-breadcrumbs .blockTitle {
	display: none;
}

#block-breadcrumbs {
	padding: 5px 15px 0;
}

#block-breadcrumbs a.current {
	color:#706F6E;
	font-size:13px;
	line-height:30px;
	padding-top:5px;
	text-align:center;
	text-transform:uppercase;
}

#block-breadcrumbs a {
 	color: #91908f;
 	line-height: 30px;
 	font-size: 9px;
}

#block-breadcrumbs a:hover {
	color: #8b070e;
}

#registrationForm {
    margin-top: 10px;
}

#registrationForm dd {
    margin-bottom: 10px;
}

#registrationForm dd label {
    margin-top: 4px;
    display: block;
    font-size: 10px;
}
#registrationForm dd label input {
    margin-right: 5px;
}