 @import url("reset.css");

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

body {
	font-size: 62.5%;
	line-height: 1.4;
	font-family: "Lucida Grande", Arial, Verdana, Helvetica, 'Helvetica Neue', sans-serif;
	color: #5b5b5b;
	background: #063c6f;
	}

#bg-wrap {
	background: #b0d0e7 url(/res/default/img/tausta.jpg) repeat-x top;
}

#wrapper {
	font-size: 1.4em;
	margin: 0 auto;
	background: white;
	}

a,a:visited {
	color: #2194cd;
	text-decoration: underline;
	}

a:hover {
	text-decoration: none;
	}

#wrapper a:active {
	background: #fff !important;
	color: #333333 !important;
	}

#wrapper a:focus {
	outline: 1px dotted #333333;
	}

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

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

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

#wrapper,
#header,
#content {
	width: 950px;
	z-index
	}

#helpmenu {
	background: #1f5b94 url(/res/default/img/ylapalkki-tausta.jpg) no-repeat left top;
	height: 50px;
	border-bottom: 1px solid #063e72;
}

#helpmenu-items {
	margin-left: 15px;
	margin-top: 15px;
	float: left;
	color: #60948e;
}

#helpmenu-items a {
	color: white;
	font-family: "lucida grande", arial;
	text-decoration: none;
	margin: 0 5px;
}

#helpmenu-items a:hover {
	text-decoration: underline;
}

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

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

#content-middle {
	width: 650px;
	}

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

#content-right {
	width: 185px;
	}

#footer {
	background: #063c6f url(/res/default/img/footer-tausta.jpg) repeat-x top;
	width: 100%;
	padding: 25px 0 40px 0;
	font-size: 1.1em;
	text-align: center;
	}

#footer-inner {
	width: 820px;
	margin: auto;
	text-align: left;
	color: white;
}

#footer-inner a, #footer-inner a:visited {
	color: white;
	text-decoration: none;
}

#toptheme {
	position: relative;
}

#toptheme a#logo {
	display: block;
	text-indent: -9999px;
	width: 400px;
	height: 100px;
	position: absolute;
	left: 40px;
	top: 25px;
	z-index: 2;
}

#toptheme a#logo:active {
	background: none !important;
}

#header {
	position: relative;
	width: 100%;
	height: 46px;
	background: transparent url(/res/default/img/nav-tausta.jpg) repeat-x left top;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}


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

#nav {
	margin: 0;
	padding: 0px 0 0px 30px;
	height: 46px;
	margin-right: 200px;
	float: left;
	background: #2d5f8e url(/res/default/img/nav-tausta.jpg) repeat-x left top;
	}


#nav li {
	display: block;
	float: left;
	margin-top: 3px;
	overflow: hidden;
	}

#nav li a {
	display: block;
	background: transparent;
	padding: 11px 12px;
	text-decoration: none;
	border-right: 1px solid #1b4171;
	color: #fff;
	font-size: 0.9em;
	-webkit-box-shadow: 1px 0 rgba(255, 255, 255, 0.3);
	-moz-box-shadow: 1px 0 rgba(255, 255, 255, 0.3);
	box-shadow: 1px 0 rgba(255, 255, 255, 0.3);
	}

#nav li a.level1-onpath,
#nav li a.level1-onpath:hover {
	background: white;
	color: #333;
	}

#nav li a:hover {
	background: #2194CD;
	color: #fff;
	}

#nav li.level1-first {
	display: none;
}

#login {
	position: absolute;
	top: 10px;
	right: 40px;
	width: 430px;
	color: white;
}


/* =====================
	NAVPATH
======================== */

div.navpathcontainer {
	clear: both;
	border-bottom: 1px solid #ccc;
	background: #2d5f8e url(/res/default/img/navpath-tausta.jpg) repeat-x left top;
	height: 32px;
}

div.navpathcontainer a {
	text-decoration: none;
}

div.navpathcontainer a:hover {
	text-decoration: underline;
}

div.navpathcontainer div.navpath {
	padding: 6px 0 0 40px;
}

div.navpathcontainer div.sosmedia {
	float: right;
	padding: 6px 40px 0 0;
}

div.navpathcontainer div.sosmedia a {
	font-size: 12px;
	margin-left: 10px;
}

.navpath-title-here {
	display: none;
}

.navpath-title-last {
	display: inline;
}



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

#sidemenu {
	display: block;
	margin-bottom: 40px;
	}

#sidemenu li {
	display: block;
	}

