/*#########################################################
###       Document Stylesheet for Kalevala Koru         ###
###       Type: Formatting for Structure & Text         ###
###          Jussi Lahtinen / Smilehouse Oy             ###
#########################################################*/


/***** Mass Reset *****/

html, body, div, span, applet, object, h1, h2, h3, h4, h5, h6, iframe, blockquote, pre, 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, 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;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

a img, :link img, :visited img {border: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;}

/***** Forms *****/


label {
cursor:pointer;
}

fieldset
{
	border: 1px solid #ccc;
	padding: 1em;

}

legend {
	margin: 1em 0;
	padding: 0 .5em;
	background: transparent;
	font-size: 1.3em;
	font-weight: bold;
	
}

/***** Global Settings *****/
 
body {
	line-height: 1;
	text-align: left;
	background-color: #FFF;
	background-image: url(bg.gif);
	background-repeat: repeat-y;
	background-position: center;
	color: #000;
}


a:link, a:visited  {
	color: #00215F;
	text-decoration: none;
}

a:active, a:hover  {
	color: #00215F;
	text-decoration: underline;
}


h1 {
	font-size: 16px;
	margin-bottom: 5px;
	margin-top: 10px;
	color: #00215F;
	text-transform: uppercase;
	font-weight: bold;
}


h2 {
	font-size: 16px;

}

h3 {
	font-size: 12px;

}


.pic {
	border: 1px solid #ddd;
	margin: 3px;
}

#wrap{
	width: 920px;
	text-align: left;
	margin: 0 auto;
    }

.maintable
{
	margin-top: -3px;
	border-spaceing: 0px;
	border-collapse:separate;
	
}
hr {
	color: #dbdbdb;
        clear: both;
}
.nav {
	border-top: 1px solid #e9e9e9;
	clear: both;
}


.content {
	text-align: left;
	width: 730px;
	background: url(mainbg.gif) repeat-x;
	padding: 15px;
}
.leftnav {
	background: url(leftbg.gif) no-repeat right top;
	
}

.leftnav fieldset{
	width: 160px;
}
.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;
    }
.header {
	font-size: 13px;
	background: #365081;
margin:0;
padding: 0;
border: 0;

}

.header a:link, .header a:visited {
	color: #828282;
}

.header a:hover, .header a:active {
	color: #828282;
	
}
.headerleft {
	float:left;
	background: #00215F;
	width: 350px;
	padding-top: 9px;
	padding-bottom: 9px;
	padding-left: 15px;
}

.kori {
	background: url(ostoskoribg.gif) no-repeat left center;
	padding-left: 60px;
	color: #FFF;
	margin-left: 10px;
}
.napit {
	padding-top: 20px;
	padding-left: 10px;
	color: #FFF;
}

.name {
	font-size: 14px;
	font-weight: bold;
}

.price {
	font-size: 14px;
	font-weight: bold;
	text-align: left;
	color: #9e1a34;
	white-space: nowrap;
}


.mainheader {
	background: url(mainheaderbg.gif) repeat-x;
}

.oldprice {
	color: #CCC;
	font-size: 12px;
	text-decoration: line-through;
}
.main {
	color: #4A4B4B;
	font: 11px;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 10px;
	padding-right: 10px;
}

.footer {
	text-align: left;
	border-top: 8px solid #00215F;
	color: #a3a3a3;
}

 .footer a:link, .footer a:visited {
	color: #4e4e4e;
	padding-right: 5px;
	padding-left: 5px;
}


/** WS-styles **/		

.table {
	border-width: 1px;
	border-style: solid;
	border-color: #d7d9dc;
	border-collapse: collapse;
	width: 100%;
}

.table th {
	border-width: 1px;
	border-style: solid;
	border-color: #d8d8d8;
	font-weight: bold;
	padding: 4px;
	color: #fff;
	text-align: left;
	background-color: #375182;

}

.table td {
	border-width: 1px;
	border-style: solid;
	border-color: #d7d9dc;
	padding: 4px;
}


.TableFooter td {
	font-weight: bold;
	background: #f4f4f4;
	padding: 4px;
}

