@import url("reset.css");

/* =====================
	BASE STYLES
======================== */

html {
	background: url(../img/bg-content.jpg) repeat-y top center #ccc;
}

body {
	background: url(../img/body-bg.jpg) repeat-x top left transparent;
	font-size: 16px;
	line-height: 1.4;
	font-family: Arial, Verdana, Helvetica, 'Helvetica Neue', sans-serif;
	color: #000;
	}

#outer-wrapper {
	background: url(../img/bg.jpg) no-repeat top center;
	}

#wrapper {
	font-size: 14px;
	margin: 0 auto;
	}

a,a:visited {
	color: #000;
	text-decoration: none;
	}

a:hover {
	text-decoration: underline;
	}

.group {
	display: block;
	float: left;
	}

hr.clear {
	clear: both;
	width: 0;
	height: 0;
	border: 0;
	padding: 0;
	margin: 0;
	}

/* =====================
	BLOCKS
======================== */

#header {
	background: url(../img/header.jpg) no-repeat top left;
	height: 185px;
	position: relative;
}

#wrapper {
	padding-top: 10px;
}

#wrapper,
#header,
#content,
#footer {
	width: 960px;
	}

#content,
#themeimage {
	margin-bottom: 35px;
	}

#content-left {
	width: 220px;
	margin: 0 25px 0 0;
	}

#content-middle {
	width: 650px;
	}

.with_right {
	width: 470px !important;
	margin: 0 25px 0 0 !important;
	}

#content-right {
	width: 220px;
	}
	
#footer-wrapper {
	width: 100%;
	overflow: hidden;
	background: #000;
}

#footer {
	margin: 0 auto;	
	padding: 5px 0;
	font-size: 0.8em;
	color: #fff;
	}

/* =====================
	LOGO
======================== */

#logo {
	background: url(../img/logo.png) no-repeat top left;
	margin: 45px 0 0 0;
	font-size: 28px;
	line-height: 28px;
	width: 655px;
	letter-spacing: 0;
	font-family: Helvetica, 'Helvetica Neue', Arial, Verdana, Sans-serif;
	letter-spacing: -1px;
	font-weight: bold;
	width: 370px;
	height: 70px;
	text-indent: -9999px;
	}

#logo a {
	display: block;
	width: 370px;
	height: 70px;
	text-decoration: none;
	color: #000;
	}

/* =====================
	NAVIGATION
======================== */

#nav {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 960px;
	height: 40px;
	background: url(../img/navi-bg.jpg) no-repeat top left;
	}

#nav li {
	display: block;
	float: left;
	}

#nav li a {
	display: block;
	background: url(../img/button-bg.jpg) no-repeat top right;
	padding: 0 10px;
	text-decoration: none;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	height: 40px;
	line-height: 40px;	
	}

#nav li a.level1-onpath,
#nav li a.level1-onpath:hover {
	background: url(../img/button-bg-hover.jpg) no-repeat top right;
	color: #ffc845;
	}

#nav li a:hover {
	background: url(../img/button-bg-hover.jpg) no-repeat top right;
	color: #ffc845;
	}

#nav li a.level1-first {
	background: url(../img/navi-first-bg.jpg) no-repeat top left;
	}

#nav li.level1-onpath a.level1-first,	
#nav li a.level1-first:hover {
	background: url(../img/navi-first-bg.jpg) no-repeat bottom left;
	}

#nav li.level1-first {
	background: url(../img/navi-first-bg.jpg) no-repeat top right;
	}
	
#nav li.level1-first a.level1-first {
	margin-right: 2px !important;
	padding-right: 10px !important;
	}

#nav li.level1-onpath a.level1-first,	
#nav li a.level1-first:hover {
	background: url(../img/navi-first-bg.jpg) no-repeat bottom left;
	margin-right: 2px !important;
	padding-right: 10px !important;
	}

/* =====================
	SIDE MENU
======================== */

.sidemenu-items {
	display: block;
	margin-bottom: 15px;
	}

.sidemenu-items li {
	display: block;
	}

.sidemenu-items li a {
	text-decoration: none;
	color: #000;
	font-size: 14px;
	line-height: 17px;
	padding: 6px 0;
	display: block;
	border-bottom: 1px dotted #d6d6d6;
	}

.sidemenu-items a.level1-onpath,
.sidemenu-items a.level1-onpath:hover,
.sidemenu-items a.level2-onpath,
.sidemenu-items a.level2-onpath:hover,
.sidemenu-items a.level3-onpath,
.sidemenu-items a.level3-onpath:hover,
.sidemenu-items a.level4-onpath,
.sidemenu-items a.level4-onpath:hover
        {
	border-bottom: 1px dotted #d6d6d6;
	color: #cc9900;
	}

.sidemenu-items li a:hover {
	text-decoration: underline;
	}

.sidemenu-items a.level2,
.sidemenu-items a.level3,
.sidemenu-items a.level4 {
	display: block;
	padding: 2px 0;
	border-bottom: 0 !important;
	background: none !important;
	font-size: 14px;
	}

.sidemenu-items a.level2-first {
	margin-top: 10px;
	}

.sidemenu-items a.level2-here,
.sidemenu-items a.level3-here,
.sidemenu-items a.level4-here {

	}
	
.sidemenu-items ul li ul.sidemenu-items {
	display: block;
	margin-bottom: 15px;
}

/* =====================
	SEARCH
======================== */

