/*#########################################################
###      Document Stylesheet for Markku Purho Ky        ###
###       Type: Formatting for Structure & Text         ###
###          Jussi Lahtinen / Smilehouse Oy             ###
#########################################################*/


/***** Mass Reset *****/

html, body, div, ul, span, applet, object, h1, h2, h3, h4, h5, h6, iframe, blockquote, pre, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dd, dl, dt, form, label, legend, caption, tbody, tfoot, thead
{
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
}

ol, ul {list-style: none;}

/* tables still need 'cellspacing="0"' in the markup */
table {border-collapse: separate;}
td    {vertical-align: top;}

a img, :link img, :visited img {border:none;}
:focus, a:active { outline: none; }



/***** Typography *****/

body,ul,ol,dl,td,th,caption,pre,p,blockquote,input,textarea,select,font {
	font-family: Arial, Helvetica, sans-serif;
	font-size:12px;
	
}

/***** Floats *****/

.left {float:left;}
.right {float:right;}
.clearThis  {clear:both;}
.hide {display: none;}


/***** Forms *****/


label {	cursor:pointer;}

fieldset {
	border: 1px solid #404142;
	padding: 1em;
}

legend {
	margin: 1em 0;
	padding: 0 .5em;
	background: transparent;
	font-size: 1.3em;
	font-weight: bold;
	color: #a2a2a2;
}

/***** shop navs *****/

#navpink, .ostetuimmat-aprilli, #suosittelemme-aprilli  {display: none;}
#navblue, .ostetuimmat-magic, #suosittelemme-magic {display: none;}


/***** Layout *****/

#wrap {
		margin:0 auto;
		width:910px;
		background:#202020 url(mainbg.gif) repeat-x 0px 175px;
	}
	
#header {
	background:url(headerbg.jpg) no-repeat;
	height: 148px;

	}
	
#header h1 {
    	padding:5px;
	    margin:0;
    }

#nav {
	position: relative;
	width: 45em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
	margin-top: 16px;
	margin-bottom: 35px;
}

#nav ul.ProductGroupTree {
	margin: 0;
	padding: 0;
	
	
	bottom: -1px;
	width: 911px; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
	background: url(jonkkanavlevel1bg.gif) no-repeat;
	height: 18px;
	border-top: 1px solid #000;
}


#main {
	float:left;
	width:710px;
	margin-left: 10px;
	
		}
#sidebar {
	float:right;
	width:170px;
	margin-right: 10px;
	}
#sidebar p, #sidebar a  {font-size: 11px;}

#sidebar ul {margin-bottom:0;}


#footer {
	clear:both;
	padding-top: 20px;
	margin-right: 10px;
	margin-left: 10px;
}
#footer p {
	padding:5px;
	margin:0;
	border-top: 1px solid #373737;
	color: #666;
    }
	
#footer a:link, #footer a:visited  {
	color: #999;
	text-decoration: none;
}

#footer a:active, #footer a:hover  {
	color: #fff;
	text-decoration: underline;
}

/***** Global Settings *****/
 
body {
	line-height: 1.3;
	text-align: left;
	background-color: #000;
	background-image: url(joker_bgr.gif);
	color: #fff;
}

a:link, a:visited  {
	color: #fff;
	text-decoration: none;
}

a:active, a:hover  {
	color: #fff;
	text-decoration: underline;
}

.login {padding: 10px 10px 0 0;}

.sidelinks  {
	background: url(starbg.gif) no-repeat;
	padding-top: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #363536;
}

.sidelinks a:link, .sidelinks a:visited  {
	color: #ffe400;
	text-decoration: none;
}

.sidelinks a:active, .sidelinks a:hover  {
	color: #ffe400;
	text-decoration: underline;
}

.staticpages {
	float:right;

}
.staticpages a {
	color: #fff;
	display: block;
	background: url(gfx/arrowgrey.gif) no-repeat left center;
	padding-left: 15px;
        margin: 5px;
        float:left;

}

h1 {
	font-size: 16px;
	margin-bottom: 5px;
	margin-top: 10px;
	color: #ffe800;
	text-transform: uppercase;
	font-weight: bold;
border-bottom:1px solid #666;
}


h2 {	font-size: 16px;}

h3 {	font-size: 12px;}

.pic {
	border: 1px solid #d5d5d5;
	margin: 3px;
}

