﻿body {
	margin:0;
	padding:0;
	color:#000;
	background: #fff url(../img/bg_body.gif) top center repeat-x;
	font-size: x-small;      
	voice-family: "\"}\"";   
	voice-family: inherit;   
	font-size: small;
}
html>body {
	margin:0;
	padding:0;
	text-align:center;
	color:#000;
	background: #fff url(../img/bg_body.gif) top left repeat-x;
	font-size: small;
}
#wrapper {
	width:100%;
	margin:0;
	padding:0;
	float:left;
	clear:both;
	text-align:center;
	font-family:Arial, Helvetica, sans-serif;
	color:#000;
}
.membercard li {
    display:block;
    float:left;
    padding:5px;
    border:solid 1px #FFF1C0;
    width:87px;
    background:#FFFEEF;
    text-align:center;
    font-weight:bold;
}
.membercard ul li.selected {background:#FFF1C0; border-color: #D1C498}
.membercard ul li.selected a {color: #000}
.membercard ul {margin:0;padding:0}
#container {
	margin:0 auto;
	padding:0;
	width:1020px;
	text-align:left;
}

/* Header */
#header {
	width:960px;
	height:120px;
	float:left;
	position:relative;
}
h1#logokoululainen {
	position: absolute;
	left: 0;
	bottom: 0;
	height: 53px;
	width: 221px;
	background: transparent url(../img/ku_logo.png) top left no-repeat;
	margin: 0;
	padding: 0;
}
h1#logokoululainen a {
	text-indent: -9999px;
	width: 221px;
	height:53px;
	display: block;
}
div#bannertop {
	position:absolute;
	top:0;
	right:0;
}
div#bannertop a img {border:none}

div#contentarea {
	width:840px;
	float:left;
	clear:both;
	/*margin:14px 0 0 0;
	padding:0 10px 0 0;*/
	padding: 6px 10px 0;
	margin: 10px 0 0;
	background: transparent url(../img/bg/koululainen_bg.gif) no-repeat scroll 6px -3px;
}
* html div#contentarea {
	width:820px;
	w\idth:810px;
}
#bannersright {
	width:140px;
	float:left;
	display:inline;
	margin:0;
	padding:0;
	line-height:110%;
}
#bannersright span.title {
	margin:0;
	padding:0;
	font-size: 10px;
	color:#fff;
}
#bannersright a img {border:none}
#bannersright * {margin-bottom:10px}

/* Yleiset */
h2 {
	font-weight:bold;
	font-size: 2em;
	color:#000;
	display:block;
	margin:0;
	padding: 11px 0;
}
h3 {
	font-weight:bold;
	font-size: 1.4em;
	color:#000;
	display:block;
	padding: 6px 0;
	margin: 0;
}
h4 {
	font-weight:bold;
	font-size: 1.1em;
	color:#000;
	display:block;
}
ul {list-style: none}
p {font-size: 1.1em}
a {text-decoration:none;color:#0000cc}
a img {border:0}
a.more {
	margin:5px 0;
	font-size: 1.0em;
	font-weight:bold;
	color:#0000cc;
	clear:both;
	display:block;
	text-decoration:none;
}
a.open, span.open, a.restricted, span.restricted, a.closed, span.closed {
	background-position: 0 3px;
	background-repeat:no-repeat;
	padding-left: 15px;
	background-color: transparent;
}
a.open, span.open {background-image: url(../img/icon_avoin.gif)}
a.restricted, span.restricted {background-image: url(../img/icon_rajattu.gif)}
a.closed, span.closed {background-image: url(../img/icon_suljettu.gif)}
span.open {color:#006600}
span.restricted {color:#996600}
span.closed {color:#990000}

span.new {color:#333;background-color:#ffff00;margin-left:2px}
th {text-align:left}

tr.odd td {background: transparent url(../img/bg_odd.gif) top center repeat}

div.fullwidthcolumn {
	width:840px;
	/*float:left;
	clear:both;*/
}
div.doublewidthcolumn {
	width:540px;
	float:left;
	clear:both;
}
div.singlecolumn {
	width:270px;
	float:left;	
	display:inline;
}
div.singlecolumn-right {
	width:300px;
	float:left;	
	display:inline;
}
div.halfcolumn {
	width: 49.33%;
	float: left;
	display: inline;
}
div#contentheader {
	margin:0;
	padding:0;
	width:830px;
	position: relative;
}
div.hr {
	height:1px;
	margin:0 10px 0 0;
	padding:0;
	background: transparent url(../img/border_dotted.gif) bottom left repeat-x;
	display:block;
	clear:both;
}
div.hr hr {display:none}
div#contentheader .hr {margin: 0 !important; width: 800px}

dd#dropnavi, dd#dropnavi2 {display: inline; position: absolute;float: none !important; right: 0px; background: none !important; bottom: 8px}
dd#dropnavi2 {right: 120px}

/* Päänavi */
ul#mainnavi, ul#extranavi {margin:0; padding:0}
ul#extranavi {float:right}
ul#extranavi li {
	float:left;
	margin-left: 3px;
	background: #FFF1C0;
	padding: 1px 5px;
	font-size: 1.1em;
	border-bottom:1px solid #D1C498;
}
ul#mainnavi li {
	float:left;
	display:inline;
	list-style: none;
	margin:0 4px 6px 0; /* tai 35px */
	padding:0;
}
ul#mainnavi li a {
	display:block;
	border:1px solid #d1c498;
	color:#0000cc;
	background-color:#fff1c0;
	text-decoration:none;
	padding:5px 10px;
	font: bold 18px Arial, sans-serif;
}
ul#mainnavi li a.selected {color:#ffffff}
ul#mainnavi li.yhteisot a.selected {background-color: #006622}
ul#mainnavi li.jasenet a.selected {background-color: #cc0000}
ul#mainnavi li.koulutluokat a.selected {background-color: #0000cc}
ul#mainnavi li.valkka a.selected {background-color: #f62d9f}
/* subnavi */
ul#subnavi {float: left; clear: both; padding: 0; margin: 0; width: 400px; height: 2.1em}
ul#subnavi li {display: block; float: left; padding: 2px 10px 2px 15px; background:#FFFFFF url(../img/bg/subnavi_arrow.gif) no-repeat scroll 0 50%; margin: 0 10px 6px 0; border-right: 1px solid #000}
ul#subnavi li.selected {background:#FFFFFF url(../img/bg/subnavi_arrow_active.gif) no-repeat scroll 0 50%}
ul#subnavi li a:hover {color: #000}

/* Logged in */
dl#loggedin {
	float:right;
	margin:0 0 6px 0;
	padding:0;
	text-align:right;
	font-size:0.9em;
	color:#333;
}
dl#loggedin a {
	text-decoration:none;
	color:#0000cc;
	font-weight:bold;
}
dl#loggedin dt {display:block;padding:  3px 5px; font-size: 1.2em}

dl#loggedin dd {
	float:left;
	margin:0 2px 0 0;
	padding:0 0 0 6px;
	background:url(../img/loggedin_pipe.gif) 100% 50% no-repeat;
}
dl#loggedin dd.nick a {color:#660000}

dl#loggedin dd.signout {
	background-image:none;
	margin:0;
	padding:0;
	float:left;
}

dl#loggedin select {width: 110px ;border: 1px solid #aaa; background: lightyellow}
dl#loggedin dd.signout, dl#loggedin dd.ownpage, dl#loggedin dd.nick {background-position: left 50%; background-image: url('../img/loggedin_pipe.gif'); padding: 0 3px 0 7px}

/* Breadcrumb */
div#breadcrumb {
	margin:0;
	padding:4px 0;
	display:block;
	clear:both;
	color:#333;
	font-size:0.8em;
	width:830px;
	float:left;
}
div#breadcrumb p {
	margin:0;
	padding:0;
	float:left;
}
div#breadcrumb a {
	text-decoration:none;
	color:#0000cc;
}
div#breadcrumb span.current {color:#333}

div#breadcrumb span.noaccess {
	font-weight:bold;
	color:#cc0000;
}

/* Hallinta */
div#management {
	display:block;
	margin:0 10px 0 0;
	padding:0;
	text-align:right;
	font-size:0.9em;
	border-bottom: 1px solid #cc0000;
	background: transparent url(../img/bg_management.gif) top left repeat;
}
div#management ul {
	margin:0;
	padding:0;
	float:right;
}
div#management ul li {
	display:block;
	float:left;
	margin:0;
	padding:0;
}
div#management ul li a {
	display:block;
	margin:0;
	padding:5px 8px 5px 4px;
	background: transparent url(../img/loggedin_pipe.gif) 100% 50% no-repeat;
}
div#management ul li.last a {
	background:none;
	margin:0;
	padding:5px 3px 5px 4px;
}
div#management ul li a.newmembers {
	font-weight:bold;
	background:#ffff00;
}

