body {
	margin: 0px;
	padding: 0px;
	background-color: #f6f6f6;
	background-image: url(../images/bodybg.jpg);
	background-position: top left;
	background-repeat: repeat-x;
	font-family: verdana;
	font-size: 12px;
	text-align: center;
}

#content p {
	padding: 10px 0px 10px 0px;
}

h3.events{
	padding:5px 0px;
}
.clear {
	clear: both;
}
h1,.otsikko1{
	font-size:18px;
	color:#3C748D;
}
h2,.otsikko2{
	font-size:16px;
	color:#3C748D;
}
#wrap {
	text-align: left;
	width: 770px;
	padding: 0px 15px 15px 15px;
	margin: 0px auto;
	background-color: #ffffff;
	background-image: url(../images/wrapbg.jpg);
	background-position: top left;
	background-repeat: repeat-y;
}

#header {
	padding:5px 0px;
}

#header .logo {
	float: left;
	padding: 10px 7px 10px 0px;
}
#header .teksti{
	float:left;
	padding:7px 0px 7px 0px;
	font-size:10px;
}
#header .logoteksti{
	font-size:10px;
	padding-left:7px;
}
#header .contact {
	float: left;
	padding: 17px 0px 0px 0px;
	font-size:11px;
}
#header .tools {
	float: right;

	padding: 17px 0px 0px 0px;
}

#header .tools .search {
	margin-right:7px;
	float:left;
}

#header .tools .search fieldset {
	float: left;
	margin: 0px;
	padding: 0px;
	border: 1px solid #b4b4b4;
	height: 22px;
}

#header .tools .search fieldset input {
	border: none;
	font-family: verdana;
	font-size: 12px;
}

#header .tools .search fieldset input.text {
	background-image: url(../images/searchbarbg.jpg);
	background-repeat: repeat-x;
	background-position: top left;
	background-color: #ffffff;
	padding: 0px 4px;
	height: 17px;
	width: 100px;
}

#header .tools .search fieldset input.button {
	background-color: #767676;
	color: #ffffff;
	padding: 0px;
	height: 22px;
	width: 33px;
	cursor: pointer;
}

#header .tools .search div.searchtext {
	float: left;
	text-align: right;
	line-height: 22px;
}

#header .tools .links {
	line-height: 24px;
	text-align: right;
	float:left;
}

#header .tools .links a {
	color: #000000;
	text-decoration: none;
}

#header .tools .links a:hover {
	color: #000000;
	text-decoration: underline;
}

#banner {
	clear: both;
	background-color: #ffffff;
	background-image: url(../images/banner.jpg);
	background-position: top left;
	background-repeat: no-repeat;
	width: 770px;
}

#navigation {
	background-image: url(../images/navigationbg.jpg);
	background-position: top left;
	background-repeat: repeat-x;
	height: 33px;
	width: 770px;
}

#navigation ul {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}

#navigation ul li {
	display: block;
	float: left;
	height: 33px;
	line-height: 33px;
}

#navigation ul li a {
	display: block;
	float: left;
	padding: 0px 6px;
	color: #ffffff;
	text-decoration: none;
	font-size:11px;
}

#navigation ul li a:hover {
	color:#ffeb1e;
}

#navigation ul li a.current {
	background-image: url(../images/navigation_hoverbg.jpg);
	background-position: top left;
	background-repeat: repeat-x;
	color: #000000;
}

#content {
	padding: 20px 0px 0px 0px;
}

#bottomborder {
	margin: 0px auto;
	width: 800px;
	height: 4px;
	background-color: #ffffff;
	background-image: url(../images/bottomborder.jpg);
	background-position: top left;
	background-repeat: no-repeat;
}

#footer {
	font-size: 11px;
	margin: 0px auto;
	padding: 5px 15px;
	text-align: left;
	width: 770px;
}

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

#footer a:hover {
	color: #000000;
	text-decoration: underline;
}

/*** CONTENT ***/

#content .left {
	float:left;
	width:550px;
	padding-right:20px;
}

#content .left h1 {
	font-size: 16px;
	padding: 10px 0px;
}

