/* @override http://www.ergomode.fi/css/style.css */

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,dd,dl,dt,li,ol,ul,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;font-weight:normal;font-style:normal;text-align:left;font-family:inherit;}table{border-collapse:collapse;border-spacing:0;}ol,ul{list-style:none;}q:before,q:after,blockquote:before,blockquote:after{content:"";}

/* -------------------------------------------------------------- 
   
   typography.css
   * Sets up some sensible default typography.
   
-------------------------------------------------------------- */

/* Default font settings. 
   The font-size percentage is of 16px. (0.75 * 16px = 12px) */
body { 
  font-size: 75%;
  color: #222; 
  background: #f1edea;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  line-height: 1.5;
}


/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 { font-weight: bold; color: #111; }

h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
h2 { font-size: 2em; margin-bottom: 0.75em; line-height: 1;}
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }

h1 img, h2 img, h3 img, 
h4 img, h5 img, h6 img {
  margin: 0;
}


/* Text elements
-------------------------------------------------------------- */

p           { margin: 0 0 1.5em; }
p img.left  { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }

a:focus, 
a:hover     { color: #000; }
a           { color: #003676; text-decoration: underline; }

blockquote  { margin: 1.5em; color: #666; font-style: italic; }
strong      { font-weight: bold; }
em,dfn      { font-style: italic; }
dfn         { font-weight: bold; }
sup, sub    { line-height: 0; }

abbr, 
acronym     { border-bottom: 1px dotted #666; }
address     { margin: 0 0 1.5em; font-style: italic; }
del         { color:#666; }

pre 				{ margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }


/* Lists
-------------------------------------------------------------- */

li ul, 
li ol       { margin:0 1.5em; }
ul, ol      { margin: 0 1.5em 1.5em 1.5em; }

ul          { list-style-type: disc; }
ol          { list-style-type: decimal; }

dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 1.5em;}


/* Tables
-------------------------------------------------------------- */

table       { margin-bottom: 1.4em; width:100%; }
th          { font-weight: bold; }
thead th 		{ background: #c3d9ff; }
th,td,caption { padding: 4px 10px 4px 5px; }
tr.even td  { background: #e5ecf9; }
tfoot       { font-style: italic; }
caption     { background: #eee; }


/* Misc classes
-------------------------------------------------------------- */

.small      { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
.large      { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
.hide       { display: none; }

.quiet      { color: #666; }
.loud       { color: #000; }
.highlight  { background:#ff0; }
.added      { background:#060; color: #fff; }
.removed    { background:#900; color: #fff; }

.first      { margin-left:0; padding-left:0; }
.last       { margin-right:0; padding-right:0; }
.top        { margin-top:0; padding-top:0; }
.bottom     { margin-bottom:0; padding-bottom:0; }
.clear		{ clear:both }

#wrapper {
	width: 1000px;
	margin: 0 auto;
	background-image: url(../images/ergotausta.jpg);
	background-repeat: no-repeat;
	overflow: hidden;
	clear:both;
	position: relative;
	z-index: 0;
}

#sidebar {
	display: inline;
	float: left;
	width: 240px;
	overflow:hidden;
	margin-top: 220px;
	margin-left: 30px;
	margin-bottom: 100px;

}

#content {
	display: inline;
	float: right;
	width: 630px;
	overflow:hidden;
	margin-top: 100px;
	margin-right: 50px;
}

#footer {

	clear: both;
	width: 1000px;
	background-image: url(../images/ergotausta.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	height: 133px;
	position: relative;
	z-index: 5;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 0;
}

#footertext {
	clear: both;
	width: 1000px;
	margin: 0 auto 1.5em auto;
	text-align: center;
	word-spacing: 0.3em;
}

.pagecontent {
	clear: both;
	overflow: hidden;
}

.ergomode .pagecontent, .measure .pagecontent, .howtoorder .pagecontent, .contact .pagecontent {
	padding: 20px;
}

.logo a {
	position: absolute;
	display: block;
	text-indent: -9000px;
	height: 134px;
	width: 215px;
	top: 28px;
	left: 52px;
}

.slogan {
	position: absolute;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
	text-align: left;
	color: #003676;
	font-size: 1.5em;
	top: 173px;
	left: 110px;
}

.slogan2 {
	font-size: 1.2em;
	font-weight: bold;
	line-height: 1.2em;
	margin-left: 34px;
	margin-right: 25px;
}

.avainlippu {
	background: url(../images/Avainlippu_Sininen_rgb.png) no-repeat 0 60%;
	height: 36px;
	padding-left: 35px;
	}

/* Navigation */

.nav {
	display: block;
	width: 100%;
	overflow: hidden;
	margin-bottom: 1.5em;
}

#footer .nav {
	width: 630px;
	margin-left: 320px;
	padding-top: 20px;
}

.nav ul {
	list-style: none;
}

.nav ul li {
	list-style-image: none;
	list-style: none;
	display: inline;
	float: left;
	height: 30px;
}

.nav ul a {
	color: #021A55;
	display: lock;
	height: 1.5em;
	padding: 0.5em 0.5em;
	background: transparent url(../images/navactive.png) no-repeat 0 0;
	text-decoration: none;
	font-weight: bold;
}

.nav ul a:hover, .home #navHome a, .ergomode #navErgo a, .products #navProducts a, 
.measure #navMeasure a, .howtoorder #navHowToOrder a, .contact #navContact a {
	background-position: 0 -73px;
} 

/* Home page content */
.pagecontent {
	overflow: hidden;
	background: white url(../images/grad.jpg) repeat-x;
}

#productListImages {
	clear: both;
	overflow: hidden;
}

.homeContent1, .homeContent2, .homeContent3, .productListImage {
	display: inline;
	float: left;
	width: 161px;
	margin: 20px;
}

.productlist {
	display: inline;
	float: left;
	width: 190px;
	margin: 10px;
}

.caption {
	color: white;
	font-style: italic;
	text-align: center;
	padding: 0.2em 0;
}

.caption a {
	color: white;
	font-style: italic;
	text-decoration: none;
}

.captionCasual {
	background: #5C98B0;
}

.captionSport {
	background: #91A58B;
}

.captionTrend {
	background: #9FA253;
}

hr.indexhr {
	clear: both;
	height: 2px;
	color: #c7d0df;	
	margin: 20px;
	background-color: #c7d0df;
}

.ajankohtaista {
	clear: both;
	margin-left: 20px;
	margin-right: 20px;
	width: 430px;
	display: inline;
	float: left;
	border-right: 3px solid #c7d0df;
	margin-bottom: 20px;
	padding-right: 20px;
}

.ajankohtaista2 {
	margin-right: 20px;
	width: 115px;
	display: inline;
	float: left;
	margin-bottom: 20px;
	padding-top: 130px;
	background: url(../images/joulukuva.jpg) no-repeat 0 10px;

}

/* sidebar */

.sidebarcontent {
	display: block;
	width: auto;
}

.uutuudet {
	background: url(../images/uutuustausta.png) no-repeat;
	width: 225px;
	height: 250px;
	overflow: hidden;
	position: absolute;
	bottom: 21px;
	z-index: 10;
}

.uutuudetOtsikko {
	height: 14px;
	margin-top: 10px;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	margin-right: 10px;
	margin-left: 10px;
}

.uutuudetImage {
	width: 166px;
	height: 184px;
	overflow: hidden;
	margin: auto;
}

#accordion {
	font-size: 0.9em;
	margin-left: 80px;
}

.ui-accordion-header a {
	font-weight: bold;
	padding: 5px;
	background-color: #eee;
}

.ui-state-active a, .ui-accordion-header a:hover {
	background-color: #f6efe5;
}

#accordion a {
	display: block;
	text-decoration: none;
}


#accordion ul{
	list-style: none;
}

#accordion li {
	margin-bottom: 0.5em;
}

.ui-accordion-content {
	margin-bottom: 1.5em;
}


/* product list page */

.products .pagecontent {
	background: none;
}

.productlist {
	background: url(../images/tuotevalikkotausta.jpg) repeat-x;
}

.productlist ul {
	list-style: none;
	margin: 20px;
}

.productlist h4 {
	margin: 20px;
}

.productlist li {
}

.productlist a {
	display: block;
	border-bottom: 1px solid white;
	padding: 0.2em;
	text-decoration: none;
}

/* product page */

#prodImageBig, #prodImageBigCustom {
	position: relative;
	width: 288px;
	padding: 25px;
	display: inline;
	float: left;
	margin: 10px;
}

#prodImageBig {
	background: url(../images/tuote-isokuvatausta.jpg) no-repeat;
}

#prodImageBigCustom {
	background: url(../images/tuote-isokuvatausta-nobig.jpg) no-repeat;
}