/* Login */
div#login {
	width:828px;
	margin:10px 0 0;
	padding:0;
	clear:both;
	color:#333;
	font-size:0.9em;
	border:1px solid #d1c498;
	background-color: #fff1c0;
}
* html div#login {
	width:800px;
	w\idth:798px;
}
div#login table {width:100%}
div#login form {margin:0;padding:0}
div#login a {color:#333;font-size:0.9em}
div#login table tr th {
	padding: 12px 0 4px 15px;
	width:112px;
	font-size: 1.4em;
	font-weight: bold;
	text-align: left;
}
* html div#login table tr th {
	width: 138px;
	w\idth:112px;
}
div#login table tr td {padding: 10px 0 5px 0}
div#login table tr td label {
	float:left;
	display:inline;
	padding:0 0 4px 0 ;
}
div#login table tr td.username {width:150px}

div#login table tr td.username input {
	width: 128px;
	border: 1px solid #979797;
	font-size: 1.2em;
	font-weight: bold;
	padding: 2px;
}
div#login table tr td.password {width:150px}

div#login table tr td.password input {
	clear:both;
	font-size: 1.2em;
	font-weight:bold;
	width: 128px;
	border: 1px solid #979797;
	padding: 2px;
}
div#login table tr td.submit {
	position:relative;
	width:110px;
	text-align:left;
}
div#login table tr td.submit input#rememberme {
	height:13px;
	width:13px;
	margin:0;
	padding:0;
	display:inline;
	float:left;
}
div#login table tr td.submit label {margin:0 0 0 3px;display:inline}
div#login table tr td.submit input#submit {
	clear:both;
	display:block;
	width:80px;
	border: 1px solid #979797;
	background: #d66612 url(../img/bg_submitbutton.gif) bottom left repeat-x;
	font-size: 1.2em;
	font-weight:bold;
	color:#fff;
	vertical-align: text-top;
	margin:0;
	padding: 1px;
}
div#login table tr td.forgotpassword {
	padding: 19px 12px 0 0;
	border-right:1px solid #d1c498;
}
div#login table tr td.newaccount {
	border-left: 1px solid #fff;
	padding:20px 0 0 15px;
	width:85px;
	font-size:1.1em;
	font-weight:bold;
	color:#333;
	background: transparent url(../img/bg_newaccount.gif) top left repeat;
}
div#login table tr td.button {background: transparent url(../img/bg_newaccount.gif) top left repeat}

div#login table tr td.button a {
	margin: 9px 10px;
	display:block;
	font-size:1.7em;
	font-weight:bold;
	color:#fff;
	background-color:#990000;
	border:1px solid #d1c498;
	text-decoration:none;
	width:109px;
	text-align:center;
	padding:3px;
}

/* Sisältöosio */
div#content {margin:0;padding:10px 0}

/* Content-footer */
div#content-footer {
	width:830px;
	clear:both;
	margin:0;
	padding:0;
	border-top:1px solid #7f7f7f;
}
div#siteinfo {margin: 10px 0}

div#content-footer div.containeritem {
	width:256px;
	margin:0;
	padding:0 10px 0 0;
	float:left;
	display:inline;
}
* html div#content-footer div.containeritem {
	width:266px;
	w\idth:256px;
}
div#content-footer div.last {padding:0}

div#content-footer div.containeritem h3 {
	font-size:18px;
	font-weight:bold;
	color:#000;
	margin:0;
	padding:0;
}
div#content-footer div.containeritem dl dd {
	float:left;
	margin:0 4px 0 0;
	padding:0 6px 0 0;
	background:transparent url(../img/siteinfo_pipe.gif) 100% 50% no-repeat;
}
div#content-footer div.containeritem dl dd.last {
	background:none;
}
div#content-footer div.containeritem dl dd a {
	font-size:12px;
	text-decoration:none;
	color:#0000cc;
}
div#content-footer div#copyright {
	clear:both;
	width:100%;
	color:#333;
	text-align:center;
	border-top:1px solid #7f7f7f;
	padding: 9px 0;
}
div#content-footer div#copyright p, div#content-footer div.containeritem dl {margin:0;padding:0}

/* Footer */
#footertop {
	font-family: Arial, Helvetica, sans-serif;
	width:100%;	
	clear:both;
	float:left;
	margin:30px 0 0 0;
	padding:0;
	background:#ffffce url(../img/bg_footer_top.gif) top left repeat-x;
}
#koululainen {
	margin:0 auto;
	overflow:hidden;
	padding:29px 0 45px 230px;
	background: url(../img/bg_koululainen.gif) 0 41px no-repeat;
	text-align:left;
	width:960px;
	voice-family: "\"}\"";   
	voice-family: inherit;   
	width:730px;
}
html>body #koululainen {
	margin:0 auto;
	padding:29px 0 45px 230px;
	background: url(../img/bg_koululainen.gif) 0 41px no-repeat;
	text-align:left;
	width:730px;
}
#footerbottom {
	font-family: Arial, Helvetica, sans-serif;
	width:100%;	
	clear:both;
	float:left;
	margin:0;
	padding:0;
	background:#0a1e08 url(../img/bg_footer_bottom.gif) top left repeat-x;
  position: relative;
}
#yk {
	margin:0 auto;
	padding:0 0 50px 0;
	text-align:left;
	width:952px;
	color:#999;
	font-size:90%;
}
#yk address {
	display:block;
	width:175px;
	height:54px;
	margin:0;
	padding:16px 0 5px 0;
	float:left;
	font-style:normal;
	line-height:130%;
}
#yk address strong, #yk address span {display:block}

#customerserviceinfo {
	display:block;
	width:415px;
	height:54px;
	margin:0;
	padding:16px 0 5px 0;
	float:left;
}
#customerserviceinfo h4 {
	margin:0;
	padding:0;
	font-size:1.1em;
	line-height: 120%;
	color:#999;
}
#customerserviceinfo p {
	margin:0;
	padding:0;
	line-height:130%;
}
h2#logoyk {
	position: absolute;
	right: 0;
	bottom: 0;
	height: 69px;
	width: 220px;
	background: transparent url(http://www.otavakonserni.fi/s/img/om_logo.gif) bottom right no-repeat;
	margin: 0;
	padding: 0;
}
h2#logoyk a {
	text-indent: -9999px;
	width: 220px;
	height:69px;
	display: block;
}
#koululainen h3 {
	clear:left;
	margin:0;
	padding:16px 0 0 0;
	color:#000;
}
#koululainen dt {
	font-weight:bold;
	color:#000;
	float:left;
	margin:0 6px 0 0;
}
#koululainen dl {
	margin:0;
	padding:0;
	clear:both;
	width:580px;
}
#koululainen dd {
	margin:0 6px 0 0;
	padding:0 8px 0 0;
	background:url(../img/pipe_koululainen.gif) no-repeat 100% 50%;
	float:left;
}
#koululainen dd.last {
	margin:0;
	padding:0;
	background:none;
	float:left;
}
#koululainen a {color:#000099}

#services {
	margin:0 auto;
	padding:0 149px 0 5px;
	text-align:left;
	line-height: 1.2;
	width:836px;
	color:#999;
	clear:both;
}
* html #services {
	width: 989px;
	w\idth:836px;
}
#services dt {
	font-weight:bold;
	float:left;
	margin:0 6px 0 0;
}
#services dd {
	margin:0 6px 0 0;
	padding:0 8px 0 0;
	background:transparent url(../img/pipe_yk.gif) no-repeat 100% 50%;
	float:left;
	white-space:nowrap;
}
#services dd.last {
	margin:0;
	padding:0;
	background:none;
	float:left;
}
#services a {color:#999;text-decoration:none}
#services a:hover {color:#ccc;text-decoration:underline}
#services a.selected, #services a.selected:hover {color:#fff;font-weight:bold;text-decoration:none}

/* Statsit */
div#stats, div#stats dl, div#stats ul {margin:0;padding:0}

