/* Globaalit tyylit
------------------------------------------------------------------*/


/* Resetoidaan marginaalit */
* {
	padding:0;
	margin:0;
}

body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 100.01%;
	/* Setting a default body font size in percent (instead of em) eliminates an IE/Win problem with growing or shrinking fonts out of proportion if they are later set in ems in other elements. Additionally, some versions of Opera will draw a default font-size of 100% too small compared to other browsers. http://www.smashingmagazine.com/2007/05/10/70-expert-ideas-for-better-css-coding/*/	
	font-style: normal;
	line-height: 100%;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	color: #FFFFFF;
	margin: 0px;
	padding: 0px;
	background-color: #ebebeb;
	background-image: url(kuvat/tausta_harmaa.jpg);
	background-repeat: repeat;
}


h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.3em;
	color: #666666;
	line-height: 1.6em;
	font-weight: normal;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 6px;
	margin-left: 0px;
}

h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.3em;
	color: #666666;
	line-height: 1.3em;
	font-weight: normal;
	display: block;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 4px;
	margin-left: 0px;
	text-align: center;
}

h3 {
	font-family: Arial, Helvetica, sans-serif;
	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: #333333;
	font-size: 1.2em;
	font-style: normal;
	line-height: 1.2em;
	margin-bottom: 12px;
	font-weight: bold;
	text-transform: none;
}

h6 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.3em;
	color: #0048ce;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	display: block;
	padding-left: 3px;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-left: 12px;
}

a {  /* Tällä poistetaan linkkikuvien ympäriltä ikävä reunus */
	outline: none;
}

p {
	margin-bottom: 15px;
	line-height: 1.6em;
}

#tekstit2 p {
	margin-bottom: 10px;
	line-height: 1.3em;
}

td {
	font-size: 0.9em;
}

img {
	border:none;
}


/* DIVit
------------------------------------------------------------------*/

#header {
	width: 709px;
	background-image: url(kuvat/menupalkki.jpg);
	background-repeat: no-repeat;
	background-position: 441px bottom;
	margin-top: 25px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	text-align: right;
	padding-right: 35px;
	height: 17px;
}

#yhteystiedot, #tekijat, #projektit, #tuotteet {
	width: 753px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 5px;
	margin-left: auto;
	background-color: #ebebeb;
	background-repeat: no-repeat;
	background-position: center top;
	height: 543px;
}

#yhteystiedot {
	background-image: url(kuvat/yhteystiedot.jpg);
}

#tekijat {
	background-image: url(kuvat/tekijat.jpg);
}

#projektit {
	background-image: url(kuvat/projektit.jpg);
}

#tuotteet {
	background-image: url(kuvat/tuotteet.jpg);
}

#tekstit, #tekstit2 {
	padding-right: 0px;
	padding-left: 30px;
	padding-top: 0px;
	padding-bottom: 0px;
	font-size: 0.7em;
}

#logo {
	height: 148px;
}

#copyright {
	width: 753px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 20px;
	margin-left: auto;
	font-size: 10px;
	color: #999999;
	text-align: right;
	padding-right: 15px;
}

/* Muut
------------------------------------------------------------------*/

.otsikko1 {
	font-family: Arial, Helvetica, sans-serif;
	color: #FFCC00;
	font-weight: normal;
	font-size: 1.2em;
	padding-bottom: 2px;
	padding-top: 3px;
}


/* Linkkityylejä
------------------------------------------------------------------*/

a:link, a:visited, a:active {
	color: #FFCC00;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #FFCC00;
	text-decoration: none;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1em;
	font-style: normal;
	line-height: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
}

a:hover {
	text-decoration: none;
	border-bottom-width: 0px;
}

#header a:link, #header a:visited {
	font-family: Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	text-decoration: none;
	line-height: normal;
	font-size: 0.7em;
	border-bottom-width: 0px;
}

#header a:hover {
	text-decoration: none;
	color: #FFCC00;
}

#logo a:link, #logo a:visited {
	text-decoration: none;
	border-bottom-width: 0px;
}

#logo a:hover {
	text-decoration: none;
	border-bottom-width: 0px;
}

a .valittu {
	color: #FFCC00 !important;
}
