div#outer_container {
	width:910px;
	margin:0 auto;
	background:url('../images/bgshadow.jpg') center top repeat-y;	
	}
div#outer_tl {
	height:25px;
	background:url('../images/bgshadow_ends.jpg') center top no-repeat;
	}
div#outer_bl {
	height:24px;
	background:url('../images/bgshadow_ends.jpg') center bottom no-repeat;
	}
div#header {
	clear:both;
	padding:0 6px;
	background:#ffffff;
	}
div#wrap {
	position:relative;
	padding:0 6px;
	background:#ffffff url('../images/contentbg.gif') left bottom repeat-x;
	}
div#primary_wrap {
	background:#ffffff;
	padding-bottom:1em;
	}
div#secondary_wrap {
	background:#ffffff;
	padding-bottom:1em;
	}
div.foot_wrap {
	background:#ffffff;
	padding:0;
	}
div#footer {
	padding:0 6px;
	background:#da8d00;
	}
div.stretch {
	position:relative;
	clear:both;
	}

/*round corners for columns*/
div#footer_tl {
	padding:0;
	height:10px;
	background:url('../images/coltop.png') left top no-repeat;
	}
div#footer_tr {
	margin:0;
	height:10px;
	padding:0 10px;
	background:url('../images/coltop.png') right top no-repeat;
	}
div#primary_bl,
div#secondary_bl,
div#footer_bl {
	padding:0 0 10px;
	height:10px;
	background:url('../images/colbottom.png') left top no-repeat;
	}
div#primary_br,
div#secondary_br,
div#footer_br {
	margin:0;
	height:10px;
	padding:0 10px;
	background:url('../images/colbottom.png') right top no-repeat;
	}
div#primary_br span,
div#secondary_br span,
div#footer_tr span,
div#footer_br span {
	display:block;
	margin:0;
	height:10px;
	background:#ffffff;
	}

/*main title*/
div#maintitle {
	position:relative;
	width:410px;
	height:59px;
	margin:0 12px 12px;
	overflow:hidden;
	}
div#maintitle h1 {
	padding:0;
	margin:0;
	}
div#maintitle a {
	display:block;
	width:410px;
	height:59px;
	background:#ffffff url('../images/logo1.gif') no-repeat;
	border:0;
	text-decoration:none;
	}
div#maintitle span {
	visibility:hidden;
	}

/*main menu*/
div#mainmenu {
	position:relative;
	margin:0;
	padding:3px 12px;
	background:#000000;
	}
div#mainmenu ul {
	position:relative;
	margin:0;
	padding:0;
	list-style:none;
	background:#000000;
	}
div#mainmenu li {
	position:relative;
	display:inline;
	margin:0 2em 0 0;
	}
/*div#mainmenu,
div#mainmenu li.parent ul,
div#mainmenu li.parent ul li a {
	background:#000;
	}*/
div#mainmenu a {
	font-weight:bold;
	text-decoration:none;
	text-transform:uppercase;
	}
div#mainmenu li.active a {
	color: #ffd300;
	}
div#mainmenu a:link,
div#mainmenu a:visited {
	color:#eeeeee;
	}
div#mainmenu a:hover,
div#mainmenu a:active,
div#mainmenu a.active {
	color:#ecbf00;
	}

/*drop-down menu*/
div#mainmenu li.parent ul { position:absolute; left:-0.5em; top:1em; margin:0; padding:0.5em 0; border:none; color:#ffffff; list-style:none; z-index:5; display:none; }
div#mainmenu li.parent:hover ul { display:block; }
div#mainmenu li.parent ul li { position:relative; display:block; margin:0; padding:0 0.5em; border-bottom:2px solid #333333;}
div#mainmenu li.parent ul li:hover { background:#333; }
div#mainmenu li.parent ul li a { position:relative; display:block; width:100%; padding:0; font-size:0.9em; font-weight:normal; color:#ffffff; text-decoration:none; white-space:nowrap;}
div#mainmenu li.parent ul li a:hover { color:#ffd300; text-decoration:underline; }
div#mainmenu li.parent ul li.active a { color:#ffd300; }
div#mainmenu li.parent ul li.active ul li a { color:#eeeeee; }
div#mainmenu li.parent ul li.active ul li a:hover { color:#ffd300; }
div#mainmenu li.parent ul li.parent ul li:first-child { border-left:1px solid #000000; }
div#mainmenu li.parent ul li.parent ul li { border-left:1px solid #333333; border-bottom:2px solid #000000; }
div#mainmenu li.parent ul li.parent ul,
div#mainmenu li.parent ul li.parent ul li.parent ul  { display:none; position:absolute; left:100%; top:0px; padding-top:0; }
div#mainmenu li.parent ul li.parent:hover ul,
div#mainmenu li.parent ul li.parent ul li.parent:hover ul { display:block; }