div#stats dt {
	display:block;
	margin:0;
	padding:0;
	font-weight:bold;
	font-size: 1.4em;
	color:#000;
}
div#stats dd, div#stats li  {
	margin:10px 0;
	padding:0 0 0 5px;
	height:38px;
	float:left;
	font-size:1.1em;
	color:#333;
	border-left:1px solid #b2b2b2;
	width:126px;
}
* html div#stats dd {
	width:132px;
	w\idth:126px;
}
* html div#stats li {
	width:132px;
	w\idth:126px;
}
div#stats dd.last , div#stats li.last { }
div#stats dd span.amount, div#stats li span.amount {
	display:block;
	font-weight:bold;
	font-size: 1.3em;
	color:#000;
}

/* Aktiivisimmat yhteisöt */
div#mostactivecommunities {
	clear:both;
	margin:10px 10px 10px 0;
	padding:0;
}
div#mostactivecommunities table {
	width:100%;
	margin:0;
	padding:0;
	text-align:left;
}
div#mostactivecommunities table tr th {
	padding:0;
	color:#000;
}
div#mostactivecommunities table tr th.heading {
	font-size:1.4em;
	color:#000;
}
div#mostactivecommunities table tr td {
	padding: 1px 0;
	color:#333;
}
div#mostactivecommunities table tr .messages {
	text-align:right;
	width:70px;
}
div#mostactivecommunities table tr td.messages {
	font-size: 1.0em;
}
div#mostactivecommunities table tr .members {
	text-align:right;
	width:80px;
	font-weight:bold;
	font-size: 1.0em;
}
div#mostactivecommunities table tr .mostrecent {
	text-align:right;
	width:110px;
}
div#mostactivecommunities table tr td.mostrecent {
	font-size: 1.0em;
	color:#333;
}
div#mostactivecommunities table tr td.name a {
	text-decoration:none;
	color:#003300;
	font-size: 1.0em;
}

/* Uusimmat yhteisöt */
div#mostrecentcommunities {
	margin:0 10px 0 0;
	padding: 0;
}	
div#mostrecentcommunities table {width: 100%}

div#mostrecentcommunities table tr th {
	font-size:1.4em;
	font-weight: bold;
	padding:0;
}
div#mostrecentcommunities table tr {padding:1px 0}
div#mostrecentcommunities table tr td a {color:#003300}

/* Kuvalista */
div.userimagelist dt {
	padding:0;
	font-weight:bold;
	font-size: 1.4em;
	display:block;
}
div.userimagelist dd {
	float:left;
	display:inline;
	width:60px;
	margin: 0 5px 5px 0; /*margin: 0 7px 7px 0;*/
	text-align: center;
}
div.userimagelist dd a, div.userimagelist dd a img, div.userimagelist dl, div.userimagelist {margin:0;padding:0}

/*Yhteison kuvalista*/
div.communityuserimagelist dt {
	padding:0;
	font-weight:bold;
	font-size: 1.4em;
	display:block;
}
div.communityuserimagelist dd {
	float:left;
	display:inline;
	width:60px;
	margin: 0 7px 7px 0;
}
div.communityuserimagelist dd a, div.communityuserimagelist dd a img, div.communityuserimagelist dl, div.communityuserimagelist {margin:0;padding:0}

/* Sivutus */
div#pagination {
	padding:5px 0;
	margin: 0 0 5px 0;
	background: #fff;
	display:block;
	clear: both;
}
div#pagination span.page {
	font-size:1.0em;
	color:#333;
	display:block;
	margin-bottom:10px;
}
div#pagination a {
	font-weight:bold;
	font-size:1.0em;
	color:#0000cc;
	text-decoration:none;
	padding: 6px 2px;
	border:1px solid #ccc;
	margin:0 1px 10px 1px;
}
div#pagination a.current {
	font-weight: normal;
	color:#333;
	background-color:#fafafa;
	border:1px solid #f1f1f1;
}
div#pagination a.previous, div#pagination a.next {font-weight: normal;border:2px solid #ccc;padding: 5px;color:#0000cc}
div#pagination a.first, div#pagination a.last {font-weight: normal; border:2px solid #f1f1f1; color:#666; padding: 5px}
div#pagination a.previous, div#pagination a.first {margin-right: 9px}
div#pagination a.next, div#pagination a.last {margin-left: 9px}

/* Selaus */
div#browsecommunities {
	margin:10px 10px 10px 0;
	padding:0;
	clear:both;
}
div#browsecommunities h3 {
	font-weight:bold;
	font-size:1.4em;
	color:#000;
	display:block;
	margin:0;
	padding:0;
}
div#browsecommunities a {
	font-size:1.0em;
	color:#0000cc;
	text-decoration:none;
}
div#browsecommunities table {
	width:100%;
	border-top: 1px solid #d8d8d8;
	border-bottom: 1px solid #d8d8d8;
	margin:0;
	padding:0;
	text-align:left;
}
div#browsecommunities table tr th {
	padding: 5px 0;
	font-weight:bold;
	font-size:1.0em;
	color:#333;
	border-bottom:1px solid #d8d8d8;
}
div#browsecommunities table tr td span.new {
	font-size:1.0em;
	font-weight: normal;
	color:#333;
	background-color:#ffff00;
	margin-left:2px;
}
div#browsecommunities table tr td {color:#333}

div#browsecommunities table tr td img {float:left;margin: 0 5px 0 0}
div#browsecommunities table tr.even td {padding: 1px 0}

div#browsecommunities table tr .messages {
	padding-right:2px;
	text-align:right;
	width:83px;
}
div#browsecommunities table tr td.messages {font-size:1.0em;color:#333}
div#browsecommunities table tr .members {
	text-align:right;
	width:60px;
	font-weight:bold;
	font-size:1.0em;
}
div#browsecommunities table tr td.name a, .memberinfo_bottom .communities_founded li a {
	text-decoration:none;
	color:#003300;
	font-size:1.0em;
}
div#browsecommunities table tr td.name a.topic {font-weight:bold;display:block}
div#browsecommunities table tr .status {width:59px}
div.byalphabet {font-weight:bold;font-size:1.0em}

/* Uusi yhteisö */
div#newgroup {
	background-color:#d8ffc0;
	border:1px solid #b0da96;
	text-align:center;
	margin:0 10px 10px 0;
	padding:0 0 10px 0;
}
div#newgroup h2 {
	font-weight:bold;
	font-size:1.8em;
	color:#000;
	margin:5px 0;
	padding:0;
}
div#newgroup span {
	font-size:1.0em;
	color:#333;
	margin:0;
	padding:0;
}
div#newgroup a.button {
	display:block;
	font-weight:bold;
	font-size:1.8em;
	color:#fff;
	background: transparent url(../img/btn_newgroup.gif) top left no-repeat;
	height:36px;
	width:246px;
	margin:0 auto;
	padding-top:3px;
	text-decoration:none;
}

/*  Haku
div#search {
	background-color: #fff1c0;
	border:1px solid #d1c498;
	padding: 0 0 15px 0;
	margin:0 10px 10px 0;
}
div#search form {margin:0;padding:0}

div#search label {
	font-weight:bold;
	font-size:1.4em;
	color:#000;
	margin: 0;
	padding:5px 0;
	display:block;
	margin: 0 0 0 6px;
}
div#search label span {
	display:block;
	font-weight:normal;
	font-size:12px;
}
div#search input#searchfield {
	width:175px;
	border:1px solid #979797;
	display: inline;
	font-size:1.2em;	
	font-weight:bold;
	height:1.3em;
	margin: 0 6px;
}
div#search input#searchsubmit {
	display:inline;
	font-weight:bold;
	font-size:1.3em;
	height:1.4em;
	color:#ffffff;
	width:57px;
	border:1px solid #979797;
	background: #d66612 url(../img/bg_submitbutton.gif) bottom left repeat-x;
	text-transform: uppercase;
	padding-bottom:3px;
}
*/

