/* Stylesheet

Page:		Toime Pojat ry - Esittely
			http://users.tkk.fi/~ialehto/as751102/
Version:	Demo
Author:		Ilkka Lehto
Type:		text/css

*/


/* Runkoelementit */

html {
	margin: 0;
	padding: 5px 0 50px 0;
	background: #695d5d;
	font: 9pt verdana, helvetica, sans-serif;
}

body {
	margin: auto;
	padding: 0;
	width: 750px;
	background-color: #fff;
}

div {
	margin: 0;
	padding: 0;
}

div.itsetyydo{
	border: 3px solid #000;	
}

div.main {
	position: relative;
	margin: 10px 20px 10px 180px;
}

div.menu {
	float: left;
	width: 160px;
	background: none;
	overflow: hidden;
	
}

div.login {
	margin: 0;
	padding: 0 10px 0 0;
	/*float: right;*/
	text-align: right;
	height: 25px;
	white-space: nowrap;
 	background: #695d5d;
}

div.otsikko {
	margin: 0;
	padding: 5px 5px 0 640px;
	height: 125px;
	white-space: nowrap;
	background: url('kuvat/otsikko.jpg') no-repeat;
	border-bottom: 3px solid #555;
	text-align: center;
}

p.otsikkoNappi {
	background: url('kuvat/otsikkoNappi.gif') no-repeat;
	margin: 2px 0 0 0;
	padding: 3px 0 0 0;
	width: 97px;
	height: 19px;
	font-weight: bold;
}


p.otsikkoNappi a{
	color: #555;
	text-decoration: none;
}

p.otsikkoNappi a:visited{
	color: #555;
}

p.otsikkoNappi a:hover{
	color: #d68d00;
}

div.copyright {background: url('kuvat/otsikko.jpg') no-repeat;
	padding-top: 30px;
	background: none;
	clear: both;
	text-align: center;
}

table.yhteystieto{
	margin: 0px;
	padding: 0px;
	width: 99%;
	background: #654;
	color: #fed;
	border: 1px solid #000;
}

.yhteystieto a:link, .yhteystieto a:visited, .yhteystieto a:active, .yhteystieto a:hover{
	color: #fed;
}

table.yhteystieto th, table.yhteystieto2 th{
	text-align: left;	
}

table.yhteystieto img{
	text-align: right;	
}

table.yhteystieto2{
	margin: 0;
	padding: 0px;
	width: 99%;
	background: #fed;
	color: #654;
	border: 1px solid #000;
}

.yhteystieto2 a:link, .yhteystieto2 a:visited, .yhteystieto2 a:active, .yhteystieto2 a:hover{
	color: #654;
}

table.yhteystieto td, table.yhteystieto th, table.yhteystieto2 td, table.yhteystieto2 th{
	padding: 2px;	
}

tr.yhteystieto2{
	color: #654;
	background: #fed;
}

table.yhteystieto img{
	text-align: left;	
}

td.kuvasolu{
	width: 80px;
	padding: 0;
}

/* Kuvat */

img{
	border: 0;
}

img.etusivulle{
	float: left;
	margin: 5px 0 0 5px;
}

div.otsikko img{
  float:right;
  border: none;
}

div.oikea{
	float:right;
	margin: 0;
	padding: 0px 0px 0px 15px;
	text-align: center;
	font: 9pt arial, sans-serif;
	font-style: italic;
	border: none;
	background: none;
}

div.oikea img{
	margin: 0;
	padding: 0;
}

div.vasen{
	float:left;
	margin: 0;
	padding: 0px 15px 0px 0px;
	text-align: center;
	font: 9pt arial, sans-serif;
	font-style: italic;
	border: none;
}

div.vasen img{
	margin-bottom: 10px;
}

img.banneri{
	margin-top: 50px;
	margin-left: 20px;	
	border: solid #000 2px;
}

/* Otsikot */

div.otsikko h1 {
	margin: 20px 0 0 140px;
	padding: 0;
	font: 20pt Verdana, sans-serif;
	font-variant: small-caps;
	font-weight: bold;
	color: #b10000;
	
}

h2 {
	margin: 20px 0 15px 0;
	padding: 0;
	font: 14pt verdana, sans-serif;
	font-weight: bold;
}

h3 {
	margin: 20px 0 10px 0;
	padding: 0;
	font: 11pt verdana, sans-serif;
	font-weight: bold;
	border-bottom: 1px solid #654;
	color: #654;
}


h4 {
	margin: 10px 0 3px 0;
	padding: 0;
	font: 9pt verdana, sans-serif;
	font-weight: bold;
	color: #654;
}


/* Listat */
div.menu ul, div.menu li {
	margin: 0;
	padding: 0;
}

div.menu h2{
	margin: 0;
	font: 9pt Verdana, sans-serif;
	font-weight: bold;
	font-variant: small-caps;
}


