/* Tagien oletustyylit */
/***********************/

body {	
	margin-left: 0px; 
	margin-top: 0px; 
	margin-right: 0px; 
	margin-bottom: 0px; 
	background: #c12620 url(images/body_background.jpg) -48px 0 no-repeat; 
	height: 100%; 
	font-family: arial, verdana; 
}

td {
  vertical-align: top;
}

p {
  font-size: 12px;
}
/**** ID:n mukaan määritykset ****/
/*********************************/

/* Sivun yläosan määritykset */
/****************************/

#masterdiv { 
	width: 923px; 
	height: 100%; 	
	margin: 0 0 0 70px;
	position: absolute;
	background: url(images/contents_background.png) repeat-y;
}
#backgroundlayer { 
	width: 923px; 
	height: 100%; 	
	margin: 0 0 0 0px;
	position: absolute;
	background: url(images/contents_background2.jpg) 21px 106px no-repeat;
}

#header {
  width: 847px;
  height: 95px;
  background: url(images/header.jpg) no-repeat;
  position: relative;
  top: 11px;
  left: 33px;
}

#headernavi {
	position: absolute;
	bottom: 4px;
	right: 4px;
}

#headernavi a {
	color: black;
	text-decoration: none;
	font-size: 12px;
}

#headernavi a:hover {
	text-decoration: underline;
}

/* Navigaation määrittelyt */
/***************************/ 

#navigation {
  width: 853px;
  height: 33px;
  background: url(images/navi_background.jpg) no-repeat;
  position: relative;
  left: 30px;
  top: 15px;
  z-index: 200;
}

#nav {
  list-style: none;
  padding: 2px 0 0 0;
  margin: 0 0 0 10px;
  font-weight: bold;
  z-index: 100;
}

#nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
}

#nav li { /* all list items */
  height:20px;
  padding: 2px 6px 2px 6px;
  font-size: 11px;
  margin: 0;
  line-height: 20px;
  float: left;
}

#nav li ul { /* second-level lists */
	position : absolute;
	left: -999em;
	margin-left: -6px;
	margin-top: 2px;
  padding: 0;
	background: url(images/919191_tp_40.png);
	width: 150px;
	border-bottom: 1px solid #c4c4c4;
}

#nav li ul ul { /* third-and-above-level lists */
	left: -999em;
	 margin: -15px 0 0  180px;
}

#nav li li {
	margin: 1px 1px 0px 1px;
	height: 20px;
	padding: 0;
	border: 0;
	background: url(images/white_tp_40.png);
	width: 148px;
}

#nav li a {
	text-decoration : none;
	color: black;
	width: auto;
	display: block;
}

#nav li li a {
	width: 100%;
	height: 100%;
	display : block;
	color : #2b2b2b;
	text-decoration : none;
	padding : 0 0.5em;
}

#nav li:hover, #nav li.sfhover {
	background: #cecece url(images/list_marker_navi.gif) 5px center no-repeat;
	cursor: pointer;
	position: static;

}

#nav li li:hover, #nav li li.sfhover {
	background: #eee;
	cursor: pointer;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

/* Sisällön määrittelyt */
/************************/

/* 1-palstaisen taulurakenteen tyylit */
#structure_1
{
  width: 100%;
}
#structure_1 td.column1 
{
  width: auto;
  background: transparent;
  vertical-align: top;
}

/* 2-palstaisen taulurakenteen tyylit */
#structure_2
{
  width: 910px;
  height: 300px;
  border-spacing: 0px;
  margin: 25px 0 0 30px;
  *margin: 23px 0 0 30px;
}
#structure_2 td.column1 
{
  width: auto;
  background: transparent;
  vertical-align: top;
}
#structure_2 td.column2
{
  width: 220px;
  background: transparent;
  vertical-align: top;
}

/* 3-palstaisen taulurakenteen tyylit */
#structure_3
{
  width: 100%;
  min-height: 300px;
  border-spacing: 4px;
  z-index: 110;
}
#structure_3 td.column1 
{
  width: auto;
}
#structure_3 td.column2
{
  width: auto;
  
}
#structure_3 td.column3
{
  width: auto;
  
}

#contents {
  position: relative;
  width: 835px;
  top: 30px;
  left: 33px;
  z-index: 100;
}

#tuotetaulu {
  border-spacing: 4px;
  margin: 0 0 0 30px;
}

#tuotetaulu td {
  width: 152px;
  height: 176px;
  border: 1px solid #8e8e8e;
}

#tuotetaulu td div {
  width: 152px;
  height: 176px;
  background: url(images/919191_tp_40.png);
}

#tuotteet_pohja {
	width: 480px; 
	position: relative;
	height: 380px;
	margin: 0 0 0 33px;
}

#sivut {
	margin: 0 0 0 53px;
	font-size: 12px;
}

#sivut img {
	vertical-align: middle;
}

#tuotekortti {
	margin: 52px 0 50px 39px;
	float: left;
	width: 260px;
}

#tuotekortti_kuva {
	float: right;
	
	top: 0px;
	height: auto;
	width: 502px;
	border: 1px solid #979797;
	background: white;
	text-align: center;
}

#tuotekortti_kuva img {
	vertical-align: middle;
}

#takaisin {
	margin: 0 0 0 39px;
	float: left;
	clear: left;
	width: 200px;
}

#takaisin img {
	vertical-align: middle;
	
}

#sultrade, #yhteystiedot, #jalleenmyyjat, #linkit {
	margin: 0 0 0 33px;
}

#sultrade td, #yhteystiedot td {
	font-size: 12px;
}

#linkit td {
	font-size: 12px;
	vertical-align: middle;
}

#linkit a {
	text-decoration: none;
	color: black;
}
#linkit a:hover {
	text-decoration: underline;
	color: #545454;
}

/* Footerin ja muiden sivun loppuosien määrittelyt*/
/**************************************************/

#footer {
  background: url(images/ruoho.gif) no-repeat;
  height: 99px;
  width: 850px;
  position: absolute;
  bottom: 10px;
  left: 33px;
  z-index: 300;
}

/**** CLASS määritykset ****/
/***************************/

.nostotuote {
	position: absolute;
	text-align: center;
	width: 325px;
	height: 364px;
	left: 520px;
	top: 0px;
	font-size: 11px;
	color: #525252;
	cursor: pointer;
}

.tuote_sivu {
	width: 480px;
	position: absolute;
}

.tuote_pohja {
  width: 154px;
  height: 178px;
  float: left;
  margin: 0 4px 4px 0;
  border: 1px solid #979797;
}

.tuote_pohja2 {
	text-align: center;
  width: 152px;
  height: 176px;
  background: url(images/919191_tp_40.png);
  margin: 1px 0 0 1px;
  color: #525252;
  font-size: 11px;
  cursor: pointer;
}

.tuote_pohja2 img {
	margin: 10px 0 0 0;
}

.linkki_sivu {
	text-decoration: none;
	color: #525252;
	margin: 0;
	padding: 0 5px 0 5px;
}	
.linkki_sivu:hover {
	text-decoration: underline;
}	

.tuotenumero {
	font-size: 13px;
}
.nimi {
	font-size: 13px;
	font-weight: bold;
}
.kuvaus {
	font-size: 13px;
}
