html, body {
  height:100%; margin:0;
}
html>body {
  min-height:100%;
  height:auto;
}
body {
  position: relative;
  padding: 0;
  margin: 0;
  background: #FFF;
}

h2 {
	font: bold 18px arial, sans-serif;
	color: #2C313B;
}

form {
	margin: 0;
}

img {
	border: none;
}

a {
	color: #576277;
}

.button {
	background: url(/img/bg_button.png);
	border: 1px solid #8B95A9;
	height: 20px;
	padding: 0;
	color: #576277;
	font: normal 12px arial, sans-serif;
}

.error {
	color: #F00;
}


.bold {
	font-weight: bold;
}

.center {
	text-align: center !important;
}
.right {
	text-align: right;
}

.clear_both {
	clear: both;
}

.imgleft {
	float: left;
	margin-right: 4px;
}
.imgright {
	float: right;
	margin-left: 4px;
}
.redline {
	text-indent: 2em;
}


/* -------------------- HEADER -------------------- */

#header {
	height: 256px;
	background: url(/img/bg_header.png) -82px 0;
}

#top_menu {
	position: absolute;
	top: 175px;
	width: 100%;
}
#top_menu ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	width:750px;
}
#top_menu li {
	display: block;
	float: left;
	width: 99px;
	background: url(/img/bg_menu_left.png) left no-repeat;
	padding: 0;
	margin: 0 1px 0 0;
	text-align: center;
}
#top_menu a {
	display: block;
	color: #FFF;
	font: normal 13px arial, sans-serif;
	text-decoration: none;
	text-transform: lowercase;
	background: url(/img/bg_menu_right.png) right no-repeat;
	line-height: 28px;
	margin: 0;
	padding: 0 8px;
}
#top_menu li.selected, #top_menu li:hover {
	background: url(/img/bg_menu_left1.png) left no-repeat;
}
#top_menu li.selected a, #top_menu li:hover a {
	background: url(/img/bg_menu_right1.png) right no-repeat;
	color: #000;
}

#header h1 {
	padding: 0;
	margin: 0;
	background: url(/img/girl.png);
	width: 104px;
	height: 256px;
	position: absolute;
	top: 0;
	left: 48px;
}
#header h1 a {
	display: block;
	padding: 0;
	margin: 0;
	text-indent: -9000px;
	width: 360px;
	height: 108px;
	background: url(/img/logo.png);
	position: absolute;
	top: 43px;
	left: 111px
}

/* -------------------- FOOTER -------------------- */

#footerwrapper {
  padding-top: 60px;
  clear: both;
}

#footer {
  position: absolute;
  bottom:0;
  width: 100%;
	height: 105px;
  clear: both;
	background: url(/img/bg_footer.png);
	clear: both;
}

#disclaimer_text {
	font: normal 10px arial, sans-serif;
	color: #999;
	display: block;
	text-align:center;
	position: relative;
	top: 40px;
}

/* -------------------- CONTENT -------------------- */

#main {
	width: 950px;
	margin: 0 auto 0 auto;
}

#content {
	float: left;
	width: 730px;
	font: normal 13px arial, sans-serif;
	color: #333;
	line-height: 150%;
	text-align: justify;
}

#content p {
	text-align: justify;
}

h1 {
	font: bold 18px arial, sans-serif;
	color: #2C313B;
	margin: 0 0 1.5em 0;
}

#content ul.bulleted {
	list-style: none;
	padding: 0;
	margin: 0;
}
#content ul.bulleted li {
	padding: 0 0 0 12px;
	margin: 8px 0;
	background: url(/img/bullet1.gif) no-repeat 0 9px;
}





/* -------------------- BLOGNEWS -------------------- */


