/* CSS Document */
body {
	margin:0;
	color: #FFFFFF;
	font-weight: normal;
	text-align: center;
	background-color: #000000;
}

a {	
	color: red;
	font-weight: bold;
	text-decoration: none;
}

a:hover {
	color: white;
	font-weight: bold;
	text-decoration: none;
}

a img{	
	border: 2px solid transparent;
}

a:hover img{
	border: 2px solid red;
}

a.no_border,a.no_border:hover, a.no_border:visited img {
	border: none;
}

h1 {
	font-size: x-large;
	text-align: center;
}

h2 {
	font-size: large;
	text-align: center;
}

h3 {
	float: none;
	clear: left;
	font-size: medium;
	text-align: center;
}

p {
	margin-left: 50px;
	margin-right: 50px;
	text-align: left;
}

img {
/*	float: left;
	clear: left; */
	border:0;
}

table#palvelut {
	width: 900px;
	margin-left: auto;
	margin-right: auto;
	float: none;
	clear: none;
}

table.uutiset {
	text-align: left;
	width: 900px;
	margin-left: 50px;
	margin-right: 50px;
	float: none;
	clear: none;
}

table.raportit {
	text-align: left;
	width: 900px;
	margin-left: 50px;
	margin-right: 50px;
	float: none;
	clear: none;
}

img.palvelut {
	display: block;
	margin-left: auto;
	margin-right: auto;
	float: none;
	clear: none;
	border: 1px solid black;
}

div#nekala {
	position: absolute;
	width: 650px;
	height: 488px;
	top: 175px;	
	left: 175px;
}

table.blogit_index {
	margin-left: auto;
	margin-right: auto;
	float: none;
	clear: none;
}

img.blogit_index{
	display: block;
	margin-left: auto;
	margin-right: auto;
	float: none;
	clear: none;
	border: 2px solid black;
}

a:hover img.blogit_index {
	border: 2px solid red;
}

a.bordered img {
	border: 2px solid transparent;
}

a.bordered:hover img {
	border: 2px solid red;
}

p.narrow {
	margin-left: auto;
	margin-right: auto;
	width: 500px;
	float: none;
	display: block;
}

p.centered {
	margin-left: auto;
	margin-right: auto;
	float: none;
	display: block;
	text-align: center;
}

p.centered_left-aligned {
	margin-left: 450px;
	float: none;
	display: block;
	text-align: left;
}

li {
	text-align: left;
}

table.nekala {
	margin-left: auto;
	margin-right: auto;
	float: none;
	display: block;
	text-align: center;
}

/* div#treenaajat a{
	color: white;
	font-weight: 500;
}

div.edellinen {
	position: relative;
	top: 0px;
	left: 10px;
	text-align: left;
}

div.esittely {
	position: relative;
	background-color: transparent;
	border-top: solid 1px gray; 
	border-bottom: solid 1px gray;
	height: 20px;
	width: 650px;
	margin: 0px auto 0px auto;
}

div#treenaajat a.esittely_videot {
	color: #ee0000;
	text-decoration: none;
}

div#treenaajat a.esittely_videot:hover {
	color: white;
	text-decoration: none;
}

div.esittely span.esittely_nimi {
	font-weight: bold;
	color: #ee0000;
}

div.esittely_iso {
	position: relative;
	background-color: transparent;
	border: solid 1px gray; 
	height: 450px;
	width: 650px;
	margin: 0px auto 0px auto;
}

div.esittelykuva {
	text-align: center;
	position: absolute;
	left: 0px;
	top: 70px;
	width: 350px;
	height: 350px;
	margin-left: auto;
	margin-right: auto;
}

div.esittelyteksti {
	text-align: left;
	margin: 10px; 
	position: absolute;
	width: 300px;
	height: 350px;
	left: 335px;
	top: 60px;
	overflow: auto;
}

div#treenaajat .tieto {
	color: #ee0000;
	font-weight: bold;
}

div#treenaajat h2 {
	color: #ee0000;
}
*/


div#pop_up {
	text-align: left;
	background-color: black;
	border: outset black 2px;
	color: #ffffff;	
	position: absolute;
	position: fixed;
	visibility: hidden;
	z-index: 1;
	top: 100px; 
	left: 40%;
	width: 400px;
	height: 400px;
	font-size: small;
	padding: 20px;
	overflow: hidden;
}

div#pop_up p {
	text-align: left;
	width: 360px;
	margin: 0px;
}

div#pop_up h1 {
	text-align: left;
	padding-left: 30px;
	font-size: medium;
} 

div#pop_up img {
	float: left;
	clear: left;
	padding: 10px 10px 10px 0px;
} 

div#pop_up span.tarjous {
	color: red;
	font-weight: bold;
} 

span.failed {
	color: red;
	text-decoration:line-through;
}

/* img#kuvaus {
	border: 3px inset gray;
	position: absolute;
	left: 20px;
	top: 80px;
}

div#kuvaus {
	position: absolute;
	left: 360px;
	top: 80px;
	text-align: left;
	width: 220px;
	height: 300px;
}

div#raportin_kuvaus_runko {
	position: absolute;
	left: 0px;
	top: 110px;
	padding-left: 50px;
	padding-right: 50px;
	text-align: center;
	width: 500px;
	height: 300px;
}

div#tuotteen_kuvaus {
	padding-left: 50px;
	padding-right: 50px;
}

div#tuotteen_kuvaus img {
	margin: 0px 20px 20px 20px ;
	float: left;
	clear: left;
} */