#prodImageBig h2, #prodImageBigCustom h2 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	text-align: center;
	font-size: 14px;
	color: white;
	font-weight: bold;
	height: 23px;
}

#prodImageBig h2 {
	background-color: #6fa9be;
	padding-top: 5px;
}

#prodImageBigCustom h2 {
	background-color: #b1b166;
}

.sport #prodImageBig h2 {
	background-color: #91a58b;
}

.trend #prodImageBig h2 {
	background-color: #b1b166;
}

#prodInfoRight {
	display: inline;
	float: left;
	overflow: hidden;
	width: 262px;
	margin-top: 10px;
}

.prodImageSmall {
	display: inline;
	float: left;
	width: 115px;
	background: url(../images/tuote-pikkukuvatausta.jpg) no-repeat;
	padding: 8px;
	height: 125px;
	margin-bottom: 20px;
}

#prodImageText {
	clear: both;
}

.prodMeta {
	width: 300px;
	margin-top:20px;
	
}

.prodMeta th {
width: 30%;
}

#prodDetails {
	clear: both;
	margin: 20px;
}

.prodDetailHead {
	font-weight: bold;
	font-size: 1em;
}

.prodDetailTable {
	width: 380px;
	display: inline;
	float: left;
}

.prodColorTable {
	display: inline;
	float: right;
	width: 190px;
}

