/* *******************************************
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: "" "";
}
input[type=hidden] {
visibility: hidden;
height:0px;
border:0px;
margin: 0 0 0 0;
padding: 0 0 0 0;
position:absolute;
}

img { -ms-interpolation-mode: bicubic; }

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-color: #565656;
	font: normal 12px/16px Arial, Helvetica, sans-serif;
}

/* Tablet */
/*
table {
    width: 100%;
}

tbody tr:hover {
    background-color: #eee;
}
table td {
	border-top: 1px solid #ccc;
	border-collapse: collapse;
    padding: 3px;
    vertical-align: middle;
}
*/
div.cart
{
	clear:both; margin: 10px 0 0 0; padding: 5px; background-color: #eee;
}
div.cart a, div.cart a:visited
{
	color: #036!important;
	text-decoration: none;
}
div.cart a:hover, div.cart a:visited:hover
{
	color: #036!important;
	text-decoration: underline;
}
table.cartTbl th
{
	padding: 3px 5px;
    vertical-align: middle;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}
table.cartTbl td
{
	padding: 3px 5px;
    vertical-align: middle;
}
table.distribTbl td {
	border-top: 1px solid #eee;
	border-left: 1px solid #eee;
	border-collapse: collapse;
    padding: 3px 5px;
    vertical-align: middle;
	font-size: 11px;
}
caption, tbody, tfoot, thead {}

/* *******************************************
COMMON BLOCKS
******************************************* */

#pageWrapper {
	background: white;
	display: block;
	margin: 0 auto;
	overflow: hidden;
	width: 1000px;
}
#leipis {
	display: block;
	float: left;
	margin: 0;
	min-height: 300px;
	padding-top: 20px;
	width: 750px;
}
#leipisLower {
	background: url(/media/images/wide_hr.jpg) repeat-x top center;
	clear: both;
	display: block;
	margin: 0;
	/*min-height: 200px;*/
	padding: 40px 20px;
	overflow: hidden;
}
.colWidth1-4 { /* leveys 1/4 palstaa */
	display: block;
	float: left;
	margin-right: 10px;
	overflow: hidden;
	width: 230px;
}
.colWidth2-4 { /* leveys 2/4 palstaa */
	display: block;
	float: left;
	margin-right: 10px;
	overflow: hidden;
	width: 470px;
}
.colWidth3-4 { /* leveys 3/4 palstaa */
	display: block;
	float: left;
	margin-right: 10px;
	overflow: hidden;
	width: 730px;
}
.colWidth4-4 { /* leveys 4/4 palstaa */
	display: block;
	float: left;
	margin-right: 10px;
	overflow: hidden;
	width: 980px;
}
.colWidth1-3 { /* leveys 1/3 palstaa */
	display: block;
	float: left;
	margin-right: 10px;
	overflow: hidden;
	width: 360px;
}
.colWidth2-3 { /* leveys 2/3 palstaa */
	display: block;
	float: left;
	margin-right: 10px;
	overflow: hidden;
	width: 740px;
}
/* *******************************************
HEADER
******************************************* */

#header {
	background: white url(/media/images/header_bg.jpg) no-repeat top center;
	display: block;
	min-height: 232px;
	position: relative;
}
#logo {
	display: block;
	left: 0px;
	position: absolute;
	top: 45px;
}
#logo a  {
	display: block;
	height: 120px;
	width: 140px;
}

/* *******************************************
FOOTER
******************************************* */

#footer {
	background: #f14b23 url(/media/images/footer_bg.jpg) no-repeat top center;
	clear: both;
	display: block;
	margin: 0 auto;
	overflow: hidden;
	padding: 0 0 30px 0;
	position: relative;
	min-height: 240px;
	width: 1000px;
}
#yhteys {
	display: block;
	position: absolute;
	right: 40px;
	top: 100px;
}

/* Kielivalinta */

#languageSelector {
	display: block;
	position: absolute;
	right: 50px;
	top: 152px;
}
#languageSelector li {
	display: inline;
	margin: 0 5px;
}
#languageSelector a {

}
#languageSelector a:hover,
#languageSelector a.active {

}

/* Footernavi */

