﻿/* **********************************
RESETIT
************************************ */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
sup,
sub {
	height: 0;
	line-height: 1;
	vertical-align: baseline;
	_vertical-align: bottom;
	position: relative;
	
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

/* **********************************
COMMON ELEMENTS
************************************ */

body {
	background: white url(/Content/img/bg.jpg) repeat-x center top;
	font: 12px/16px Arial, Helvetica, sans-serif;
	position: relative;
}
#leftTomatos {
	display: block;
	width: 105px;
	height: 608px;
	position: absolute;
	left: 0;
	top: 42px;
	z-index: 1;
}
#rightTomatos {
	display: block;
	width: 174px;
	height: 614px;
	position: absolute;
	right: 0;
	top: 24px;
	z-index: 2;
}
#pageWrapper {
	background: url(/Content/img/header_bg.png) no-repeat top center;
	display: block;
	margin: 0 auto;
	min-height: 200px;
	overflow: hidden;
	padding: 175px 110px 50px 110px;
	position: relative;
	width: 780px;
}
* html #pageWrapper {
	background: url(/Content/img/header_bg.gif) no-repeat top center!important;
}
#mainNavi {
	display: block;
	position: absolute;
	right: 180px;
	top: 130px;
	z-index: 2000;
}
#footer {
	border-top: 2px solid #b70819; /* punainen */
	clear: both;
	display: block;
	height: 40px;
	margin: 0 auto;
	overflow: hidden;
	padding: 15px 10px 10px 10px;
	position: relative;
	text-align: center;
}
#footer div {
	display: block;
	margin: 0 auto;
	width: 780px;
}
#footer img {
	float: left;
	margin: 0;
}
#etusivuLeft {
	display: block;
	float: left;
	width: 385px;
}
#etusivuRight {
	display: block;
	float: right;
	width: 385px;
}

/* **********************************
NAVIT
************************************ */

#mainNavi ul {
	font: bold 12px Arial, Helvetica, sans-serif;
	z-index: 1000;
}
#mainNavi ul li {
	display: inline;
}
#mainNavi ul a {
	display: inline;
	color: white;
	padding: 5px 10px;
	text-decoration: none;
}
#mainNavi ul a:hover {
	text-decoration: underline;
}
#mainNavi ul a.active {
	color: #b70819; /* punainen */
}

#bodyHomeIndex a.navHome,
#bodySDIndex a.navHowTo,
#bodySDRegistration a.navHowTo,
#bodySDPrint a.navHowTo,
#bodySupportProducts a.navProducts,
#bodySupportFaq a.navFaq,
#bodySDRules a.navRules
{color:#b70819 !important;}

/* ALANAVI */

#alaNavi {
	float: left;
	margin: 20px 30px 20px 0;
	width: 280px;
}
#alaNavi li {
	/*background: url(../kuvat/navi_bg.gif) repeat-x;*/
	margin: 5px 0;
	/*padding-left: 5px;*/
}
#alaNavi a {
	display: block;
	text-decoration: none;
	color: #b70819; /* punainen */
}
* html #alaNavi a {
	height: 1%;
}
#alaNavi a:hover {
	text-decoration: underline;
}
#alaNavi a.active {
	color: black;
}



/* **********************************
ETUSIVU
************************************ */


a.facebook {
	background: #eee url(/Content/img/facebook.gif) no-repeat 5px 5px;
	border: 1px solid #ddd;
	color: #3e508a;
	display: block;
	height: 22px;
	padding: 15px 10px 5px 47px;
	text-decoration: none;
	width: 60px;
}
a.facebook:hover {
	text-decoration: underline;
}
#etusivuLeft .nosto {
	background-color: white;
	border: 1px solid #b70819; /* punainen */
	display: block;
	margin-bottom: 15px;
	min-height: 45px;
	padding: 15px;
}
#etusivuRight .nosto {
	background-color: #b70819; /* punainen */
	display: block;
	margin-bottom: 15px;
	padding: 15px;
	text-align: center;
}
#etusivuLeft .nosto h2 {
	color: #b70819; /* punainen */
	font-size: 16px;
	font-weight: bold;
}
.center p {
	line-height: 1.2em;
}
#etusivuRight .nosto h2 {
	color: white;
	font-size: 16px;
	font-weight: bold;
}
table#ostaOsta {
	width: 100%;
}
table#ostaOsta td {
	padding: 10px;
	text-align: center!important;
}
.stockLeft {
	background: url(/Content/img/number_bg.gif) no-repeat center;
	display: block;
	height: 16px;
	margin: 0 auto;
	padding: 5px;
	text-align: center;
	width: 89px;
}
.vinkkinosto {
	background: url(/Content/img/vinkkinosto.jpg) no-repeat;
	height: 44px;
	padding: 120px 0 0 0!important;
}
.vinkkinosto h2 a {
	color: white;
	text-decoration: none;
}


/* extras */

#etusivuLeft .center h2 {
	font-size: 20px;
}
.noborder {
	border: none!important;
}
.noBtmMargin {
	margin-bottom: -18px;
}
.center {
	font-size: larger;
	font-weight: bold;
	line-height: 1.7em;
	text-align: center;
}
.morePadding {
	padding-top: 15px;
}
.floatLeft {
	float: left;
	margin: 0 10px 10px 0;
}
.floatRight {
	float: right;
	margin: 0 0 10px 10px;
}

/* **********************************
ALASIVUT
************************************ */

#content {
	margin: 20px 50px 20px 50px;
}
#content.alanavilla {
	margin: 20px 50px 20px 315px;
}
#content h1 {
	font: bold 18px Arial, Helvetica, sans-serif;
	color: #b70819; /* punainen */
	margin: 0 0 20px 0;
}
#content h2 {}
#content h3 {}
#content h4 {}
#content p {
	margin: 15px 0;
}
#content a {
	color: #b70819; /* punainen */
	text-decoration: none;
}
#content a:hover {
	text-decoration: underline;
}
ul.tomato li {
	background: url(/Content/img/tomato_bullet.gif) no-repeat;
	font-weight: bold;
	margin: 15px 40px;
	min-height: 40px;
	padding: 20px 5px 5px 55px;
}
img.tuotekuva {
	float: left;
	margin: 150px 0 0 -320px;
}
b, strong {
	font-weight: bold;
}
em, italic {
	font-style: italic;
}

/* FORMIT */

fieldset {}
.inputBlock{margin-bottom:10px;}
    .inputBlock label{width: 145px; display:inline-block;}
    .field-validation-error{margin-left:15px; color:Red;}
.submitBlock{
    margin-top:20px;
    border-top:1px dotted #333;
    padding-top:10px;
}

/*
label {
	clear: left;
	display: block;
	float: left;
	padding-top: 5px;
	width: 150px;
}

input {
	margin: 5px 0;
	clear: right;
}
*/

*html ul.tomato li {
	height: 40px;
}