hr { color: #dbdbdb; }

.alert {
    background: #fff6bf url(exclamation.png) center no-repeat;
    background-position: 15px 50%; /* x-pos y-pos */
    text-align: left;
    padding: 5px 20px 5px 45px;
    border-top: 2px solid #ffd324;
    border-bottom: 2px solid #ffd324;
    }
	
.headerlinks {
	padding-top: 23px;
	padding-left: 10px;
}

.name {
	font-size: 14px;
	font-weight: bold;
}

.price {
	font-size: 14px;
	font-weight: bold;
	text-align: left;
	color: #9e1a34;
	white-space: nowrap;
}

.oldprice {
	color: #999999;
	font-size: 12px;
	text-decoration: line-through;
}


ul#shopnav {
width: 426px;
float: left;
}

ul#shopnav li {
width: 142px;
height: 32px;
float: left;
text-indent: -9999px;
}

ul#shopnav li a {
width: 142px;
height: 32px;
display: block;
background: url(gfx/shopnav.gif) no-repeat;
}

ul#shopnav li a#shopnav_jonkka { background-position: 0 0; }
ul#shopnav li a#shopnav_aprilli { background-position: -142px 0; }
ul#shopnav li a#shopnav_magic { background-position: -284px 0; }


/** WS-styles **/		

.table {
	border-width: 1px;
	border-style: solid;
	border-color: #404142;
	border-collapse: collapse;
	width: 100%;
}

.table th {
	border-width: 1px;
	border-style: solid;
	border-color: #404142;
	font-weight: bold;
	padding: 4px;
	color: #fff;
	text-align: left;
	background-image: url(thbg.gif);
	background-position: center;
}

.table td {
	border-width: 1px;
	border-style: solid;
	border-color: #404142;
	padding: 4px;
	background: #212121;
}

.TableFooter td {
	font-weight: bold;
	background: #323232;
	padding: 4px;
}

.TableTdDark, .TableRowDark td {
	background: #e4e4e4;
	padding: 2px;
	font-weight: bold;
}
.TableRowDark td {
	background: #4b4b4b;
	padding: 2px;
	font-weight: bold;
}

.TdDark {
	background: #f8f8f8;
	padding: 2px;
	font-weight: bold;
}

.TableError td {
	padding: 2px;
	font-weight: bold;
	background-color: #FF0000;
	color: #FFF;
}

.logintable {
	margin: 10px 0px 0px;
	padding: 0px;
}

.logintable td {
	font-size: 11px;
	color: #828282;
}
.productcard {
	background: #F9F9F9 url(korttibg.gif) repeat-x right top;
	border: 1px solid #bdbdbd;
	color: #666363;
}
.productcard a:link, .productcard a:visited {
	color: #666363;
	text-decoration: underline;
}
.productlistcard {
	background: #F9F9F9 url(korttibg.gif) repeat-x right top;
	border: 1px solid #bdbdbd;
	color: #666363;
	height: 170px;

}

.hidetarjous {
	position:absolute;left:20px;top:120px;
	width:64px;
	background: url(tarjous.gif) no-repeat;
	height: 26px;

}
.hideuutuus {
	position:absolute;left:20px;top:120px;
	width:64px;
	background: url(uutuus.gif) no-repeat;
	height: 26px;

}
.hidehitti {
	position:absolute;left:20px;top:120px;
	width:64px;
	background: url(hitti.gif) no-repeat;
	height: 26px;

}
.pad {
	padding: 2px;
}

.productlistcard a:link, .productlistcard a:visited  {
	color: #f57c24;
	font-size: 11px;
}
.productlistcard a:hover, .productlistcard a:active  {
	color: #f57c24;
	text-decoration: underline;
	font-size: 11px;
}

.ProductSearchParameter {
	border: 1px solid #b3b3b3;
	height: 13px;
	width: 95px;

}

.LoginFormUser, .LoginFormPasswd, .RecoveryFormUser {
	font-size: 11px;
	width: 95px;
	margin: 0px;
	height:13px;
	padding: 0px;
	border: 1px solid #ccc;
	background: #e6e6e6;
}


.ProductOptionsField  {
	font-size: 10px;
	border: 1px solid #7d7d7d;
}
.ProductAmountField, .ShoppingCartQuantityField  {
	font-size: 11px;
	border: 1px solid #7d7d7d;
	background: #f7f7f7;
	width: 22px;
}
.ProductAddButton {
	margin: 0px 0px -5px;
	padding-left: 5px;

}


/** WS-editori **/	