#content .left h2{
	font-size: 13px;
	padding: 5px 0px;
	display:inline;
}
#content .pagecontent h2{
	font-size: 13px;
	padding: 5px 0px;
}
#content .left .event .title a{
	color:#3C748D;
}
#content .left .events{
	/*padding:10px 0px;*/
}
#content .left .events table td.date{
	vertical-align:top;
}
#content .left .events .event {
	margin-bottom:10px;
}
#content .left .events .event .date {
	float:left;
	padding-right:7px;
	font-style:italic;
}
#content .right {
	float:left;
	font-size:11px;
	width:200px;
}

#content .right h1,
#content .rightLift h1,
#content .leftLift h1 {
	color: #025790;
	font-size: 13px;
	padding: 0px 0px 10px 0px;
}
#content .right h1 a,
#content .rightLift h1  a,
#content .leftLift h1 a{
	color: #025790;
	font-size: 13px;
	text-decoration:none;
	/*padding: 0px 0px 10px 0px;*/
}
#content .right ul.newslisting ,
#content .pagecontent ul.newslisting,
#content .pagecontent_wide ul.newslisting,
#content .rightLift ul.newslisting,
#content .leftLift ul.newslisting,
#content .pagecontent ul.sitemap{
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}

#content .right ul.newslisting li,
#content .pagecontent ul.newslisting li,
#content .rightLift ul.newslisting li ,
#content .leftLift ul.newslisting li,
#content .pagecontent_wide ul.newslisting li{
	background-image: url(../images/bullet.jpg);
	background-position: 0px 3px;
	background-repeat: no-repeat;
	padding-left: 14px;
	padding-bottom: 6px;
}
#content .pagecontent ul.sitemap li{
	background-image: url(../images/bullet.jpg);
	background-position: 0px 3px;
	background-repeat: no-repeat;
	padding-bottom:6px;
	padding-left: 14px;
}
#content .pagecontent ul.sitemap ul li{
	background-image: url(../images/bullet.jpg);
	background-position: 0px 3px;
	background-repeat: no-repeat;
	padding:0px;
	padding-left: 14px;
}

#content .right ul.newslisting li a,
#content .rightLift ul.newslisting li a ,
#content .leftLift ul.newslisting li a,
#content .pagecontent_wide ul.newslisting li a,
#content .pagecontent ul.sitemap li a{
	color: #1e65e3;
	text-decoration: underline;
}

#content .right ul.newslisting li a:hover ,
#content .rightLift ul.newslisting li a:hover,
#content .leftLift ul.newslisting li a:hover,
#content .pagecontent_wide ul.newslisting li a:hover,
#content .pagecontent ul.sitemap li a:hover{
	color: #1e65e3;
	text-decoration: none;
}

/*** INDEX PAGE ***/

#content .index.left {
	width: 523px;
}

#content .index.right {
	width: 227px;
	background-image: url(../images/index_rightcontent_bg.jpg);
	background-repeat: repeat-y;
	background-position: top left;
}

#content .index.right .box,
#content .rightLift .box,
#content .leftLift .box {
	border-bottom: 5px solid #ffffff;
	border-top: 3px solid #275088;
	background: none;
	padding: 10px;
}

/*** CALENDAR ***/

.calendar {
	width: 100%;
	text-align: center;
}

.calendar td {
	text-align: center;
	vertical-align: middle;
	font-size: 10px;
	width: 26px;
	height: 18px;
}

.calendar .month a {
	padding: 0px 10px;
	font-weight: bold;
	text-decoration: none;
	color: #035a90;
	font-size: 11px;
}

.calendar .month a:hover {
	padding: 0px 10px;
	font-weight: bold;
	text-decoration: underline;
	color: #035a90;
	font-size: 11px;
}

.calendar td.weekNumber {
	color: #29348e;
	font-weight: bold;
}

.calendar td.currentDay {
	background: #CB1813;
	color:white;
	font-weight: bold;
}

.calendar td.otherMonth {
	color: #999999;
}

.calendar td.multievent a,
.calendar td.event a,
.calendar td.previousevent a {
	color: #ffffff;
	font-weight: bold;
	width: 25px;
	height: 18px;
	display: block;
	line-height: 18px;
	text-decoration: none;
}

