/*		Layout: Petri I. | petri.ikonen@kuopassa.com | www.kuopassa.com		*/

* {
	margin: 0;
	padding: 0;
	}

body {
	margin: 0;
	font: 0.8em "Trebuchet MS", Geneva, Arial, Helvetica, sans-serif;
	color: #000;
	background: #FFF;
	}
	
/* Linkit */
	
a {
	color: #000;
	text-decoration: underline;
	}
	
a:hover {
	color: #000;
	text-decoration: none;
	}
	
/* Rakenne */

#runko {
	width: 760px;
	margin: 5% auto;
	}
	
#header {
	height: 252px;
	background: url(../images/header_bg2.png) no-repeat 0 100%;
	}
	
#navigation {
	margin-top: 5px;
	height: 50px;
	background: url(../images/navigation_bg.png) no-repeat 0 0;
	}
	
#middle {
	min-height: 10em;
	height: auto;
	_height: 10em;
	padding: 20px 0;
	}
	
#left_column {
	display: inline;
	float: left;
	margin-left: 50px;
	width: 500px;
	}
	
#right_column {
	display: inline;
	float: right;
	margin-right: 50px;
	width: 140px;
	}
	
/* This is to satisfy thee, o' Grand Machine Internet Exploder ;-) */

#flush {
	clear: both;
	}
	
/* Logo */
	
#logo {
	text-indent: -100em;
	overflow: hidden;
	background: url(../images/malmintorin_kirppis_logo1.png) no-repeat 0 0;
	height: 59px;
	width: 371px;
	padding: 0;
	margin: 0 0 0 50px;
	float: left;
	border: 0;
	display: inline;
	}
	
/* Navigaatio */

#navigation ul {
	display: inline;
	cursor: default;
	margin: 15px 40px 0 40px;
	float: left;
	list-style: none;
	font-size: 1.3em;
	}
	
#navigation ul li {
	display: inline;
	margin: 0 5px;
	}
	
#navigation ul a {
	text-decoration: none;
	color: #333;
	padding: 5px;
	}
	
#navigation ul a:hover {
	color: #FFF;
	padding: 5px;
	}
	
#navigation ul a:active {
	text-decoration: underline;
	}
	
/* Skipnavi */

#skipnavi {
	margin: 10px auto;
	display: block;
	width: 760px;
	text-align: right;
	cursor: default;
	}
	
#skipnavi li {
	display: inline;
	margin: 0;
	}
	
#skipnavi a {
	text-decoration: none;
	color: #999;
	padding: 10px;
	}
	
#skipnavi a:hover {
	color: #666;
	}
	
/* Kirjaimet */

h1, h2, h3, h4, h5, h6 {
	margin: 20px 0;
	font: 2em Georgia, "Times New Roman", Times, serif;
	color: #FC3;
	line-height: 70%;
	}
	
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	text-decoration: none;
	color: #FC3;
	}
	
h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover,
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
	color: #C90;
	}
	
p, table, form, ul, ol, dl, blockquote {
	margin: 10px 0;
	color: #333;
	line-height: 165%;
	}
	
/* Sekalaiset */

hr {
	display: none;
	}
	
#left_column p img {
	float: left;
	}
	
#right_column p img {
	float: right;
	}
	
/* Clear */

.clear_all {
	clear: both;
	}
	
.clear_left {
	clear: left;
	}
	
.clear_right {
	clear: right;
	}
	
/* Float */

.float_left {
	float: left;
	}
	
.float_right {
	float: right;
	}
	
.no_float {
	float: none;
	}
	
/* Listat */

ul, ol, dl {
	list-style: none;
	line-height: normal;
	padding: 0;
	}
	
ol {
	list-style-type: decimal;
	list-style-position: inside;
	}
	
ol li {
	padding: 0.1em;
	}
	
ul.listamerkki {
	list-style-type: disc;
	margin-left: 50px;
	}
	
/* Taulukot */
	
td {
	padding: 0.2em;
	vertical-align: top;
	}
	
tr {
	vertical-align: top;
	}
	
caption {
	text-align: left;
	font-weight: bold;
	border-bottom: 1px solid #CCC;
	padding: 0;
	margin: 1em 20px -10px 15px;
	}
	
/* Lomakkeet */

label {
	color: #666;
	}
	
.tekstikentta {
	background: #FFF;
	border: 2px solid #CCC;
	color: #666;
	}
	
.tekstikentta:focus {
	background: #FFF;
	border: 2px solid #09F;
	color: #333;
	}
	
/* Tavallisten kuvien muotoilu */
	
img {
	border: 0;
	padding: 0.2em;
	}
	
/* Osoite-elementti */
	
address {
	font-style: normal;
	}
	
/* Muita sekalaisia */
	
ins {
	text-decoration: none;
	border-bottom: 1px solid #FF0;
	}
	
del {
	display: none;
	text-decoration: line-through;
	}
	
abbr,
acronym {
	border-bottom: 1px dotted #CCC;
	cursor: help;
	}
	
q, blockquote, cite {
	font-style: oblique;
	}
	
blockquote {
	padding-left: 10px;
	margin: +1em +3em;
	border-left: 2px solid #CCC;
	}
	
bdo, kbd, var, pre {
	font: 0.8em "Courier New", Courier, mono;
	padding: 0.2em;
	white-space: normal;
	display: block;
	clear: both;
	}
	
code {
	font: 0.8em "Courier New", Courier, mono;
	margin: 1em 1.5em;
	}