ul.blognews {
	list-style: none;
	padding: 0;
	margin: 0;
}
ul.blognews li.newsitem {
	min-height: 48px;
	margin-bottom: 24px;
}
ul.blognews .date {
	background: url(/img/bg_date.png);
	width: 47px;
	height: 48px;
	float: left;
	margin-right: 15px;
}
ul.blognews .date .month {
	display: block;
	text-align: center;
	height: 10px;
	padding: 3px 0;
	font: normal 9px arial, sans-serif;
	color: #576277;
}
ul.blognews .date .day {
	display: block;
	text-align: center;
	padding: 5px 0;
	font: bold 18px arial, sans-serif;
	color: #FFF;
}
ul.blognews h3 {
	padding: 0;
	margin: 0 0 5px 0;
	font: bold 16px arial, sans-serif;
}
ul.blognews h3 a {
	color: #576277;
}
ul.blognews div.newstext {
	margin: 0 0 0 62px;
	padding: 0;
	//height: 1%;
}
ul.blognews div.newstext:after {
	content: '.'; 
	display: block; 
	clear: both; 
	visibility: hidden; 
	height: 0; 
	line-height: 0;
}




/* -------------------- RIGHT BAR -------------------- */

#right_bar {
	float: right;
	width: 190px;
	min-height: 300px;
	border-left: dotted 1px #8A94A8;
	padding-left: 10px;
	font: normal 12px arial, sans-serif;
	color: #333;
}



/* -------------------- LOGIN PANEL -------------------- */

#login_panel {
	text-align: right;
	padding-right: 22px;
}
#login_panel label {
	display: block;
	float: left;
	text-align: right;
	width: 48px;
	padding: 0;
	margin-right: 5px;
	margin-bottom: 2px;
	line-height: 22px;
}
#login_panel input {
	width: 110px;
	height: 20px;
	display: block;
	float: left;
	border: 1px solid #BDC3CE;
	margin-bottom: 2px;
	padding: 0;
}
#login_panel br {
	clear: both;
}
#login_panel .button {
	margin-left: 53px;
	width: 112px;
}
/*\*/ * html #login_panel .button { margin-left: 27px; } /**/
#login_panel a {
	color: #576277;
	margin: 0 0px;
}

#login_panel .error {
	display: block;
}


/* -------------------- CATALOG -------------------- */

.breadcrumbs {
	margin: 0 0 1.5em 0;
	background: #EBEDF0 url(/img/bg_item.png) right repeat-y;
	padding: 4px 8px;
}
.breadcrumbs .level_0 {
	display: block;
	margin-left: 4px;
}
.breadcrumbs .level_1 {
	display: block;
	margin-left: 24px;
}
.breadcrumbs .level_2 {
	display: block;
	margin-left: 44px;
}
.breadcrumbs a {
	color: #576277;
	font: normal 12px arial, sans-serif;
	margin-left: 4px;
}

.products, .categories {
	list-style: none;
	padding: 0;
	font: normal 12px arial, sans-serif;
	margin: 3em 0 3em 5px;
	clear: both;
}
.products a, .categories a {
	color: #576277;
}
.products li, .categories li {
	background: #EBEDF0 url(/img/bg_item.png) right repeat-y;
	margin: 10px 0 28px 50px;
	height: 72px;
	padding: 10px 0;
	line-height: 150%;
}

