﻿html {
    overflow-y: scroll;
}

html, body {
	margin: 0;
	padding: 0;
}

body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px; 
	font-weight: normal;	
	color: #000000;	
	text-align: center;
	background: url('../img/bg.jpg') repeat-x #fff;
}

body a img, body a:hover img {
	border: none;
}

body a {
	color: #000000;
	text-decoration: underline;
}

body a:link	{	
	color: #000000;
	text-decoration: underline;
}	
		
body a:visited {	
	color: #000000;
	text-decoration: underline;
}	
		
body a:active {	
	color: #000000;
	text-decoration: underline;
}	
		
body a:hover {
	color: #000000;
	text-decoration: none;
}

html>body h1, html>body h2, html>body h3, html>body h4 {
	margin: auto;
}

hr {	
	width: 100%;
	height: 1px;
}

table {
	font-size: 1em;
	color: #000000; 	
}

/* Set static page width */

#Container, #Header, #HeaderContent, #Columns, #Footer {
	width: 800px;
}


/* Set cross-browser minimum content height */

/*#MinHeight {
	position: relative;
	display:  none;
	height: 500px;
	width: 0px;
	visibility: hidden;
}*/

form
{
	margin: 0;
	padding: 0;
}

#Container {
	position: relative;
	display: block;
	margin-top: 0; 
	margin-right: auto; 
	margin-bottom: 0; 
	margin-left: auto;
	padding: 0;
	height: auto;
	text-align: left;
}

/*#Container:after {
	content: "."; 
	display: block;
	height: 0.01em;
	overflow: hidden;
	visibility: hidden; 
	clear: both;
}*/

/*html>body #Container {
	border-bottom: 1px transparent;	
}*/

#Header {
	display: block;
	position: relative;
	height: 197px;
	background: url(../img/bg_header.gif) no-repeat #fff;
	margin-top: 1px;
	padding: 0;
}
/*
* html #Header
{    
    width: 800px;
    overflow: visible;        
}*/

#Columns {
	position: relative;
	display: block;
	margin: auto;
	padding: 0;
	padding-bottom: 20px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	background: url(../img/bg_content.gif) repeat-y;
	overflow: hidden;	
}


/* This is needed for clearing floats  inside container */

/*#Columns:after {
	content: "."; 
	display: block;
	height: 0.01em;
	overflow: hidden;
	visibility: hidden; 
	clear: both;
}*/

#C1 {
	position: relative;
	display: inline;
	float: left;	
	width: 195px;
	text-align: left;
	margin-bottom: 20px;
	background: url(../img/bg_col1.gif) no-repeat top left;
	overflow: hidden;
}

html>body #C1 {height:auto;}

#C2 {
	position: relative;
	display: inline;
	float: left;
	width: 545px;
	text-align: left;
	background-color: #fff;
	margin-left: 10px;
	min-height: 475px;
	height: 475px;
}

* html #C2
{    
    height: auto;
}

html>body #C2 {height:auto;}

#C3 {
	position: relative;
	display: inline;
	float: left;
	width: 50px;
	background: url(../img/bg_col3.gif) no-repeat top right;
	min-height: 475px;
	height: 475px;	
}

html>body #C3 {height:auto;}

* html #C3
{
    width: 45px;    
    float: right;
    margin-right: 0px;
}

#C4 {
	position: relative;
	display: inline;
	float: left;
	width: 0px;
	overflow:hidden;
}

#Footer {
	position: relative;
	display: block;
	clear: both;
	height: 50px;
	background: url(../img/bg_footer.gif) no-repeat;
	text-align: right;
	margin-left: auto;
	margin-right: auto;
}	

#Footer a {
    color: #878C90;
    text-decoration: none;
}

#Footer a:hover {
    color: #878C90;
    text-decoration: underline;
}

#VisualWeb {
	position: relative;
	right: 30px;
	padding-top: 45px;
	padding-bottom: 5px;
}

/***** SHOPPING *****/
#ShoppingItem {
    display: block;
    position: relative;
    top: 0px;
	height: 130px;
	width: 160px;
	background-color: #3DA543;	
	margin-left: 20px;
    background: url(../Img/shoppingitembg.gif) left top no-repeat;
    clear: both;
    overflow: visible;
}
html>body #ShoppingItem {top: 10px;}

#ShoppingItem>p 
{
	margin: 0;
	padding: 0;
}

#TableSmallBasket
{
	width: 140px;
	height: 130px;
	color: #fff;
	font-weight: bold;
	margin: 0 0 0 10px;
}

#TableSmallBasket th
{
	height: 18px;
	line-height: 14px;
	text-align: left;
}

