.bg {
	background-color: #fcfcfc;
	background-image: url(../images/bg.jpg);
	background-repeat: repeat-x;
}

/* undohtml.css */
/* (CC) 2004 Tantek Celik. Some Rights Reserved.             */
/*   http://creativecommons.org/licenses/by/2.0                   */
/* This style sheet is licensed under a Creative Commons License. */

/* Purpose: undo some of the default styling of common (X)HTML browsers */

body
{
text-align: center;
}

/* link underlines tend to make hypertext less readable, 
   because underlines obscure the shapes of the lower halves of words */


/* no list-markers by default, since lists are used more often for semantics */


/* avoid browser default inconsistent heading font-sizes */
/* and pre/code too */
h3,h4,h5,h6,pre,code { font-size:1em; }

/* remove the inconsistent (among browsers) default ul,ol padding or margin  */
/* the default spacing on headings does not match nor align with 
   normal interline spacing at all, so let's get rid of it. */
/* zero out the spacing around pre, form, body, html, p, blockquote as well */
/* form elements are oddly inconsistent, and not quite CSS emulatable. */
/*  nonetheless strip their margin and padding as well */
ul,ol,li,h2,h3,h4,h5,h6,pre,form,body,html,fieldset,input
{ margin:0; padding:0 }

/* whoever thought blue linked image borders were a good idea? */
a img,:link img,:visited img { border:none }

/* de-italicize address */
address { font-style:normal }

/* more varnish stripping as necessary... */

 .clear {
       clear: both;
       height: 1px;
       font-size: 1px;
       line-height: 1px;       
	   margin-bottom: -1px;
 }



a:link {

font-family: arial, verdana, sans-serif;
font-weight: bold;
text-decoration: none;
font-size: 12px;
color: #666666;
text-align: left;

}

a:visited {

font-family: arial, verdana, sans-serif;
font-weight: bold;
text-decoration: none;
font-size: 12px;
color: #666666;
text-align: left;

}

a:hover {	

font-family: arial, verdana, sans-serif;
font-weight: bold;
text-decoration: underline;
font-size: 12px;
color: #004675;
text-align: left;

}

a:active {

font-family: arial, verdana, sans-serif;
font-weight: bold;
text-decoration: none;
font-size: 12px;
color: #004675;
text-align: left;

}


.border {

border: solid 2px #5b5b5c; 

}

a.linkki:link {

font-family: arial, verdana, sans-serif;
font-weight: normal;
text-decoration: underline;
font-size: 12px;
color: #666666;
text-align: left;

}

a.linkki:visited {

font-family: arial, verdana, sans-serif;
font-weight: normal;
text-decoration: none;
font-size: 12px;
color: #666666;
text-align: left;

}

a.linkki:hover {	

font-family: arial, verdana, sans-serif;
font-weight: normal;
text-decoration: underline;
font-size: 12px;
color: #004675;
text-align: left;

}

a.linkki:active {

font-family: arial, verdana, sans-serif;
font-weight: normal;
text-decoration: none;
font-size: 12px;
color: #004675;


}

.subnavipad {


padding: 3px 0px 5px 0px;

}

a.subnavilinkit:link {

font-family: arial, verdana, sans-serif;
font-weight: bold;
text-decoration: underline;
font-size: 12px;
color: #ffffff;


}

a.subnavilinkit:visited {

font-family: arial, verdana, sans-serif;
font-weight: bold;
text-decoration: underline;
font-size: 12px;
color: #ffffff;


}

a.subnavilinkit:hover {	

font-family: arial, verdana, sans-serif;
font-weight: bold;
text-decoration: none;
font-size: 12px;
color: #cccccc;


}

a.subnavilinkit:active {

font-family: arial, verdana, sans-serif;
font-weight: bold;
text-decoration: none;
font-size: 12px;
color: #ffffff;


}



h1 {

font-family: arial, verdana, sans-serif;
font-weight: bold;
text-decoration: none;
font-size: 17px;
color: #666666;
margin: 0;
align: left;

}