#search {
	margin: 43px 0 10px 0;
	float: right;
	width: 230px;
	height: 22px;
	}

#search .go,
#search .q {
	float: right;
	margin: 0;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	}

#search .go {
	margin-left: 5px;
	height: 28px;
	padding: 0 10px;
	color: #fff;
	background: #9f9f9f;
	border: 0;
	cursor: pointer;
	}

#search .go:hover {
	background: #000;
	cursor: pointer;
	}
	
#search .q {
	padding: 5px 10px;
	background: #fff;
	border: 1px solid #b2b2b2;
	width: 130px;
	color: #5b5b5b;
	}

#search .q:focus {
	border: 1px solid #000;
	}

/* =====================
	TYPOGRAPHY
======================== */

.token a {
    text-decoration: underline !important;
}

p,
div.row {
	font-size: 16px;
	}

tr.row td { padding-bottom: 15px; }
tr.row td.icon { padding-right: 15px; }

h1,h2,h3,h4,h5,h6 {
	color: #333;
	font-family: bebas-neue, Arial, Helvetica, 'Helvetica Neue', Verdana, Sans-serif;
	font-weight: normal;
	}

h1 { font-size: 34px; line-height: 30px; margin-bottom: 20px; }
h2 { font-size: 32px; }
h3 { font-size: 24px }
h4 { font-size: 16px }
h2,h3,h4 { margin-bottom: 10px }

#wrapper #content .token-Content .content-container ul {
	margin: 20px 18px;
	list-style-type: square;
	}

#wrapper #content .token-Content .content-container ol {
	margin: 20px 24px;
	list-style-type: decimal;
	}

#wrapper #content .token-Content .content-container ul ul,
#wrapper #content .token-Content .content-container ol ul {
	margin: 0;
	list-style-type: circle;
	}

#wrapper #content .token-Content .content-container li {
	padding-left: 5px;
	line-height: 1.4;
	}

#wrapper #content .token-Content .content-container ul ul li,
#wrapper #content .token-Content .content-container ol ul li {
	margin-left: 20px;
	}

#footer a {
	text-decoration: none;
	color: #fff;
	}

#footer #poweredby {
	margin-left: 20px;
	float: right;
	}

/* =====================
	APP / NEWS
======================== */

.token-News .liitteet a {
    line-height: 35px;
}

.token-News .liitteet .icon {
    float: left;
	padding-right: 10px;
}

/* nav-path */
.navpathcontainer {
	clear: both;
	overflow: hidden;
	padding: 15px 0;
}
.navpath .navpath-separator span {
	color: #fac027;
}
.navpath .navpath-title,
.navpath .navpath-title a {
	font-size: 12px;
	color: #666666;
}

/* sis�lt�tyylit */
#content-left {
	
}
#content-middle {
	
}
#content-right .token-Content h2 {
	font-size: 24px;
	border-bottom: 4px solid #ffc845;
}
#content-left p,
#content-right p {
	font-size: 16px;
	line-height: 20px;
	margin: 0;
}
#content-left .token,
#content-right .token {
	margin-bottom: 27px;
}

/* taulukko */
.d4contentTable {
	border-top: 1px solid #93835b;
	border-bottom: 1px solid #bcbcbc;	
}
.d4contentTable caption {
	color: #333;
	font-family: bebas-neue, Arial, Helvetica, 'Helvetica Neue', Verdana, Sans-serif;
	text-align: left;
	font-size: 24px;
	text-transform: uppercase;
}
.d4contentTable th {
	background: url(../img/table-header-bg.jpg) top left no-repeat #ffc845 !important;
	color: #000;
	text-transform: uppercase;
	font-weight: bold;
	text-align: left;
}
.d4contentTable tr.even {
	background: #eee;
}
.d4contentTable tr.hover {
	background: #ffd570;
}
table.d4contentTable th, table.d4contentTable td {
	padding: 4px 7px 3px 15px !important;
	font-size: 13px;
}

.d4contentTable th.first {
	background-image: none !important;
}

.d4contentTable td,
.d4contentTable td p,
.invisible,
.invisible p,
.content-container table {
    font-size: 12px !important;
}

/* etusivu */
.variant-frontpage .with_right {
	width: 700px !important;
	margin: 0 40px 0 0 !important;
}
.variant-frontpage #content {
	padding-top: 20px;
}
.variant-frontpage #content-middle {
	padding-top: 10px;
}
.variant-frontpage #content-left .banner,
.variant-frontpage #content-right .banner {
	text-align: left !important;	
}

#token-1552536 {
	margin-bottom: 0 !important;
}
#token-1552491 {
	padding-left: 16px;
	margin-bottom: 37px;
}
#token-1552491 h2 {
	font-size: 50px;
	line-height: 50px;
	margin-top: 12px !important;
	margin-bottom: 0 !important;
	color: #ffc845;
	font-family: bebas-neue, Arial;
}
#token-1552491 .content-container div {
	font-size: 16px;
	line-height: 24px;
}
#token-1552491 h3 {
	font-size: 35px;
	line-height: 35px;
	margin: 0;
	color: #333;
	font-family: bebas-neue, Arial;
}
#token-1552530 h4 {
	font-size: 36px;
	line-height: 36px;
	color: #ffc845;
	font-family: bebas-neue, Arial;	
}

.referenssit {
	width: 960px;
	overflow: hidden;
	padding: 0 10px;
}