.prodDisclaimer {
	clear: both;
	text-align: center;
}
.productlist {
	overflow: hidden;
	min-height: 57em;
	position: relative;
}

.productBottomBox {
	background: url(../images/productListImageBG.jpg);
	height: 212px;
	width: 196px;
	position: absolute;
	bottom: 0;
}

.productBottomImage1, .productBottomImage2, .productBottomImage3 {
	width: 170px;
	height: 188px;
	margin: 10px;
}

.productBottomImage1 {
	background: url(../images/productCasualBottom.jpg) no-repeat 0 0;
}

.productBottomImage2 {
	background: url(../images/productSportBottom.jpg) no-repeat;
}

.productBottomImage3 {
	background: url(../images/productTrendBottom.jpg) no-repeat;
}

/* Ergomode page */
.imagebox {
	display: inline;
	float: left;
	text-align: center;
}

.imagebox1 {
	width: 218px;
}

.imagebox2 {
	width: 278px;
}

.ergomode h2 {
	clear: both;
}

/* Contact page */

img.block {
	display: block;
	margin-bottom: 1.5em;
}

.contactDescription, .contactInfo {
	display: inline;
	float: left;
}

.contactDescription {
	width: 324px;
	margin-right: 20px;
}

.contactInfo {
	width: 232px;
}

/* -------------------------------------------------------------- 
   
   forms.css
   * Sets up some default styling for forms
   * Gives you classes to enhance your forms
   
   Usage:
   * For text fields, use class .title or .text
   
-------------------------------------------------------------- */

form {
	padding: 20px;
	background-color: #fbf8f3;
}

