/* Globaalit tyylit
------------------------------------------------------------------*/


/* Resetoidaan marginaalit */
* {
	padding:0px;
	margin:0;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	background-color: #FFFFFF;
	font-size: 100%;
	font-style: normal;
	line-height: 100%;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	color: #909090;
	margin: 0px;
	padding-top: 55px;
	padding-right: 20px;
	padding-bottom: 0px;
	padding-left: 20px;
	background-image: url(pics/background.gif);
}

h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	color: #666666;
	line-height: 1.3em;
	font-weight: normal;
	display: block;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 0px;
	text-transform: uppercase;
}

h2 {
	font-family: "Trebuchet MS", Trebuchet;
	font-size: 1.3em;
	color: #be4a65;
	font-weight: normal;
	margin-bottom: 4px;
	line-height: normal;
}

h3 {
	font-family: "Trebuchet MS", Trebuchet;
	font-size: 1.3em;
	color: #074B92;
	line-height: 1.5em;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	margin-top: 5px;
	clear: none;
	margin-bottom: 7px;
}

h4 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.3em;
	color: #999999;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	display: block;
	margin-bottom: 5px;
	margin-top: 5px;
	line-height: 1.6em;
}

h5 {
	font-family: Arial, Helvetica, sans-serif;
	color: #666666;
	font-size: 1.6em;
	font-style: normal;
	line-height: 1.2em;
	margin-bottom: 12px;
	font-weight: normal;
	text-transform: none;
	text-align: center;
}

h6 {
	font-family: "Trebuchet MS", Trebuchet;
	font-size: 1.6em;
	color: #e98f00;
	line-height: 2.6em;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
}

a {  /* Tällä poistetaan linkkikuvien ympäriltä ikävä reunus */
	outline: none;
}

p {
	margin-bottom: 11px;
	font-size: 0.9em;
	color: #909090;
	line-height: 1.3em;
}

textarea, input, select {
	font-size: 13px;
	font-family: "Trebuchet MS", Trebuchet;
	padding-top: 3px;
	padding-right: 3px;
	padding-bottom: 3px;
	padding-left: 3px;
	border: 1px solid #999999;
	background-color: #FFFFFF;
}

option { /* Alasvetovalikon nuolen formatointi */
	padding-right: 10px;
	padding-left: 7px;	
}

input:focus, textarea:focus, select:focus {
	background-color: #FFFFFF;
	color: #000000;	
}

.noscreen {
	display:none;
}

img {
	border:none;
}

hr {
	border: 0;
	color: #CCCCCC;
	background-color: #CCCCCC;
	height: 1px;
	border-top: 1px solid #CCCCCC;
	width: 100%;
	text-align: left;
	margin-top: 15px;
	margin-bottom: 15px;
}

blockquote {
	font-style: italic;
	font-weight: normal;
	display: block;
	padding-left: 30px;
	color: #666666;
}

ul {
	list-style-type: disc;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 22px;
	padding: 0;
}

li {
	padding-left: 0.5em;
	padding-bottom: 0.6em;
	line-height: 1.3em;
	font-size: 0.9em;
}


/* DIVit
------------------------------------------------------------------*/

/* HUOM! #pohja siirretty templateen!!! */

#main {
	width: 890px;
	background-color: #FFFFFF;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	border-top-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-left-style: solid;
	border-top-color: #999999;
	border-left-color: #999999;
	text-align: left;
}

/* HUOM! #mainvarjo siirretty templateen!!! */

#header {
	width: 790px;
	padding-bottom: 20px;
	margin: 0px;
	padding-left: 60px;
	padding-top: 26px;
}

#liputyla {
	width: 100px;
	float: right;
	text-align: right;
	height: 30px;
	clear: both;
	padding-right: 14px;
	padding-top: 3px;
}

#linkityla {
	width: 500px;
	float: right;
	text-align: left;
	margin-top: 33px;
	height: 50px;
	clear: both;
}

#linkityla2 {
	width: 500px;
	float: right;
	text-align: left;
	margin-top: 25px;
	height: 50px;
	clear: both;
}

#sisalto {
	margin-left: 25px;
}

#loginruutu {
	background-color: #f4e8eb;
	width: 280px;
	padding: 20px;
}

#footer {
	text-align: left;
	font-size: 0.8em;
	padding-top: 8px;
	margin: 0px;
}


/* Muut
------------------------------------------------------------------*/

.otsikko1 {
	font-family: Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	font-weight: normal;
	font-size: 1.3em;
	padding-bottom: 2px;
	padding-top: 3px;
}

.otsikko2 {
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #333333;
	font-weight: bold;
}

.otsikko3 {
	padding-bottom: 3px;
	padding-top: 10px;
	display: block;
}

#sisalto ul {
	list-style-type: none;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 20px;
	padding: 0;
}

#sisalto li {
	background-image: url(../kuvat/pallo.gif);
	background-repeat: no-repeat;
	background-position: 0 0.3em;
	padding-left: 1.4em;
	padding-bottom: 0.6em;
	line-height: 1.1em;
}

.form1, .form2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
	color: #333333;
	background-color: #FFFFFF;
	height: auto;
	padding-top: 5px;
	padding-right: 2px;
	padding-bottom: 3px;
	margin-top: 6px;
	margin-right: 0px;
	margin-bottom: 6px;
	padding-left: 5px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #761237;
	border-right-color: #E3C6CD;
	border-bottom-color: #E3C6CD;
	border-left-color: #761237;
	margin-left: 0px;
}