/*haku*/
div.haku {color: #fff; width: 290px; clear: both;background: #585858}
div.haku  h2 {font-size: 1.6em; padding: 5px 10px; color: #fff}
div.haku ul {padding: 0; margin: 0; float: left}
div.haku #hakutabit {background: #878787;width:100%;}
div.haku #hakutabit li {height: 37px; display: block; float: left; width: 52px}
div.haku #hakutabit li a {font-size: 0.9em; color: #525252; height: 22px; display: block; background: #aaa;padding:5px 0 1px; text-align: center}
div.haku #hakutabit li.selected {background-color: #fff;background-image: url(../img/bg/hakutabit_li_selected_bg.gif); background-position: center 6px ; background-repeat: no-repeat}
div.haku #hakutabit li a:hover, div.haku #hakutabit li.selected a {background: #eee; color: #000}
div.haku form {background:#878787;width:280px; display: block; float:left;padding: 10px 0 10px 10px}
div.haku form input {margin: 0}
div.haku form input.field {width: 228px; padding: 3px}
div.haku form ul {width: 240px; line-height: 2em}
div.haku form .button {background: url(../img/haenappi.gif) no-repeat bottom; height: 34px; width: 130px; color: #fff; font-size: 16px; font-weight: bold; border:0; margin: 20px auto 10px; display: block}
/* gallery listaus*/
div.gallerylist dt {padding:0;font-weight:bold;font-size: 1.4em;display:block}
div.gallerylist dd {background:transparent url(../img/bg_odd.gif) repeat scroll left top;float:left;display:block;width:165px;margin: 0 7px 7px 0;padding: 3px;border: 1px solid #eee}
div.gallerylist dd img {float: left; margin: 0 5px 0 0; background: url('../img/bg/bg_kuva.jpg') no-repeat; padding: 2px}
div.gallerylist dd span {display: block; font-size: 11px}
div.gallerylist dd span.desc {clear: both; font-size: 13px}
div.gallerylist dd a, div.gallerylist dl, div.gallerylist {margin:0;padding:0}

/* Teemat ja aiheet */
div#themes-topics {
	margin:10px 10px 10px 0;
	padding:0;
}
div#themes-topics table {
	text-align:left;
	width:100%;
	margin:0;
	padding:0;
}
div#themes-topics table thead tr th  {
	text-align:right;
	background:none;
	color:#333;
	font-size: 1.0em;	
	font-weight:normal;
	padding:0;
	vertical-align: baseline;
}
div#themes-topics table thead tr th.heading {
	font-weight:bold;
	font-size: 1.4em;
	color:#000;
	text-align:left;
}
div#themes-topics table tbody {background-color:#f0fff0}

div#themes-topics table tbody tr th {
	background-color:#143d21;
	color:#fff;
	font-weight:bold;
	font-size:1.1em;
	padding: 3px 0 3px 5px;
	margin-top: 16px;
}
div#themes-topics table tbody tr th a {color:#fff}

div#themes-topics table tbody tr td {font-size: 1.0em;padding:3px 0}
div#themes-topics table tbody tr td.topic a {
	margin-left:5px;
	color:#003300;
	text-decoration:none;
}
div#themes-topics table tbody tr td.members {
	padding-right:2px;
	text-align:right;
	color:#333;	
}

/* Kuvalistaus */
div#picturelist {margin:10px 0;padding:0}
div#picturelist dl, div#widepicturelist dl, div#widepicturelist {margin:0;padding:0}

div#picturelist dl dt, div#widepicturelist dl dt {
	font-size:1.4em;
	padding:0;
	font-weight:bold;
	display:block;
}
div#picturelist dl dd, div#widepicturelist dl dd {
	height:80px;
	width:80px;
	float:left;
	display:inline;
	text-align:center;
	margin: 0 10px 10px 0;
	background: url(../img/bg/bg_kuva.jpg) no-repeat;
	padding: 2px 0 0 0;
}
div#picturelist .menu{
	height:20px;
	width:100%;
	float:left;
	display:inline;
	text-align:left;
	margin: 0 0px 12px 0;
	background: none;
}
div#picturelist a.more, div#widepicturelist a.more {
	display: block;
	clear: both;
}

/* Aiheet */
div#topics {
	margin:10px 10px 10px 0;
	padding:0;
}
div#topics table {
	width:100%;
	padding:0;
	margin:0;
	text-align:left;
}
div#topics table tr th {
	font-weight:bold;
	font-size:1.0em;
}
div#topics table tr th.topic {
	font-weight:bold;
	font-size:1.4em;
}
div#topics table tr .communities, div#topics table tr .members, div#topics table tr .messages {text-align:right}

div#topics table tr td {
	font-weight:bold;
	font-size:1.0em;
	color:#333;
	padding: 2px 0 3px;
}
div#topics table tr td.topic a.topic {
	font-weight:bold;
	font-size:1.1em;
	color:#003300;
	display:block;
	text-decoration:none;
}
div#topics table tr td.topic span.description {
	font-weight:normal;
	font-size:1.0em;
	color:#333;
}
div#topics th.communities, div#topics td.communities {width:59px}
div#topics th.members, div#topics td.members {width:54px}
div#topics th.messages, div#topics td.messages {width:57px;padding-right:2px}

/* Uusimmat yhteisöt */
div#mostrecentgroups {
	margin:10px 10px 10px 0;
	padding:0;
}
div#mostrecentgroups table {
	width:100%;
	padding:0;
	text-align:left;
}
div#mostrecentgroups table tr th {
	padding: 6px 0;
	font-weight:bold;
	font-size:1.0em;
	color:#000;
	background-color:#fff;
}
div#mostrecentgroups table tr th.heading {
	font-weight:bold;
	font-size:1.4em;
	color:#000;
}
div#mostrecentgroups table tr td {
	color:#333;
	background-color:#f0fff0;
}
div#mostrecentgroups table tr td a {
	font-weight:bold;
	font-size: 1.0em;
	display:block;
	color:#003300;
}
div#mostrecentgroups table tr td.name a {
	text-decoration:none;
	color:#003300;
	font-weight:normal;
	font-size:1.0em;
}
div#mostrecentgroups table tr td span.theme {
	display:block;
	margin-left:12px
}
div#mostrecentgroups span.new {font-weight:normal}

/* Äänessä nyt */
div#recentactive {
	margin:10px 10px 10px 0;
	width:260px;
}
div#recentactive h3 {
	margin:0;
	padding:0;
	display:block;
}
div#recentactive a img {
	float:left;
	margin-right:5px;
	border:none;
}
div#recentactive p {
	margin:0;
	padding:0;
	color:#660000;
	font-weight: normal;
	font-size:1.0em;
}
div#recentactive p a {
	text-decoration:none;
	color:#660000;
}

/* Uusimmat jäsenet */
div#recentactive {
	margin:10px 10px 10px 0;
	width:260px;
}
div#recentmembers h3 {
	margin:0;
	padding:0;
	display:block;
}
div#recentmembers a img {
	float:left;
	margin-right:5px;
	border:none;
}
div#recentmembers p {
	margin:0;
	padding:0;
	color:#660000;
	font-weight: normal;
	font-size:1.0em;
}
div#recentmembers p a {
	text-decoration:none;
	color:#660000;
}

/* Tekstilistat */
div.memberlist, div.grouplist, div.schoollist {
	padding:0;
	margin:10px 10px 10px 0;
}
div.memberlist table, div.grouplist table, div.schoollist table {
	width:100%;
	margin:0;
	padding:0;
}
div.memberlist table tr th, div.grouplist table tr th, div.schoollist table tr th {
	font-weight: bold;
	font-size:1.4em;
	margin:0;
	padding:0;
}
div.memberlist table tr td, div.grouplist table tr td, div.schoollist table tr td {
	vertical-align: top;
	margin:0;
	padding:0;
}
div.memberlist table tr td.img, div.grouplist table tr td.img, div.schoollist table tr td.img {
	width:65px;
	margin:0;
	padding:0;
	vertical-align:top;
}

div.memberlist table tr td.list, div.grouplist table tr td.list, div.schoollist table tr td.list {
	width:195px;
	margin:0;
	padding:0;
}
div.memberlist table tr td p, div.grouplist table tr td p, div.schoollist table tr td p {
	width:100%;
	margin:0;
	padding:0;
	font-weight:normal;
	font-size: 1.0em;
	display:block;
	text-align:left;
}
div.memberlist h4, div.grouplist h4, div.schoollist h4, div.memberlist h3, div.grouplist h3, div.schoollist h3 {margin:0;padding:0}
div.memberlist p, div.memberlist p a {color:#660000}
div.grouplist p, div.grouplist p a {color:#003300}
div.schoollist p, div.schoollist p a {color:#0000cc}
div.memberlist a, div.grouplist a, div.schoollist a {text-decoration:none}
div.memberlist a.more, div.grouplist a.more, div.schoollist a.more {display:block;clear:both;margin:3px 0 6px 0}

/* Ulkopuoliset */
div#hupsis {
	margin: 10px 0 300px 25px;
	padding: 100px 0 0 50px;
	height:292px;
	width:372px;
	background: transparent url(../img/bg_hupsis.gif) top left no-repeat;
}
* html div#hupsis {
	width:422px;
	w\idth:372px;
	height:392px;
	he\ight:292px;
}
div#hupsis p, div#oho p {
	width:230px;
	font-size:1.1em;
	color:#000;
}
div#oho {
	margin: 10px 0 300px 25px;
	padding: 100px 0 0 50px;
	height:292px;
	width:372px;
	background: transparent url(../img/bg_oho.gif) top left no-repeat;
}
* html div#oho {
	width:422px;
	w\idth:372px;
	height:392px;
	he\ight:292px;
}

