/* Generic settings first */
body {
	margin: 0px;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
}

p, li {
	font-size: 75%;
}

#main_contents .content p {
  text-align: justify;
}

h1, h2, h3, h4, h5 {
	color: black; /*#486DA9;*/
}

h1 {
	font-family:"Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	font-size: 140%;
	color: #284B78;
	font-weight: bold;
	text-decoration: none;
	margin-top: 0px;
	margin-bottom: 0px;
}

h2 {
	font-family:"Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	font-size: 120%;
	color: #284B78;
	font-weight: bold;
	text-decoration: none;
	margin-top: 0px;
	margin-bottom: 0px;
}

h3 {
	font-size: 100%;
}

table {
	border: 1px solid #dddddd;
	/* width: 90%; IE margin BUG prevents us from using this */
}


th {
	text-align: left;
	font-size: 75%;
	background-color: #f6f6f6;
	/*border-bottom: 1px solid #dddddd;*/
	padding: 2px;
	color: #666666;
}

td {
	font-size: 75%;
	padding: 2px;
}

span.orphan_text {
	font-size: 75%;
	font-weight: bold;
}

div#left_column {
	position: absolute;
	z-index: 2;
	/*width: 11em;*/
	width: 200px;
	/* Space down for the approx line height (fonts) */
	left: 12px;
}

div#right_column {
	width: auto;
	min-width: 120px;
	max-width: 50em;
	margin: 10px;
	margin-top: 0px;
	/*margin-left: 11em;*/
	margin-left: 200px;
}

div#middle_column {
	width: auto;
	min-width: 120px;
	max-width: 50em;
	margin: 10px;
	padding: 0;
	margin-top: 0px;
	margin-left: 200px;
	margin-right: 200px;
}

div#index_right_column {
	position: absolute;
	width: 13em;
	width: 200px;
	right: 12px;
	padding-top: 7px;
	border-left: 2px dotted #f1f1f1;
}



/* Header */

div#header {
	/*border: 1px solid black;*/
	min-width: 523px;
	background-color: black;
}

div#slogan {
	/*display: none;*/
	background-color: black;
	color: white;
	background-image: url(/resources/images/system/otit_header_bg.jpg);
	/* debug or something... */
	height: 80px;
	margin-bottom: 5px;
}

div#slogan img {
	border: none;
}

div#topmenu {
	background-color: black;
	color: white;
}

div#topmenu ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	height: 100%;
	/*border-top: 0px solid black; */
}

div#static ul, div#static li, div#static p{
	margin: 0;
	padding: 0;
}

ul li.static {
	font-size: 75;
}


div#topmenu ul li {	
	vertical-align: top;
	display: inline;
	margin: 0;
	padding-left: .5em;
	padding-right: .5em;
}

div#topmenu ul li.selected {
	background-color: #f1f1f1;
	border-bottom: 5px solid #f1f1f1; /* Quite ugly kludge, perhaps 
	                                     this should be thought over again?-) 
									   */
}

div#topmenu ul li.selected a {
	color: black;
}

div#topmenu a {
	color: white;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
}

div#topmenu a:hover {
	color: yellow;
}

div#topmenu a:visited {

}


div#container {
	padding: 1em;
}





/* mod_path */
div#path {
	padding: 0.3em .5em .3em 1em;
	background-color: #f1f1f1;
	color: black;
	margin: 0;
	border: none;
}

div#path ul {
	list-style-type: none;
	display: inline;
	margin: 0;
	padding: 0;
}


div#path ul li {
	display: inline;
	padding-left: .5em;
}


/* Main contents */
div#main_contents {
	margin: 0px;
	padding: 0px;
	padding-left: .7em;
	padding-right: .7em;
}

div#main_contents h1, div#main_contents h2 {
	margin-top: 0px;
	margin-bottom: 0px;
}

div#main_contents h1 {
	margin-bottom: 1em;
}

div#main_contents .content h2 {
	border-bottom: none;
}

div#main_contents img.content_image {
	margin-right: 1em;
	margin-bottom: .5em;
}

