/*#########################################################
###      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: 0;
	margin-bottom: 35px;
}

#nav ul.ProductGroupTree {
	margin: 0;
	padding: 0;
	position: absolute;
	top: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;
}

#nav ul.ProductGroupTree li  {
	display: inline;
	list-style: none;
}


#nav ul.ProductGroupTree span,#nav ul.ProductGroupTree a.current,#nav ul.ProductGroupTree a.current:hover {
	margin: 0;
	background: url(navlevel2bg.gif) no-repeat;
	height: 18px;
	border-top: 1px solid #000;
}


#nav ul.ProductGroupTree  ul {
	position: absolute;
	margin: 0;
	padding: 0;
	left:0;
	bottom: -1.4em;
	width: 911px; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
	background: url(navlevel2bg.gif) no-repeat;
	height: 18px;
	border-top: 1px solid #000;
}

#nav ul.ProductGroupTree ul  a {
	width: auto;
	display: block;
	float: left;
	padding: 0 10px;
	margin: 0;

}

ul.ProductGroupTree a, ul.ProductGroupTree span, ul.ProductGroupTree a.current {
	padding: 0 30px 0 10px;
	display: block;
	float: left;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
}

ul.ProductGroupTree ul li a {
	color: #000;
	font-weight: normal;
}

 ul.ProductGroupTree ul li a:hover {
	color: #000;
	text-decoration: underline;
}

ul.ProductGroupTree ul li a:active {
	color: #000;
	text-decoration: underline;
}
.ProductGroupTree .selected a {
	color: #ff7917;
	background: #FFF;
	height: 18px;
}
#main {
	float:left;
	width:710px;
	padding-top: 30px;
	margin-left: 10px;
	
		}
#sidebar {
	float:right;
	width:170px;
	margin-right: 10px;
	padding-top: 40px;
	}
#sidebar p {font-size: 11px;}

#sidebar ul {margin-bottom:0;}

#sidebar a 	{ font-size: 11px; }

#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;
}


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;
}

/** 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: 4px;
}

.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: 11px;
	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: #FFFBDC url(gfx/suosittelemmebg.gif) no-repeat top;
	color: #000;
	margin: 15px 0;
	height: 182px;
	padding: 0 7px;
	text-align: center;
} 

#suosittelemme-aprilli a {
	color: #ff7917;
} 
#suosittelemme-aprilli div, #suosittelemme-jonkka div, #suosittelemme-magic div{
	padding-top: 25px;
}  

.ostetuimmat {
	background:  url(gfx/ostetuimmatheader.gif) no-repeat top;
	padding: 30px 0 10px 10px;
	border-bottom: 1px solid #FFE924;
	margin-bottom: 15px;
}  
 
.ostetuimmat li a {
    background: url(gfx/starbullet.gif) no-repeat 0 3px;	
	padding-left: 13px;
}
.ostetuimmat li a:hover {text-decoration: underline;}

.yhteensa  {
	border-bottom: 1px solid #93c871;
	padding-bottom: 5px;
}

.width {width: 670px;}

.etublock {
	width: 230px;
	float: left;
	margin-right: 10px;
}
.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;}





/* ----------------------------------------------------------------------------------------------------------------*/
/* ---- 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;
}


@media print {
    #header, #nav { display: none }
	
}

.kulut{
font-size:11px;}