div.menu h2 a{
	display: block;
	padding: 5px 0 5px 10px;
	background: #fed;
	border-top: 1px solid #000;
	border-right: 1px solid #000;
}

div.menu h2 a:link, div.menu h2 a:visited, div.menu h2 a:active {
	text-decoration: none;
	color: #654;
}


div.menu h2 a.aktiivinen:link, div.menu h2 a.aktiivinen:visited, div.menu h2 a.aktiivinen:active {
	color: #fed;
	background: url('kuvat/valikko.jpg') no-repeat #302523;	
}

div.menu h2 a:hover, div.menu h2 a.aktiivinen:hover {
	text-decoration: none;
	color: #fed;
	background: #654;
}

div.menu h2 a.lukittu:link, div.menu h2 a.lukittu:visited, div.menu h2 a.lukittu:active, div.menu h2 a.aktive:hover {
	color: #999;
	background: #ddd;	
}

div.menu ul.paavalikko {
	display: block;
	border-bottom: 1px solid #000;
}

div.menu ul {
	display: none;
	list-style: none;
}

div.menu ul ul{
	padding: 5px 0 10px 0;
	background: #654;
	border-top: 1px solid #000;
}
	
div.menu .aktiivinen{
	display: block;
	border-top: 1px solid #000;
}

div.menu ul li ul li a.aktiivine{
	border: 0;
	font-weight: bold;
}

div.menu ul ul li, div.menu ul ul ul li{
	margin-left: 20px;
	color: #fed;
	list-style-type: square;
	font: 10pt arial, sans-serif;
}

div.menu ul ul li a:link, div.menu ul ul li a:visited, div.menu ul ul li a:active{
	color: #fed;
	text-decoration:none;
}

div.menu ul ul li a:hover {
	font-weight: bold;
}

div.menu li.alilista{
	display: none;
}

ul.kiinnostus li{
	line-height: 150%;
}

ul.navi{
	list-style: none;
	text-align: center;
	margin-top: 30px;
}

ul.navi li{
	margin-bottom: 20px;
}

ul.punainen li{
	color: #a00;
	list-style-type: square;
}

/* Linkit */

a:link {

}

a:visited {

}

a:active {

}

a:hover {

}

div.menu a:link, div.menu a:visited {

}

div.menu a:active {

}

div.menu a:hover {

}

div.copyright a:link, div.copyright a:visited, div.copyright a:active {

}



/* Tekstit */

p.kirjoittaja {
	text-align: right;
	font-style: italic;
}

/* Tiedote */

div.tiedote{
	margin: 17px 0 0 0;
	padding: 0 0 5px 0;
	width: 535px;
	background: #fff url('kuvat/palkki.jpg') repeat-x;
	border: 2px solid #654;	
}

div.tiedote h2{
	margin: 0;
	padding: 0 0 2px 20px;
	font-size: 10pt;
	color: #fed;
	white-space: nowrap;
	overflow: hidden;
	background: url('kuvat/artikkeli.gif') no-repeat 2px 2px;
}

div.tiedote p{
	margin: 10px 15px 10px 10px	
}

ul.tiedote{
	list-style: url("kuvat/artikkeli.gif");	
	padding-left: 25px;
}

ul.tiedote li{
	margin: 0 0 7px 0;	
	padding: 0;
}

div.tiedotelaatikko{
	float:right;
	width: 200px;
	height: 300px;
	overflow: hidden;
	margin: 0 0 10px;
	padding: 0 5px 0 5px;
	font: 9pt arial, sans-serif;
	background: #fff url('kuvat/palkki.jpg') repeat-x;
	border: 2px solid #654;	
}

div.tiedotelaatikko h2{
	margin: 0;
	padding: 0 0 2px 20px;
	font-size: 10pt;
	color: #fed;
	background: url('kuvat/artikkeli.gif') no-repeat 2px 2px;
}

div.tiedotelaatikko h2 a:link, div.tiedotelaatikko h2 a:visited, div.tiedotelaatikko h2 a:active{
	color: #fed;
	text-decoration: none;	
} 

div.tiedotelaatikko h2 a:hover{
	color: #d68d00;
}

div.tiedotelaatikko h3{
	margin: 5px 0 0 0;
	padding: 0;
	font: 9pt arial, sans-serif;
	font-weight: bold;
	border: none;
}

div.tiedotelaatikko p {
	margin: 0 0 0 5px;
	font-style: italic;
}

.punainen{
  color: #a00;
}

div.login span.punainen{
	margin-right: 38px;
}

input.kentta {
	background: none;
}

input.nappi{
	background: none;
}

input.nappiulos{
	background: url('kuvat/nappiUlos.gif') no-repeat;
	width: 97px;
	height: 20px;
	border: none;
	color: #555;
	text-decoration: none;
	text-align: center;
}

