html, body {
    height:100%;
}
body>div.container {
	min-height:100%;
	height:auto;
	position:relative;
    background: white url(../images/blot.png) no-repeat right bottom;
}
body {
	background-color:#afbd32;
	background-image:url('../images/vertical_gradient.png');
	background-repeat:repeat-x;
	background-position:left top;
	
	font-size:14px;
	line-height:1.3;
	font-family:Verdana, Geneva, Helvetica, Arial, sans-serif;
	color:black;
}
a {
	color: black;
}
hr {
	background-color:#337b63;
	height:1px;
	margin:0;
}
ins {
    font-weight:bold;
	text-decoration:none;
}
del {
    color:black;
}
/*-----------------------------------------------*/
.nobr {
	white-space:nowrap;
}
.centeralign {
	text-align:center;
}
.rightalign {
	text-align:right;
}
.left {
    float:left;
}
.arrow-white, .arrow-green {
	width:10px;
	height:10px;
	display:inline-block;
	margin-left:5px;
}
.arrow-white {
	background:url(../images/arrow_white.png) left top no-repeat;
}
.arrow-green {
	background:url(../images/arrow_green.png) left top no-repeat;
}
.error, .notice, .success {
	padding:.2em;
	margin-bottom:0;
	border-width:1px;
}

form.content_form input[type=text], form.content_form input[type=password] {
	width:100%;
	margin:0;
}
form.content_form input[type="radio"] {
	top: 0;
}
form.content_form label {
	font-weight:normal;
}
form.content_form ul {
	list-style-type:none;	
}
.mb8 {
	margin-bottom:.8em;
}
.mb0 {
	margin-bottom:0;
}
.mt8 {
    margin-top:.8em;
}
/*-----------------------------------------------*/

#header {
	height:288px;
}
#header_img {
	background:url(../images/header.jpg) left top no-repeat;
	left:-34px;
	top:0;
	width:988px;
	height:288px;
	position:absolute;
}
#logo {
	position:absolute;
	width:177px;
    height:138px;
	top:105px;
	left:18px;
}
#title {
	position:absolute;
	top:98px;
	left:225px;
	width:483px;
	height:59px;
}

#sections {
	position:absolute;
	top:220px;
}
#sections a {
	color:white;
	text-decoration:none;
}
#sections a:hover, #sections ul li.active {
	text-decoration:underline;
}
#sections ul li {
	font-size:120%;
	color:white;
	position:absolute;
}
#sections ul {
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	padding:0;
	margin:0;
}
#section-main {
	left:330px;
}
#section-catalog {
	left:436px;
}
#section-blog {
	left:550px;
}
#section-forum {
	left:635px;
}
#section-articles {
	left:736px;
}
#section-contacts {
	left:825px;
}
.header-controls {
	position:absolute;
	top:250px;
	height:30px;
	line-height:30px;
}
.header-controls a {
	color:white;
}
/*-----------------------------------------------*/
#footer {
	position:absolute;
    bottom:0; 
	height:32px;
	background-color:#337b63;
    line-height:32px;
}
#footer p {
    margin:0;
    color: #cccccc;
    font-size:75%;
}
/*-----------------------------------------------*/
#content, #sidebar {
	padding-bottom:50px;
}
/*-----------------------------------------------*/
.sidebar-box-content {
	padding-top:30px;
	margin-bottom:15px;
	
	line-height:1.2;
}
.sidebar-box-header {
	position:absolute;
	background:url('../images/green-header.png') top right no-repeat;
	width:180px;
	height:30px;
	left:-8px;
}
.sidebar-box-header h2 {
	font-size:120%;
	position:absolute;
	left:8px;
}

.sidebar-box-header h2, .sidebar-box-header h2 a {
	color:white;
	text-decoration:none;
}
.sidebar-box-header h2 a:hover {
	text-decoration:underline;
}
.sidebar-box ul {
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	padding:0;
	margin:0;
}
.sidebar-box ul li {
	margin-bottom:8px;
}
#search, #sale, #info {
	font-size:100%;
}

#sale .catalog-item img {
	width:100px;
	height:100px;
}


#search_input {
	margin-top:0;
	font-size:100%;
	border-color:#337b63;
}
#search_submit {
	border:0 none;
	width:15px;
	height:22px;
	background:url('../images/search.png') left top no-repeat;
	float:right;
	cursor:pointer;
}