h2 {

font-family: arial, verdana, sans-serif;
font-weight: bold;
text-decoration: none;
font-size: 15px;
color: #666666;
margin: 0;
align: left;

}

h3 {

font-family: arial, verdana, sans-serif;
font-weight: bold;
text-decoration: none;
font-size: 15px;
color: #666666;
margin: 0;
align: left;

}




blockquote {

margin: 44px 0px 0px 56px;

}


p, td {

font-family: arial, verdana, sans-serif;
font-weight: normal;
text-decoration: none;
font-size: 12px;
color: #666666;
text-align: left;

}

li {

font-family: arial, verdana, sans-serif;
font-weight: normal;
text-decoration: none;
font-size: 12px;
color: #666666;
text-align: left;


}

ul {


padding-left: 50px;

}



.navigaatio {

margin-left: 20px;

}


.naviyla {

	text-align: center;
	background-image: url(../images/navi_yla.jpg);
	background-repeat: no-repeat;

}

.navisub {
	padding: 4px 0px 6px 0px;
	text-align: center;
	background-color: #666666;


}

.navikeski {
	text-align: center;
	background-image: url(../images/navi_keski.jpg);
	background-repeat: repeat-none;
}

.naviala {

	text-align: center;
	background-image: url(../images/navi_ala.jpg);
	background-repeat: repeat-none;

}

.aa {
	padding: 4px 0px 6px 0px;
	text-align: center;
}

.registered {
	padding: 4px 0px 6px 0px;
	text-align: center;
}

.theunderline {

font-family: arial, verdana, sans-serif;
font-weight: bold;
text-decoration: none;
font-size: 12px;
color: #666666;
text-align: left;
}


.small {

font-family: arial, verdana, sans-serif;
font-weight: normal;
text-decoration: none;
font-size: 12px;
color: #666666;
text-align: left;

}

.{-----DIVS------}

#cleardiv
		{
			clear: both;
			height: 1em;
		}
		
#containerold {

width: 100%;
margin-left: auto;
margin-right: auto;
text-align: center;

}

#bgcontainer {

	margin-left: auto;
	margin-right: auto;
	width: 1018px;
	text-align: center;
	background-image: url(../images/isobg.jpg);
	background-repeat: no-repeat;

}

#container {
/*	height: 100%; */
	margin-left: auto;
	margin-right: auto;
	width: 1018px;
	text-align: center;



}

#bgrepeatcontainer {
	float: left;
	margin-left: auto;
	margin-right: auto;
	width: 1018px;
	background-image: url(../images/repeatbg.jpg);
	background-repeat: repeat-y;
	background-position: 0px 900px; 


}

#main {
	height: 100%;
	margin-left: auto;
	margin-right: auto;
	width: 980px;
	text-align: left;

}

#navibg {


width: 249px;
height: 500px;
background-image: url(../images/navibg.jpg);
background-repeat: no-repeat;
float: left;
position: relative;
background-color: ;
}

#navi {

padding: 15px;
font-family: arial, verdana, sans-serif;
font-weight: bold;
text-decoration: none;
font-size: 12px;
color: #666666;
text-align: center;
/* margin-left: 15px; */
line-height: 30px;
/* margin-top: -10px; */

}


#content {

width: 731px;
float: left;

}


#content2 {

width: 731px;
float: left;
background-image: url(../images/contentbg.jpg);
background-repeat: no-repeat;
}


#teknisetheadcontent {

width: 731px;
float: left;
background-image: url(../images/contentbg.jpg);
background-repeat: no-repeat;

}


#leftcontent {

width: 400px;
float: left;
}

#leftcontent_tekninen {

width: 600px;
float: left;


}

#footer {
	height: 39px;
	margin-left: auto;
	margin-right: auto;
	width: 1018px;
	text-align: center;

}

#rightcontent {

float: right;
width: 233px;
/* height: 381px; */
margin: 50px 55px 0px 0px;

}