.products .img, .categories .img {
	border: 1px solid #8B95A9;
	width: 80px;
	height: 80px;
	display: table-cell;
	vertical-align: middle;
	background: #FFF;
	float: left;
	position: relative;
	margin-top: -20px;
	margin-left: -50px;
	margin-right: 10px;
}
.categories .img1, .categories .img2, .categories .img3 {
	border: 1px solid #8B95A9;
	background: #FFF;
	width: 80px;
	height: 80px;
	margin: -4px;
	position: relative;
}
.categories .img {	background: #BDC3CE; }
.categories .img1 {	background: #EBEDF0; }
.products .img img, .categories .img img {
	display: block;
	border: none;
}

.products .button {
	text-decoration: none;
	padding: 1px 8px;
}


.subproducts {
	margin-left: 0;
	padding: 0;
	line-height: 100%;
	font-size: 0.85em;
}
.subproducts li {
	display: block;
	float: left;
	width: 120px;
	margin: 8px 3px;
	padding: 8px 2px;
	text-align: center;
	background: #EBEDF0;
}
.subproducts .name {
	display: block;
	height: 35px;
	padding: 2px;
}
.subproducts br {
	display: none;
}
.subproducts .button {
	text-decoration: none;
	margin-left: 2px;
	padding: 0 4px;
}
.subproducts .already_exists {
	display: none; /* TODO: !!! */
}



/* -------------------- GLOSSARY -------------------- */

.chars {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5em 0;
	text-align: center;
}
.chars li {
	display: inline;
	padding: 0 2px;
}
.chars li.selected {
	font-weight: bold;
	background: #ECEEF0;
	border: 1px solid #BDC3CE;
}
.chars a {
	color: #576277;
	text-decoration: none;
}

.glossary {
	list-style: none;
	margin: 0;
	padding: 0;
}
.glossary li {
	margin: 1em 0 1em 0;
}
.glossary a {
	color: #576277;
}


/* -------------------- FORMS -------------------- */

#content form.std br {
	clear: both;
}
#content form.std label {
	display: block;
	float: left;
	width: 160px;
	text-align: right;
	margin-right: 10px;
	line-height: 20px;
}
#content form.std input {
	width: 130px;
	height: 20px;
	border: 1px solid #BDC3CE;
	margin-bottom: 2px;
	padding: 0;
	float: left;
}
#content form.std textarea {
	border: 1px solid #BDC3CE;
}
#content form.std .button {
	margin-left: 170px;
}
#content form.std .small {
	font-size: 80%;
	color: #666;
} 
#content form.std .error {
	color: #F00;
	display: block;
	float: left;
	margin-left: 5px;
}
#content form.std img.captcha {
	display: block;
	float: left;
	text-align: right;
	margin-right: 1em;
	border: solid 1px #D4D4D4;
}
#content form.std input#captcha, #content form.std span#captcha_error {
	margin-top: 1em;
}
#content form.std fieldset {
	border: none;
	padding: 0;
	margin: 0 0 2em 0;
}
#content form.std legend {
	font-weight: bold;
	padding: 0;
	margin: 0;
}


.product_item, .category_item {
	//height: 1%; 
}
.product_item .left_info, .category_item .left_info {
	width: 162px;
	float: left;
}
.product_item .left_info span.price {
	display: block;
	text-align: center;
	font-weight: bold;
	padding: 2px 0;
	float: left;
	width: 80px;
}
.product_item span.exists {
	display: block;
	text-align: right;
	margin-top: 25px;
	font: normal 11px tahoma, sans-serif;
	color: #999;
	background: url(/img/basket1.gif) right no-repeat;
	height: 14px;
	padding: 2px 20px 0 0;
	position: relative;
	top: -47px;
	left: -3px;
}
.product_item .left_info .button {
	text-decoration: none;
	display: block;
	text-align: center;
	width: 80px;
	float: right;
	line-height: 20px;
}
.product_item .description, .category_item .description {
	margin-left: 180px;
	min-height: 160px;
	text-align: left !important;
	//height: 1%;
}
.product_item .description:after, .category_item .description:after {
	content: '.'; 
	display: block; 
	clear: both; 
	visibility: hidden; 
	height: 0; 
	line-height: 0;
}
.product_item h3, .category_item h3 {
	clear: both;
}

.product_item .description p, .category_item .description p {
	text-align: left !important;
	font: normal 13px arial, sans-serif;
	line-height: 130%;
}
.category_item img, .product_item img {
	border: 1px solid #8B95A9;
}
.product_item .glossary ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.product_item .glossary {
	margin-top: 2em;
}
.product_item h5 {
	padding: 0;
	margin: 0;
}
.product_item .glossary ul li {
	padding: 0 0 0 12px;
	margin: 4px 0;
	background: url(/img/bullet1.gif) no-repeat 0 7px;
}