#TableSmallBasket td
{
	height: 10px;
	line-height: 12px;
	padding: 0;
	margin: 0;
}

#TableSmallBasket div, #TableSmallBasket a
{
	/*line-height: 14px;*/
	font-weight: normal;
}

#BasketProducts
{
	width: 135px;
	font-size: 9px;
	font-family: Verdana, Arial;
}
#BasketProducts option {width: auto;}

/***** SEARCH *****/
#Searchbox {
    display: block;
    position: relative;
    left: 10px;
    top: 115px;
    float: left;
    margin: 10px 0 0 0;
    padding: 0;
    width: 172px;
    height: 30px;
    background: url(../img/bluebg.gif) 0 0 no-repeat;
    overflow: hidden;
}

#txtSearch {
    display: inline;
    position: relative;
    float: left;
    margin: 2px 2px 0 5px;
    padding: 0;
    width: 120px;
    overflow: hidden;
    height: 16px;
    font-size: 8pt;
    border: 1px solid #c9cbcc;
}
html>body #txtSearch {margin: 2px 2px 0 5px; height: 14px;}

#btSearch {
	display: inline;
    position: relative;
    float: left;
    margin-top: 2px;
    padding: 1px 0 2px 0;
    font-size: 9px;
    font-weight: bold;
	font-family: Arial;
    color: #fff;
    width: 35px;
    height: 15px;
	line-height: 12px;
    background: none;
    border: none;
}
html>body #btSearch {margin: 3px 0 0 0;}

#ContactDiv {
    display: block;
    position: relative;
	margin-left: 20px;
	padding: 10px;
    width: 160px;
    height: 100px;
    color: #fff;
    font-size: 9px;
    clear: both;
    background: url(../Img/contactbg.gif) left top no-repeat;
    overflow: visible;
}
html>body #ContactDiv {top: 10px;}


/* Tuotelistaukset */
#C2 table
{
	/*width: 530px;*/
}

#C2 table td
{
	/*position: relative;
	display: block;
	float: left;*/
	font-size: 9px;
	padding: 8px 0 5px 0;
	/*margin-right: 2px;*/
}

.thPage
{
	background-color: #c9cbcc;
	color: #fff;
	line-height: 20px;
	font-weight: bold;
	padding-top: 0!important;
	border: 1px solid #c9cbcc;
}

.thProductInfo
{
	background-color: #c9cbcc;
	color: #fff;
	line-height: 30px;
	height: 30px;
	font-weight: bold;
	padding-top: 0!important;
	border: 1px solid #c9cbcc;
	text-align: center;
}