/* Submenu */
#secondary ul.menu { position:relative; margin:0 -12px; list-style:none; }
#secondary ul.menu li { position:relative; }
#secondary ul.menu li a { position:relative; display: block; width:100%; padding:3px 12px 3px; color:#000; text-decoration:none; background-color:#fff;}
#secondary ul.menu li a:hover { text-decoration:underline; background-color:#ddd; }
html>body #secondary ul.menu li a { width:auto; }
#secondary ul.menu ul { list-style:none; margin-left:0; }
#secondary ul.menu ul li { margin-left:0; }
#secondary ul.menu ul li a { position:relative; display:block; width:100%; padding:3px 12px 3px 24px; color:#000; text-decoration:none; background-color:#fff;}
#secondary ul.menu ul li ul li a { padding:3px 12px 3px 36px; }
#secondary ul.menu ul li a:before { content: "\2022\00a0\00a0"; text-decoration:none; }
#secondary ul.menu ul li ul li a:before { content: "\002d\00a0\00a0"; text-decoration:none; }

#secondary ul.menu li#current a { position:relative; color:#fff; font-weight:bold; background:#000000; }
#secondary ul.menu li#current>ul a { background:#fff; position:relative; color:#000; font-weight:normal; }
#secondary ul.menu li#current>ul a:hover { background:#ddd; }

#secondary ul.menu li.active>ul li a { position:relative; background:#fff; }
#secondary ul.menu li.active>ul li#current a { position:relative; margin-right:0; }
#secondary ul.menu li.active>ul li a:hover { background:#ddd; }

div#search { position:absolute; top:73px; right:8px; z-index: 10;}
div#search form { margin:0; }
div#search label { display:none; }

.l2 div.footbox { position:absolute; left:270px; width:604px; }
.l2 div.contact_info {position:relative; top:0; width: 258px; }
.l1 div.footbox { position:absolute; top 0; width:604px; }
.l1 div.contact_info {position:relative; left:610px; width: 258px; }

.contact_info p { margin:0; padding-bottom: 1em; }