#footernavi {
	display: block;
	left: 40px;
	position: absolute;
	top: 100px;
}
#footernavi a {
	color: white;
	margin: 2px 0;
	text-decoration: none;
}
#footernavi a:hover {
	color: white;
	text-decoration: underline;
}
#footernavi ul {
	font-weight: bold;
}
#footernavi ul li {
	float: left;
	margin: 0 5px 0 0;
	overflow: hidden;
	width: 120px;
}
#footernavi ul ul li {
	float: none;
	font-weight: normal;
	margin: 2px 0 2px 0;
}

/* *******************************************
MAIN MENU
******************************************* */

#mainMenu {
	display: block;
	right: 30px;
	position: absolute;
	top: 202px;
}
#mainMenu ul {}
#mainMenu li {
	display: inline;
}
#mainMenu li a {
	color: #565656;
	font-weight: bold;
	margin: 0 1em;
	padding: 5px 1.6em;
	text-decoration: none;
}
#mainMenu li a:hover {
	color: black;
}
#mainMenu li a.active {
	color: black;
}

#sidebarLeft
{
	display: block;
	width: 246px;
	float: left;
}

/* *******************************************
SUB MENU
******************************************* */

#subMenu {
	background: url(/media/images/alanavi_bg.gif) no-repeat top left;
	display: block;
	float: left;
	min-height: 280px;
	width: 246px;
}

/* First level */

#subMenu ul {
	margin: 43px 0 10px 2px;
}
#subMenu ul li {
	background: url(/media/images/alanavi-item_bg.gif) no-repeat top left;
	width: 223px;
}
#subMenu li a {
	color: #565656;
	display: block;
	font-weight: bold;
	height: 21px;
	margin: 2px 0;
	min-height: 21px;
	padding: 10px 0 5px 50px;
	text-decoration: none;
}
#subMenu li a:hover {
	color: black;
}
#subMenu li a.active {
	color: black;
}

/* Second level */

#subMenu ul ul {
	margin: 0!important;
}
#subMenu ul ul li {
	background: none;
	height: auto;
	line-height: normal;
	margin: 1px 0 1px 50px!important;
	padding: 0;
	width: 178px;
}
#subMenu ul ul li a {
	height: auto!important;
	font-weight: normal;
	min-height: inherit;
	padding: 2px 0!important;
}
#subMenu ul ul li a.selected {
	height: auto!important;
	font-weight: normal;
	color: #f63!important;
	min-height: inherit;
	padding: 2px 0!important;
}
#subMenu ul ul li a:hover {}
#subMenu ul ul li a.active {
	color: black;
}

/* Third level */

#subMenu ul ul ul {
    margin: 0!important;
    width: 170px;
}
#subMenu ul ul ul li {
    background: none;
	height: auto;
	line-height: normal;
	margin: 1px 0 1px 15px!important;
	padding: 0;
	width: 155px;
}
#subMenu ul ul ul li a {
    height: auto!important;
	font-weight: normal;
	min-height: inherit;
	padding: 2px 0!important;
}
#subMenu ul ul ul li a.selected {
    height: auto!important;
	font-weight: normal;
	color: #f63!important;
	min-height: inherit;
	padding: 2px 0!important;
}
#subMenu ul ul ul li a:hover {}
#subMenu ul ul ul li a.active {}

/* Fourth level */

#subMenu ul ul ul ul {
    margin: 0!important;
    width: 155px;
}
#subMenu ul ul ul ul li {
    background: none;
	height: auto;
	line-height: normal;
	margin: 1px 0 1px 15px!important;
	padding: 0;
	width: 140px;
}
#subMenu ul ul ul ul li a {
    height: auto!important;
	font-weight: normal;
	min-height: inherit;
	padding: 2px 0!important;
}
#subMenu ul ul ul ul li a.selected {
    height: auto!important;
	font-weight: normal;
	color: #f63!important;
	min-height: inherit;
	padding: 2px 0!important;
}
#subMenu ul ul ul ul li a:hover {}
#subMenu ul ul ul ul li a.active {}

#homepageNews {
	display: block;
	float: left;
	width: 246px;
}
#homepageNews ul {
	margin: 0 0 10px 2px;
}
#homepageNews ul li {
	width: 223px;
}
#homepageNews li a {
	color: #565656;
	display: block;
	font-weight: bold;
	height: 21px;
	margin: 2px 0;
	min-height: 21px;
	padding: 0 0 20px 50px;
	text-decoration: none;
}
#homepageNews li a:hover {
	color: black;
}
#homepageNews li a.active {
	color: black;
}

