* {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
        width: 100%;
}
body {
	font: 12px/18px Arial, Tahoma, Verdana, sans-serif;
}

a {color: black;}

a:visited {color: black;}



p {
	padding: 0 10px 0 0;
	text-align:left;
}
#img{padding: 10px;}

img {
	border: none;
}
input {
	vertical-align: middle;
}
#page {
	min-height: 100%;min-width: 800px;
	height: auto !important;
	height: 100%;
background: #E5E5E5 url('3.jpg') repeat-x;
background-position:0px 150px;
_background: #E5E5E5;
}


#wrapper {
	width: 800px;
	margin: 0 auto;
}

/* Header
-----------------------------------------------------------------------------*/
#header {	
	height: 150px;
	background:url('1.jpg') repeat-x;
     min-width: 800px;
}
#hcontent {
	width: 800px;
	margin: auto;
height: 135px;
	background:url('0-trans.png') center no-repeat;
	position: relative;
}


#hcontent a {
	color: black;
	outline: none;
	text-decoration: none;
}

#hcontent a:hover {
	text-decoration: none;
}

#logo {
	float: left;
	margin-left: 15px;
	margin-top:15px;
	position: relative;display: inline;
	cursor:pointer;
}

#s-input {
	float: left;
	margin-left: 400px;
	margin-top: 5px;
	position: relative;
	width: 120px;
	height: 25px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	display: inline;
        border: none;
}

#s-text {
	float: left;
	margin-left: 530px;
	margin-top: -23px;
	position: relative;
	height: 25px;
	font-weight:bold;
	font-size:120%;cursor:pointer;display: inline;
}

#phone {
	float: left;
	margin-left: 400px;
	margin-top: 30px;
	position: relative;display: inline;
}

#phone-text {
	float: left;
	margin-top: -40px;
	margin-left: 450px;
 	display: inline;
	font-weight:bold;
	font-size:120%;display: inline;
    	_margin-top:-40px /*для ie6*/
}



/* Middle
-----------------------------------------------------------------------------*/
#middle {
	width: 100%;
	padding: 0 0 150px;
	height: 1%;
	position: relative;
}
#middle:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
#container {
	width: 100%;
	float: left;
	overflow: hidden;
display: inline;
}
#content {
	display: block;
	width: 570px;
	position: relative;
	background: #FFFFFF;
	min-height: 400px;
_height: 400px;
}


/* Sidebar Left
-----------------------------------------------------------------------------*/
#sideLeft {
	float: left;
	width: 192px;
	margin-left: -100%;
	margin-top:15px;
	position: relative;
display: inline;
}


#menu .sel {
outline: none;
text-decoration: none;
}

#sel2:hover {
	outline: none;
	text-decoration: none;
background:url('15-trans.png') no-repeat;
}

#menu li{
cursor:pointer;
height: 30px;
display:block;
font-weight:bold;
text-align:right;
}

#menu .lic{
background:url('9-trans.png') right no-repeat;
}

#lib:hover {	
outline: none;       
text-decoration: none;
background:url('14trans.png') no-repeat;
width: 175px;
height: 30px;
}

#lib {
background:url('13trans.png') no-repeat;
margin-left:8px;
height: 30px;
width: 175px;
padding: 5px;
}

#lib2 {
margin-left:8px;
width: 175px;
padding: 5px;
height: 30px;

}

#lib2:hover { 
background:url('14trans.png') no-repeat;
}

#menu a {
color: black;
outline: none;
text-decoration: none;
}

#menu pre {
padding:2px 15px;
font: 12px/18px Arial, Tahoma, Verdana, sans-serif;
font-weight:bold;
}

/*catalog*/
#maket {padding: 15px;}
 
.tditem{
    background-color:#F5F5F5;
    vertical-align: top;
    padding: 5px;    	
    text-decoration: none;

}
#leftcol { width: 320px; }
   
#catalogtitle {
	outline: none;
	background-color:#F5F5F5;
	padding:0 5px;
	margin:0 15px;
	text-decoration: none;
	width:530px;
	height: 20px;
}