/* Taulukon sarakkeet */
#frmProductInfo #Container {position: relative; float: left; width: 100%;}
.tdProducts {height: 113px; border: 1px solid #ededed;}
.tdStock {height: 113px; border: 1px solid #ededed;}
.tdPrice {height: 113px; border: 1px solid #ededed;}
.tdOrderAmount {height: 113px; border: 1px solid #ededed;}
.tdRegister {padding-left: 20px; padding-bottom: 20px; border: 1px solid #ededed;}
.tdOrderAmount img {margin-left: 3px;}
.tdLogin {height: auto; border: 1px solid #ededed;}
.tdBasket {border: 1px solid #ededed;}
.tdTabs {line-height: 20px; border: 1px solid #ededed; text-align: center; padding-bottom: 10px;}

.tdProductLegend {width: 530px; height: 30px; background: url(../img/product_legend.gif) top left no-repeat; padding: 0px!important;}

/* Sarakkeiden sisällöt */
.ProductTitle {font-weight: bold; margin-top: 10px;}
.ProductDescription {margin-top: 3px; height: 55px; overflow: hidden;}
.ProductLink a:link, .ProductLink a:active, .ProductLink a:visited {color: #ce003f!important; text-decoration: none!important;}

.ProductAvailability {margin-top: 10px; text-align: center;}
.ProductPrice {margin-top: 10px; text-align: center;}
.ProductAmount {height: 75px; margin-top: 10px; margin-left: 10px;}
.ProductOrderAmount {position: relative; top: -18px; margin-left: 80px;}
.ProductAmountBox {width: 25px!important;}

.BasketRowContent {padding: 0 0 8px 8px; min-height: 20px; line-height: 14px;}
.BasketRowContent input {position: relative; top: -5px;}

.LoginArea {margin: 10px 0 0 10px; height: auto;}
.LoginArea:after
{
	content: "."; 
	display: block;
	height: 0.01em;
	overflow: hidden;
	visibility: hidden; 
	clear: both;
}

form {margin: 0; padding: 0;}
form input {width: 200px;}
form select {width: 205px;}
.SmallButton60px
{
	float: left;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px; 
	width: 60px;
	margin-right: 10px;
}

.ProductImage {width: 100px; height: 100px; text-align: center;margin: 1px 5px 1px 8px; float: left;}
.ProductImage img {display: block; margin-left: auto; margin-right: auto;}

/*.ProductImageBig {width: 400px;}*/
.ProductImageBig img {display: block; margin-left: auto; margin-right: auto;}

/* Sarakkeiden leveyksiä */
.Width25 {width: 25px;}
.Width43 {width: 43px;}
.Width50 {width: 50px;}
.Width53 {width: 53px;}
.Width65 {width: 65px;}
.Width100 {width: 100px;}
.Width110 {width: 110px;}
.Width115 {width: 115px;}
.Width125 {width: 125px;}
.Width130 {width: 130px;}
.Width145 {width: 145px;}
.Width155 {width: 155px;}
.Width172 {width: 172px;}
.Width174 {width: 174px;}
.Width200 {width: 200px;}
.Width231 {width: 231px;}
.Width260 {width: 260px;}
.Width262 {width: 262px;}
.Width310 {width: 310px;}
.Width375 {width: 375px;}
.Width400 {width: 400px;}
.Width511 {width: 511px;}
.Width526 {width: 526px;}
.Width530 {width: 530px;}

.ButtonGlassWide
{
	display: block;
	position: relative;
	height: 15px;
	width: 140px;
	background: url(../img/button_glass_wide.gif) no-repeat top center;
	float: left;
	margin: 0;
	padding: 0;
}
.ButtonGlassWide a:link, .ButtonGlassWide a:visited
{
	display: block;
	position: relative;
	height: 15px;
	width: 140px;
	text-decoration: none;
}
.ButtonGlassWide a:hover { text-decoration: underline; }

.ButtonGlass
{
	display: block;
	position: relative;
	height: 15px;
	width: 70px;
	background: url(../img/button_glass.gif) no-repeat top center;
	float: left;
	margin: 0;
	padding: 0;
}
.ButtonGlass a:link, .ButtonGlass a:visited
{
	display: block;
	position: relative;
	height: 15px;
	width: 70px;
	text-decoration: none;
}
.ButtonGlass a:hover { text-decoration: underline; }

.ButtonGlassSmall
{
	display: block;
	position: relative;
	height: 16px;
	width: 56px;
	background: url(../img/button_glass_small.gif) no-repeat top center;
	float: left;
	margin: 0;
	padding: 0;
	text-align: center;
}

.ButtonGlassSmall a:link, .ButtonGlassSmall a:visited
{
	display: block;
	position: relative;
	height: 16px;
	width: 56px;
	text-decoration: none;
}
.ButtonGlassSmall a:hover { text-decoration: underline; }


.ProductTitle a:link, .ProductTitle a:visited {text-decoration: none!important;}
.ProductTitle a:hover {text-decoration: underline!important;}

.ButtonAddToCart
{
	height: 25px;
	line-height: 25px;
}

#SAContainer {display: block; overflow: hidden; clear: both;}

#CategoryLinks
{
	list-style-type: none;
	list-style: none;
	padding: 0;
	margin: 0;
	width: 545px;
	height: 140px;
}

#CategoryLinks a
{
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	line-height: 20px;
	display: block;
	text-align: center;
	width: 140px;
}
#Sikatalous {float: left; display: inline; background: url(../img/sikatalous.jpg) no-repeat left top; width: 153px; height: 35px; margin-right: 24px; padding: 105px 0 0 12px; overflow: hidden;}

* html #Sikatalous
{
    overflow: visible;
}

#Karjatalous {float: left; display: inline; background: url(../img/karjatalous.jpg) no-repeat left top; width: 153px; height: 35px; margin-right: 24px; padding: 105px 0 0 12px;  overflow: hidden;}

* html #Karjatalous 
{
    overflow: visible;
}
#Hevostuotteet {float: left; display: inline; background: url(../img/hevostuotteet.jpg) no-repeat left top; width: 153px; height: 35px; padding: 105px 0 0 12px;  overflow: hidden;}

* html #Hevostuotteet 
{
    overflow: visible;
}

#PrintConclusion
{
    display: inline;
    position: relative;
    float: right;
    height: 15px;
    width: 55px;
    background: url(../img/print.gif) right top no-repeat;
}

.Logout {display: block; position: relative; float: right; margin: 30px 40px 0 0;}

#Logo, #ContactDivPrint {display: none;}