#catalog-tree>ul>li>a, #catalog-tree>ul>li>span {
	font-size:110%;
}
#catalog-tree li ul {
	margin-top:3px;
	margin-left:20px;
}
/*#catalog-tree ul.subcats, #catalog-tree li.metacat {
	font-size:100%;
}*/
#catalog-tree li span {
	background-color:#cdcdcd;
	width:162px;
	display:block;
	position:relative;
	left:-10px;
	padding-left:10px;
}
#catalog-tree li li span {
	width:142px;
}
/*#catalog-tree li.active span>a{
	font-weight:bold;
}*/
#catalog-tree li span>a{
	text-decoration:none;
}
#catalog-tree li span>a:hover{
	text-decoration:underline;
}

/*-----------------------------------------------*/
#content .black {
	color: black;
}

#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
	color:#337b63;
}  
#content h2 {
	font-size:120%;
	margin-bottom:0;
}
#content h2 a {
	color:#337b63;
	text-decoration:none;
}
#content h2 a:hover {
	text-decoration:underline;
}
#content h3, #content h4 {
	font-size:100%;
}
.content-box {
	margin-bottom:20px;
}
/*-----------------------------------------------*/
#greetings {
	font-size:100%;
}
#greetings p {
	text-indent:1.5em;
	font-style:italic;
}
/*-----------------------------------------------*/
.news-image {
	margin-bottom:8px;
	margin-top:3px;
}
.news-image, .news-image img,  .news-image a {
    width:100px;
    height:100px;
}
dl.news {
	font-size:110%;
	margin-bottom:0;
}
dl.news dt {
	margin:15px 0 5px 0;
	font-weight:normal;
}
dl.news dd {
	margin-left:0;
}
dl.news p, #greetings {
	margin-bottom: 5px;
} 
dl.news .comments-count, dl.news .cut {
	font-size:90%;
}
/*-----------------------------------------------*/
.grid-catalog-item {
	margin-top:10px;
	margin-bottom:25px;
}
.grid-catalog-item img {
	width:150px;
	height:150px;
}

#new-items .catalog-item {
	font-size:100%;
}

.catalog-item ul {
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	padding:0;
	margin:0;
}
.catalog-item ul li {
	margin-bottom: 5px;
}
.catalog-item ul li span {
	background-color:white;
}
/*
a.green-button {
    background:url('../images/green-button-right.png') no-repeat scroll top right;
    color: white;
    display:inline-block;
    height: 25px;
    padding-right: 9px; 
    text-decoration:none;
}
a.green-button span {
	background:url('../images/green-button.png') no-repeat;
    display: block;
    line-height: 23px;
    padding: 1px 0 1px 9px;	
} 
*/
.green-button {
	display: inline-block;
	height: 25px;
	vertical-align: bottom;
	*vertical-align: middle;	/* only for IE */
	background: white url('../images/button-r.png') no-repeat right top;
	cursor: pointer;
}
.green-button span {
	display: block;
	_display: inline-block; /* only for IE6 */
	line-height: 25px;
	padding: 0 9px;
	height: 100%;
	color: white;
	background: url('../images/buton-l.png') no-repeat left top;
	overflow: hidden;
	position: relative;
}
.green-button input {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	cursor: pointer;
	opacity: 0;
	filter: alpha(opacity=0); /* only for IE */
}
.green-button:link, .green-button:visited, .green-button:hover, .green-button:active {
	color: white;
	text-decoration: none;
}
/*-----------------------------------------------*/
ul.profile {
	list-style-type:none;
}
ul.profile li {
	margin-bottom: .3em;
}
ul.addressblock {
	list-style-type:none;
}
/*-----------------------------------------------*/
button.delete_cart_item {
	float: left;
	width: 16px;
	height: 16px;
	background: url('../images/delete.png') no-repeat left top;
	border: 0 none;
	padding: 0;
}
.update_quantity_cart_item button {
	float: left;
	width: 16px;
	height: 16px;
	background: url('../images/arrow_refresh.png') no-repeat left top;
	border: 0 none;
	margin: .15em 0 0 .3em;
	padding: 0;
}
.update_quantity_cart_item input {
	float: left;
	width: 3em;
	margin: 0;	
}
/*-----------------------------------------------*/
.ajax_info {
	margin: 0.2em 0;
/*	display: inline-block;*/
    display: none;
}
/*-----------------------------------------------*/
div.pagination a.arrow {
    text-decoration: none;    
}
/*-----------------------------------------------*/
#product_images a {
    display:block;
    float:left;
    margin:5px; 
}
/*-----------------------------------------------*/
#id_notes {
    height:auto;
    display:block;
}
#id_notes_label {
    color:#337b63;
}