/* Teeman tiedot */
div#themeheading {
	margin:10px 10px 10px 0;
	padding:0;
}
div#themeheading h2 {margin:0;padding:0}

/* Yhteisön tiedot */
div#groupheader {
	margin:0 10px 10px 0;
	padding:0;
	float: left
}
div#groupheader div.hr {
	clear:none;
	margin:0;
	background-image: url(../img/border_dotted_gray.gif);
}
div#groupheader div#groupimage {
	float:left;
	height:60px;
	width:60px;
	padding:15px;
	background: transparent url(../img/bg_groupimage.gif) top left no-repeat;
}
* html div#groupheader div#groupimage {
	width: 90px;
	height: 90px;
	w\idth: 60px;
	he\ight: 60px;
}
div#groupheader div#groupinfo {
	/*vaihdetaan kapeampaan palstaan width:700px;*/
	margin: 0 0 0 10px;
	float:left;
	display:inline;
	width:700px;
}
div#groupheader div#groupinfo h2 {
	color:#006600;
	margin:0;
	padding:0;
}
div#groupheader div#groupinfo ul {
	margin: 0;
	padding:5px 0;
}
div#groupheader div#groupinfo ul li {
	float:left;
	display:inline;
	margin:0 2px 0 0;
	padding:0 6px 0 0;
	background:url(../img/12px-pipe.gif) 100% 50% no-repeat;
}
div#groupheader div#groupinfo ul li a {
	font-weight:bold;
	font-size:1.0em;
}

div#groupheader div#groupinfo ul li a.selected {padding: 0 3px; background: #000; color: #fff}

div#groupheader div#groupinfo ul li.last {background:none}

div#groupheader div#groupinfo p.description {
	float:left;
	width:430px;
	font-size: 1.0em;
	display:block;
	color:#333;
	margin: 0;
	padding:10px 0;
}

/* Keskusteluissa */
div#discussions {
	margin:10px 10px 10px 0;
	padding:0;
}
div#discussions table {
	width:100%;
	padding:0;
	text-align:left;
}
div#discussions table tr th {
	font-weight: bold;
	font-size: 1.0em;
}
div#discussions table tr th.thread {
	font-weight: bold;
	font-size: 1.4em;
}
div#discussions table tr .messages {text-align: center}

div#discussions table tr td {
	font-weight: bold;
	font-size: 1.0em;
	color:#333;
	padding: 4px 0;
}
div#discussions table tr.even td {
	padding-top:5px;
	padding-bottom:5px;
}
div#discussions table tr td.thread {
	font-size: 0.9em;
	color:#003300;
	text-align:left;
}
div#discussions table tr td.thread a {
	font-weight: bold;
	font-size: 1.0em;
	text-decoration:none;
}
div#discussions table tr td.thread a img {
	float:left;
	margin-right:5px;
}
div#discussions table tr td.thread a.user {
	font-weight: normal;
	color:#660000;
}
div#discussions table tr td.thread a.date {
	font-weight: normal;
	color:#003300;
}
div#discussions table tr td.thread a.thread {
	font-weight: bold;
	font-size: 1.0em;
	float:left;
}
div#discussions table tr td.thread span.description {
	font-weight: normal;
	font-size: 1.0em;
	color:#333;
}
div#discussions th.messages, div#discussions td.messages {width:51px}
div#discussions td.messages {background-color:#f0fff0}
div#discussions tr.even td.messages {background-color:#f0fff0}
div#discussions th.latest, div#discussions td.latest {
	width:94px;
	padding-left:12px;
	padding-right:2px;
}

div#discussions table tr td a.open, div#discussions table tr td a.restricted, div#discussions table tr td a.closed 
{padding-left:12px;color:#003300;font-weight: normal;font-size: 1.0em;text-decoration:none; /*display: block !important;*/ float:left}

div#discussions table tr td a.open {background: transparent url(../img/icon_avoin.gif) 0 2px no-repeat}
div#discussions table tr td a.restricted {background: transparent url(../img/icon_rajattu.gif) 0 2px no-repeat}
div#discussions table tr td a.closed {background: transparent url(../img/icon_suljettu.gif) 0 2px no-repeat}

div#discussions table tr td span.new {
	font-weight: normal;
	color:#333;
	background-color:#ffff00;
	margin-left:2px;
}
div#discussions table tr td.latest a.date, div#discussions table tr td.latest a.today {
	font-weight: normal;
	font-size: 0.9em;
	text-decoration:none;
	color:#000;
}
div#discussions table tr td.latest a.today {background-color:#ffff99}

div#discussions table tr td.latest a.user {
	font-weight: normal;
	font-size: 0.9em;
	text-decoration:none;
	color:#660000;
	display:block;
}

/* Status */
div#groupstatus {
	/*vaihdetaan singlecolumniin float:right;*/
	width: 508px;
	margin:5px 0;
	padding:5px 10px;
	border: 1px solid #d4d4d4;
}
* html div#groupstatus {
	width:508px;
	w\idth:508px;
}
div.open {background-color:#D8FFC0}
div.closed, div.restricted {background-color:#fff992}
div.closed p, div.closed span.closed {color: #ff1414 !important}
div#groupstatus span {display:inline}

div#groupstatus p {
	font-size: 1.0em;
	margin: 5px 0;
	color:#333;
}
div#groupstatus p.closed {
	font-size:1.4em;
}
div#groupstatus a {
	display:block;
	margin:5px 0 0 0;
	text-decoration:none;
	color:#0000cc;
	font-size:1.4em;
}

/* Karttaelementit */
div#map {margin:10px 10px 10px 0;padding:0;/*float: inherit;*/}
div#map h3 {
	padding: 0;
	font-weight: bold;
	font-size: 1.4em;
	color:#000;
	margin:0;
}
div#map h4 {
	padding: 4px 0;
	font-weight: bold;
	font-size: 1.4em;
	color:#000;
	margin:0;
}
div#map dl {
	margin:0;
	padding:0;
	font-weight: normal;
	font-size: 1.0em;
	color:#333;
}
div#map dl dt, div#map dl dd {display:inline;margin:0;padding:0}
div#map dl dd {padding-right:5px;background: transparent url(../img/12px-pipe.gif) right center no-repeat}
div#map dl dd.schools {background:none}
div#map dl a {text-decoration:none;color: #0000cc}
div#map dl a.selected {color: #000;font-weight:bold}

div#map div#google_map span {white-space: normal; display: block}

/* Yhteisöjen selaus */
div#grouplist {
	margin:10px 10px 10px 0;
	padding:0;
}
div#grouplist table tr th {
	margin:0;
	padding:10px 0;
	font-weight:bold;
	font-size: 1.4em;
}
div#grouplist table tr th span.amount {font-weight:normal}

div#grouplist table {
	margin:0;
	padding:0;
	border-bottom: 1px solid #d8d8d8;
}
div#grouplist table tr td {
	border-top: 1px solid #d8d8d8;
	padding: 10px 0 12px 0;
}
div#grouplist table tr td.img {
	width:65px;
	text-align:left;
	vertical-align:top;
}
div#grouplist dl {margin:0;padding:0}
div#grouplist dl dt {margin:0;padding:0;display:block}
div#grouplist dl dt a {
	margin:0;
	padding:0;
	font-weight: bold;
	font-size:1.4em;
	color:#003300;
}
div#grouplist dl dt span.new {
	font-weight:normal;
	margin:0;
	padding:0;
}
div#grouplist dl dd {
	color:#333;
	float:left;
	font-size:1.0em;
	font-weight:bold;
	margin:0 2px 0 0;
	padding:0 6px 0 0;
	background:url(../img/12px-pipe.gif) 100% 50% no-repeat;
	display:inline;
}
div#grouplist dl dd.last {background:none}

div#grouplist  p {
	margin:0;
	padding:0;
	font-size:1em;
	color:#333;	
}
div#grouplist dl dd span.today, div#mostactivecommunities .today {
	background-color:#ffff99;
	padding: 0 5px;
}

/* Aiheen tunniste */
div#topicheader {
	margin:10px 10px 10px 0;
	padding:0;	
}
div#topicheader span.theme {
	color:#333;
	display:block;
	font-size:1.1em;
}
div#topicheader h2 {margin:0;padding:0}