ul.metadata {
	margin-top: 0px;
	/*background-color: #f6f6f6;*/
	list-style-type: none;
	margin-left: 0px;
	padding: 0.2em 0.5em 0.2em 0.5em;
	border-bottom: 1px solid #c0c0c0;
}

ul.metadata li {
	display: inline;
	padding-right: .5em;
	border-right: 1px solid #c0c0c0;
}

li.meta_author {
	font-size: 85%;
}

li.meta_last_modified {
	font-size: 85%;
}

div#main_contents .lead {
	font-style: italic;
	padding-left: 1.5em;
}

/* Navigation */
div#navigation {
}

div#navigation h3 {
	/*font-size: 130%;*/
	border-bottom: 1px solid #c0c0c0;
	margin-top: .65em;
}

div#navigation ul {
	list-style-type: square;
	list-style-position: inside;
	margin-left: 0;
	padding-left: 0;
}

div#navigation ul li {
	padding-bottom: .4em;
	border-bottom: 1px solid #f1f1f1;
}

div#navigation ul li.folder {
	/*list-style-image: url(/resources/images/system/otit_arrow_right.gif);*/
	background-image: url(/resources/images/system/otit_arrow_right.gif);
	background-position: 0 50%;
	background-repeat: no-repeat;

	list-style-image: none;
	list-style-type: none;
	padding-left: 25px;
	
}

div#navigation ul li.contents {
	list-style-image: none; /*url(/resources/images/system/contents.png);*/
	list-style-type: none;
	padding-left: 22px;
	padding-top: 4px;
	padding-bottom: 4px;
}

/* News list */
div#news_list {

}

div#news_list h3 {
	font-size: 130%;
	border-bottom: 1px solid #3030cc;
}

div#news_list ul {
	list-style-type: square;	
}

div#news_list ul li {
	font-size:80%;
}

div#news_list ul li.contents {
	list-style-type: none;
}

div#news_list ul li.metadata_important {
	margin-top: 0px;
	font-weight: bold;
}


div#footer {
	background-color: white;
	color: black;
	margin-top: 1em;
	width: 100%;
	clear: both;
}

div#disclaimer {
	border-top: 1px solid #f1f1f1;
	text-align: right;
	color: #cccccc;
	font-size: 75%;
	margin-top: 2em;
	padding-left: 1em;
	padding-right: 1em;
	clear: both;
}

div#mininavi {
	text-align: center;
}

div#mininavi ul {
	list-style-type: none;
	margin: 0px;

}

div#banner img {
	/*border: 1px solid black;*/
}

div#mininavi ul li {
	display: inline;
	padding-left: 0.5em;
	padding-right: 0.5em;	
}

div#mininavi ul li.selected {
	background-color: white;
}

div#mininavi a {
	text-decoration: none;
}

div#logos {
	margin-top: 1em;
}

div#logos img {
	margin-bottom: 1em;
	/*border: 1px solid black;*/
	margin-left: 1em;
}

div#calendar {
	padding: 0 .5em .2em .5em;
	margin-bottom: 1em;
}

div#calendar dl {
	background-color: #f1f1f1;
	border-left: 7px solid #dddddd;
	padding-left: .3em;
	padding-top: .3em;
	padding-right: .3em;
	/* padding-bottom: 5px; YET ANOTHER BUG IN IE? */
}

div#calendar dt{
	font-size: 75%;
	color: #666666;
}

div#calendar dd {
	font-size: 75%;
	color: black;
}

div#calendar h3 {
	margin: 0px;
	/*border-bottom: 1px solid #c0c0c0;*/
}


div#weather {
	/*background-color: #f1f1f1;*/
	padding: 0 .5em .2em .5em;
	margin-bottom: 1em;
	/*border: 1px solid #c0c0c0;*/
}

div#weather h3 {
	margin: 0px;
	border-top: 1px dashed #c0c0c0;
	padding-top: 1em;
}

div#weather dl {
	background-color: #f1f1f1;
	padding: .3em;
	padding-left: 1em;
	border-left: 7px solid #dddddd;
}

div#weather dt{
	font-size: 75%;
	color: #666666;
}

div#weather dd {
	font-size: 75%;
	color: black;
}

