/* Thank you Eric Meyer */
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: "" "";
}





/* Main */
.img-repl { text-indent: -9999px; overflow: hidden; display: block; }

.hidden { display: none; }
.no-margin { margin: 0!important; }
.no-back { background: none; }

/* Main custom rules  */
html { font: .75em/1.5 Verdana, Arial, Helvetica, sans-serif; margin:0; padding:0; line-height: 1em; }
body { background: white; color: #444; line-height: 100%; }

a, a:link {color: #9314B2;}
a:hover, a:active {color: #555;}
a:visited {color: #324616;}



/* Header */
#header { 
	border-top: 5px solid #9314B2;
	border-bottom: 1px solid #ccc;
	margin-bottom: 1em;
	height: 100px;
	background-color: #FFF8E6;
	padding:0 10%;
	padding-top: 1px;
}

#header #logo {float: left;}

#header #search {float: right; text-align: right; margin-top: 70px;}
#header #search input#search_text {
    width: 25ex;
    padding: 0.2em 0.3em;
    font-size: 0.9em;
    display: block;
    float: left;
}

#header #search input#image {
    margin: 2px 0;
    display: block;
    float: left;
}


/* Footer */
#footer {
	clear: both;
	padding-top: 1em;
	border-top: 1px solid #ccc;
	margin-top: 1em;
	background-color: #FFF8E6;
	padding: 1em 10%;
	text-align: center;
	height: 50px;
	font-size: 0.8em;
}


/* Main wnd */
#main { padding: 1em 10%; margin-bottom: 1em; min-width: 600px; max-width: 1000px; }
#col-left { width: 20%; float: left; min-width: 170px; position: absolute;}
#content { margin-left: 20%; padding-left:5em; }


/* Menu */
.menu a { text-decoration: none; }
.menu a:hover {
/*   border-bottom: 1px solid #9314B2;*/
   background: #FFF8E6;
   font-weight: bolder;
   color: #9314B2;
   display: block;
}

.menu {
   font-size: 0.9em;
   font-weight: bolder;
}
.menu li { padding: 2px 0; list-style: none; }
.menu li ul { padding-left: 5em; margin-top: 2px; }
.menu li li { border: none; }
.menu .selected { font-weight: bold; }
.menu .selected ul { font-weight: normal; }



/* Text (in content) */

/*Verdana, Arial, Helvetica, sans-serif; 
 Georgia, "Times New Roman", serif black;*/
#content h1, #content h2, #content h3, #content h4 { 
    font: 2em "Lucida Sans", Lucida, Tahoma, Arial, Verdana, sans-serif;
    color: black;
    margin-bottom: .10em; 
}

#content h2 { font-size: 1.7em; }
#content h3 { font-size: 1.5em; }
#content h4 { font-size: 1.4em; }
#content h5 { font-size: 1.4em; font-style: italic; }

#content img {padding: 0 1em 0 0;}



/* Products */

/*#content #products {clear: both;}*/

#products .product {
    width: 30%;
    margin: 1em 1em 1em 0;
    float: left;
    overflow: hidden;
}

#products .product a { }
    
#products .product a,
#products .product a:link,
#products .product a:visited  {} 
#products .product a:hover,
#products .product a:active {}

#products .product .code,
#products .product .name {padding-right: 10%;}
#products .product .code {font-size: 0.9em; margin: 0.5em 0; float: left;}
#products .product .name {font-size: 1.2em; font-weight: bold; margin: 0.5em 0; clear: both;}

#products .product .basket {
    float: left;
    margin: 0;
}


.product .basket a,
.product .small_image a,
.product .code a { text-decoration: none; }

.product .small_image {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	width: 140px; 
	height: 140px;
}

.product .property { font-size: 0.8em; line-height: 120%;}
.product .price {margin: 1ex 0;}

.product .property .value {}
.product .property .title {font-weight: bold; }

.product .category .title {}
.product .category .value div {margin-left: 4ex;}


#product_description .product .property { font-size: 1.2em; }


/* Basket label */
#basket, .basket {
   border: 1px dotted #ccc;
   margin: 0.5em 0;
   padding: 1em;
   white-space: nowrap;
   border-color: #9314B2;
   border-style: dotted;
   border-width: 1px;
}

.basket .total { padding: 20px 0; }


/* Basket page */
.basket .products .product {
	padding: 1em 0;
	border-bottom: 1px solid #999;
}
.basket .products .product .property {font-size: 1em; line-height: 120%;}
.basket .products .product label { line-height: 120%;}

.basket .products .product .property,
.basket .products .product .price {	margin-left: 140px; }
.basket .products .product .highlighter{ margin-left: 0; }
.basket .products .product .small_image { margin-left: 0; float: left; }

.basket .products .product .buttons { margin: 0.5em 0; text-align:right; }

.basket .code { float: left; }
.basket .name { font-weight: bold; margin-left: 140px; }


/* Basket order */ 
.order label {
	clear: right;
	float: left;
	width: 10em;
}


/* Page navigation */
.pager {text-align: right; clear:both; margin-bottom: 1ex;}

.pager .page,
.pager .next-page,
.pager .prev-page,
.button {
    display: inline;
    margin: 1em 0.1em;
    padding: 0.2em 0.3em;
    border: 1px solid #666;
    background-color: #FFF8E6;
}

.pager .more {
    border: none;
    background: none;	
}

.pager span.page,
.pager span.next-page,
.pager span.prev-page { font-weight: bold; }

.pager span.page { background: none; }

.pager a.page,
.pager a.next-page,
.pager a.prev-page,
.button a { text-decoration: none; }

.pager a.page:hover,
.pager a.next-page:hover,
.pager a.prev-page:hover { background: none; }

/* Stuff */
br.clear {clear: both;}
.clear-right {clear: right;}
.clear-left {clear: left;}
.relative {position: relative;}