table.basket {
	width: 100%;
}
.basket, .vgrid {
	border-collapse: collapse;
}
.basket a, .vgrid a {
	color: #576277;
	font: normal 13px arial, sans-serif;
}
.basket thead, .basket tfoot {
	background: #C0C6D0;
	font-weight: bold;
}
.basket td {
}
.basket thead th, .basket thead td, .basket tfoot th, .basket tfoot td {
	border: 1px solid #FFF;
}
.basket th, .basket td, .vgrid th, .vgrid td {
	padding: 3px 8px
}
.basket tr.topborder td {
	border-top: 1px solid #C0C6D0 !important;
}
.basket .button {
	margin-left:1em !important;
	float: none !important;
}
.basket input.qty {
	padding-top: 4px !important;
	text-align: center; 
	float: none !important; 
	width: 2em !important;
}
.vgrid th {
	text-align: right;
}
.vgrid th, .vgrid td {
	border: 1px dotted #C0C6D0;
}


#basket_info {
	background: #EBEDF0 url(/img/bg_item.png) right repeat-y;
	margin-bottom: 2em;
	//height: 1%; 
}
#basket_info:after {
	content: '.'; 
	display: block; 
	clear: both; 
	visibility: hidden; 
	height: 0; 
	line-height: 0;
}
#basket_info a {
	background: url(/img/basket.gif) 5px no-repeat;
	display: block;
	height: 48px;
	padding: 15px 0 0 64px;
	text-decoration: none;
	color: #576277;
	font: normal 13px arial, sans-serif;
}



.latest_prods ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.latest_prods li {
	display: block;
	float: left;
	width: 158px;
	border: 1px dotted #8B95A9;
	text-align: center;
	margin: 0 14px 14px 0;
	padding: 0;
	overflow: hidden;
}
.latest_prods li:hover {
	border: 1px solid #8B95A9;
}
.latest_prods a.name {
	color: #576277;
	font: normal 11px tahoma, sans-serif;
	display: block;
	padding: 2px 4px;
	height: 55px;
}
/*
#latest_prods li.category {
	border: 2px dotted #8B95A9;
	width: 158px;
}
*/

.rblock {
	margin-top: 2em;
}
.rblock h2 {
	margin: 0.25em 0;
	font-size: 14px;
	background: #EBEDF0 url(/img/bg_item.png) right repeat-y;
	padding: 4px 8px;
}
.rblock ul {
	list-style: none;
	margin: 0;
	padding: 0;
	font: normal 11px tahoma, sans-serif;
}
.rblock li {
	margin: 8px 0;
}
.rblock span {
	display: block;
	font: bold 9px tahoma, sans-serif;
}
.rblock a {
	color: #576277;
}



#logged_menu {
	list-style: none;
}


#content table.grid {
	border-collapse: collapse;
	border: 1px solid #C0C6D0;
	font: normal 13px arial, sans-serif;
}
#content table.grid th {
	padding: 2px 6px;
	background: #C0C6D0;
	border: 1px solid #FFF;
}
#content table.grid td {
	border: 1px solid #C0C6D0;
	padding: 2px 6px;
}


.article_categories {
	background: #EBEDF0 url(/img/bg_item.png) right repeat-y;
	list-style: none;
	padding: 0.5em 1em;
	margin: 0;
	font-weight: bold;
}
.article_categories li {
	padding: 0 0 0 12px;
	margin: 8px 0;
	background: url(/img/bullet1.gif) no-repeat 0 9px;
}



form.test ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
form.test ul li {
	padding: 0.25em 0;
	border-bottom: dotted 1px #8A94A8;
	//height: 1%;
}
form.test ul li:hover {
	background: #EBEDF0 url(/img/bg_item.png) right repeat-y;
}
form.test ul input {
	float: left;
}
form.test ul label {
	float: left;
	display: block;
	margin-left: 1em;
	width: 490px;
}
form.test ul li:after {
	content: '.'; 
	display: block; 
	clear: both; 
	visibility: hidden; 
	height: 0; 
	line-height: 0;
}
form.test button {
	margin: 1em auto;
	width: 6em;
	display: block;
}
form.test .error {
	color: #F00;
	display: block;
	text-align: center;
	margin: 1em;
	font-weight: bold;
}