/* Koulun tunniste */
div#schoolheader {margin: 10px 10px 10px 0}
div#schoolheader img {margin: 0 5px 0 0;padding:0;float:left}
div#schoolheader h2 {margin:0;padding:0}

/* Tästä puhutaan */
div#discussed {
	margin: 10px 10px 10px 0;
	padding:0;
	width:260px;
	float:left;
}
div#discussed h3, div#discussed dl {margin:0;padding:0}

div#discussed table {
	margin:0 10px 0 0;
	padding:0;
}
div#discussed table tr th {
	padding:5px 0;
	font-weight:bold;
	font-size: 1.4em;
}
div#discussed dl dt a {
	margin:0;
	padding:0;
	font-weight:bold;
	font-size:1.0em;
	display:block;
	color:#0000cc;
}
div#discussed dl dd {
	float:left;
	display:inline;
	margin:0 2px 0 0;
	padding:0 6px 0 0;
	background:url(../img/12px-pipe.gif) 100% 50% no-repeat;
}
div#discussed dl dd a {color:#333}
div#discussed dl dd.last {background:none}
div#discussed dl dd.theme a {color:#003300}
div#discussed dl dd.nick a {color:#660000}

/* Selaa kouluja */
div#browseschools {
	margin:10px 10px 10px 0;
	padding:0;
}
div#browseschools h3 {margin:0;padding:0}

div#browseschools table {
	width:100%;
	margin:0;
	padding:0;
	border-top:1px solid #d8d8d8;
	border-bottom:1px solid #d8d8d8;
}
div#browseschools table tr th {
	margin:0;
	padding:5px 0;
	border-bottom:1px solid #d8d8d8;
	font-weight:bold;
	font-size: 1.0em;
	color:#333;
}
div#browseschools table tr td {
	padding:2px 0;
	color:#0000cc;
}
div#browseschools table tr td.name {width:190px}
div#browseschools table tr td.school_name {width:400px}

/* Käyttäjälistaus */
div.userlist {
	margin:10px 10px 10px 0;
	padding:0;
	width:260px;
}
div.userlist dl {
	margin:0;
	padding:0;
	width:100%;
}
div.userlist dl dt {
	font-weight: bold;
	font-size:1.4em;
	color:#000;
	display:block;
}
div.userlist dl dt a {
	font-weight: normal;
	font-size:1.4em;
	color:#0000cc;
	text-decoration:none;
}
div.userlist dl dd {
	width:60px;
	float:left;
	display:inline;
	text-align:center;
	margin:5px 5px 5px 0;
	padding:0;
}
div.userlist dl dd a img {border:none}
div.userlist dl dd a.user {
	margin-top:2px;
	font-weight: normal;
	font-size:0.9em;
	color:#660000;
	text-decoration:none;
	display:block;	
}
div.userlist dl dd a.role {
	font-weight: normal;
	font-size:0.9em;
	color:#333;
	text-decoration:none;
}

/* Aktiivisimmat koulut */
div#activeschools {
	margin:10px 10px 10px 0;
	padding:0;
}
div#activeschools h3 {margin:0;padding:0}

div#activeschools p {
	font-size: 1.0em;
	color:#0000cc;
	margin:0;
	padding:0;
}
div#activeschools a {
	font-size: 1.0em;
	color:#0000cc;
	margin:0;
	padding:0;
}
/* Yhteison jäsenet */
div#groupmembers {
	margin:0 10px 10px 0;
	padding:0;
}
div#groupmembers h3 {margin:0; padding: 0}
div#groupmembers h3 span.count {font-weight:normal}

/* Uusimmat jäsenet -taulukot */
div#newmembers {
	margin:0 10px 10px 0;
	padding:0;
	width:800px;
}
div#newmembers ul {margin:0;padding:0}
div#newmembers ul li {
	float:left;
	margin:0 10px 0 0;
	padding:0;
	display:inline;
}
div#newmembers ul li.last {
	float:left;
	margin:0;
	padding:0;
	display:inline;
}
div#newmembers ul li table {
	margin:0;
	padding:0;
	width:260px;
}
div#newmembers ul li table tr th {
	font-weight:bold;
	font-size:1.1em;
	margin:0;
	padding:0;
	border-bottom: 1px solid #d8d8d8;
}
div#newmembers ul li table tr td.img {
	background-color: transparent;
	width:30px;
	vertical-align:top;
}
div#newmembers ul li table tr td.member {
	padding-left:5px;
	color:#0000cc;
}
div#newmembers ul li table tr td.member span.nick {display:block}

div#newmembers ul li table tr td.member span.nick a {
	font-weight:bold;
	color:#660000;
}
div#browseschools table tr td.name span.nick a {color:#660000}
div#birthdays {
	margin:	10px 10px 10px 0;
	padding:0;
}
div#birthdays table {
	margin:0;
	padding:0;
	width:100%;
}
div#birthdays table tr th {
	font-weight:bold;
	font-size:1.4em;
	margin:0;
	padding:0;
	border-bottom: 1px solid #d8d8d8;
}
div#birthdays table tr.odd td {
	background-image: url(../img/bg_odd_birthday.gif);
}
div#birthdays table tr td.img {
	background-color: transparent;
	width:30px;
}
div#birthdays table tr td.member {padding-left:5px}
div#birthdays table tr td.member span.nick {display:block}
div#birthdays table tr td.member span.nick a {
	font-weight:bold;
	color:#660000;
}

/* Aktiivisimmat yhteisöt teemoittain ja aiheittain */
div#activebythemes {margin: 10px 0;padding:0;width:430px;float:left;}
div#activebythemes ul {
	list-style:none;
	margin:0;
	padding:0;	
}
div#activebythemes ul li {
	list-style:none;
	float:left;
	display:inline;
	margin: 0 10px 0 0;
	padding:0;
	width:193px;
}
div#activebythemes ul li.last, div#activebythemes h3 {margin:0;padding:0}
div#activebythemes ul li table {width:190px}

div#activebythemes th {
	text-align:left;
	border-bottom:1px solid #d8d8d8;
	margin:0;
	padding:0;
}
div#activebythemes td {margin:0;padding:0 0 0 5px}
div#activebythemes td.image {
	width:30px;
	padding:0;
	vertical-align: top;
}
div#activebythemes td a img {border:none}
div#activebythemes td a.topic {display:block;color:#0000cc;text-decoration:none}

div#activebythemes td a.community {
	color:#003300;
	text-decoration:none;
	font-weight: bold;
}
div#boxad{width:300px;float:left;padding-top:20px;background:transparent url(../img/bg/ilmoitus_bg.gif) no-repeat scroll left top;}
div#boxad-article{width:300px;margin:20px auto;padding-top:20px;background:transparent url(../img/bg/ilmoitus_bg.gif) no-repeat scroll left top;}
div#recentmessages {margin: 10px 10px 10px 0;padding:0}
div#recentmessages table {width:100%}
div#recentmessages table tr th {font-weight:bold;font-size: 1.4em}
div.pick {
	margin: 0 10px 10px 0;
	position: relative;
	padding-bottom: 10px;
	background: url(../img/bg/pick_bg.gif) no-repeat scroll center top;
	min-height:130px;
	height:auto !important;
	height:130px;
}
div.pick img {
	position: absolute;
	left: 0;
	margin: 5px 7px;
	border: 2px solid #fff;
}
div.pick h4, div.pick p, div.pick a {
	margin:0;
	padding:2px 0 0 105px;
}
div.pickbottom {
	background: url(../img/bg/pick_bottombg.gif) bottom left no-repeat;
	height: 5px;
	display: block;
	position:absolute;
	bottom: 0;
	width:270px;
}

