/* vanhat alkuperaiset tyylit alkaa tasta */

body  {
	background: #666666;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #333;
	background-image: url(../images/pattern2.jpg);
	font-family: Verdana, Geneva, sans-serif;
	font-size: 9px;
	height: 100px;
}
.twoColFixLt #container {
	width: 800px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #FFFFFF;
	text-align: left; /* this overrides the text-align: center on the body element. */
	height: 500px;
	background-image: url(Images/background_small.jpg);
	background-repeat: no-repeat;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}
.twoColFixLt #sidebar1 {
	float: left; /* since this element is floated, a width must be given */
	width: 198px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	background: #EBEBEB;
	height: 399px;
}
.twoColFixLt #mainContent {
	margin: 0 0 0 198px; /* the left margin on this div element creates the column down the left side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	/*padding: 50px 30px 20px 30px;*/
	padding: 50px 0 20px 0;
} 
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
.top {
	height: 100px;
	width: 400px;
	padding: ‍;
}
.alateksti {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 9px;
	color: #999;
	text-align: right;
}
.väliotsikko {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #333;
}
.Pääotsikko {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 18px;
	font-weight: bold;
	color: #333;
}
.leipis {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 9px;
	color: #000;
}
.keskitetty {
	text-align: center;
}
.keskitetty {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 9px;
	color: #000;
	text-align: center;
}
.ekaotsikko {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #666;
}

body {
	font-family: verdana, helvetica, arial;
	font-size: 54%;
	padding: 0em;
	margin: 0;
	background-image: url(../images/pattern2.jpg);
}

#content {
	/*width: 40em;*/
	background-color: black;
	padding: 1em 0;
	border: 1px double #666666;
	margin: auto;
	voice-family: "\"}\""; 
	voice-family:inherit;
}
html>body #content {
	/*width: 90em;*/
} 

a {
	text-decoration: none;
}

a:link {
	color: #000000;
}

a:visited {
	color: #000000;
}

a:active {
	color: red;
}

a:hover {
	text-decoration: underline;
}


ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#nav a {
	font-weight: bold;
	color: black;
}

#nav a {
	text-decoration: none;
}

#nav li li a {
	display: block;
	font-weight: normal;
	color: black;
	padding: 0.2em 10px;
}

#nav li li a:hover {
	padding: 0.2em 5px;
	border: 1px solid #666666;
	border-width: 0 5px;
}

li {
	float: left;
	position: relative;
	width: 13em;
	text-align: center;
	cursor: default;
	background-color: white;
	border: 1px solid #666666;
	border-width: 1px 0;
}

li#first {
	border-left-width: 1em;
}

li#last {
	border-right-width: 1em;
}

li ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;

	font-weight: normal;
	background: url(../images/ddbg3.gif) bottom left no-repeat;
	padding: 0.5em 0 1em 0;
	border-right: solid 1px #333333;
}


li li {
	display: block;
	float: none;
	background-color: white;
	border: 0;
}

li:hover ul, li.over ul {
	display: block;
}

hr {
	display: none;

}

p.image {
	float: right;
	font-size: 0.8em;
	text-align: center;
	color: black;
	padding: 1.25em 1.25em 0.25em 0.25em;
}

p.image img {
	display: block;
	border: 1px solid #7d6340;
}
/* vanhat alkuperaiset tyylit loppuu tahan */




/* tasta alkaa kaikki uudet tehdyt tyylit */

#wrapper {
	width: 800px;
	text-align: center;
	margin: 0 auto;
}

#ylaosa {
	width: 800px;
	height: 100px;
}

#sisaltoalue {
	width: 800px;
	height: 517px;
	position: relative;
	background-image: url(../images/background_small.jpg);
	background-repeat: no-repeat;
	text-align: left;
}

#vasenpalkki {
	position: absolute;
	left: 0;
	top: 0;
	width: 198px;
	height: 398px;
}

#navitausta {
	position: absolute;
	top: 0;
	left: 198px;
	background-color: black;
	border: 1px double #666666;
	height: 18px;
	width: 590px;
}
#naviholder {
	position: absolute;
	top: 10px;
	left: 198px;
	z-index: 1;
}

#tietoalue_holder {
	position: absolute;
	top: 100px;
	left: 230px;
	width: 560px;
	height: 380px;
	overflow: auto;
}
#tietoalue {
	margin: 0 20px 0 0;
}

#tietoalue p {
	margin-top: 0;
	margin-bottom: 15px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 9px;
	color: #000;
}
#tietoalue h1 {
	margin-top: 0;
	margin-bottom: 15px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 18px;
	font-weight: bold;
	color: #333;
}
#tietoalue h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #333;
}

table.yhteystiedot {
	margin: 0;
}
table.yhteystiedot .isompaa {
	font-weight: bold;
	font-size: 11px;
}

#fp_sisalto_holder {
	position: relative;
	height: 273px;
	width: 484px;
	background-image: url(../images/welcome.jpg);
	background-repeat: no-repeat;
	margin-left: 30px;
}
#fp_sisalto {
	position: absolute;
	top: 15px;
	left: 20px;
	text-align: center;
}

#etusivunkuva {
	position: absolute;
	top: 76px;
	left: 203px;
}

#footer {
	width: 800px;
	text-align: right;
}