﻿@import url("layout.css");
body {
	font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif, Verdana, Arial, Helvetica, sans-serif;;
	font-size: 14px;
	background-image: url('../images/ruusukuvio_beige_thumb.jpg');
	background-repeat: repeat;
	background-attachment: scroll;
}
#container {
	width: 850px;
	margin: 10px auto 10px auto;
	padding: 0px;
	position: relative;
	height: auto;
}

/* Styles for Masthead */
#masthead {
	margin: 10px auto 0px auto;
	border-radius: 8px;
	text-align: center;
	width: 850px;
	padding: 5px 0px 5px 0px;
	border: 5px #FF0000 ridge;
	background-image: url('../images/ruusukuvio_pun_thumb.jpg');
	background-repeat: repeat;
	background-attachment: scroll;
	color: #FFFFFF;
	height: 120px;
	position: relative;
	float: none;
}

/* Styles for Masthead */
#masthead h1 {
	font-family: Colbert;
	font-size: xx-large;
	color: #FFFFFF;
	margin-top: 0;
	margin-right: 0;
	margin-left: 0;
	margin-bottom: 0;
}
#masthead h3 {
	font-family: Colbert;
	font-size: X-large;
	color: #FFFFFF;
	margin-top: 0;
	margin-bottom: 0px;
}

#masthead a {
	color: #333333;
	text-decoration: none;
}

#nav {
	margin: 0px auto 0px 0px;
	border-radius: 8px;
	border-top: medium ridge #FF0000;
	width: 850px;
	padding: 5px 0px 5px 0px;
	border: 5px #FF0000 ridge;
	background-image: url('../images/ruusukuvio_pun_thumb.jpg');
	background-repeat: repeat;
	background-attachment: scroll;
	position: relative;
	height: 25px;
	text-align: center;
}

#nav li {
	display: inline-block;
	padding: 2px 2px 2px 2px;
	position: relative;
	height: 25px;
}

#nav li a {
	display: block; 
	height: 25px;
	padding: 1px 0px;
	color: #FFFF00;
	text-transform: uppercase;
	font: bold 12px Arial, Helvetica;
	text-decoration: none;
	font-style: normal;
}

#nav li:hover > a {
    color: #fafafa;
}

*html #nav li a:hover { /* IE6 */
    color: #fafafa;
}

#nav li:hover > ul {
    display: block;
}

#nav ul {
	/*display:inline-block;
	list-style: none;*/
	margin: 0px;
	padding: 0px;
	display: none;
	position: absolute;
	top: 28px;
	left: 0px;
	z-index: 99999;
	background-color: #009900;
	background-image: linear-gradient(#009900, #111);
	-moz-border-radius: 5px;
	border-radius: 5px;
}

/*Alavalikot*/
/*Alavalikon leveys*/
#nav ul a {
	padding-top: 5px;
	padding-right: 4px;
	padding-left: 4px;
	padding-bottom: 5px;
	height: auto;
	line-height: 6px;
	display: block;
	white-space: nowrap;
	float: none;
	text-transform: none;
	text-align:left;
}
/*Alavalikon riviväli*/
#nav ul li {
	float: none;
	margin: 0px;
	padding: 2px;
	display: block;
	box-shadow: 10px #66FF33;
}

#nav ul li:last-child { 
    box-shadow: none;    
}

*html #nav ul a { /* IE6 */   
    height: 10px;
    width: 150px;
}

*:first-child+html #nav ul a { /* IE7 */    
    height: 10px;
    width: 150px;
}
/*Alavalikon aktivoitu väri*/
#nav ul a:hover {
    background-color: #0186ba;
    background-image: linear-gradient(#009900, #0186ba);
}

#nav ul li:first-child a {
    border-radius: 0px 0px 0px 0px;
}

#nav ul li:first-child a:after {
	content: '';
	position: absolute;
	left: 30px;
	top: -8px;
	width: 0px;
	height: 0px;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 8px solid #444;

}

#nav ul li:first-child a:hover:after {
    border-bottom-color: #04acec; 
}

#nav ul li:last-child a {
    border-radius: 0px 0px 5px 5px;
}

/* Clear floated elements */

#nav:after {
    visibility: hidden;
    display: block;
    font-size: 0px;
    content: " ";
    clear: both;
    height: 0px;
}


* html #nav             { zoom: 1; } /* IE6 */
*:first-child+html #nav { zoom: 1; } /* IE7 */


#content {
/*	opacity: 0.5;*/
	padding: 5px 0px 0px 0px;
	margin: 0px auto 0px auto;
	width: 850px;
	position: relative;
	margin:auto;
}

#column_l {
	width: 100px;
	padding: 0px;
	float: left;
}
html>body #column_l {
	width: 100px;
	padding: 0px;
}

