/* Tagien oletustyylit */
/***********************/

* {
	margin: 0;
	padding: 0;
}

html, body {	
	background: #e1e1e1; 
	/* background: #e1e1e1 url(images/tausta.png) no-repeat bottom center fixed;  */
	height: 100%;
	font-family: Tahoma, Arial, Verdana;
	font-size: 12px;
}

td {
	vertical-align: top;
	text-align: left;
	font-size: 13px;
}

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

li {
	font-size: 13px;
}
 
a {
	color: #4646db;
	text-decoration: none;
	outline: none;
}

a:hover {
	text-decoration: underline;
}

a img {
	border: 0;
}

a:hover img {
	text-decoration: none;
}

h1 {
	margin-bottom: 10px;
	font-size: 18px;
	color: #ff6b21;
}

h2 {
	margin-bottom: 10px;
	font-size: 15px;
	color: #272727;
	font-family: Tahoma, Verdana, Arial;
}

h3 {
	margin-bottom: 10px;
	font-size: 14px;
	font-family: Tahoma, Verdana, Arial;
}

h4 {

}

p {
	font-size: 13px;
	margin-bottom: 10px;
	line-height: auto;
}

/* container elementtien määrittelyt */
/****************************/

#browser_notice {
	width: 100%;
	margin-bottom: 10px;
	padding: 5px 0px;
	border: 1px solid #cecece;
	background: #d9ffb7;
}

#browser_notice span.message {
	padding: 0px 10px;
	font-size: 11px;
}

#browser_notice  img {
	vertical-align: middle;
	margin-left: 10px;
}

#browser_notice  #notice_close {
	position: absolute;
	right: 5px;
	top: 5px;
}

#outerContainer {
	width: 100%;
	height: 100%;
	position: relative;
}

#topContainer {
	width: 948px;
	height: 46px;
	background: url(images/topContainer.png) bottom center no-repeat;
	position: relative;
	margin-left: auto;
	margin-right: auto;
}

#bottomContainer {
	width: 948px;
	background: url(images/bottomContainer.png) top center no-repeat;
	height: 90px;
	position: relative;
	margin-left: auto;
	margin-right: auto;
}

#middleContainer {
	width: 948px;
	background: url(images/middleContainer.png) top center repeat-y;
	position: relative;
	margin-left: auto;
	margin-right: auto;
}

.floatContainer {
	width: 100%;
	position: relative;
}

/* headerin määrittelyt */
/****************************/

#header {
	width: 874px;
	height: 95px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

#langselect {
	position: absolute;
	left: 330px;
	top: 7px;
}

#topmenu {
	position: absolute;
	top: 0px;
	left: 50px;
}

#topmenu a  {
	color: #424242;
	font-size: 14px;
	font-weight: bold;
}

#topmenu a:hover  {
	color: #ff6b1f;
	text-decoration: none;
}

#topmenu a span {
	position: relative;
	top: 3px;
}

#logo {
	position: absolute;
	left: 0px;
	top: 15px;
}

#muut_logot {
	position: absolute;
	left: 485px;
	top: 30px;
}

#muut_logot img {
	vertical-align: middle;
}

/* navigaation määrittelyt */
/***************************/ 

#navigation {
	list-style: none;
	margin: 0;
	padding-left: 0px;
}

#navigation li {
	background: url(images/listarrow.png) no-repeat 0px 5px;
	padding-left: 6px;
}

#navigation li a {
	font-size: 12px;
	font-weight: bold;
	color: #424242;
}

#navigation li.empty {
	background: transparent;
}

#navigation li.empty img {
	position: relative;
	left: -30px;
}

/* sisällön määrittelyt */
/****************************/

#contents {
	width: 874px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

#left {
	float: left;
	width: 158px;
	margin-right: 3px;
}

#center {
	float: left;
	width: 400px;
}

#right {
	float: right;
	width:  280px;
}

/* footerin määrittelyt */
/****************************/

#footer {
	width: 874px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	padding-top: 4px;
}

#footer_osoite {
	float: left;
	width: 165px;
	margin-right: 20px;
	color: white;
	font-size: 11px;
}

#footer_osoite a {
	color: white;
	font-size: 11px;
}

#footer_yhteystiedot {
	float: left;
	width: 233px;
	margin-right: 30px;
}

#footer_yhteystiedot table {
	width: 100%;
}

#footer_yhteystiedot td {
	color: white;
	font-size: 11px;
	vertical-align: middle;
	height: 20px;
}

#footer_yhteystiedot td img {
	vertical-align: middle;
}

#footer_aukioloajat {
	float: left;
	width: 135px;
	margin-right: 20px;
	color: white;
	font-size: 11px;
}

#footer_logot {
	float: left;
}

#footer_logot img {
	vertical-align: top;
}

#author {
	width: 874px;
	height: 40px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	text-align: right;
	top: -5px;
}

#author a {
	font-family: "Trebuchet MS", Arial, Verdana;
	font-size: 11px;
	color: #727272;
}

/* luokka määrittelyt */
/****************************/

.bold {
	font-weight: bold;
}