.fbox1, .fbox2, .fbox3 { width:200px; /*background: #fff;*/ }
.fbox1 {position:absolute; left:0; }
.fbox2 {position:absolute; left:201px; }
.fbox3 {position:relative; left: 402px; }
.fbox1 p, .fbox2 p { letter-spacing: 1px; margin:0; padding:0 12px; }
.fbox1 p a:link, .fbox2 p a:link,
.fbox1 p a:visited, .fbox2 p a:visited { text-decoration:none; font-weight:bold; color:#333;}
.fbox1 p a:hover, .fbox2 p a:hover,
.fbox1 p a:active, .fbox2 p a:active { text-decoration:underline; font-weight:bold; color:#da8d00;}
.fbox3 table { margin: 0; padding:0 12px; border:none; }
.fbox3 table td { margin:0; padding:3px 6px 3px 0; border:none; }

/*breadcrumb*/
div#breadcrumb {
	margin: 0 0 0 12px;
	font-size:0.8em;
	text-transform:uppercase;
	}

.sidepadbox {
	margin:0 12px;
	}

/*External pages*/
	a.facebook,
	a.flickr,
	a.ulapland,
	a.youtube { display:block; height: 22px; overflow:hidden; }
	a.facebook span,
	a.flickr span,
	a.ulapland span,
	a.youtube span { display: none; }
	a.facebook { width:66px; background: url('../images/facebook.gif') 0px 50% no-repeat; }
	a.facebook:hover { background: url('../images/facebook.gif') -66px 50% no-repeat; }
	a.flickr { width:50px; background: url('../images/flickr.gif') 0px 50% no-repeat; }
	a.flickr:hover { background: url('../images/flickr.gif') -50px 50% no-repeat; }
	a.ulapland { width:107px; background: url('../images/ulapland.gif') 0px 50% no-repeat; }
	a.ulapland:hover { background: url('../images/ulapland.gif') -107px 50% no-repeat; }
	a.youtube { width:50px; background: url('../images/youtube.gif') 0px 50% no-repeat; }
	a.youtube:hover { background: url('../images/youtube.gif') -50px 50% no-repeat; }
	

#secondary .yellow { background-color: #ffd300; }
#secondary .orange { background-color: #da8d00; }
#secondary .red { background-color: #cd5a00; }

#secondary .hiddentitle h2 span { visibility:hidden; }

.banners p { text-align:center; margin-top:5px; }
.banners p img { width: 75%; }

.kampanja p { text-align:center; margin-top:5px; }
.kampanja p img { }

.calendar { padding-bottom:1.6em;}
.calendar div {margin-top: 1em;}

.contact_info { text-align:center; color:#ffffff; letter-spacing:1px; }

.contact_email label {display:inline-block; min-width:160px; }

table.calendar_details {margin-top:1em;}

.vaalilista table { width:70%; }
.vaalilista table tr td:first-child { width:24px; }

table.lounaslista { width:100%; }
table.lounaslista td { width:33.33%; vertical-align:top; }

p.poll_contentheading {
	font-size:1.2em;
	font-weight: bold;
	padding:1em 0 0.5em;
	margin:0;
	}
p.poll_error {
	margin:5px 0 0;
	padding: 5px 0;
	text-align:center;
    background:#fbe3e4;
    border:1px solid #fbc2c4;
    color:#d12f19;
	}
p.poll_thanks {
	margin:5px 0 0;
	padding: 5px 0;
	text-align:center;
    background-color:#E6EFC2;
    border:1px solid #C6D880;
    color:#529214;
	}
.poll_option label {
	display: inline;
	}

.rightfloat {
	float:right;
	}

/*Pagination*/
	div.pcont { width:100%; margin:0 0 12px; height:16px; }
	div.pbox { position:relative; float:left; left:50%; text-align:left; }
	ul.pagination { position:relative; display:block; left:-50%; height:16px; list-style:none; }
	ul.pagination li { position:relative; display:block; float:left; overflow:hidden; margin:0; }
	ul.pagination .pagenav { width:16px; height:16px; text-align:center; }
	.navnormal { position:relative; padding:0; border:1px solid #eed; text-align:center; }
	.navnormal a:link, .navnormal a:visited {text-decoration:none;}
	.navnormal a:hover, .navnormal a:active {text-decoration:underline; color:#da8d00;}
	.start a:link, .start a:hover, .start a:active, .start a:visited,
	.prev a:link, .prev a:hover, .prev a:active, .prev a:visited,
	.next a:link, .next a:hover, .next a:active, .next a:visited,
	.end a:link, .end a:hover, .end a:active, .end a:visited { display:block; width:16px; height:16px; text-decoration: none; text-align:center; }
	.pagination .start span,
	.pagination .prev span,
	.pagination .next span,
	.pagination .end span { display: none; }
	.start a:link, .start a:visited { background:url("../images/resultset_first.gif") 0px 1px no-repeat; }
	.start a:hover, .start a:active { background:url("../images/resultset_first.gif") -16px 1px no-repeat; }
	.prev a:link, .prev a:visited { background:url("../images/resultset_previous.gif") 0px 1px no-repeat; }
	.prev a:hover, .prev a:active { background:url("../images/resultset_previous.gif") -16px 1px no-repeat; }
	.next a:link, .next a:visited { background:url("../images/resultset_next.gif") 0px 1px no-repeat; }
	.next a:hover, .next a:active { background:url("../images/resultset_next.gif") -16px 1px no-repeat; }
	.end a:link, .end a:visited { background:url("../images/resultset_last.gif") 0px 1px no-repeat; }
	.end a:hover, .end a:active { background:url("../images/resultset_last.gif") -16px 1px no-repeat; }


/*Joomla! classes*/
.articleinfo {
	font-size:0.9em;
	}
.article_row {
	border-bottom: 1px dotted #cccccc;
	}
.buttonheading {
	float:right;
	padding:0;
	margin:0;
	}
h1.componentheading,
h2.componentheading {
	clear:both;
	font-size:1em;
	text-transform:uppercase;
	margin:0 -12px;
	padding:0.5em 12px;
	color:#fff;
	background:#ecbf00;
	}
.blog .contentheading {
	font-size:1.2em;
	letter-spacing:1px;
	}
table.category {
	clear:both;
	}
.contentdescription {
	padding:12px 0;
	border-bottom: 1px dotted #cccccc;
	}
.contentdescription:after {
	clear:both;
	}
.createdate {
	font-size:1em;
	display:block;
	color:#333333;
	}
.createdby {
	display:block;
	font-size:0.9em;
	line-height:1.2em;
	color:#666666;
	}
.iteminfo {
	margin:0;
	}
.modifydate {
	display:block;
	font-size:0.9em;
	color:#cccccc;
	}
.pageinfo {
	display:block;
	font-size:0.9em;
	text-transform:uppercase;
	color:#cccccc;
	}
.pageinfo a {
	text-decoration:none;
	color:#ecbf00;
	}
ul.pagination {
	margin-bottom:0;
	}
