html {
	height: 100%;
}

body {
	height: 100%;
	margin: 15px;
	padding: 0px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
	color: #666;
	background: #ffffff;
}

h1, h2, h3, h4, h5 {
	color: #090;
	margin: 0.5em 0;
}
h1 { font-size: 160%; }
h2 { font-size: 150%; }
h3 { font-size: 140%; }
h4 { font-size: 130%; }
h5 { font-size: 120%; }

.clr {
	clear: both;
}

#page {
	border: 1px solid #ccc;
	padding: 2px;
	width: 804px;
	text-align: left;
	font-size: 100%;
}

#buttons_outer {
	width: 635px;
	margin-bottom: 2px;
	margin-right: 2px;
	float: left;

}

#buttons_inner {
	border: 1px solid #ccc;
	height: 21px;
}

#buttons {
	float: left;
	margin: 0px;
	padding: 0px;
	width: auto;
}

#search_outer {
	float: left;
	width: 165px;
}

#search_inner {
	border: 1px solid #ccc;
	padding: 0px;
	height: 21px;
	overflow: hidden;
}

#search_inner form {
	padding: 0;
	margin: 0;
}

input#ajaxSearch_input {
	border: 0px;
	padding: 3px 3px 3px 5px;
	font-family: arial, helvetica, sans-serif;
	font-size: 11px;
	color: #090;
}

#header_outer {
	text-align: left;
	border: 0px;
	margin: 0px;
}

#header {
	float: left;
	padding: 0px;
	/*margin-right: 2px;
	width: 635px;*/
	width: 802px;
	height: 150px;
	background: url(images/header_short.jpg) no-repeat;
}

#top_outer{
	float: left;
	width: 165px;
}

#top_inner {
	border: 1px solid #ccc;
	padding: 2px;
	height: 144px;
	overflow: hidden;
}

#left_outer {
	float: left;
	margin-top: 2px;
	width: 165px;
}

#left_inner {
	border: 1px solid #ccc;
	padding: 2px;
}

#content {
	float: left;
	width: 635px;
	margin-left: 2px;
	padding-top: 2px;
}
* html #content { margin-left: 2px; } /*IE6 needs this*/

span.B_crumbBox {
	overflow: hidden;
	display: block;
	height: 25px;
	line-height: 25px;
	padding-left: 4px;
}

div.content_cell,
span.B_crumbBox {
	padding: 2px 10px 2px 10px;
	border: 1px solid #ccc;
	margin-bottom: 2px;
}

.error {
	font-style: italic;
	text-transform: uppercase;
	padding: 5px;
	color: #ccc;
	font-size: 14px;
	font-weight: bold;
}

/* old stuff */

.back_button {
	float: left;
	text-align: center;
	font-size: 11px;
	font-weight: bold;
	border: 3px double #ccc;
	width: auto;
	background: url(images/button_bg.GIF) repeat-x;
	padding: 0px 10px;
	line-height: 20px;
	margin: 1px;
}

.pagenav {
	text-align: center;
	font-size: 11px;
	font-weight: bold;
	border: 3px double #ccc;
	width: auto;
	background: url(images/button_bg.GIF) repeat-x;
	padding: 0px 10px;
	line-height: 20px;
	margin: 1px;
}

.pagenavbar {
	margin-right: 10px;
	float: right;
}

#footer {
	text-align: center;
	padding: 3px;
}

ul {
	margin: 0;
	padding: 1px 0 3px 10px;
	list-style: none;
}

li {
	line-height: 15px;
	padding-left: 12px;
	padding-top: 0px;
	background-image: url(images/arrow.GIF);
	background-repeat: no-repeat;
	background-position: 0px 3px;
}


td {
	text-align: left;
	font-size: 11px;
}

/* Joomla core stuff */
a:link, a:visited {
	color: #090;
	text-decoration: none;
	font-weight: bold;
}

a:hover {
	color: #333;
	text-decoration: none;
	font-weight: bold;
}

table.contentpaneopen {
	width: 100%;
	padding: 0px;
	border-collapse: collapse;
	border-spacing: 0px;
	margin: 0px;
}

table.contentpaneopen td {
	 padding-right: 5px;
}

.button {
	color: #090;
	font-family: Arial, Hevlvetica, sans-serif;
	text-align: center;
	font-size: 11px;
	font-weight: bold;
	border: 3px double #ccc;
	width: auto;
	background: url(images/button_bg.GIF) repeat-x;
	padding: 0px 5px;
	line-height: 18px;
	height: 26px;
	margin: 1px;
}

.inputbox {
	padding: 2px;
	border:solid 1px #ccc;
	background-color: #fff;
}