.calendar td.multievent a {
	background-color: #446f91;
}

.calendar td.event a {
	background-color: #5485A6;
}

.calendar td.previousevent a {
	background-color: #45B289;
}
div.rightLift table.calendar td.month a,
div.leftLift table.calendar td.month a{
	padding: 0px 5px;
}
div.rightLift .calendar td.multievent a,
div.rightLift .calendar td.event a,
div.rightLift .calendar td.previousevent a {
	color: #ffffff;
	font-weight: bold;
	height: 18px;
	width:auto;
	display: block;
	line-height: 18px;
	text-decoration: none;
}
#tooltip .body {
	background-color: #a7d3ee;
	border: 1px solid #275086;
	text-align: left;
	font-size: 11px;
	padding: 8px;
}

#tooltip .body .multievent {

}

#tooltip .body .event {

}

#tooltip .body .previousevent {

}
div.leftNavigation{
	float:left;
	width:180px;

}
div.leftNavigation .wrapper{
	padding:3px;
	border:1px #DBDBDB solid;
}
div.leftNavigation ul{
	padding:0;
	margin:0;
}
div.leftNavigation ul li{
	list-style-type:none;
	margin-bottom:1px;
}
div.leftNavigation ul li a{
	border:1px #E8EBF0 solid;
	background:url(../images/leftnavibg.jpg) repeat-x bottom left;
	background-color:#F7F7F9;
	line-height:20px;
	color:black;
	text-decoration:none;
	display:block;
	padding:3px 0px;
	padding-left:9px;
}
div.leftNavigation ul li a.current{
	border:1px #E8EBF0 solid;
	background:url(../images/leftnavibg_hover.jpg) repeat-x bottom left;
	background-color:#5B6E8E;
	color:white;
}
div.leftNavigation ul li a.current:hover{
	border:1px #E8EBF0 solid;
	background:url(../images/leftnavibg_hover.jpg) repeat-x bottom left;
	background-color:#5B6E8E;
	color:#ffeb1e;
}
div.leftNavigation ul li a:hover{
	border:1px #E8EBF0 solid;
	background:none;
	background-color:#ffffff;
	color:black;
}
/* 2. taso */
div.leftNavigation ul ul li a{
	/*border:1px #E8EBF0 solid;*/
	border:none;
	background:none;
	background-color:#ffffff;
	line-height:20px;
	color:black;
	text-decoration:none;
	display:block;
	padding:3px 0px;
	padding-left:15px;
	font-size:80%;
}
div.leftNavigation ul ul li a:hover{
	border:none;
}
div.pagecontent{
	float:left;
	width:390px;
	padding:0px 10px;
}
div.pagecontent_wide{
	float:left;
	width:565px;
	padding:0px 10px;
}
div.pagecontent h1,
div.pagecontent_wide h1{
	margin-bottom:10px;
}
div.pagecontent .event{
	margin-bottom:7px;
}
div.pagecontent .event .date{
	float:left;
	margin-right:5px;
}

div.pagecontent .event .title a,
table td.title a{
	color:#1E65E3;
}
div.rightLift,
div.leftLift{
	float:left;
	width:180px;
	background-image: url(../images/index_rightcontent_bg.jpg);
	background-repeat: repeat-y;
	background-position: top left;
}
div.leftliftWrapper{
	float:left;
	width:180px;
}
table.calendarlisting tr td.date,
table.calendarlisting tr td.title{
	vertical-align:top;
	padding-right:5px;
}
div.meFormErrorDialog{
	color:red;
}

.meCustomerRegistratorGUI .infobox,
.meCustomerRegistratorGUI .errorbox {
	border: 1px solid #dddddd;
	background-color: #eeeeee;
	padding: 10px;
	margin: 10px 0px;
}

.meCustomerRegistratorGUI .infobox .title {
	font-size:18px;
	color:#3C748D;
	padding: 0px 0px 10px 0px;	
}

.meCustomerRegistratorGUI .errorbox .title {
	font-size:18px;
	color:#cc0000;
	padding: 0px 0px 10px 0px;	
}