/* Profiilisivu */
.memberinfo_bottom a, .memberinfo_top a {font-weight: bold}
.memberinfo_bottom, .memberinfo_top {float:left;width: 100%;background-repeat: no-repeat}
.memberinfo_top {background-position: bottom; color: #fff}
.memberinfo_bottom {background-position: top}

/* Profiilin teemaväritykset */
#pinkki .memberinfo_top {background-image: url(../img/bg/member_girl.gif); background-color: #F35095}
#pinkki .memberinfo_bottom {background-image: url(../img/bg/memberbottom_girl.gif)}

#sininen .memberinfo_top {background-image: url(../img/bg/member_boy.gif); background-color: #00BEE2}
#sininen .memberinfo_bottom {background-image: url(../img/bg/memberbottom_boy.gif)}
#sininen .memberinfo_top img {border-color: #115469}

#rantakesa .memberinfo_top {background-image: url(../img/bg/member_rantakesa.gif); background-color: #00BEE2}
#rantakesa .memberinfo_bottom {background-image: url(../img/bg/memberbottom_rantakesa.gif)}
#rantakesa .memberinfo_bottom dt {color: #000}
#rantakesa .memberinfo_top img {border-color: #115469}

#pelaaja .memberinfo_top {background-color: #444444}
#pelaaja .memberinfo_bottom {background-image: url(../img/bg/memberbottom_pelaaja.gif)}
#pelaaja .memberinfo_top img {border-color: #115469}

#luonto .memberinfo_top {background-color: #66B724}
#luonto .memberinfo_bottom {background-image: url(../img/bg/memberbottom_luonto.gif)}
#luonto .memberinfo_top img {border-color: #316B11}

#kissa .memberinfo_top {background-image: url(../img/bg/member_kissa.gif); background-color: #00BEE2; color: #222}
#kissa .memberinfo_bottom {background-image: url(../img/bg/memberbottom_kissa.gif)}
#kissa .memberinfo_top img {border-color: #115469}

#autoilu .memberinfo_top {background-image: url(../img/bg/member_autot.gif); background-color: #00BEE2}
#autoilu .memberinfo_bottom {background-image: url(../img/bg/memberbottom_autot.gif)}
#autoilu .memberinfo_top img {border-color: #115469}

#rock .memberinfo_top {background-image: url(../img/bg/member_rock.gif); background-color: #00BEE2}
#rock .memberinfo_bottom {background-image: url(../img/bg/memberbottom_rock.gif)}
#rock .memberinfo_top img {border-color: #115469}

#Unknown .memberinfo_top, #harmaa .memberinfo_top {background-image: url(../img/bg/member_unknown.gif); background-color: #7e7e7e}
#Unknown .memberinfo_bottom, #harmaa .memberinfo_bottom {background-image: url(../img/bg/memberbottom_unknown.gif)}
#Unknown .memberinfo_top img, #harmaa .memberinfo_top img {border-color: #3d3d3d}

#groupheader {background-repeat: no-repeat; background-position: right top}
#groupheader.rantakesa {background-image: url(../img/bg/community_rantakesa.jpg)}
#groupheader.pelaaja {background-image: url(../img/bg/community_pelaaja.jpg)}
#groupheader.luonto {background-image: url(../img/bg/community_luonto.jpg)}
#groupheader.kissa {background-image: url(../img/bg/community_kissa.jpg)}
#groupheader.autoilu {background-image: url(../img/bg/community_autoilu.jpg)}
#groupheader.rock {background-image: url(../img/bg/community_rock.jpg)}

.memberinfo_top ul, .memberinfo_bottom ul {padding: 0;margin: 0;list-style-type: none}
.memberinfo_top ul li {display: inline}
.memberinfo_top img {
	float:left;
	border: 5px solid #6f1a3f;
	margin-right: 10px;
	padding: 1px;
	background: white;
}

.memberinfo_top h1 {margin: 10px 0 0 0}

.memberinfo_bottom #addfriend {
	background: url(../img/bg/kaveriksi_bg.gif) repeat;
	text-align: right;
	padding: 5px 5px 5px 0;
}
.memberinfo_bottom #addfriend a {
	background: url(../img/bg/kaveriksi_nuoli.gif) no-repeat left center;
	padding-left: 25px;
}
.memberinfo_bottom a.poistu {
	padding-left: 18px;
	background: url(../img/actions/action_delete.gif) no-repeat left center;
	color: #CC0000 !important;
	font-size: 11px !important;
	position: absolute;
	top: 2px;
	right: 5px;
}
.memberinfo_bottom ul, .memberinfo_bottom dl {
	background: url(../img/bg/pisteet-vaaka_musta.gif) repeat-x top;
	margin: 0;
}
.memberinfo_bottom ul li, .memberinfo_bottom dl dd, .memberinfo_bottom p {
	background: url(../img/bg/pisteet-vaaka_musta.gif) repeat-x bottom;
	padding: 5px 0 5px 5px;
	margin: 0;
	font-size: 1em; 
}
.memberinfo_bottom dl dt {
	margin-left: 5px;
	color: #444;
	font-weight: bold;
	padding-top: 5px;
}
.memberinfo_bottom #picturelist {background: url(../img/bg_odd.gif) top left repeat}
.memberinfo_bottom #picturelist dd {margin:0pt 5px 10px 10px}
.memberinfo_bottom ul.schoolinfo {padding: 5px 0 0}

.memberinfo_bottom ul.schoolinfo li, .memberinfo_bottom .communities_founded li {
	background: none;
	margin: 0pt 0pt 5px 8px;
	padding: 0;
}
.memberinfo_bottom ul.schoolinfo li img, .memberinfo_bottom .communities_founded li img {
	float:left;
	margin-right: 5px;
	border: 0;
	padding-top: 2px;
}
.memberinfo_bottom ul.schoolinfo li span {display: block;color: #333333}
.memberinfo_bottom ul.communities_founded {background-position: bottom;padding-bottom: 5px}
.memberinfo_bottom ul.communities_founded a.section {font-weight: normal}
.memberinfo_bottom .communities_founded li {
	margin: 0 0 5px 5px;
	padding: 0;
	background: none;
	clear: both;
	position: relative;
	width: 395px;
}
.memberinfo_bottom .communities_founded li.odd {background: transparent url(../img/bg_odd.gif) top left repeat}

.memberinfo_bottom h2 {
	font-size: 1em;
	padding: 5px 0 5px 5px;
}
.halfcolumn .userimagelist {padding-left: 15px}
.halfcolumn .userimagelist dt {font-size: 1.7em; margin-bottom: 0.3em}
.halfcolumn .userimagelist dl {
	float: left;
	background: url(../img/bg/pisteet-vaaka_musta.gif) repeat-x bottom;
	padding: 0;
	margin:0;
	width: 100%;
}
.halfcolumn .userimagelist dl dd img {display: block}
.clear:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
    min-height: 0;
}
.clear {display: inline-block}

/* Hides from IE-mac \*/
* html .clear {height: 1%}
.clear {display: block}
/* End hide from IE-mac */

/* Bannercolumn */
#bannercolumn {text-align: left;width:300px;}
#bannercolumn p {margin: 0}
#bannercolumn img {margin-bottom: 5px}
/* kuvanostot etusivulla */
#bannercolumn #picturelist {text-align: left; width: 270px; padding-left: 6px; margin: 0}
#bannercolumn #picturelist dd {margin: 0 10px 10px 0}

#picture {background: transparent url(../img/bg_odd.gif) repeat scroll left top; width: 530px; display: block}
#picture h2 {background: #fff}
#picture img {margin: 5px auto; display: block}
/* kuvagallerian infobox */
#picture_info p {margin: 0}
#picture_info {margin: 0 0px 0 0; padding: 10px 0 10px 5px; background: #FFF1C0; position: relative}
#picture_info .thumbup, #picture_info .thumbdown {padding-left: 20px}
#picture_info .thumbup {background: url(../img/actions/thumbup.gif) no-repeat}
#picture_info .thumbdown {background: url(../img/actions/thumbdown.gif) no-repeat}
#picture p.kuvaus {background: #FFF1C0;padding: 10px 0 10px 5px; margin:0}
#imageuploader {position: absolute; top: 3px; right: 5px}
#imageuploader img {display: block; float: left; margin: 0 5px 0 0; width: 30px; height: 30px; background: red}

#picturelist dd.active {background: 0; padding: 0}
#picturelist dd.active img {border: orange solid 2px}

/* TOIMITUKSEN DOKUMENTIT */
div#toimitus {background: url(../img/bg/sidebar-a_bg.gif) repeat-y left top; margin: 0; padding: 5px 0 0 0; float: left}
div#toimitus div.doublewidthcolumn {clear: none; width: 580px}
div#toimitus div.doublewidthcolumn ul li {list-style: disc inside; padding: 0}
div#toimitus div.doublewidthcolumn ul {margin: 1em; padding: 0}
div#toimitus div.doublewidthcolumn h2, div#toimitus div.doublewidthcolumn h3 {margin: 0 0 0.5em 0; padding:0; line-height: 1em}
div#toimitus div.doublewidthcolumn p {margin: 0 0 1em 0}
div#toimitus div.doublewidthcolumn img {padding: 2px; border: 1px solid lightblue; background:#eee}
div#toimitus div.doublewidthcolumn img.oikea {float: right; margin: 2px 0 15px 10px}
div#toimitus div.doublewidthcolumn img.vasen {float: left; margin: 2px 10px 15px 0}
div#toimitus div.doublewidthcolumn .clear {clear: both}