#column_c {
	border: 1px solid #FF0000;
	width: 600px;
	margin-left: 10px;
	margin-right: 0px;
	float: none;
	height: auto;
	text-align: center;
}
html>body #column_c {
	width: auto;
	float: left;
}
#column_r {
	width: 100px;
	padding: 0px 0px;
	float: right;
	clip: rect(auto, auto, auto, auto);
	left: 0px;
}
html>body #column_r {
	width: 100px;
	padding: 0px 0px;

}

#center {
	margin:auto;
	width:40%;
	
}
#lippukehys {
	width: 217px;
	position: relative;
	margin: 0px auto 0px auto;
	padding: 0px;
	height: 285px;
	z-index: 9999;
}

#kuvakehys {
	width: 850px;
	position: relative;
	margin: 0px auto 0px auto;
	padding: 0px;
/*	z-index:1;
	height: 480px;*/
}

#taulukehys {
	width: 441;
	position: relative;
	margin: 0px auto 0px auto;
	padding: 0px;
	z-index: 1005;
}

#kpirttikehys {
	width: 850px;
	position: relative;
	margin: 0px auto 0px auto;
	padding: 5px;
	height: 540px;
}
#kpirttiOpa {
	border: thin solid #00FF00;
	width: 850px;
	position: relative;
	margin: 0px auto 0px auto;
	padding: 0px;
	opacity: 0.5;
	filter: alpha(opacity=50);
	height: 533px;
}

kpirtti {
border: thin solid #00FF00;
	width: 850px;
	position: relative;
	margin: 0px auto 0px auto;
	padding: 0px;
	height: 533px;
}

#sivukehys {
	float:left;
	/*border-style: solid;
	border-width: medium;
	border-radius: 0px;
	width: 200px;
	position: absolute;
	margin: 10px 0px 0px 5px;
	padding: 5px;
	float: right;
	height: 480px;*/
}


#wb_PhotoGallery1{
	margin : 10px auto 0px auto;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	width: 300px;
	/*top: 0px;
	right: auto;
	bottom: 0px;
	left: auto;*/
}

/* Site typography */
h1 {
	font-size: xx-large;
	color: #000;
}
h2 {
	font-size: x-large;
	font-style: italic;
	color: #FF0000;
}
h3 {
	font-size: large;
	font-style: normal;
	color: #0000FF;
	font-family: Arial, Helvetica, sans-serif;
}
h4 {
	font-size: x-large;
	font-style: normal;
	color: #FF0000;
	text-align: center;
	font-family: Colbert;
	font-weight: bold;
}
h5 {
	padding: 10px;
	font-size: x-large;
	font-style: normal;
	color: #0066FF;
}
h6 {
	font-size: small;
	font-style: normal;
	color: #000;
	font-weight: bold;
}
/*
#wb_Text3{
	margin: 0px auto 0px auto;
	padding: 0px;
	position: relative;
	width: 830px;
	z-index: 3;
">;color: #993333;
	font-family: Vineta BT;
	font-size: 27px;
}*/

/* Footer Styles */
#footer {
	text-align: center;
	clear: both;
	width: 850px;
	padding-top: 5px;
	padding-bottom: 5px;
	border-top: 1px solid #dcdcdc;
	border-right: 1px solid #a9a9a9;
	border-bottom: 1px solid #808080;
	border-left: 1px solid #a9a9a9;
	background-color: #fefeff;
	position: relative;
}

#footer p {
	color: #808080;
	margin-top: 5px;
}
#footer a {
	color: #5f8ea9;
	text-decoration: underline;
}
#footer a:hover {
	color: #33627d;
	text-decoration: none;
}
a {
	color: #5f8ea9;
	text-decoration: underline;
}
a:hover {
	color: #33627d;
	text-decoration: underline;
}
.style_bold {
	font-weight: bold;
}
.style_italic {
	font-style: italic;
}

#customers {
	margin:0px auto 0px auto;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    width: 840px;
    border-collapse: collapse;
}

#customers td, #customers th {
    font-size: 12px;
    border: 1px solid #98bf21;
    padding: 2px 2px 2px 2px;
    width:392px;

}

#customers th {font-size: 12px;
	text-align: left;
	padding-top: 1px;
	padding-bottom: 1px;
	background-color: #FFFFFF;
	color: #ffffff;
}

#customers tr.alt td {
    color: #000000;
    background-color: #EAF2D3;
            margin:0px auto 0px auto;
}

#transbox {
  margin: 30px;
  background-color: #ffffff;
  border: 1px solid black;
  opacity: 0.6;
  filter: alpha(opacity=60); /* For IE8 and earlier */
}

#transbox p {
  margin: 5%;
  font-weight: bold;
  color: #000000;
}
