@import url(editor.css);

/* Form */
.formEmailinput, .formTextinput, .formTextarea {
	width: 250px;
	padding: 3px 3px;
	border-top: 1px solid #aaa;
	border-left: 1px solid #aaa;
	border-right: 1px solid #eee;
	border-bottom: 1px solid #eee;
}
input[type=submit] {
	border: 1px solid #666;
	padding: 1px 5px;
}
form table td {
	padding: 3px 0px 0px 7px;
}

#header {
	float: left;
	width: 970px;
	height: 100px;
	/*background: url('/media/layout/doventus.jpg') left top no-repeat;*/
	padding-bottom: 10px;
}
#logo{
float:left;
margin:0px;
overflow:hidden;
height:100px;
}
#footer {
	float: left;
	width: 970px;
	height: 35px;
	padding: 5px;
}
.footerpic {
	margin-bottom: -2px;
}

.footerSecondLine {
text-align: left; 
padding: 5px 0 0 485px;
}

/*MENUT*/
#menu {
	float: left;
	width: 970px;
	height: 25px;
	list-style: none;
	text-align: center;
	font-size: 120%;
	font-weight: bold;
	color: white;
	background-color: #00759a;
	padding: 8px 0px 5px 0px;
}

#menu span {
	border-right: 1px solid #ffffff;
	border-left: 1px solid #ffffff;
}

#menu .first {
	border-left: none;
	border-right: 1px solid #ffffff;
}
#menu .last {
	border-right: none;
	border-left: 1px solid #ffffff;
}

#menu span a:link, #menu span a:active, #menu span a:visited {
	text-align: left center;
	list-style: none;
	color: white;
	text-decoration: none;	
	padding: 0px 10px 0px 10px;
}

#menu span a:hover {
	list-style: none;
	text-decoration: underline;	
}

#menu span.current a {
	text-decoration: underline;	
}

#main {
	position: relative;
	width: 970px;
	background-color: #ffffff;
	padding: 10px 10px 10px 20px;
}

/*Etusivu*/
#content {
	float: left;
	width: 970px;
	height: 498px;
	padding: 20px 0 5px 0;
}

#keskiWrapper {
	float: left;
	width: 380px;
	height: 498px;
}

#keskiKuva {
	float: left;
	width: 380px;
	height: 166px;
}

#keskiKuva p {
	margin: 0;
}


#submenu {
	float: left;
	color: white;
	width: 375px;
	height: 166px;
	background-color: #00759a;
	color: white;
	padding-right: 5px;
}

* html #submenu {
	width: 380px;
	padding-right: 0px;
}

#submenu ul {
	list-style: none;
	padding-left: 10px;
	margin-top: 0;
}

#submenu ul li {
	background: url('/media/layout/submenu_pic.gif') left center no-repeat;
	padding-left: 20px;
	line-height: 25px;
	font-size: 120%;
	color: white;
	font-weight: bold;
}
#submenu .etusivuotsikko {
	padding: 10px 0 10px 5px;
	color: white;
}

* html #submenu ul li {
	padding-left: 5px;
	list-style-position: inside;
}

#submenu a:link, #submenu a:active, #submenu  a:visited {
	text-align: left center;
	list-style: none;
	color: white;
	text-decoration: none;	
	padding: 0px 5px 0px 5px;
	
}

#submenu a:hover {
	list-style: none;
	text-decoration: underline;	
}

#submenu .current a {
	font-weight: bold;
	text-decoration: underline;
	
}

#keskiAla {
	float: left;
	width: 380px;
	height: 166px;
	text-align: left top;
	background-color: #ddd8ce;
	overflow: hidden;
}

#keskiAla p {
	margin: 0;
}

#diaesitys {
	position: absolute;
	top: 166px;
}

#diaesitys p, #diaesitys img {
	margin: 0;
}

#tekstipalsta {
	float: left;
	width: 210px;
	height: 510px;
	margin-top: -12px;
	/*background: url('/media/layout/case.gif') left bottom no-repeat;*/
	background-color: #ffffff;
	position:relative;
}
p.AvaaDoventuksenEsite{
position:absolute;
bottom:70px;
margin:0px;
}
p.Case{
position:absolute;
bottom:0px;
margin:0px;
}
#oikeaWrapper {
	float: left;
	width: 380px;
	height: 498px;
}

#oikeaWrapper p{
	margin: 0;
}

#oikeaKuva {
	float: left;
	width: 380px;
	height: 166px;
	background-color: #ddd8ce;
}

#oikeaKeski {
	float: left;
	width: 380px;
	height: 166px;	
	background-color: #ddd8ce;
}

#etusivulinkki {
	float: left;
	width: 380px;
	height: 16px;
	background-color: #00759a;
	text-align: center;
}
#etusivulinkki a:link, #etusivulinkki  a:active, #etusivulinkki a:visited {
	width: 375px;
	height: 10px;
	color: white;
	font-weight: bold;
	text-decoration: none;
	padding-left: 5px;
 }
 
#etusivulinkki a:hover {
	width: 375px;
	height: 10px;
	color: white;
	font-weight: bold;
	text-decoration: underline;
	padding-left: 5px;
}

#oikeaAla {
	float: left;
	width: 380px;
	height: 150px;
	background-color: #ddd8ce;
}


/*Sis�sivu*/
#content1 {
	float: left;
	width: 980px;
	padding: 20px 0 5px 0;
}
/*Submenu*/
#submenu1  {
	float: left;
	width: 210px;
	min-height: 478px;
	padding: 10px 5px 10px 5px;
}

#submenu1  ul {
	float: left;
	width: 200px;
	list-style-position: inside;
	list-style: none;
	color: black;
	font-weight: bold;
}

#submenu1  ul li {
	float: left;
	width: 185px;
	background: url('/media/layout/submenu1_pic2.gif') center left no-repeat;
	line-height: 16px;
	clear: both;
	color: black;
	font-weight: bold;
	padding: 8px 0 10px 15px;
}

#submenu1 ul li a:link, #submenu1  ul li a:active, #submenu1  ul li a:visited {
	float: left;
	text-decoration: none;
	color: black;	
	font-size: 120%;
	font-weight: bold;
}

#submenu1  ul li a:hover {
	text-decoration: underline;
	font-size: 120%;
	font-weight: bold;
}

#submenu1 ul li.current a:link, #submenu1  ul li.current a:active, #submenu1  ul li.current a:visited {
	color: #00759a;
	text-decoration: none;
	font-size: 120%;
	font-weight: bold;
}

#keskiWrapper1 {
	float: left;
	width: 400px;
}

#keskiKuva1 {
	float: left;
	width: 400px;
	height: 150px;
	text-align: left top;
}

#keskiKuva1 p {
	margin: 0;
}

#keskipalsta1 {
	float: left;
	width: 400px;
	padding-top: 10px;
}

#oikeaWrapper1 {
	float: left;
	width: 350px;
	height: 498px;
}

#oikeaWrapper1 p{
	margin: 0;
}

#oikeaKuva1{
	float: left;
	width: 350px;
	height: 150px;
	background-color: #ddd8ce;
}

#oikeaKeski1 {
	float: left;
	width: 350px;
	height: 150px;	
}


#oikeaAla1 {
	float: left;
	width: 350px;
	height: 150px;
}