#sidemenu li a {
	text-decoration: none;
	color: #333333;
	font-size: 0.9em;
	line-height: 17px;
	padding: 5px 0;
	display: block;
	border-bottom: 1px dotted #ababac;
	}

#sidemenu li.level1-onpath a,
#sidemenu li.level1-onpath a:hover {
	border-bottom: 1px dotted #ababac;
	background: #2194CD;
	color: #fff;
	}

#sidemenu li a:hover {
	color: #333333;
	background: #cccccc;
	}

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

#sidemenu li.level2-last a {
	margin-bottom: 20px;
	}

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

#sidemenu li.level2-here a,
#sidemenu li.level3-here a,
#sidemenu li.level4-here a {
	font-weight: bold;
	}

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

#search {
	margin: 12px 0 10px 260px;
	float: left;
	width: 230px;
	height: 22px;
	}

#login span {
	padding: 4px 5px 0 0;
	display: block;
	float: left;
}

#login-form {
	width: 345px;
	height: 22px;
	float: right;
}

#search .go,
#search .q,
#login-form .go,
#login-form .q{
	float: right;
	margin: 0;
	}

#search .go,
#login-form .go {
	margin-left: 0px;
	height: 28px;
	text-align: center;
	width: 60px;
	color: #fff;
	background: #497aa8 url(/res/default/img/hae-tausta.jpg) no-repeat;
	border: 0;
	cursor: pointer;
	}

#search .go:hover,
#login-form .go:hover {
	background: #1f5b94;
	cursor: pointer;
	}

#search .q,
#login-form .q {
	padding: 3px 6px 4px;
	background: #fff;
	border: 2px solid white;
	width: 130px;
	color: #5b5b5b;
	}

#search .q:focus,
#login-form .q:focus {
	border: 2px solid #7eaecd;
	}

#login-form .q {
	margin-right: 5px;
	width: 120px;
	float: left;
}

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

p,
div.row {
	margin-bottom: 18px;
	}

h1,h2,h3,h4,h5,h6 {
	color: #05325b;
	font-family: "Lucida Grande", Helvetica, 'Helvetica Neue', Arial, Verdana, Sans-serif;
	font-weight: normal;
	margin-top: 18px;
	}

h1 { font-size: 28px; line-height: 30px; margin-bottom: 20px; margin-top: 0; }
h2 { font-size: 24px }
h3 { font-size: 20px }
h4 { font-size: 16px }
h1,h2 { letter-spacing: -1px }
h2,h3,h4 { margin-bottom: 10px }

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

#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 #poweredby {
	float: right;
	}


/* APPS */

div.selectRow {
	padding-bottom: 5px;
    border-bottom: 2px dotted #5a9e4c;
	padding-bottom: 7px;
	margin-bottom: 20px;
}
div.selectRow div.title {
	font-weight: bold;
}
div.selectRow div.title a {
	color: #05325B;
	text-decoration: none;
}

div.selectRow div.title a:hover {
	text-decoration: underline;
}

div.app-News div.hd, div.app-Events div.hd {
	background: #95c888 url(/res/default/img/news-hd-tausta.jpg) repeat-x top;
	overflow: hidden;
	border: 1px solid #519943;
}

div.app-News div.hd h2, div.app-Events div.hd h2 {
	background: #95c888 url(/res/default/img/news-hd-h2-tausta.jpg) repeat-x top;
	float: left;
	margin: 0;
	padding: 6px 10px;
	color: white;
	font-size: 15px;
	font-weight: bold;
	border-right: 1px solid #519943;
}

div.app-News div.bd, div.app-Events div.bd {
	border-left: 1px solid #bbc2c6;
	border-right: 1px solid #bbc2c6;
	background: #f0f8f7;
}

div.app-News div.bd div.row, div.app-Events div.bd div.row {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #bbc2c6;
	margin: 0;
	font-size: 0.9em;
}

div.app-News div.bd div.row a, div.app-Events div.bd div.row a {
	color: #05325b;
	font-size: 15px;
	font-weight: bold;
	text-decoration: none;
}

div.app-News div.bd div.row p, div.app-Events div.bd div.row p {
	margin-bottom: 0px;
}

div.app-News div.bd div.row div.pvm, div.app-Events div.bd div.row div.pvm {
	margin-bottom: 8px;
	font-weight: bold;
	font-size: 0.9em;
	color: #05325b;
}

div.app-News div.bd div.row a:hover, div.app-Events div.bd div.row a:hover {
	text-decoration: underline;
}

div.app-News div.bd div.row, div.app-Events div.bd div.row {
	padding: 20px;

}

div.token {
	margin-bottom: 20px;
}