.TableTdDark, .TableRowDark td {
	background: #e4e4e4;
	padding: 2px;
	font-weight: bold;
}
 .TableRowDark td {
	background: #e4e4e4;
	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;
}
.ProductSearchParameter {
	border: 1px solid #7d7d7d;
	height: 18px;
	width: 110px;
	margin-bottom: 2px;

}

.LoginFormUser, .LoginFormPasswd, .RecoveryFormUser {
	width: 95px;
	margin: 0px;
	padding: 0px;
	border: 1px solid #ccc;
	background: #f7f7f7;
}

.ProductOptionsField  {
	font-size: 12px;
	border: 1px solid #7d7d7d;
}
.ProductAmountField, .ShoppingCartQuantityField  {
	font-size: 12px;
	border: 1px solid #7d7d7d;
	background: #f7f7f7;
}
.ProductAddButton {
	margin: 0px;
	padding: 0px;
}



.leftnav ul.ProductGroupTree
{
    margin: 0px;
    padding: 5px 0px 0px;
    list-style-type: none; 
}


.leftnav .ProductGroupTree li 
{
	list-style: none;
	text-align: left;
	width: 150px;
	text-transform: uppercase;
	margin: 0px 0px 1px;
	padding: 0px 0px 5px;
}


.leftnav .ProductGroupTree li a
{
	display: block;
	font-weight: bold;

}


.leftnav .ProductGroupTree li ul
{
	margin: 0px;
	padding: 0px;
	background-image: none;
}

.leftnav .ProductGroupTree li ul li {
	background-image: none;
	margin: 0px;

}


.leftnav .ProductGroupTree li ul li a {
	padding: 0 0 0 10px;

}
.leftnav .ProductGroupTree li ul li ul {
	margin: 5px 0px 0px 15px;
	padding: 0px;
	background-image: none;

}
.leftnav .ProductGroupTree li ul li ul li {
	text-transform: none;
}


.content ul.ProductGroupTree {
    margin: 0px;
    padding: 5px 0px 0px;
    list-style-type: none; 
}


.content .ProductGroupTree li  {
	list-style: square inside;
	text-align: left;
	width: 150px;
	margin: 0px 0px 1px;
	padding: 0px 0px 5px;
}

.content .ProductGroupTree li a {

	font-weight: bold;

}

.content legend {
	
	margin: 0px;
	padding: 0px;
}

.vaihe td {
	background-color: #e2e2e2;
	padding: 2px;
	border: 1px solid #d6d6d6;
	color: #999;
	text-align: center;
}
td.valittu {
	background-color: #f8f8f8;
	color: #007f30;
	font-weight: bold;
}

.pagepad {
	padding: 10px 20px 20px;
}


/** 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;
}

.page {
	text-align: right;
	margin: 5px;
}

.print {
	background: url(print.png) no-repeat 2px;
	padding-left: 22px;
}

.smallcart {
	background: #6fb542 url(pikkukoritop.gif) repeat-x top;
	color: #FFF;
    padding: 10px;
    margin-right: 7px;
}  

.muokkaa  {
	border-top: 1px solid #93c871;
	padding-top: 5px;
}
.yhteensa  {
	border-bottom: 1px solid #93c871;
	padding-bottom: 5px;
}

.muokkaa a:link, .muokkaa a:visited  {
	color: #FFF;
	background: url(arrow-right-white.gif) no-repeat right center;
	padding-right: 15px;
}
.back {
	border-top: 1px solid #dbdbdb;
	padding-top: 5px;
}

.kirjautumislinkit {
	padding: 5px 0px;
}
.width {
	width: 670px;
}
.svh {
	color: #999;
}
.maarasolu {
	border-left: 1px solid #dbdbdb;
}
.perhe {
	font-size: 11px;
}

/*### CALENDAR ###*/

	
table.jCalendar {
	border: 1px solid #000;
	background: #aaa;
    border-collapse: separate;
    border-spacing: 2px;
}
table.jCalendar th {
	background: #375182;
	color: #fff;
	font-weight: bold;
	padding: 3px 5px;
}
table.jCalendar td {
	background: #ccc;
	color: #000;
	padding: 3px 5px;
	text-align: center;
}
table.jCalendar td.other-month {
	background: #ddd;
	color: #aaa;
}
table.jCalendar td.today {
	background: #666;
	color: #fff;
}
table.jCalendar td.selected {
	background: #f66;
	color: #fff;
}
table.jCalendar td.selected:hover {
	background: #f33;
	color: #fff;
}
table.jCalendar td:hover, table.jCalendar td.dp-hover {
	background: #fff;
	color: #000;
}
table.jCalendar td.disabled, table.jCalendar td.disabled:hover {
	background: #bbb;
	color: #888;
}