label       { font-weight: bold; }
fieldset    { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
legend      { font-weight: bold; font-size:1.2em; }


/* Form fields
-------------------------------------------------------------- */

input.text, input.title,
textarea, select {
  margin:0.5em 0;
  border:1px solid #bbb;
}

input.text:focus, input.title:focus,
textarea:focus, select:focus {
  border:1px solid #666;
}

input.text, 
input.title   { width: 300px; padding:5px; }
input.title   { font-size:1.5em; }
textarea      { width: 350px; height: 150px; padding:5px; }


/* Success, notice and error boxes
-------------------------------------------------------------- */

.error,
.notice, 
.success    { padding: .8em; margin-bottom: 1em; border: 2px solid #ddd; }

.error      { background: #FBE3E4; color: #8a1f11; border-color: #FBC2C4; }
.notice     { background: #FFF6BF; color: #514721; border-color: #FFD324; }
.success    { background: #E6EFC2; color: #264409; border-color: #C6D880; }
.error a    { color: #8a1f11; }
.notice a   { color: #514721; }
.success a  { color: #264409; }

form #tilaus {
	float: left;
}

form .additionalInfo {
	float: left;
	display: block;
	width: 177px;
	margin-left: 10px;
	margin-top: 7px;
	color: #515151;
}

form .namefield {
	clear: both;
}

form p {
	overflow: hidden;
	margin-bottom: 0.5em;
}


.nroKoko, .zipCity {
	overflow: hidden;
}

.zipHolder, .cityHolder, .nroHolder, .kokoHolder, .variHolder {
	display: inline;
	float: left;
	margin-right: 5px;
}

.zipHolder {
	width: 112px;
}

.kokoHolder {
	width: 80px;
}

.cityHolder {
	width: 200px;
}

.nroHolder,.variHolder {
	width: 170px;
}

#postinumero {
	width: 80px;
}

#tuoteKoko1, #tuoteKoko2, #tuoteKoko3, #tuoteKoko4, #tuoteKoko5 {
	width: 60px;
}

#postitoimipaikka {
	width: 168px;
}

 #tuoteNro1, #tuoteNro2, #tuoteNro3, #tuoteNro4, #tuoteNro5, #tuoteVari1, #tuoteVari2, #tuoteVari3, #tuoteVari4, #tuoteVari5 {
 	width: 150px;
 }

#lisaaButton {
	display: block;
	width: 10em;
	padding: 10px;
	background: #999;
	color: white;
	text-decoration:none;
}


/* Extras */

.imageMissing {
	width: 50%;
	height:250px;
	margin: 100px auto 0 auto;
	text-align: center;
	font-size: 24px;
	color: #cacaca;
	font-weight: bold;
}

/* Slideshow */

/* slideshow gallery */

.slideshowlite {
	position: relative;
	border: 2px solid white;
	overflow: hidden;

}

	.slideshowlite a {
		position: absolute;
		z-index: 1;
		height: 100%;
		width: 100%;
		text-align: center;
	}

	.slideshowlite img {
		border: none;
	}

/* pagination control */

.slideshowlite ul,
.slideshowlite ol {
	list-style: none;
	position: absolute;
	margin: 0;
	padding: 0;
	bottom: 5px;
	right: 5px;
	z-index: 3;
}

	.slideshowlite ul li,
	.slideshowlite ol li {
		float: left;
		margin: 0 3px;
		width: 16px;
	}
	
	.slideshowlite ul li a {
		position: relative;
		display: block;
		width: 100%;
		height: 14px;
		padding-top: 2px;
		text-decoration: none;
		color: #666;
		background: #eee;
		border: 1px solid #666;
		text-align: center;
		font-size: 11px;
	}
	
	.slideshowlite ul li a.current {
		color: #111;
		font-weight: bold;
		border: 1px solid #111;
		background: #fff;
	}
	
	.slideshowlite ul li a:hover {
		color: #fff;
		background: #333;
	}
	
/* caption control */

.slideshowlite ol {
	position: relative;
	overflow: hidden;
	width: 100%;
	font-size: 14px;
	color: #fff;
	background: #000;
	padding: 3px 10px;
	top: 133px;
}

	.slideshowlite ol li {
		width: 100%;
	}