ul.productlist
{
	border-top: 1px solid #fff;
	border-bottom: 1px solid #bbb;
}
ul.productlist li
{
	padding: 0!important;
	margin: 0!important;
}
ul.productlist li a
{
	font-size: 10px;
	font-weight: bold!important;
}
ul.productlist li a.selected
{
	font-size: 10px;
	color: #f63!important;
	font-weight: bold!important;
}

/* *******************************************
FORMIT
******************************************* */

form {
	padding:10px;
	border-top: 1px solid #ddd;
	margin:5px auto;
	font-size:1em;
	font-family:verdana, arial, helvetica, sans-serif;
}
form p {
	font-size:.9em;
	color:#000;
	text-align:left;
	padding:15px 5px 5px 0;
	margin:0;
}
form fieldset#current p {
	padding:4px;
	margin:0;
}

form fieldset {
	width:400px;
	display:block;
	border:1px dotted #ccc;
	padding:5px 5px 5px 10px;
	font-family:verdana, sans-serif;
	margin-bottom:0.5em;
	line-height:1.5em;
	font-size:1em;
	background-color: #fff;
}
form fieldset:hover {
	border:1px solid #ccc;
}
form fieldset#opt:hover {
	border:1px solid #b80b38;
}

form legend {
	font-size:1.1em;
	font-weight:bold;
	margin-bottom:15px;
	padding:6px;
	background:none;
	color:#000;
}
* html form legend {
	padding:0 0 30px 0;
	margin:5px 0 0 0;
	border:none;
}

form label {
	clear:left;
	display:block;
	float:left;
	width:100px;
	text-align:left;
	padding-right:10px;
	color:#000;
	margin-bottom:0.5em;
}

form input {
	border:1px solid #ccc;
	padding-left:0.5em;
}
form input:hover {
	background:#eee;
	border:1px solid #666;
	color:#000;
}
form input:focus {
	background:#fff;
	border:1px solid #666;
	color:#000;
}
form fieldset#medical input,
form fieldset#current input {
	width:45px;
}

form select {
	margin:0 0 0 0.5em;
}
form textarea {
	width:380px;
	height:5em;
	border:1px solid #ccc;
	padding:0.5em;
	overflow:auto;
	background:#fff;
}
form textarea:hover {
	background:#fff;
	border:1px solid #eee;
	color:#000;
}
form textarea:focus {
	background:#fff;
	border:1px solid #ccc;
	color:#000;
}

form option {
	background:#fff;
	color:#f63;
}
form optgroup {
	background:#fff;
	color:#000;
	font-style:normal;
}
form optgroup option {
	background:#fff;
	color:#f63;
}

form #button1,
form #button2 {
	color:#000;
	padding-right:0.5em;
	cursor:pointer;
	width:100px;
	margin-left:8px;
	background:#eee;
	border:1px solid;
	border-color:#666;
}
form #button1:hover,
form #button2:hover {
	color:#000;
	background:#ccc;
	border:1px solid;
	border-color:#666;
}
.form_divider
{
    width: 400px;
    float: left;
    clear: both;
}

/* *******************************************
LEIPIS
******************************************* */

/* Tekstiblokit */

#leipis h1,
#leipisLower h1 {
	font: bold 18px Arial, Helvetica, sans-serif;
	margin: 1em 0;
}
#leipis h2,
#leipisLower h2 {
	font: bold 14px Arial, Helvetica, sans-serif;
	margin: .7em 0;
}
#leipis h3,
#leipisLower h3 {
	font: bold 14px Arial, Helvetica, sans-serif;
	margin: .5em 0;
}
#leipis h4,
#leipisLower h4 {
	font: bold 14px Arial, Helvetica, sans-serif;
	margin: .3em 0;
}
#leipis p,
#leipisLower p,
#yhteys p {
	margin: 1em 0;
}

/* Listat */