#line {
	margin:0 10px;
	text-decoration: none;
	width:560px;	
}
#cataloglist { width: 100%;padding:0 10px;border-spacing: 2px}


.icount {
	width: 27px;
	height: 15px;
text-align:center;font-weight:bold;
position: relative;
float: left;margin-top: 6px;

}


#updown {
margin-top: 5px;
width:17px;
position: relative;	
}

#zakaz {
	position: relative;padding: 5px;
float: right;cursor:pointer;display: inline;
}
#nameitem {
padding: 5px 0;
}

#rtext {
padding: 5px 0;width: 45%;
float: left;
position: relative;
display:inline;
}

.linkcatalog{color: black;outline: none;text-decoration: none;cursor:pointer;}
.linkcatalog:visited{color: black;outline: none;text-decoration: none;cursor:pointer;}
.itemcatalog{padding: 0 20px;}
.subitemcatalog{padding: 0 40px;}

/* Footer
-----------------------------------------------------------------------------*/
#footer {
	margin: -130px auto 0;	
	background:#e5e5e5 url(2.jpg) repeat-x;
	position: relative;
	height: 140px;
        min-width: 800px;
}

#fcontent {
	width: 800px;
	margin: auto;	
	background:url(2.jpg) repeat-x;
	height: 100px;
	padding: 0px;
}

#footer1 {
	float: left;display: inline;
	width: 555px;
	height: 131px;
	background:url(4-trans.png) left no-repeat;
}

#footer2 {
	float: right;display: inline;
	width: 210px;
	height: 131px;
	background:url(5-trans.png) no-repeat;

}

#fphone {
	float: left;
	margin-top: 60px;
	margin-left: 10px;
	position: relative;
	_margin-top:60px /*для ie6*/
	
}

#fphone-text {
	float: left;display: inline;
	margin-top: 65px;
	padding: 0 10px;
 	display: inline;
	font-weight:bold;
	font-size:120%;
    	_margin-top:65px /*для ie6*/
}

#fmenu{
padding:50px 20px;
list-style:none;
width:420px;
}

#fmenu li{
cursor:pointer;
margin:0;
padding:0;
display:block;
font-weight:bold;
text-align:right;
float:left;display: inline;
width:130px;
}

#fmenu a {
	color: black;
	outline: none;
	text-decoration: none;
}

#fmenu a:hover {
	text-decoration: none;
}

#fmenu .fmenu10 {padding:0 10px}
#fmenu .fmenu90 {width:90px}



div.rounded {
    clear: both;
    width: 610px;
    margin: 0 175px auto;

    }
div.rounded div.top {
    background: url(tl.png) no-repeat bottom left;
    padding: 0;
    width: 100%
	}
div.rounded div.top div.right {
    background: url(tr.png) no-repeat bottom right;
    height: 20px;
    margin-left: 20px
	}
div.rounded div.middle {
    background: url(l.png) repeat-y left;
    clear: both;
    width: 100%
	}
div.rounded div.middle div.right {
    background: url(r.png) repeat-y right;
    margin-left: 20px
	}

div.rounded div.bottom {
    background: url(bl.png) no-repeat top left;
    clear: both;
    padding: 0;
    width: 100%
	}
div.rounded div.bottom div.right {
    background: url(br.png) no-repeat top right;
    height: 20px;
    margin-left: 20px
	}
.button {cursor: pointer;}
#card-rs {
    height: 212px;
    position: fixed;
    right: 0;
    top: 40%;
    width: 33px;
    z-index: 500;
}
.button {
	padding-left: 8px;
	display: inline-block;
	margin-right: 5px;
	background: url('../image/button_left.png') top left no-repeat;
	text-decoration: none;
	color:#FFF;
}
.button span {
	color: #FFF;
	display: block;
	padding: 4px 12px 5px 5px;
	background: url('../image/button_right.png') top right no-repeat;
}
.buttons {
	background: #F8F8F8;
	padding: 5px;
}
.buttons input {
	padding: 0px;
	margin: 0px;
}

tr.sub_cat_row td,
tr.parent_cat_row td,
tr.product_row_title td,
tr.product_row td {padding: 2px 0;}