div#weather dd img {
	display: inline;
	padding-left: .5em;
}


div#static {
	/*background-color: #f1f1f1;*/
	padding: 0 .5em .2em .5em;
	margin-bottom: 1em;
	/*border: 1px solid #c0c0c0;*/
}

div#static h3 {
	margin: 0px;
	border-top: 1px dashed #c0c0c0;
	padding-top: 1em;
}

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

div#static ul li {
	font-size: 75%;
	margin: 0px;
	margin-top: .5em;
	background-color: #f1f1f1;
	padding: .3em;
	border-left: 7px solid #dddddd;
	padding-left: 1.5em;
}

div#otit_description {
	padding: .5em .5em .5em .5em;
	margin-bottom: 1em;
	/*border: 1px solid #c0c0c0;*/
	background-color: #333333;
	border: 2px dashed white;
	color: white;
}


div#otit_description {
	padding: .5em .5em .5em .5em;
	margin-bottom: 1em;
	/*border: 1px solid #c0c0c0;*/
	background-color: #dddddd;
	border: 2px dashed white;
	color: black;
}

div#otit_description h3 {
	margin: 0px;
	color: black;
}

.news_item .read_more {
	text-align: left;
	font-size: 75%;
}


.read_more {
	text-align: right;
	font-size: 75%;
}

/* Front page, news list */
div.news_item {
	/*border-bottom: 1px dashed #c0c0c0;*/
	margin-bottom: 1em;	
	padding: 0;
	padding-bottom: .2em;
}

.news_item p {
	/*padding-left: 36px;*/
	padding-right: 1em;
}

.news_item h2 {
	border: none;
	border-bottom: 1px dashed #c0c0c0;
	margin-left: 0px;
	/*font-size: 120%;*/
}

.news_item h2.important {
	margin-left: 36px;
}

.news_item ul.metadata {
	margin-top: 0px;
	margin-left: 0px;
	margin-bottom: 0px;
	padding: 0em 0em 0em 0em;
	border: none;
	text-align: left;

}

.news_item ul.metadata_important {
	margin-top: 0px;
	margin-left: 36px;
	margin-bottom: 0px;
	padding: 0em 0em 0em 0em;
	border: none;
	text-align: left;
}

.news_item .metadata li, .news_item .metadata_important li {
	display: inline;
	padding-right: .5em;
	font-size: 70%;
	color: #999999;
	border: none;
	text-align: left;
}

.news_item li.meta_author {

}

.news_item li.meta_last_modified {
}

div#main_contents .lead {
	font-style: italic;
	padding-left: 1.5em;
}

div.powered_logo {
	text-align: center; 
	margin-top: 1em; 
	padding-top: 1em;
}

div.powered_logo img {
	border: 1px solid black;
}

/* /m/tapahtumat/index.xml's event list*/

div#eventlist .event-item {
	background-color: #f9f9f9;
	padding-left: .3em;
	padding-right: .3em;
	margin-bottom: .3em;
}

div#eventlist .event-item h3 {
	font-size: 100%;
	margin-bottom: 0;
}

div#eventlist .event-item h3 img{
	margin-right: .3em;
}

div#eventlist .event-item p.meta {
	margin-top: 0;
}

/* Error handling related styles */

div.asap_notice {
	background-color: #f1f1f1;
	color: black;
	padding: .5em;
	padding-left: 2em;
	margin-bottom: 1em;
	border: 1px solid #cccccc;
	vertical-align: middle;
}

div.asap_error {
	background-color: #f1f1f1;
	color: red;
	font-weight: bold;
	padding: .5em;
	padding-left: 2em;
	margin-bottom: 1em;
	border: 1px solid #cccccc;
}

div.asap_notice p, div.asap_error p {
	margin: 0;
	padding: 0;
}

a { text-decoration: none; }

/* IE bug fixes */
#static h3 {padding-left: 1.0em}
#static > h3 {padding-left: 0}
#static p {font-size: 100%; margin: 0; padding: 0; display: inline}
div.content table {width: 65%;}
div.content > table {width: 100%;}
table#eventlist {width: 65%;}
#main_contents > #eventlist {width: 100%;}
