@import url("editori.css");

html {
  	margin: 0;
   	padding: 0;
	height: 100%;
}

body {
  	margin: 0;
   	padding: 0;
	height: 100%;
	text-align: center;
	background-repeat: repeat-x;
}

body#etusivu {
	background-image: url('/media/ulkoasu/tausta-etusivu.jpg');
}

body#sisasivu {
	background-image: url('/media/ulkoasu/tausta-sisasivu.jpg');
}

a img {
	border: 0;
}

label {
	cursor: pointer;
}

ul {
	margin: 0;
	padding-left: 30px;
}

input[type="text"], input[type="password"], select, textarea {
	border-top: 1px solid #999999;
	border-left: 1px solid #999999;
	border-right: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
	background-color: #f6fafb;
	padding: 2px 2px;
}

input[type="text"]:focus, input[type="password"]:focus, select:focus, textarea:focus {
	background-color: #ffffff;
}

input[type="button"], input[type="submit"], input[type="reset"] {
	cursor: pointer;
	border: 1px solid #c4733e;
	color: white;
	font-weight: bold;
	background-color: #c4733e;
	padding: 0px 2px;
} 

input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover {
	background-color: #e4a258;
}

#main {
	margin: 0 auto;
	width: 796px;
	text-align: left;
}

#header {
}

#logo {
}

#searchBox {
	margin-left: 12px;
}

#searchBox form {
	padding: 12px 10px 0px 0px;
	text-align: center;
}

#loginForm {
}

#navigationBar {
	margin-top: 20px;
	background: #c4733e;
	background-image: url('/media/ulkoasu/valikko1vasen.jpg');
	background-repeat: no-repeat;
	background-position: center left;
	height: 38px;
}

ul#menu {
	height: 38px;
	text-align: center;
	list-style-type: none;
	padding: 0;	
	margin: 0;	
	background-image: url('/media/ulkoasu/valikko1oikea.jpg');
	background-repeat: no-repeat;
	background-position: center right;
}

ul#menu li {
	position: relative;
	top: 10px;
	display: inline;
}

ul#menu li:first-child a:link, ul#menu li:first-child a:visited {
	border-left: 1px solid #fdefcc;
	height: 38px;
}

ul#menu li a:link, ul#menu li a:visited, ul#menu li a:active {
	font-size: 13px;
	color: white;
	text-decoration: none;
	font-weight: bold;
	padding: 10px 7px;
	background-color: #c4733e;
	border-right: 1px solid #fdefcc;
	height: 38px;
}

ul#menu li a:hover {
	background-color: #e4a258;
}

ul#menu li.current a:link, ul#menu li.current a:visited, ul#menu.current li a:active, ul#menu.current li a:hover {
	background-color: #e4a258;
}

#subNavigationBar {
	border-top: 1px solid #fdefcc;
	margin: 0 auto;
	background: #e4a258;
	background-image: url('/media/ulkoasu/valikko2vasen.jpg');
	background-repeat: no-repeat;
	background-position: center left;
	height: 21px;
	width: 770px;
}

#subNavigationBar2 {
	background-image: url('/media/ulkoasu/valikko2oikea.jpg');
	background-repeat: no-repeat;
	background-position: center right;
	height: 21px;
}

ul#subMenu {
	margin: 0;
	padding: 0;
	text-align: center;
	list-style-type: none;
	height: 21px;
}

ul#subMenu li:first-child a:link, ul#subMenu li:first-child a:visited {
	border-left: 1px solid #fdefcc;
}

ul#subMenu li {
	display: inline;
	position: relative;
	top: 2px;
}

ul#subMenu li a:link, ul#subMenu li a:visited, ul#subMenu li a:active {
	font-size: 12px;
	border-right: 1px solid #fdefcc;
	color: #7a4825;
	text-decoration: none;
	font-weight: bold;
	background-color: #e1a157;
	padding: 2px 10px 1px 10px;
	text-transform: uppercase;
}

ul#subMenu li a:hover {
	color: white;
}

ul#subMenu li.current a:link, ul#subMenu li.current a:visited, ul#subMenu.current li a:active, ul#subMenu.current li a:hover {
	color: white;
}

#contentWrapper {
	margin: 20px 0;
	clear: both;
	float: left;
	width: 100%;
	padding-left: 30px;
}

#leftColumn {
	font-size: 120%;
	width: 469px;
	float: left;
	display: block;
}

#rightColumn {
	font-size: 90%;
	width: 280px;
	float: right;
	display: block;
}

#wholeColumn {
	font-size: 120%;
	width: 740px;
}

#footer {
	padding-top: 5px;
	font-weight: bold;
	font-size: 90%;
	color: #c4733e;
	clear: both;
	border-top: 1px solid #c4733e;
	text-align: center;
}

#rightColumn table td p {
	margin-top: 0;
	margin-bottom: 0;
}

