/* Tehnyt: Petri I. | petri.ikonen@kuopassa.com | www.kuopassa.com */

@import url("typo.css");
@import url("extrat.css");

/* Yleiset */

* {
	margin: 0;
	padding: 0;
	}
	
body {
	font: 0.8em "Trebuchet MS", Arial, Helvetica, sans-serif;
	background: #fff;
	color: #000;
	text-align: center;
	}
	
a {
	text-decoration: underline;
	color: #246aac;
	}
	
a:hover {
	text-decoration: underline;
	color: #9e1c5c;
	}
	
ul#skipnavi {
	visibility: hidden;
	display: none;
	}
	
/* Rakenne */

div#runko {
	margin: 0 auto;
	padding: 80px 0 30px 340px;
	text-align: left;
	width: 600px;
	min-height: 655px;
	background: url(../images/bg.png) no-repeat 0 50px;
	position: relative;
	}
	
/* Logo */

div#runko h1 {
	margin: 0 0 40px 0;
	padding: 0;
	font-size: 3em;
	font-weight: bold;
	color: #d60a48;
	line-height: normal;
	}

div#runko h1 span {
	overflow: hidden;
	text-indent: -9999px;
	display: block;
	background: url(../images/tama-kuopassa.png) no-repeat 0 100%;
	height: 52px;
	width: 100%;
	}
	
/* Navigaatio */

ul#navigaatio {
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 0;
	left: 0;
	}
	
ul#navigaatio li {
	display: inline;
	}
	
ul#navigaatio li#etusivu a {
	background: #a5b000 url(../images/navi-vasen.png) no-repeat 0 100%;
	margin-left: 0;
	}
	
ul#navigaatio li#vieraskirja a {
	background: #a5b000 url(../images/navi-oikea.png) no-repeat 100% 100%;
	margin-right: 0;
	}
	
ul#navigaatio li a {
	padding: 10px;
	text-decoration: none;
	color: #fff;
	font-weight: bold;
	background: #a5b000;
	border-top: 3px solid #000;
	margin: 0 1px;
	display: block;
	text-align: center;
	width: 130px;
	float: left;
	}
	
ul#navigaatio li a:hover {
	color: #ff9;
	border-top: 3px solid #666;
	}
	
/* Laatikkoloita */

div.laatikko {
	margin: 0 0 30px 0;
	}
	
div.laatikko p {
	font-size: 1.4em;
	line-height: 120%;
	}
	
div.laatikko ul {
	list-style: none;
	}
	
div.laatikko ul li {
	display: block;
	margin-bottom: 20px;
	}
	
div.laatikko ol li {
	list-style: none;
	margin-bottom: 10px;
	}
	
div.sekaantuja,
p#sivuluku {
	border: 1px inset #666;
	background: #f3f3f3 url(../images/sekaantuja.png) no-repeat 0 0;
	padding: 10px 10px 0 10px;
	display: block;
	height: 195px;
	overflow: auto;
	}
	
div.sekaantuja h3,
div.sekaantuja h4 {
	margin-top: 0;
	color: #666;
	}
	
/* Naama */

p#omakuva {
	padding-top: 320px;
	background: url(../images/karva-apina.jpg) no-repeat 0 0;
	position: relative;
	}
	
p#omakuva strong {
	position: absolute;
	right: 10px;
	bottom: 10px;
	}
	
/* Palautelomake */

form#enhanced ul {
	list-style: none;
	font-size: 1em;
	margin: 20px 0;
	padding: 0;
	}
	
form#enhanced ul li {
	margin-bottom: 10px;
	}
	
form#enhanced ul li label {
	float: left;
	width: 150px;
	cursor: pointer;
	}
	
form#enhanced ul li input,
form#enhanced ul li textarea {
	border: 1px solid #666;
	background: #fff;
	padding: 2px;
	font: 1em "Trebuchet MS", Arial, Helvetica, sans-serif;
	width: 426px;
	}
	
form#enhanced ul li input:focus,
form#enhanced ul li textarea:focus {
	background: #ffc;
	color: #d50a48;
	}
	
form#enhanced ul li button {
	margin-left: 150px;
	}
	
/* Toteutettuja nettisivuprojekteja */

ul.koko {
	display: block;
	clear: both;
	list-style: none;
	margin-top: 30px;
	}
	
ul.koko li img {
	float: right;
	margin: 0 0 10px 10px;
	}
	
ul.koko li strong a {
	text-decoration: none;
	color: #a5b000;
	font-weight: bold;
	font-size: larger;
	}
	
/* Vieraskirja */
	
p#sivuluku a {
	padding: 5px;
	float: left;
	}
	
p strong.tahti_mini {
	font-size: larger;
	font-weight: bold;
	color: #a5b000;
	}
	
p strong.tahti_mini a {
	text-decoration: none;
	color: #333;
	}
	
p strong.tahti_mini a:hover {
	color: #d60a48;
	}
	
p.viesti_vastaus_otsikko_bg:before {
	content: "Vastaus: ";
	}
	
p.viesti_vastaus_otsikko_bg {
	color: #666;
	}
	
[disabled] {
	background: #f3f3f3;
	border: 1px solid #ccc;
	cursor: default;
	}
	
h3#kirjoita {
	border-top: 2px solid #f3f3f3;
	margin-top: 20px;
	padding-top: 10px;
	}
	
/* Linkkien ehdotus */

p.suljettu-tilapaisesti {
	padding: 10px;
	background: #f3f3f3;
	text-align: center;
	font-weight: bold;
	}
	
form.suljettu-tilapaisesti label {
	display: block !important;
	float: none !important;
	width: auto !important;
	}
	
form.suljettu-tilapaisesti input,
form.suljettu-tilapaisesti textarea {
	width: 600px !important;
	}
	
form#enhanced li.viipale {
	display: block;
	clear: both;
	}

form#enhanced li.viipale label {
	text-align: center !important;
	}
	
form.suljettu-tilapaisesti button {
	margin-left: 0 !important;
	}
	
/* Ei Saa Suoralinkittää ja virheilmoitus */

p#suoralinkitys_kielletty,
h2#virhe {
	display: block;
	overflow: hidden;
	text-indent: -9999px;
	height: 200px;
	width: 600px;
	background: url(../images/suoralinkitys-kielletty.png) no-repeat 0 0;
	margin: 20px 0;
	}
	
h2#virhe {
	background: url(../images/virheilmoitus.png) no-repeat 0 0;
	margin-top: 0;
	}