.tinymce1 {
	font-weight: bold;
	font-size: 18px;
}
.tinymce2 {
	font-weight: bold;
	font-size: 16px;
}
.tinymce3 {
	font-weight: bold;
	font-size: 14px;
}
.tinymce4 {
	font-weight: normal;
	font-size: 12px;
}
.tinymce5 {
	font-weight: normal;
	font-size: 10px;
}
.tinymce6 {
	font-style: italic;
	font-size: 12px;
}
.tinymce7 {
	font-weight: bold;
	font-size: 12px;
	color: #CD0000;
}


.border {
	border: 1px solid #ebebeb;
}

.print {
	background: url(print.png) no-repeat 2px;
	padding-left: 22px;
}
.haku {
	background: url(hakubg.gif) no-repeat top;
	color: #000;
	padding: 35px 7px 10px;
	margin-bottom: 10px;
}
.haku a:link, .haku a:visited, .smallcart a:link, .smallcart a:visited {
	color: #666363;
}
.haku_en {
	background: url(hakubg_en.gif) no-repeat top;
	color: #000;
	padding: 35px 7px 10px;
	margin-bottom: 10px;
}
.haku_en a:link, .haku_en a:visited, .smallcart_en a:link, .smallcart_en a:visited {
	color: #666363;
}

.smallcart_en {
	background: #FFFBDC url(gfx/pkbg_en.gif) no-repeat top;
	color: #000;
    padding: 40px 7px 10px;
}  

.smallcart {
	background: #FFFBDC url(gfx/pkbg.gif) no-repeat top;
	color: #000;
	padding: 40px 7px 10px;
}  

#suosittelemme-aprilli, #suosittelemme-jonkka, #suosittelemme-magic {
	background: transparent url(gfx/suosittelemmebg.gif) no-repeat top;
	color: #000;
	margin: 15px 0;
	height: 182px;
	padding: 0 7px;
	text-align: center;
displa:table-cell;
vertical-align:middle;
} 

#suosittelemme-aprilli{
background: transparent url(gfx/suosittelemmebg_aprilli.gif) no-repeat top;
}
#suosittelemme-magic{
background: transparent url(gfx/suosittelemmebg_magic.gif) no-repeat top;
}


 #suosittelemme-jonkka a{
color: #ff7917;}

#suosittelemme-aprilli a {
color:#ee4ce3;	
} 

#suosittelemme-magic a{
color:#00bad5;
}



#suosittelemme-aprilli div, #suosittelemme-jonkka div, #suosittelemme-magic div{
     padding-top: 25px;
     text-align:center;
     width:156px;
     margin-left: -10px;
}  

.ostetuimmat-aprilli, .ostetuimmat-jonkka, .ostetuimmat-magic {
	background:  url(gfx/ostetuimmatheader.gif) no-repeat top;
	padding: 30px 0 10px 10px;
	border-bottom: 1px solid #FFE924;
	margin-bottom: 15px;
}  
 
.ostetuimmat-aprilli li a, .ostetuimmat-jonkka li a, .ostetuimmat-magic li a {
    background: url(gfx/starbullet.gif) no-repeat 0 3px;	
	padding-left: 13px;
}
.ostetuimmat-aprilli li a:hover, .ostetuimmat-jonkka li a:hover, .ostetuimmat-magic li a:hover {text-decoration: underline;}

.yhteensa  {
	border-bottom: 1px solid #93c871;
	padding-bottom: 5px;
}

.width {width: 670px;}

.etublock {
	width: 230px;
	float: left;
	margin: 10px 10px 0 0;
}
.aprilli .title {
	background: #ee4ce3;
	font-weight: bold;
	padding: 3px;
	color: #FFF;
}
.jonkka .title {
	background: #ff7917;
	font-weight: bold;
	padding: 3px;
	color: #FFF;
}
.magic .title {
	background: #00bad5;
	font-weight: bold;
	padding: 3px;
	margin-bottom: 10px;
	color: #FFF;
}
.gap {padding-top: 5px;}

.aprilli p {
	color: #ee4ce3;
	font-size: 11px;

}
.jonkka p {
	color: #ff7917;
	font-size: 11px;

}
.magic p {
	color: #00bad5;
	font-size: 11px;

}
	
.lang {
	text-align: right;
	margin: 10px;
}