div#toimitus hr.harmaa {border: 0; height: 1px; background: #666; clear: both}

div#toimitus div.vinjettiboksi {background-color: #FFF1C0; padding: 10px; float: left; width: 560px}

/*sidenavi*/
div#toimitus #sidebar-a {width: 200px; float: left; margin-right: 20px; display: block; min-height: 1px}
div#toimitus #sidebar-a ul {padding: 0; margin: 0}
div#toimitus #sidebar-a ul li {margin: 0 0 5px 0; border: 1px solid #D1C498}
div#toimitus #sidebar-a ul li a {font-weight: bold; padding: 8px 10px; display: block; background: #FFF1C0}
div#toimitus #sidebar-a ul li a:hover {background: #ffe380}
div#toimitus #sidebar-a ul li.selected {border-right: 0px; border-color: #ccc; color: #0000CC}
div#toimitus #sidebar-a ul li.selected a {background: #fff; width: 179px}
div#toimitus #sidebar-a ul li.inpath a {background: transparent url(../img/bg_odd.gif) repeat scroll left top; color: #555}

div#toimitus #sidebar-a ul li.inpath ul li a {padding:  4px 10px 4px 20px}
div#toimitus #sidebar-a ul li.inpath ul li.selected a {border-right: 0px; border-color: #ccc; background: #fff; color: #0000CC}
div#toimitus #sidebar-a ul li ul li {margin: 0; border: 0; padding: 0}
div#toimitus #sidebar-a ul li ul li a {padding: 4px 10px 4px 20px; background: #FFF1C0; width: 169px !important}
div#toimitus #sidebar-a ul li.selected ul li a {background: #fff7d9}
div#toimitus #sidebar-a ul li.selected ul li a:hover {background: #ffe380}

div#toimitus div.poll ul li {list-style-type: none}

/* kyselyt*/
div.tulokset table{border:0 none;margin:0 0 1.2em 0;padding:4px;border-collapse:collapse;background:url(../img/bg/tulos_bg.gif) left bottom repeat-x}
div.tulokset table caption{display:none}
div.tulokset table th{background:#fff;border:0 none;margin:0;padding:10px 0 4px 0}
div.tulokset table td{padding:0.3em;padding-left:0.6em;padding-right:0.6em;border:1px solid #d0e6b7;border-collapse:collapse}
div.tulokset table td img{margin-right:0.6em;border:1px solid #8cc34e}

.infobox {
	display:block;
	border:2px solid #006622;
	color:#0000cc;
	background-color:#EBF1E8;
	text-decoration:none;
	margin:10px 8px 10px 0;
	padding:0 10px 0 10px;
	font: Arial, sans-serif;
	color:#006622;
}
.infobox h1 {font-size:20px}
.infobox p {font-size:15px}
div#info p {font-size:15px}
.notifyinfo{background:lightgreen;}

div#info {
	display:block;
	border:1px solid #006622;
	text-decoration:none;
	margin:20px 8px 20px 0;
	padding:0 10px 20px 10px;
	font: Arial, sans-serif;
}
div#info h1 {color:#006622;font-size:20px}
/* Tervetuloa */
div#nextsteps .singlecolumn {margin-bottom: 10px}
div#nextsteps .singlecolumn p, div#nextsteps .halfcolumn .userimagelist {padding: 0 5px 0 0; margin: 10px 0}
div#nextsteps .singlecolumn img {border: 1px solid #888}
div#nextsteps .halfcolumn .userimagelist dt {font-size: 1.2em}

div.nosto {border-bottom: 1px solid #999; clear:both; padding: 0.6em 0em 0em}
div.nosto {background: none}
div.nosto .clear {background: transparent url(../img/raitaviiva.gif) repeat-x left bottom !important; height: 1px}
div.nosto h2 {text-transform: none; margin-bottom: 0.5em}
div.nosto h2 a {color:#000}
div.nosto h2 {font-size: 161.6%; font-weight: bold;margin-left: 0.29em}
div.nosto h2 a:hover, div.nosto p.lisaa a:hover {text-decoration: underline}
div.nosto img {float: left; margin: 0.25em 0em 0.692em 0em; /*width: 19.7em;*/ padding: 0.15em; border: 1px solid #8C9A63; background: #fff}
div.nosto p {margin-left: 0.692em; margin-right: 0.692em}
div.nosto p.lisaa {float: right; margin-top: 1em; margin-bottom: 0.5em}
div.nosto img.oikea {margin-right: 0.29em}

/* comments */
.item.comment abbr {float: left; margin-bottom: 10px}
.item.comment {float: left; width: 558px; padding: 10px; background: #f6f6f6; margin-bottom: 10px; border: 1px solid #e6e6e6}
.comment img {margin-top: 0; width: 30px; height: 30px; float: right}
.comment div {width: 540px; float: left; display: block; border-top: 1px solid #e6e6e6; padding-top: 10px; margin-top: 10px}
.comment div.adminpanel {position:relative;margin-top:5px;border:1px solid #E4532C; background:none; padding: 9px}
.comment div.fold {border: 0}
.script .comment div.fold,.script .commentform #nicknamehint {display: none}
.commentform #nicknamehint {background: lightyellow; padding: 10px}
.comment span {float: right; cursor: pointer; color: #003366; font-weight: bold; text-indent: 15px; background-repeat: no-repeat; background-position: left 6px}
.comment span.comment_fold {background-image: url(../img/fold.gif)}
.comment span {background-image: url(../img/unfold.gif)}
.comment div p {margin: 0}
.comment div p {margin: 0 0 1em}
.comment div h2, .comment div h4 {margin: 0 0 10px 0; font-size: 1em}
.comment h2 a {color:#003366}

/* lomakkeet */
.commentform {margin: 18px 0}
.commentform {position: relative}
.commentform #nicknamehint {position: absolute; right: 0; top: -10px; width: 274px}
.commentform label{display: block}
.commentform textarea{margin: 0; padding: 0; font-size:1em}
.commentform textarea {width: 580px}
.commentform textarea, .commentform input, .competitionform input {border-left: 1px solid #969696; border-top: 1px solid #969696; border-bottom: 1px solid #ccc; border-right: 1px solid #ccc; margin-bottom: 18px; background: #eee}

/* shoutbox */
#shoutbox {margin: 0 0 20px 15px; position: relative; padding-bottom: 10px;}
#shoutbox_form {margin: 0}
#shoutlistholder #shoutlist {padding: 0; margin: 0;background: #FFFEEF; padding: 10px; margin-top: 10px; -moz-border-radius: 10px;-webkit-border-radius: 10px;border: 1px solid #ccc}
#shoutbox_form #shout {font-size: 16px; padding: 9px 5px; border: 1px solid #C0C0C0; width: 250px; margin: 0 5px 0 0; height: 20px}
#shoutbox_form #shoutbutton {cursor: pointer; width: 115px; background: url(../img/bg/shoutbutton_bg.png) no-repeat left top; height: 50px; border: 0; text-indent: -9999px}
#shoutlistholder .shoutitem {font-size: 16px;padding: 5px 0; border-bottom: 1px solid #ccc}
#shoutlistholder .shoutitem span {display: block; font-size: 11px; margin-top: 5px; color: #888}
#shoutlistholder .shoutitem span .shoutboxdelete {color: red}
#shoutbox #shoutheader {font-size: 22px; padding: 0; margin: 0}
#shoutbox #shoutboxnext, #shoutbox #shoutboxprev, #updateshouts {font-weight: bold; color: #0000CC; cursor: pointer}
#shoutbox #shoutboxnext {position: absolute; right: 0; bottom: 0; background: url(../img/bg/next.png) no-repeat right; padding-right: 20px}
#shoutbox #shoutboxprev {position: absolute; left: 0; bottom: 0; background: url(../img/bg/prev.png) no-repeat left; padding-left: 20px}
#updateshouts {background: url(../img/bg/updateshouts.png) no-repeat left top;padding-left: 20px; height: 16px; position: absolute; top: 0; right: 0}
#shouttip {background: lightyellow; border: 1px solid orange; padding: 10px; font-size: 12px}
#shouttip p {margin: 0}
.script #shouttip {display: none}
#shouthelp {font-size: 12px; color: #333; color: #0000CC; cursor: pointer}
div.galleryitem {min-height:180px;width:180px;border-top:1px dotted #BBBBBB;float:left;margin-bottom:15px;padding-top:15px;}
div#toimitus div.doublewidthcolumn .kilpailu ul li{list-style-type:none;}