#leipis ul,
#leipis ol,
#leipisLower ul,
#leipisLower ol {
	margin: 10px 0 10px 0;
}
#leipis ul li,
#leipisLower ul li {
	background: url(/media/images/bullet_grey.gif) no-repeat 0 8px;
	line-height: normal;
	margin: 2px 0;
	padding: 2px 5px 2px 10px;
}
#leipis ol li,
#leipisLower ol li {
	list-style-type: decimal;
	line-height: normal;
	margin: 2px 0;
	padding: 2px 5px 2px 10px;
}

/* Muotoilut */

#leipis a,
#leipisLower a {
	color: #039;
}
#leipis a:hover,
#leipisLower a:hover {
	text-decoration: none;
}
em, italic {
	font-style: italic;
}
strong, b {
	font-weight: bold;
}

/* *******************************************
PRODUCTS
******************************************* */
.prodlisting
{
	background-color: #fff;
	display: block;
	float: left;
	margin: 0 5px 10px 0;
	padding: 5px;
	overflow: hidden;
	width: 450px;
	border: 1px dotted #ddd;
}
.prodlistingimage
{
	display: block;
	float: left;
	margin: 12px;
	width: 100px;
    text-align: center;
}
.prodlistingtext
{
	display: block;
	float: left;
	margin: 0;
	width: 310px;
}
.prodinfo
{
	display: block;
	float: left;
	margin: 0 10px 10px 0;
	padding: 0;
	width: 450px;
}
.prodimage
{
	background-color: #fff;
	display: block;
	float: left;
	margin: 0 10px 0 0;
	padding: 0;
	overflow: hidden;
	width: 200px;
}
.smallthumb
{
	background-color: #fff;
	display: block;
	float: left;
	margin: 0 0 5px 0;
	padding: 0;
	overflow: hidden;
	width: 48px;
	height: 48px;
	text-align: center;
	border: 1px solid #ddd;
	min-height:48px !important;
}
div.smallthumb img
{
	position:relative;top:50%;margin-top:-24px;
}
.prodtech
{
	clear: both;
	background-color: #fff;
	display: block;
	float: left;
	margin: 0 10px 10px 0;
	padding: 5px;
	overflow: hidden;
	width: 460px;
}

.prodtabs
{
	clear: both;
	background-color: #fff;
	display: block;
	margin: 0;
	padding: 10px 0 0 0;
	float: left;
	overflow: hidden;
	width: 470px;
}

ul.tabNavigation {
	border-bottom: 1px solid #ddd;
	display: block!important;
	width: 450px;
	height: 35px;
	padding: 0!important;
	margin: 0!important;
	overflow: hidden;
}

ul.tabNavigation li {
	background: url(/media/images/bullet.gif) no-repeat 0 6px!important;
	display: block!important;
	padding: 0 0 0 10px!important;
	margin: 0!important;
	width: 90px!important;
	height: 20px!important;
	float: left!important;
}

ul.tabNavigation li.de
{
	width:130px!important;
}

ul.tabNavigation li.pdf_link {
	background: none!important;
	display: block!important;
	padding: 0!important;
	margin: 0 0 1px 0!important;
	width: 90px!important;
	height: 20px!important;
	float: right!important;
}

ul.tabNavigation li.pdf_link a {
	background-color: #fff;
	padding: 0!important;
	margin: 0!important;
}

ul.tabNavigation li a {
	background-color: #fff;
	color: #f63!important;
	text-decoration: none;
	padding: 0!important;
	margin: 0!important;
}

ul.tabNavigation li a.selected,
ul.tabNavigation li a:hover {
	color: #333!important;
	padding: 0!important;
	margin: 0!important;
}


/* Sekalaiset */

.leftalign {
	float: left;
	margin: 0 5px 5px 0;
}
.rightalign {
	float: right;
	margin: 0 0 5px 5px;
}
a.sic {
	background: #838383 url(/media/images/infobtn_bg.gif) no-repeat top left;
	color: white!important;
	display: inline;
	height: 15px;
	padding: 2px 6px 2px 25px;
	text-decoration: none;
	white-space: nowrap;
	width: 80px;
}
a.sic:hover {
	background: #616161 url(/media/images/infobtn_bg.gif) no-repeat top left;
	color: white!important;
	text-decoration: none!important;
}
.imageWrapper {
	display: block;
	float: left;
	margin: 0 10px 0 0;
	overflow: hidden;
}
