div  { behavior: url("iepngfix.htc") }

body {
	/*text-align: center;*/
	margin: 0 0 0 0;
	background: white url("kuvat/bg_body.jpg") no-repeat top left;
}

h1 {
	font-family: Georgia;
	font-weight:normal;
	color: #9e152d;
	margin-left: 10px;
}

h2 {
	font-family: Verdana;
	font-size: 11pt;
	font-weight: bold;
	color: black;
	margin-left: 10px;
	}

#container {
	width: 1130px;
	/*border: 1px solid red;*/
}

#top img {
	border: 0px;
}

#right {
	/*border: 1px solid red;*/
	width: 300px;
	float: right;
	/*position: absolute;
	top: 0px;
	right: 0px;*/
	background: transparent url("kuvat/nainen-tuoli2.gif") bottom right no-repeat;
	min-height: 630px;
	_height: 630px;
	margin-top: 0px;
	z-index: -1;
	text-align: right;
}

#right img {
	clear: right;
	float: right;
	display: block;
	margin-bottom: 10px;
	margin-right: 148px;
	border: 0px;
}

#logo{ 
	margin-top: 25px;
	margin-left: 40px;
	margin-right: 40px;
}

#leftcol {
	/*border: 1px solid red;*/
	width: 230px;
	float: left;
	margin-top: 40px;
}



#leftcol p{
	margin-left: 35px;
	font-family: Verdana;
	font-size: 9pt;
	line-height: 160%;
}

#content {
	/*border: 1px solid red;*/
	background: url("kuvat/bg_content.png") top right no-repeat;
	_background: white;
	width: 580px;
	margin-left: 250px;
	margin-top: 50px;
	z-index: 2;
	min-height: 580px;
	_height: 580px;
	}

#content p {
	font-family: Verdana;
	font-size: 9pt;
	line-height: 160%;
	margin-left: 10px;
	margin-right: 10px;
}

#content img {
	margin-left: 10px;
}

#content ul, #leftcol ul, #content table {
		font-family: Verdana;
	font-size: 9pt;
	line-height: 160%;

}

#leftcol ul, #content ul {
	list-style-image: url("kuvat/bull.png");
}

#leftcol a, #content a {
	color: #44f;
	border-bottom: 1px solid #44f;
	text-decoration: none;
}

#leftcol a:visited, #content a:visited {
	color: #555;
	border-bottom: 1px solid #555;
}

#leftcol img {
	border: 0px;
}

/* STYLE DEFINITIONS FOR MAIN MENU */

#navdiv {
	position: absolute;
	top: 0px;
	left: 250px;
	border: 0px solid red;
	height: 40px;
}

#nav {
  list-style: none;
  margin-bottom: 15px;
}

#nav img { /* submenu list-item images */
  border: 0px;
  margin: 0px;
  padding: 0px;
}

#nav, #nav ul {
  font-family: Verdana, Georgia, Trebuchet MS;
  /*float: left;*/
  /*background: #555 url("") top left repeat-x;*/
  font-weight: normal;
  padding: 0 0 0 0px;
  margin: 0 0 0 0px;
  text-align: left;
  list-style: none;
}

#nav ul ul {
  list-style: none;
  /*list-style-image: url("images/sub_listitem.png");
	list-style-position: inside;*/
	
}

#nav a {
 display: block;
 color: black; /* link text color*/
 /**background: url("images/bg_menu.png") top left repeat-x;*/
 text-decoration: none;
 /* top right bottom left */
 padding: 50px 13px 12px 13px;
 font-size: 10pt;
 font-weight: normal;
 border-bottom: 6px solid #969696;
}

#nav a:hover {
  /*color: #ea841f;*/
  color: #9e152d;
  /*background: #ddd;/* mainbar hovercolor*/
  background: url("kuvat/bg_content.png") top center repeat;
  border-bottom: 6px solid #9e152d;
  font-weight: ;
}

#nav li {
 float: left;
 padding: 0;
 position: relative;
}

#nav li ul {
 background:white url("images/bg_dropdown2.gif") top left repeat;/* dropdown color */
 border: 0;
 display: none; 
 height: auto;
 left: -999em;
 margin: 0;
 position: absolute;
 width: 180px;
 w\idth: 180px;
 font-weight: normal;
}

#nav li> #nav ul {
	top: auto;
	left: auto;
	}

#nav li li {
 padding: 0;
 width: 180px;
 /*border-top:1px solid white; /* border between drop-down rows*/
}

#nav li ul a {
 color: #6a420e;
 /*background: transparent;*/
 width: 160px !important;
 width: 180px;
 width/**/:/**/180px;
 text-transform: uppercase; /* drop-down item text transformation  and size*/
 font-size: 10pt;
 padding: 5px 10px 8px 10px;/* drop-down row height*/
}

#nav li ul ul {
border: 0;
border-left:1px solid #D1D8DB;
margin: -28px 0 0 180px;/* parameters to set drop-down in place */
/*margin: 0 0 0 180px;/* parameters to set drop-down in place */ /*NEW */
}

#nav li:hover ul ul {
 left: -999em;
}
#nav li:hover ul, #nav li li:hover ul, #nav li.over ul, #nav li li.over ul {
 left: auto;
 display: block; /*new */
}
#nav li:hover {
}

#nav li li:hover {
 background: white url("images/bg_menu_a-hover2.gif") top left repeat-x; /* B3BEC3 drop-down hovercolor*/
}



/*** MAIN NAVIGATION END ***/

#bottom {
	clear: both;
	width: 100%;
	background: #9e152d url("kuvat/bg_bottom.jpg") top left repeat-x;
	margin-bottom: 0px;
	margin-top: 25px;
}

#bottom p {
	color: white;
	font-family: Verdana;
	font-size: 9pt;
	margin-bottom: 0px;
	padding-top: 15px;
	padding-bottom: 15px;
	margin-left: 25px;
}

#bottom a {
	color: white;
}

#bottom a:hover {
	text-decoration: none;
}

#bottom #legal {
	float: right;
	margin-right: 30px;
}

.imgright {
	float: right;
	margin: 10px;
}

.imgleft {
	float: left;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-right: 7px;
}

.ohjaajat td {
	text-align: center;
	padding-bottom: 25px;
}

.smallright {
	float: right;
	clear: right;
	font-family: Verdana;
	font-size: 7pt;
	color: #aaa;
	margin-right: 30px;
}

.smallright a {
	color: #aaa;
	border-bottom: 1px dotted #aaa;
	text-decoration: none;
}

.smallright a:hover {
	border-bottom: 1px solid #666;
}
