
html {
	margin: 0;
	padding: 0;
	background: #25043b url(color_lila/pics/html_bg.jpg) repeat-x top;
}

body {
	margin: 0;
	padding: 0;
	background: url(color_lila/pics/bg.jpg) no-repeat top center;
}

#shadow {
	margin: 0 auto;
	padding: 0px 0px 0px 0px;
	width: 840px;
	height: 500px;
	overflow: visible;
	background-color: transparent;
	background: url(color_lila/pics/shadow.jpg) repeat-y;
}

html>body #shadow {
	height: auto;
	min-height: 500px;
	overflow: hidden;
}

#wrapper {
	margin: 0px auto 0px auto;
	padding: 0px;
	text-align: left;
	width: 840px;
	height: 500px;
	overflow: visible;
	background-color: transparent;
	position: relative;
	background: url(color_lila/pics/wrapper.jpg) no-repeat top center;
}

html>body #wrapper {
	height: auto;
	min-height: 500px;
	overflow: hidden;
}

#toolbox {
	display: none;
}

#toolbox a {
}

#toolbox a:hover {
}

#lang {
	text-align: right;
	width: 400px;
	position: absolute;
	top: 20px;
	right: 20px;
	color: #fff;
}

#lang a {
	color: #fff;
	text-decoration: none;
}

#lang a:hover {
	color: #fff;
	text-decoration: underline;
}

#search {

}

#logo {
	margin: 0px 0px 0px 0px;
	width: 280px;
	height: 135px;
	line-height: 135px;
	overflow: hidden;
}

#logo a {
	line-height: 135px;
	vertical-align: middle;
	text-decoration:none;
	border: 1px solid #24043b;
	font-weight:bold;
	font-family: Times New Roman;
}

#logo a img {
	line-height: 135px;
	vertical-align: middle;
	border: 0;
}

#banner {
	width: 840px;
	height: 367px;
	overflow: hidden;
	position: relative;
	top: 399px;
	margin-top: -367px;
	background: url(http://data.toimisait.com/userData/ajnaart/banner.jpg) no-repeat top right;
	z-index: 1;
}

#nav {
	width: 820px;
	height: 52px;
	padding: 0px 0px 0px 20px;
	background: url(color_lila/pics/nav.gif) no-repeat;
	overflow: hidden;
	margin-top: -20px;
}

html>body #nav {

}

/* Valikko */

#nav ul {
	margin: 0;
	padding: 0;
}

#nav ul li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	float: left;
	text-align: center;
	background: none;
}

#nav ul li.open {
	background: url(color_lila/pics/button_right_open.jpg) no-repeat right 27px;
}

#nav ul li a {
	margin: 0px 0px 0px 0px;
	padding: 28px 14px 5px 14px;
	text-decoration: none;
	display: block;
	font-weight: normal;
	background: none;
}

#nav ul li a.open {
	text-decoration: none;
	background: url(color_lila/pics/button_left_open.jpg) no-repeat left 27px;
}

#nav ul li a:hover {
	text-decoration: none;
}

/* Alavalikko */

#subnav {
	padding: 20px 0px 20px 0px;
}

#subnav ul {
	margin: 0px 0px 0px 20px;
	padding: 0;
}

#subnav ul li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	width: 180px;
}

#subnav ul li a {
	margin: 2px 0px 2px 0px;
	padding: 0px 0px 0px 20px;
	text-decoration: none;
	display: block;
}

#subnav ul li a.open {
	text-decoration: underline;
}

#subnav ul li a:hover {
	text-decoration: underline;
}

/* Ala-alavalikko */

#subnav ul li ul {
	margin: 0;
	padding: 0;
}

#subnav ul li ul li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	border: none;
}

#subnav ul li ul li a {
	margin: 2px 0px 2px 0px;
	padding: 0px 20px 2px 40px;
	text-decoration: none;
	display: block;
	font-weight: normal;
}

#subnav ul li ul li a.open {
	font-weight: normal;
	text-decoration: underline;
}

#subnav ul li ul li a:hover {
	font-weight: normal;
	text-decoration: underline;
}

/* Ala-ala-alavalikko */

#subnav ul li ul li ul {
	margin: 0;
	padding: 0;
}