.contentheading {
	padding-top: 7px;
	/*height: 23px;*/
	background: url(images/contenthead.GIF) 1px 4px no-repeat;
	color: #090;
	/*text-indent: 15px;*/
	font-weight: bold;
	font-size: 11px;
	/*white-space: nowrap;*/
	padding: 3px 3px 3px 18px;
	border-top: 1px dotted silver;
	border-bottom: 1px dotted silver;
}

div.moduletable {
	padding-bottom: 2px;
}

div.moduletable h3 {
	background: url(images/subhead_bg.GIF) repeat-x;
	text-transform: uppercase;
	text-align: left;
	padding-left: 4px;
	height: 17px;
	padding-top: 4px;
	font-weight: bold;
	font-size: 10px;
	margin: 0 0 2px 0;
}

.small {
	color: #666;
	font-size: 11px;
	font-weight: bold;
}

.createdate {
	height: 15px;
	padding-bottom: 10px;
	color: #666;
	font-size: 11px;
	font-weight: bold;
}

.modifydate {
	height: 15px;
	padding-top: 10px;
	color: #666;
	font-size: 11px;
	font-weight: bold;
}

a.mainlevel:link, a.mainlevel:visited {
	display: block;
	background: url(images/menu_bg.GIF) no-repeat;
	vertical-align: middle;
	font-size: 11px;
	font-weight: bold;
	color: #333;
	text-align: left;
	padding-top: 5px;
	padding-left: 18px;
	height: 20px;
	width: 100%;
	text-decoration: none;
}

a.mainlevel:hover {
	background-position: 0px -25px;
	text-decoration: none;
	color: #fff;
}

a.mainlevel#active_menu {
	color: #fff;
	font-weight: bold;
}

a.mainlevel#active_menu:hover {
	color: #333;
}

a.sublevel:link, a.sublevel:visited {
	padding-left: 1px;
	vertical-align: middle;
	font-size: 11px;
	font-weight: bold;
	color: #fff;
	text-align: left;
}

a.sublevel#active_menu {
	color: #fff;
	font-weight: bold;
}

a.sublevel#active_menu:hover {
	color: #333;
}

a img {
	border: 0;
}

form {
	margin: 0;
 	padding: 0;
}

span.article_seperator {
	display: block;
	height: 1.5em;
}


/* Easy Events minicalendar */
div.ee_miniCalendar td,
div.ee_miniCalendar th {
	text-align: center;
	margin: 0;
	padding: 0;
}
table.ee_miniCalendarNav td {
	padding: 1px 0;
	color: #555;
}
table.ee_miniCalendarNav,
table.ee_miniCalendarDays {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	padding: 0;
}
table.ee_miniCalendarDays {
	border-top: 1px solid black;
}
table.ee_miniCalendarDays td a {
	display: block;
	color: #360;
	background-color: #84df29;
	font-weight: normal;
	padding: 2px 0;
}
table.ee_miniCalendarDays td span.ee_noLinkDay {
	display: block;
	padding: 2px 0;
}
table.ee_miniCalendarDays td a:hover {
	color: white;
}
table.ee_miniCalendarDays th {
	background-color: #ddd;
	color: black;
	font-weight: normal;
	padding: 2px 0;
}
td.ee_prev,
td.ee_next {
	background-color: #eee;
	color: #999;
}
td.ee_today { font-weight: bold; }
td.ee_selected { border: 1px solid #999; }

/*EasyEvents event list*/
#ee_listDetailsContainer {
	padding-left: 1em;
}

.easyEventsList_heading {
	font-size: 130%;
	font-weight: bold;
	line-height: 1.8em;
}
.easyEventsList_events {
	padding-left: 1em;
}
.easyEventsList_title {
	font-size: 130%;
}
.easyEventsList_description {
	padding: 0.2em 0 0.8em 2em;
	font-size: 120%;
}

.easyEventsList_group,
.easyEventsDetailsBox {
	padding-bottom: 0.5em;
}

.easyEventsDetailsBox {
	margin-bottom: 0.2em;
}
.easyEventsDetailsTime {
	font-weight: bold;
	font-size: 110%;
}
.easyEventsDetailsDetails {
	font-size: 120%;
}
.easyEventsDetailsDetails,
.easyEventsDetailsPermalink {
	margin-top: 0.8em;
}

.easyEventsEventTime {
	font-weight: bold;
	font-size: 110%;
}

table.ehdokasesite {
	width: 99%;
	border: 1px solid #009900;
}
td.ehdokaskuvasolu {
	width: 250px;
}
td.ehdokaskuvasolu img {
	
}
td.ehdokastekstisolu {
	vertical-align: middle;
	text-align: center;
	padding-left: 10px;
}
.ehdokasnumero {
	font-size: 100px;
	color: #009900;
}
.ehdokasnimi {
	font-size: 30px;
	font-weight: bold;
	color: #333;
}
.titteli {
	font-size: 130%;
	font-weight: bold;
}