th {
  text-align: left;
}

fieldset{
  border: none;
  margin: 0 0 7px 0;
  padding: 0;
}

/* Forum forum*/
div.forum {
	margin: 0 0 15px 0;
	padding: 0;
	width: 535px;
	background: url('kuvat/palkki.jpg') repeat-x;
	border: solid 2px #654;
	}

div.forum img{
	float: left;
	margin: 0 5px 0 2px;
	padding: 0;
}

div.forum h3 {
	margin: 0;
	padding: 2px 0 4px 34px;;
	font: 9pt verdana, sans-serif;
	font-weight: bold;
	border: none;
}
	
div.forum h3 a{
	display: block;
	text-decoration: none;
	color: #fed;
}

div.forum h3 a:visited, div.forum h3 a:active {
	color: #fed;
}

div.forum h3 a:hover{
	color: #d68d00;
}

ul.viestiketjulista{
	margin: 3px 0 8px 25px;
	padding: 0;
}

ul.viestiketjulista li{
	margin: 0;
	padding: 0px 0 2px 20px;
	list-style-type: none;
	background:url('kuvat/luettu_pieni.gif') no-repeat;

	}

ul.viestiketjulista li.lukematon{
	background:url('kuvat/lukematon_pieni.gif') no-repeat;
}

ul.viestiketjulista a{
	text-decoration: none;
	color: #000;
}

ul.viestiketjulista a:visited, ul.viestiketjulistat a:active{
	color: #000;
}
ul.viestiketjulista a:hover{
	text-decoration: underline;
}

/* Forum topic*/

div.topic {
	margin: 0 0 15px 0;
	padding: 0;
	width: 535px;
	background: url('kuvat/palkki.jpg') repeat-x;
	border: solid 2px #654;
	}

div.topic img{
	float: left;
	margin: 0 5px 0 2px;
	padding: 0;
}

div.topic h3 {
	margin: 0;
	padding: 2px 0 4px 34px;;
	font: 9pt verdana, sans-serif;
	font-weight: bold;
	border: none;
}
	
div.topic h3 a{
	display: block;
	text-decoration: none;
	color: #fed;
}

div.topic h3 a:visited, div.topic h3 a:active{
	color: #fed;
}

div.topic h3 a:hover{
	color: #d68d00;
}

ul.viestit{
	margin: 3px 0 8px 25px;
	padding: 0;
}

ul.viestit li{
	margin: 0;
	padding: 0px 0 2px 20px;
	list-style-type: none;
	background:url('kuvat/luettu_pieni.gif') no-repeat;
	/*white-space: nowrap;
	overflow: hidden;*/
}

ul.viestit li.lukematon{
	background:url('kuvat/lukematon_pieni.gif') no-repeat;
}

ul.viestit a{
	text-decoration: none;
	color: #000;
}

ul.viestit a:visited, ul.viestiketjulistat a:active{
	color: #000;
}
ul.viestit a:hover{
	text-decoration: underline;
}

.nimiKirjautunut {
	
	font-weight: bold;
}

.nimiEiKirjautunut{
font-style: italic;
	font-weight: bold;
}

/* Forum message */
a.forumEdit{
	display: block;
	margin: 2px 5px 0 0;
	float: right;
	text-decoration:none;
	color: #fed;
	font: 7pt verdana, sans-serif;
}

a.forumEdit:visited{
	color: #fed;
}

a.forumEdit:hover{
	color: #d68d00;
}

div.viesti {
	margin: 0 0 15px 0;
	padding: 0 0 5px 0;
	width: 535px;
	background: url('kuvat/palkki.jpg') repeat-x;
	border: solid 2px #654;
	overflow: hidden;
	}
	
div.viesti img{
	float: left;
	margin: 0 5px 0 2px;
	padding: 0;
}

div.viesti h3 {
	margin: 0;
	padding: 2px 0 4px 34px;;
	font: 9pt verdana, sans-serif;
	font-weight: bold;
	border: none;
	color: #fed;
}
	
div.viesti p{
	margin: 10px 10px 0 20px;
}

div.viesti span{
	font: 9pt arial, sans-serif;
	font-style: italic;
}

p.topicNappi, p.viestiNappi{
	margin: 0 0 10px 0;
	padding: 0;
}

.topicNappi a, .viestiNappi a{
	display: block;
	background: url('kuvat/forumNappi.gif') no-repeat;
	padding-top: 3px;
	width: 97px;
	height: 19px;
	border: none;
	font-weight: bold;
	color: #555;
	text-decoration: none;
	text-align: center;
}

.topicNappi a:visited, .viestiNappi a:visited{
	color: #555;
	text-decoration: none;
}

.topicNappi a:hover, .viestiNappi a:hover{
	color: #d68d00;
}

p.forumInfo{
	margin: 3px 0 0 45px;
	font-weight: bold;
}