/* For the popup */


div.dp-popup {
	position: relative;
	background: #ccc;
	font-size: 10px;
	font-family: arial, sans-serif;
	padding: 2px;
	width: 171px;
	line-height: 1.2em;
}
div#dp-popup {
	position: absolute;
	z-index: 199;
}
div.dp-popup h2 {
	font-size: 12px;
	text-align: center;
	margin: 2px 0;
	padding: 0;
}
a#dp-close {
	font-size: 11px;
	padding: 4px 0;
	text-align: center;
	display: block;
}
a#dp-close:hover {
	text-decoration: underline;
}
div.dp-popup a {
	color: #000;
	text-decoration: none;
	padding: 3px 2px 0;
}
div.dp-popup div.dp-nav-prev {
	position: absolute;
	top: 2px;
	left: 4px;
	width: 100px;
}
div.dp-popup div.dp-nav-prev a {
	float: left;
}
/* Opera needs the rules to be this specific otherwise it doesn't change the cursor back to pointer after you have disabled and re-enabled a link */
div.dp-popup div.dp-nav-prev a, div.dp-popup div.dp-nav-next a {
	cursor: pointer;
}
div.dp-popup div.dp-nav-prev a.disabled, div.dp-popup div.dp-nav-next a.disabled {
	cursor: default;
}
div.dp-popup div.dp-nav-next {
	position: absolute;
	top: 2px;
	right: 4px;
	width: 100px;
}
div.dp-popup div.dp-nav-next a {
	float: right;
}
div.dp-popup a.disabled {
	cursor: default;
	color: #aaa;
}
div.dp-popup td {
	cursor: pointer;
}
div.dp-popup td.disabled {
	cursor: default;
}






/*  creates a little calendar icon
 * instead of a text link for "Choose date"
 */
a.dp-choose-date {
	float: left;
	width: 16px;
	height: 16px;
	padding: 0;
	margin: 5px 3px 0;
	display: block;
	text-indent: -2000px;
	overflow: hidden;
	background: url(calendar.png) no-repeat; 
}
a.dp-choose-date.dp-disabled {
	background-position: 0 -20px;
	cursor: default;
}
/* makes the input field shorter once the date picker code
 * has run (to allow space for the calendar icon
 */
input.dp-applied {
	width: 120px;
	float: left;
}
	
/*### LIGHTBOX ###*/

#jquery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
}
#jquery-lightbox {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
}
#jquery-lightbox a img { border: none; }
#lightbox-container-image-box {
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
}
#lightbox-container-image { padding: 10px; }
#lightbox-loading {
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
}
#lightbox-nav {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
}
#lightbox-container-image-box > #lightbox-nav { left: 0; }
#lightbox-nav a { outline: none;}
#lightbox-nav-btnPrev, #lightbox-nav-btnNext {
	width: 49%;
	height: 100%;
	background: transparent url(___just-anything-here.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
}
#lightbox-nav-btnPrev { 
	left: 0; 
	float: left;
}
#lightbox-nav-btnNext { 
	right: 0; 
	float: right;
}
#lightbox-container-image-data-box {
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: auto;
	width: 100%;
	padding: 0 10px 0;
}
#lightbox-container-image-data {
	padding: 0 10px; 
	color: #666; 
}
#lightbox-container-image-data #lightbox-image-details { 
	width: 70%; 
	float: left; 
	text-align: left; 
}	
#lightbox-image-details-caption { font-weight: bold; }
#lightbox-image-details-currentNumber {
	display: block; 
	clear: left; 
	padding-bottom: 1.0em;	
}			
#lightbox-secNav-btnClose {
	width: 66px; 
	float: right;
	padding-bottom: 0.7em;	
}