div#container {
	background-image: url('images/background.gif');
	background-repeat: no-repeat;
	background-position: 0px 200px;
	margin-top: 0px;
	margin-bottom: 30px; 
	margin-left: auto;
	margin-right: auto; 
	position: relative;
	width: 1000px;
	height: 1200px;
}

div#linkit {
	position:absolute;
	left:0px;
	top:215px;
	z-index:20;
}

div#linkit table {
	width: 1000px;
	border-top: 2px solid red;
	border-bottom: 2px solid red;
}

div#linkit td a {
	font-weight: 600;
	font-size: 18px;
 	font-family: Arial, Helvetica, sans-serif;
	color: red;
    text-decoration: none;
	line-height: 200%;
}

span.valittu {
	font-weight: 600;
	font-size: 18px;
 	font-family: Arial, Helvetica, sans-serif;
	color: white;
    text-decoration: none;
	line-height: 200%;
}

div#linkit td a:hover {
	font-weight: 600;
 	font-family: Arial, Helvetica, sans-serif;
	color: white;
	text-decoration: none;
}

div#etusivu {
	margin-top: 20px;
	margin-bottom: auto;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	width: 780px;
	height: 600px;
}

/*div#top {
	width: 900;
	height: 200px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
	background-color: #000000;
	border: 2px solid white;
	position: absolute;
	left: 10px;
	top: 10px;
}*/

div#top table {
	width: 700px;
}

body#mainpage {
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
}

div#content {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: small;
	background-color: transparent;
/*	text-align: center; */
	position: absolute;
	left: 0px;
	top: 280px;
	width: 1000px;
	height: 1000px;
	padding-bottom: 40px;
	margin:0;
}

div#frontpage_content {
	width: 800px;
	position: absolute;
	left: 200px;
	top: 0px;
}

/*
div#content a{
	color: white;
}
*/

p.big_font {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: large;
	width: 700px;
	padding-left: 100px;
	text-align: center;
}

div#sidebar {
	background-color: transparent;
	text-align: left;
	position: absolute;
	left: 0px;
	top: 0px;
	width:200px;
	height: 800px;
/*	border: solid white 1px; */
	padding: 0px 10px 30px 0px;
}

div#sidebar h1 {
	text-align: left;
	font-size: medium;
	font-weight: bold;
	color: red;
}

div#sidebar h1 a{
	color: red;
}

div#sidebar a {
	color: #ffffff;
	margin: 1px 0px;
	display: block;
}

div#sidebar li {
	list-style-type: none;
	margin:  10px 0px;
}

div#footer {
	position:relative;
	width: 1000px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
    text-align: center;
	color:#ffffff;
	font-size: small;
}

/* div#uutiset {
	position: absolute;
	width: 200px;
	height: 800px;
	left:0px;
	top:0px;
	font-size: small;
	border: solid white 1px;
	z-index: 200;
}

div#uutiset a {
	margin-left: 10px;
	margin-right: 10px;
	font-size: 12px;
	text-decoration: none;
	color: #ffffff;
}

div#uutiset h2{
	font-size: 16px;
	font-weight: 600;
}

div#uutisten_lisays {
	padding-left: 5%;
	padding-right: 5%;
	padding-top: 30px;
	text-align: left;
	margin-top: 30px;
	margin-left: auto;
	margin-right: auto;
	width: 400px;
	height: 550px;
	border: solid white 1px; 
	overflow: auto;
}

div#uutisten_lisays a {
	color: blue;
}

div#uutisten_lisays span.uutislista {
	float: left;
	width: 300px;
} 


label.form {
	float: left;
	width: 250px;
}

table.videot {
	border-collapse: collapse;
	width: 700px;
	font-size: small;
	border: solid white 1px;
	clear: left;
}

table.videot tr th {
	border: solid white 2px;
}

table.videot tr td {
	border-left: solid white 1px;
	border-right: solid white 1px;
}

table.videot tr th a {
	font-weight: bold;
	font-size: small;
}

table.henkilot {
	margin-left: 100px;
	border-collapse: collapse;
	width: 400px;
	font-size: small;
	border: solid white 1px;
}

table.lista {
	margin-left: 20px;
	border-collapse: collapse;
	width: 400px;
	font-size: small;
	border: solid white 1px;
}

table.lista tr th {
	border: solid white 2px;
}

table.lista tr td {
	border-left: solid white 1px;
	border-right: solid white 1px;
}

table.lista tr th a {
	font-weight: bold;
	font-size: small;
}

table.henkilot tr th {
	border: solid white 2px;
}

table.henkilot tr td {
	border-left: solid white 1px;
	border-right: solid white 1px;
}

table.henkilot tr th a {
	font-weight: bold;
	font-size: small;
} */

img#header {
	position: absolute;
	left:0px;
	top:10px;
}

/* table#menubar tr td#shop {
	width: 150px;
	height: 40px;
}

table#menubar {
	border: 0px;
	border-spacing: 0px;
	width: 980px;
}*/

table#menubar td {
	padding: 0px;	
}

table {
	float: left;
	clear: left;	
}

table.farmrank {
	margin-left: auto;
	margin-right: auto;
	float: none;
	clear: left;
}