.smalltext {
	font-size: 11px;
}

.middle {
	vertical-align: middle;
}

.error_msg {
	height:16px;
	font-size: 11px;
	color: red;
	font-weight: bold;
	padding-left: 22px;
	padding-top: 4px;
	background: url(images/exclamation.png) left 3px no-repeat;
	margin-top: 4px;
}

.tuotekuva_thumb {
	float: left;
	width: 90px;
	height: 70px;
	overflow: hidden;
	margin: 0px 3px 3px 0px;
	cursor: pointer;
}

.tuotekuva_thumb img {
	width: 90px;
}

img.loading {
	display: block;
	width: 31px;
	height: 31px;
}

div.tiedote {
	width: 240px;
	position: relative;
	float: right;
	margin-bottom: 10px;
}

div.tiedote .ylaosa{
	background: url(images/tiedote_ylaosa.jpg) no-repeat;
	padding: 10px;
	min-height: 9  0px;
}

div.tiedote .ylaosa h2 {
	font-size: 15px;
	color: #ff6b21;
}

div.tiedote .alaosa{
	background: url(images/tiedote_alaosa.jpg) no-repeat;
	height: 10px;
}

div.ajoneuvo_thumb { 
	width: 120px; 
	height: 80px; 
	overflow: hidden;
	position: relative;
	text-align: right;
}

div.tuote_thumb { 
	width: 120px; 
	height: 80px; 
	overflow: hidden;
	position: relative;
	text-align: right;
}

table.sortable {
    width: 100%;
}

table.sortable th {
	background: url(images/rivitausta.png) no-repeat top center;
	text-align: left;
	font-weight: normal;
	cursor: pointer;
}

table.sortable th.left {
	background: url(images/rivitausta.png) no-repeat top left;
}

table.sortable th.right {
	background: url(images/rivitausta.png) no-repeat top right;
}

table.sortable th.sorttable_nosort {
	cursor: default;
}

table.sortable td {
	text-align: left;
	padding: 10px 0px;
	border-bottom: 1px solid #cecece;
}

table.sortable td.vaunupalveluturva {
	text-align: center;
}

.uusi {
	padding: 2px 6px;
	line-height: 18px;
	letter-spacing: 1px;
	font-size: 8px;
	font-weight: bold;
	color: #fff;
	background: #ff6b21;
}

table.sortable td.hinta {
	font-weight: bold;
}

table.sortable td.kuva {
	text-align: right;
	width: 120px;
}

table.sortable tr.header {
	height: 25px;
}

table.sortable tr.header2 {
    background: url(images/rivitausta2.png) no-repeat;
	height: 25px;
}

div.turvalaatikko {
	width: 230px;
	height: 63px;
	background: url(images/turvalaatikko.png) no-repeat;
	padding: 15px 20px;
	font-size: 12px;
	font-weight: bold;
	text-align: left;
}

div.hrule {
	height: 1px;
	width: 100%;
	margin: 4px 0px;
	background: #797979;
}

/* OSTOLOMAKKEEN TYYLIT */

.ostolomake
{
	margin: 0 0 1.0em 0;
}
	
.ostolomake label
{
	width: 115px;
	float: left;
	text-align: left;
	padding-right: 2px;
	margin-bottom: 6px;
}

.ostolomake label.error {
	float: none; 
	color: red; 
	padding-left: .5em; 
	vertical-align: top; 
}

.ostolomake p { 
	clear: both; 
}


.ostolomake input, .ostolomake select
{
	border: 1px solid #888888 !important;
	width: 200px !important;
	margin-bottom: 6px;
	font-size: 1.0em;
	padding: 2px;
}

.ostolomake textarea
{
	border: 1px solid #888888;
	width: 300px;
	padding: 2px;
}
 	
.ostolomake .left_label
{
	clear: left;
}

.kerro-kaverille {
	margin-top: 30px;
	padding: 20px;
	text-align: center;
	font-size: 15px;
	font-weight: bold;
	color: #ff6b21;
	background: #f2f2f2;
	border: 1px solid #ddd;
}

.kerro-kaverille .addthis_toolbox {
	width: 75px;
	margin: 15px auto 0 auto;
}

/* ETUSIVUN BANNERIT */

#banneri-alue {
	position: relative;
}

#banneri-alue .banneri {
	position: relative;
	float: left;
	width: 175px;
	margin: 1em 0;
	padding: 0 24px 0 0;
	border: none;
	border-right: 1px solid #ccc;
}

#banneri-alue .banneri.last {
	left: -1px; /* One pixel tweak to make the borders on top of each other */
	width: 175px;
	margin: 0;
	padding: 0 0 0 24px;
	border: none;
	border-left: 1px solid #ccc;
}

#banneri-alue .banneri img {
	max-width: 175px;
	max-height: 175px;
	overflow: hidden;
}

#banneri-alue .banneri h3 {
	margin: .5em 0 .3em 0;
	font-weight: bold;
	font-size: 13px;
	color: #ff6b21;
}

#banneri-alue .banneri p {
	font-size: 11px;
}