.form1 {
	width: 150px;
}

.form2 {
	width: 230px;
}

input.button1 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #FFFFFF;
	background-color: #550F29;
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 10px;
	height: auto;
	width: auto;
	background-position: center top;
	cursor:pointer;
	cursor: hand;
	margin: 0px;
	background-image: url(../kuvat/liuku_menu_pun.jpg);
	background-repeat: repeat-x;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-right-color: #000000;
	border-bottom-color: #000000;
	border-top-style: none;
	border-left-style: none;	
	_border-right-width: 1px; /* näytä vain IE:lle */
	_border-bottom-width: 1px; /* näytä vain IE:lle */
	_border-top-style: none; /* näytä vain IE:lle */
	_border-left-style: none; /* näytä vain IE:lle */
	_border-right-style: solid; /* näytä vain IE:lle */
	_border-bottom-style: solid; /* näytä vain IE:lle */
	_border-right-color: #701236; /* näytä vain IE:lle */
	_border-bottom-color: #701236; /* näytä vain IE:lle */
}

input.button1:active {
	background-image: url(../kuvat/liuku_menu_pun.jpg);
	background-repeat: repeat-x;
	background-position: center top;
	background-color: #550F29;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

input.checkboxi1 {
	border-top-style: none !important;
	border-right-style: none !important;
	border-bottom-style: none !important;
	border-left-style: none !important;
	background-color: #f4e8eb !important;
}

#edut ul {   /* Etusivun eduille omat bullettinsa */
	list-style-type: none;
	padding: 0;
	margin: 0;
}

#edut li {
	background-image: url(../kuvat/edut_bullet.gif);
	background-repeat: no-repeat;
	background-position: 0 0.4em;
	padding-left: 0.8em;
	padding-bottom: 0.5em;
}

td.tdlinkit {
	width: 160px;
	padding-top: 25px;
	padding-right: 14px;
	padding-left: 35px;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #CCCCCC;
}

td.tdcontent1 {
	width: 375px;
	padding-top: 25px;
	padding-right: 15px;
	background-image: none;
	padding-left: 20px;
}

td.tdcontent2 {
	width: 640px;
	padding-top: 25px;
	padding-right: 15px;
	background-image: none;
	padding-left: 20px;
}

td.tdcontent3 {
	width: 310px;
	padding-top: 25px;
	background-image: none;
	padding-left: 20px;
}

td.tdcontent4 {
	width: 310px;
	padding-top: 25px;
	background-image: none;
	padding-left: 20px;
}

td.tdcontent5 {
	width: 785px;
	padding-top: 25px;
	background-image: none;
	padding-left: 86px;
}

td.tdcontentenkeli {
	width: 270px;
	background-image: none;
}

td.tdosoite {
	padding-top: 25px;
	padding-left: 25px;
	background-image: none;
	font-size: 0.8em;
	padding-bottom: 0px;
}

table.tableotayhteytta {
	font-size: 0.9em;
}

table.tabletoteutus {
	font-size: 0.9em;
}

.punainenteksti {
	color: #ef5b99;
}


/* Taulujen tyylit
------------------------------------------------------------------*/

table.tabledata1 {
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #cccccc;
	border-bottom-color: #cccccc;
	border-left-color: #cccccc;
	margin-bottom: 20px;
	line-height: 1.2em;
	font-size: 0.9em;
	font-family: Arial, Helvetica, sans-serif;
	width: 100%;
}

table.tabledata1 th {
	color: #f0e6e6;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	font-weight: bold;
	background-color: #0f0005;
	background-image: url(../kuvat/taulu_tausta1.gif);
	background-repeat: repeat-x;
	padding-top: 5px;
	padding-bottom: 4px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-right-color: #4f6d9a;
	border-bottom-color: #395683;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #c6d1e4;
	padding-right: 0px;
	padding-left: 7px;
	background-position: bottom;
}

table.tabledata1 td {
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 7px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-right-color: #cccccc;
	border-bottom-color: #cccccc;
}


/* Linkkityylejä
------------------------------------------------------------------*/

p a:link, p a:visited { /* punainen linkki */
	font-family: Arial, Helvetica, sans-serif;
	color: #909090;
	text-decoration: none;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #ef5b99;
}

p a:hover {
	text-decoration: none;
	color: #ef5b99;
	border-bottom-style: none;	
}

#linkityla a:link, #linkityla a:visited { /* Ylänavin linkit */
	color: #909090;
	text-decoration: none;
	font-style: normal;
	line-height: normal;
	font-size: 0.75em;
}

#linkityla a:hover {
	color: #ef5b99;
	text-decoration: none;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #ef5b99;		
}

td.tdosoite a:link, td.tdosoite a:visited, td.tdosoite a:hover { /* Alaosan osoitepalkin linkki */
	color: #909090;
	text-decoration: none;
	font-style: normal;
	line-height: normal;
	border-bottom-style: none;
}

#menu a.valittu {
	color: #ffffff !important;
	text-decoration: none;
}

.eilinkkia { /* Hävitetään kuvan alta linkkiviiva (mm. pohjakuvat) */
	border: 0px !important;
	
}
