html,body{margin:0;padding:0}

body{font: 76% arial,sans-serif;color: #333;}

img {border:0;}

a {color: #666; text-decoration: underline;}
a:hover {text-decoration: none;}

p {
	margin-top: 0;
	margin-bottom: 0.5em;
}

th {
	
}

h1, h2, h3, h4, h5, h6  {
	margin: 0;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

h1, h2 {
	font-size:1.6em;
}
h3, h4 {
	font-size: 1.2em;
}
h5, h6 {
	font-size: 1em;
}

hr {
	background: #E4E4E4;
	border: 0px solid #E4E4E4;
	color: #E4E4E4;
	height: 1px;
}

.left {
	width: 180px;
}


img.right {
	float: right;
	margin: 5px;
	margin-right:0;
}
img.left {
	float: left;
	margin: 5px;
	margin-left: 0;
}

br.clear {
	clear: both;
}

/*      header      */

#header {
	border-bottom: 1px solid #333;
	background-color: #f0f0f0;
}

#tlmenu  ul{
	margin: 0;
	padding: 0;
	margin-left: 1px;
	margin-top: 1px;
	width: 170px;
	text-align: center;
	font-weight: bold;
	border-bottom: 1px solid #aaa;
	font-size: 18px;
	margin-right: 10px;
	margin-bottom: 1px;
}
#tlmenu a {
	color: #888;
}
#tlmenu  li {
	display: block;
	border: 1px solid #aaa;
	border-bottom: 0;
	list-style-type: none;
	padding: 6px;
}

.name {
	
}


/* header end */



/* left menu */
/* common styling */

.left {
	width:185px;
	height:150px;
	position:relative;
	margin:0;
}
.left ul li a, .left ul li a:visited {
	display:block;
	width:170px;
	height:20px;
	border:1px solid #fff;
	border-width:1px 1px 0 0;
	line-height:19px;
	text-decoration: none;
	color: #777;
	background: #fff; /* IE6 Bug */
	padding: 5px;
	border: 1px solid #aaa;
	border-bottom: 0;
}
.left ul {padding:0; margin:0;list-style-type: none; }
.left ul li {float:left; margin-right:1px; position:relative;}
.left ul li.last {border-bottom: 1px solid #aaa;}
.left ul li ul {display: none;}


/* specific to non IE browsers */
.left ul li:hover a {background:#eee;}
.left ul li:hover ul {display:block; position:absolute; top:0; left:181px;background-color: #fff;}
.left ul li.active:hover ul {display: block;position:relative;left:0;}
.left ul li:hover ul li a.hide {background:#dfc184; color:#000;}
.left ul li:hover ul li:hover a.hide {}
.left ul li:hover ul li a {background:#fff;}
.left ul li:hover ul li a:hover {background:#eee;}

/* left menu end */

/* active submenu styling*/
.left li.active {
	font-weight: bold;
}
.left li.active li {
	font-weight: normal;
}
.left li.active li.active{
	font-weight: bold;
}
.left ul li.active ul {
	display:block;
}
.left ul li.active ul li a {
	padding-left:15px;
	width: 160px;
}
.left ul li.active li.last {
	border-bottom: 0;
}

#buttons {
	text-align: center;
	margin-top: 0.5em;
}

/* блоки нескольких товаров выведенные на главную страницу */



.item {
				/*	width: 320px;*/
	margin-bottom: 0.5em;
				/*	height: 200px;*/
				/*	margin-left: 0.5em;*/
	border: 1px dotted #444;
	width: 100%;
				/*	float: left;
					display: inline;*/
	margin-bottom: 2em;
}
.item img {
	margin-right: 0.5em;
	margin-left: 0.1em;
}
.item .intro {
	margin-top: 0.5em;
} 
.children ul {
	margin: 0;
	margin-bottom: 1em;
	margin-top: 0.5em;
}
.children li {
	display: inline;
	border-right: 1px solid #333;
	padding: 0 0.5em;
}

.children li.last {
	border-right: 0;
}

.cat1 {
	display: inline;
	vertical-align: top;
	height: 150px;
	width: 30%;
	margin-right: 0.5em;
	margin-bottom: 0.5em;
	border: 1px dotted red;
}

/* Ditto pagination */


.pagination {
	margin-top: 1em;
}
.pagination .pagestats {

}
.pagination .pagelinks {
	margin-top: 1em;
}
span.ditto_currentpage {
	width: 20px;
	color: #fff;
	font-weight: bold;
	background-color: #999;
	padding: 10px;
}
a.ditto_page {
	padding: 10px;
	color: #333;
	font-weight: bold;
	text-decoration: none;
}

#CatalogListing {
}
.catalogitem {
	height: 130px;
}
#ActiveSpecials {
	margin-top: 2em;
	margin-bottom: 1em;
	padding-bottom: 1em;
	border-bottom: 1px solid #ccc;
}

#InactiveSpecials {

}
.specialitem {
	margin-bottom: 0.5em;
}
.right {
	width: 20%;
}
#specials h3 {
	font-size: 1.2em;
	margin-bottom: 0.5em;
	text-align: center;
}
#specials img {
	margin-right: 5px;
}
.specialitemshort {
	padding: 0.5em;
	border: 1px solid #ccc;
	margin-bottom: 0.5em;
}
#mainpage {
    width: 500px;
}
#mainpage div {
    width: 248px;
    float: left;
    border: 1px solid #eee;
}
#mainpage br {
    clear: left;
}

#help {
	border: 1px solid #eee;
}
#help ul {
	margin: 100;
}

#footer {
	margin-top: 1em;
	text-align: center;
	background-color: #666;
	padding-top: 2em;
	padding-bottom: 1em;
	color: #fff;
	font-weight: bold;
}
#footer a {
	color: #fff;
	text-decoration: underline;
}

#lowmenu {
	margin-top: 0.5em;
	font-weight: normal;
}

#lowmenu a {
	color: #000;
	text-decoration: underline;
}
#links, #links a {
	font-weight: normal;
	color: #999;
	font-size: 10px;
	text-decoration: none;
}




/* V2 */

#mainpromote td {
	border: 1px solid #999;
	padding:0.5em;
	padding-top: 0;
}

#specials {
	margin-top: 5px;
	margin-right: 5px;
	border: 1px solid #eee;
	margin-bottom: 5px;
}

.specitem {
	border-top: 1px solid #eee;
	padding: 5px;
	margin-bottom: 5px;
}


.B_crumbBox {
    display: block;
    font-size: 80%;
    border: 1px solid #eee;
    padding: 5px;
	margin: 5px;
	margin-top: 0.5em;
}

#content {
    border: 1px solid #ddd;
	border-top: 0;
	margin: 5px;
	padding: 5px;
	margin-top: 5px;
}

/* обмен ссылками в левой колонке под меню каталога */
#html {
	font-size: 80%;
	color: #999;
	clear: left;
	padding: 5px;
	padding-top: 3em;
}