.maksunapit {background: #FFF;}


h2.seealso {padding-top: 5px; color: #999;}

.addthis_button {  margin-top: 30px;}

/** paging **/	

#paging {
	text-align: center;
}
#paging .dots {
	padding-left: 2px;
	padding-right: 2px;
	font-size: 12px;
}
#paging .pageNumbers a {
	padding-right: 4px;
	padding-left: 4px;
	font-size: 12px;
}
#paging .previousPage a {
	font-size: 12px;
	padding-right: 6px;
	font-weight: bold;
}
#paging .thisPage {
	padding-right: 6px;
	padding-left: 6px;
	font-size: 15px;
	font-weight: bold;
}
#paging .nextPage a {
	padding-left: 6px;
	font-size: 12px;
	font-weight: bold;
}
#paging .firstPage a {
	padding-right: 8px;
	font-size: 12px;
}
#paging .lastPage a {
	padding-left: 8px;
	font-size: 12px;
}
.otsikko {color: #ffe800;
}
.varastossa100, .varastossa10, .varastossa0, .varastossaloppu {
	color: #009933;
        font-size: 11px;
}
.varastossa0 {color: #ff6e00;}
.varastossaloppu {color: #CC3300;}


.kulut{
font-size:11px;}



/* ----------------------------------------------------------------------------------------------------------------*/
/* ---- thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_window {
	font: 11px Arial, Helvetica, sans-serif;
	color: #333333;
}

#TB_secondLine {
	font: 10px Arial, Helvetica, sans-serif;
	color:#666;
}

#TB_window a:link {color: #666;}
#TB_window a:visited {color: #666;}
#TB_window a:hover {color: #000;}
#TB_window a:active {color: #666;}
#TB_window a:focus{color: #666;}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---- thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
	position: fixed;
	z-index:100;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
}

.TB_overlayMacFFBGHack {background: url(../macFFBgHack.png) repeat;}
.TB_overlayBG {
	background-color:#000;
	filter:alpha(opacity=55);
	-moz-opacity: 0.55;
	opacity: 0.55;
}

* html #TB_overlay { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_window {
	position: fixed;
	background: #ffffff;
	z-index: 102;
	color:#000000;
	display:none;
	border: 4px solid #dcdcdd;
	text-align:left;
	top:50%;
	left:50%;
}

* html #TB_window { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_window img#TB_Image {
	display:block;
	margin: 15px 0 0 15px;
	border-right: 1px solid #dcdcdd;
	border-bottom: 1px solid #dcdcdd;
	border-top: 1px solid #dcdcdd;
	border-left: 1px solid #dcdcdd;
}

#TB_caption{
	height:25px;
	padding:7px 30px 10px 25px;
	float:left;
}

#TB_closeWindow{
	height:25px;
	padding:11px 25px 10px 0;
	float:right;
}

#TB_closeAjaxWindow{
	padding:7px 10px 5px 0;
	margin-bottom:1px;
	text-align:right;
	float:right;
}

#TB_ajaxWindowTitle{
	float:left;
	padding:7px 0 5px 10px;
	margin-bottom:1px;
}

#TB_title{
	background-color:#e8e8e8;
	height:27px;
}

#TB_ajaxContent{
	clear:both;
	padding:2px 15px 15px 15px;
	overflow:auto;
	text-align:left;
	line-height:1.4em;
}

#TB_ajaxContent.TB_modal{
	padding:15px;
}

#TB_ajaxContent p{
	padding:5px 0px 5px 0px;
}

#TB_load{
	position: fixed;
	display:none;
	height:13px;
	width:208px;
	z-index:103;
	top: 50%;
	left: 50%;
	margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}

* html #TB_load { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_HideSelect{
	z-index:99;
	position:fixed;
	top: 0;
	left: 0;
	background-color:#fff;
	border:none;
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	height:100%;
	width:100%;
}

* html #TB_HideSelect { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_iframeContent{
	clear:both;
	border:none;
	margin-bottom:-1px;
	margin-top:1px;
	_margin-bottom:1px;
}




/* - - - ADxMenu: BASIC styles [ MANDATORY ] - - - */


/* remove all list stylings */
.ProductGroupTree, .ProductGroupTree ul {
	margin: 0;
	padding: 0;
	border: 0;
	list-style-type: none;
	display: block;
	color: #fff;
}

.ProductGroupTree li {
	margin: 2px 10px 1px;
	padding: 0;
	border: 0;
	display: block;
        font-weight: bold;
	float: left;	/* move all main list items into one row, by floating them */
	position: relative;	/* position each LI, thus creating potential IE.win overlap problem */
	z-index: 5;		/* thus we need to apply explicit z-index here... */
}

.ProductGroupTree li:hover {
	z-index: 10000;	/* ...and here. this makes sure active item is always above anything else in the menu */
	white-space: nowrap;/* required to resolve IE7 :hover bug (z-index above is ignored if this is not present)
							see http://www.tanfa.co.uk/css/articles/pure-css-popups-bug.asp for other stuff that work */
}

.ProductGroupTree li li {
	float: none;/* items of the nested menus are kept on separate lines */
        margin: 0px;

}

.ProductGroupTree ul {
	visibility: hidden;	/* initially hide all submenus. */
	position: absolute;
	z-index: 10;
	left: 0;	/* while hidden, always keep them at the top left corner, */
	top: 0;		/* 		to avoid scrollbars as much as possible */
}

.ProductGroupTree li:hover>ul {
	visibility: visible;	/* display submenu them on hover */
	top: 100%;	/* 1st level go below their parent item */
}

.ProductGroupTree li li:hover>ul {	/* 2nd+ levels go on the right side of the parent item */
	top: 0;
	left: 100%;
}


/* -- float.clear --
	force containment of floated LIs inside of UL */
.ProductGroupTree:after, .ProductGroupTree ul:after {
	content: ".";
	height: 0;
	display: block;
	visibility: hidden;
	overflow: hidden;
	clear: both;
}
.ProductGroupTree, .ProductGroupTree ul {	/* IE7 float clear: */
	min-height: 0;
}


/* -- float.clear.END --  */

/* -- sticky.submenu --
	it should not disappear when your mouse moves a bit outside the submenu
	YOU SHOULD NOT STYLE the background of the ".ProductGroupTree UL" or this feature may not work properly!
	if you do it, make sure you 110% know what you do */

.ProductGroupTree ul {
	background: #ef7c21 url(transparent.gif);	/* required for sticky to work in IE6 and IE7 - due to their (different) hover bugs */
	padding: 5px;
	margin: 0;
	
}
.ProductGroupTree ul ul {
	padding: 5px 10px 5px 10px;
        margin-top: -10px;

}
/* -- sticky.submenu.END -- */

.submenu {
	height:30px;
}

/* - - - ADxMenu: DESIGN styles [ OPTIONAL, design your heart out :) ] - - - */

.ProductGroupTree ul li {
	padding: 4px;
	white-space: nowrap;
}


.ProductGroupTree ul li a:link, .ProductGroupTree ul li li.open a:link, .ProductGroupTree ul li a:visited, .ProductGroupTree ul li li.open a:visited {
	text-decoration: none;
	color: #fff;
	display: block;
	position: relative;
	font-size: 11px;
	background: url(arrow.gif) no-repeat right center;
	padding-right: 15px;
}
.ProductGroupTree ul li a:hover,.ProductGroupTree ul li li.open a:hover, .ProductGroupTree ul li:hover>a, .ProductGroupTree ul li li.open:hover>a {
	color: #fff;
	background: url(arrow.gif) no-repeat right center;
	padding-right: 15px;
}

.ProductGroupTree ul li.hassub a:link, .ProductGroupTree ul li.hassub a:visited {
	text-decoration: none;
	color: #fff;
	display: block;
	position: relative;
	font-size: 11px;
	background: url(gfx/arrowright.gif) no-repeat right center;
	padding-right: 15px;
}
.ProductGroupTree ul li.hassub a:hover, .ProductGroupTree ul li.hassub:hover>a {
	color: #fff;
	background: url(gfx/arrowright.gif) no-repeat right center;
	padding-right: 15px;
}
 

.ProductGroupTree ul>li + li {	/* and remove the top border on all but first item in the list */
	border-top: 0;
}

.ProductGroupTree li li:hover>ul {	/* inset 2nd+ submenus, to show off overlapping */
	top: 5px;
	left: 90%;
}

/* special colouring for "Main menu:", and for "xx submenu" items in ADxMenu
	placed here to clarify the terminology I use when referencing submenus in posts */
.ProductGroupTree>li:first-child>a, .ProductGroupTree li + li + li li:first-child>a {
	
}

/* Fix for IE5/Mac \*//*/
.ProductGroupTree a {
	float: left;
}
/* End Fix */

/*]]>*/

/* -- navin nuolet alas-- */



.ProductGroupTree li.hassub a{
background-image: url(gfx/arrowdown_new.gif);
background-position:right 6px;
background-repeat:no-repeat;
padding-right:10px;
padding-bottom:10px;

}




@media print {
    #header, #nav { display: none }
	
}




