/* CSS Document */
	body {
	behavior:url("csshover.htc");
	font-family:verdana,arial,helvetica;
	font-size:12px;
	background-color: #380000;
	background-image: url(image/tausta4.jpg);
   background-repeat: no-repeat;
	background-position: center top;
	}
	div.linkki{
  width: 930px;
  height: 130px;
  border: solid 0px blue;
  }

  div.linkki a {
  width: 930px;
  height: 130px;
  display: block; 
  text-align: center;
  border: solid 0px red;
  }
  
  div.vasen {
  float: left;
  border: solid 0px blue;
  }
  div.oikea {
  float: right;
  border: solid 0px blue;
  width: 350px;
  }
	
	
  #sisus{
  position: absolute;
  left: 50%;
  top: 170px;
  width: 930px;
  margin-left: -465px; /*set to a negative number 1/2 of your width*/
  text-align: left;
  border: solid 0px green;
  }
  
#linkit {
  position: absolute;
  top: 0px;
  left: 88px;
  width: 700px;
  margin-top: 0px;
  margin-left: 0px;
  text-align: left;
  border-style: solid;
  border-width: 0px;
  z-index: 3;
}	


#box {
  position: absolute;
  left: 50%;
  top: 25px;
  width: 750px;
  margin-left: -390px; /*set to a negative number 1/2 of your width*/
  margin-top: 30px;
  padding: 15px;
  border: solid 0px yellow;
  }
  
#ilmoitustaulu {
border: 7px groove #deaf7b;
background-image: url(image/ilmoitustaulu.jpg); 
width: 750px; 
height: 410px; 
overflow: hidden;
background-color: #0c1e10;
vertical-align: top;
}

h1 {
	color: #deaf7b;
	text-align: left;
	font-size: 18px;
  }
h2 {
	color: #deaf7b;
	text-align: left;
	font-size: 16px;
  }
h3 {
	color: #deaf7b;
	text-align: left;
	font-size: 14px;
  }
p {
	color: #deaf7b;
	text-align: left;
	font-size: 12px;
	}
p.kuva {
	font-style: italic;
	padding-top: 0px;
	margin-top: 10px;
	margin-bottom: 40px;
	font-size: 10px;
  }
p.ilmoitustaulu {
width: 400px;
color: #ffffff;
}
p.linkit {
width: 375px;
}
p.vino {
	font-style: italic;
}
p.sis {
	margin-left:15px;
	width: auto;
}
p.auto {
width: auto;
}


.image{
	border-style:solid;
	border-color: #333333;
	border-width:3px;
	margin-bottom: 25px;
  }


	ul,li {
		display:block;
		list-style:none;
		margin:0;
		padding:0;
	}

	ul {
		height:24px;
		width:930px;
		background:none;
	}
		ul ul {
			display:block;
			position:absolute;
			left:0;
			top:24px;
			height:auto;
			width:150px;
			border-width:0px;
			background:#ffffcc;
			display:none;
		}
			ul ul ul {
				top:0;
				left:70px;
			}

		li:hover {
			background:#ffebaf;
			z-index:10;
		}

		li:hover ul ul {
			display:none;
		}

		li:hover ul, 
		li:hover li:hover ul {
			display:block;
		}

	li {
		position:relative;
		float:left;	
		padding:4px 15px;
		line-height:16px;
	}
		li li {
			float:none;
		}

	li a {
		color:#380000;
		text-decoration:none;
		font-weight:bold;
	}
	

a.tekstilinkki:link{
  color: #ff9933;
  	text-decoration: none;
}
a.tekstilinkki:visited{
	color: #ff9933;
		text-decoration: none;
}
a.tekstilinkki:hover{
	color: #ffffcc;
	text-decoration: none;
}