#subnav ul li ul li ul li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	border: none;
}

#subnav ul li ul li ul li a {
	margin: 2px 0px 2px 0px;
	padding: 0px 20px 2px 50px;
	text-decoration: none;
	display: block;
}

#subnav ul li ul li ul li a.open {
	font-weight: normal;
	text-decoration: underline;
}

#subnav ul li ul li ul li a:hover {
	font-weight: normal;
	text-decoration: underline;
}



/*Tekstit*/

#main {
	margin: 300px 0px 0px 0px;
	padding: 10px 20px 0px 0px;
	width: 580px;
	float: right;
	overflow: hidden;
	position: relative;
	z-index: 50;
}

#main .text {
	padding: 0px 20px 10px 30px;
	background-color: #fff;
}

#column1 {
	margin: 380px 0px 0px 10px;
	width: 210px;
	height: 200px;
	float: left;
	overflow: visible;
	background: url(color_lila/pics/column1.jpg) repeat-x top center;
}


html>body #column1 {
	height: auto;
	min-height: 200px;
	overflow: hidden;
}

#column1 .text {
	padding: 10px;
}

#column2 {
	display: none;
}

#column2 .text {
}

#footer {
	margin: 0 auto;
	width: 840px;
	height: 77px;
	display: block;
	padding-top: 95px;
	background: url(color_lila/pics/footer.jpg) no-repeat left top;
	clear: both;
}

#footer .text {
	text-align: left;
	color: #fff;
	padding: 5px;
	font-size: .89em;
}

#footer .text .siteInfoName {
	display: none;
	margin: 0px 5px 0px 5px;
}

#footer .text .siteInfoAddress {
	display: inline;
	margin: 0px 5px 0px 19px;
}

#footer .text .siteInfoZip {
	display: inline;
	margin: 0px 0px 0px 0px;
}

#footer .text .siteInfoCity {
	display: inline;
	margin: 0px 5px 0px 2px;
}

#footer .text .siteInfoPhone {
	display: inline;
	margin: 0px 5px 0px 5px;
}

#footer .text .siteInfoEmail {
	display: inline;
	margin: 0px 5px 0px 5px;
}

#footer .text .siteInfoWWW {
	display: inline;
	margin: 0px 5px 0px 5px;
}

#copy {
	clear: both;
	margin: 0 auto;
	width: 820px;
	text-align: left;
	color: #fff;
	padding-bottom: 20px;
	position: relative;
	top: -90px;
	font-size: .89em;
}

#copy a {
	color: #fff;
	text-decoration: underline;
}

#copy a:hover {
	color: #fff;
	text-decoration: none;
}

/* GALLERY */

#galleryArchive {
	padding: 0px 0px 10px 20px;
}

#galleryArchive p {
	margin: 0px 0px 0px 0px;
	padding: 3px 0px 5px 0px;
	display: inline;
}

#galleryArchive p.open {
	background: url(color_lila/pics/album_right_open.jpg) no-repeat right top;
	width: auto;
	display: inline;
}

#galleryArchive p a {
	margin: -3px 0px 0px 0px;
	padding: 3px 20px 5px 20px;
	text-decoration: none;
	display: block;
	color: #fff;
	font-size: 1em;
}

#galleryArchive p a.open {
	background: url(color_lila/pics/album_left_open.jpg) no-repeat left top;
	display: inline;
}

#galleryArchive p a:hover {
	text-decoration: underline;
}

#galleryText h1 {
	font-size: 1.5em;
	border-bottom: 1px solid #000;
}

#galleryText {
	padding-bottom: 10px;
}

#galleryWrapper {
	border-bottom: 1px solid #000;
}

#galleryWrapper .gallery {
	float: right;
	width: 230px;
	height: 350px;
	overflow: hidden;
}

#galleryWrapper .thumbs {
	float: left;
	width: 278px;
}

#galleryWrapper .thumbs .thumb {
	width: 88px;
	height: 120px;
	float: left;
	padding: 2px;
	overflow: hidden;
}

#galleryWrapper .thumbs .thumb a img {
	border: 1px solid #000;
}

#galleryWrapper #galleryFooter {
	clear: both;
}
