body  {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
	background-color: #FFFFFF;
}
.main #container {
	width: 990px;
	text-align: left; /* this overrides the text-align: center on the body element. */
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	background-color: #FFFFFF;
} 


h1 {
	font-size: 22px;
	color: #4F4F4F;
}

.main #header {
	padding-top: 0px;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 10px;
	clear: both;
	background-color: #EBEBEB; 
} 
.main #header h1 {
	margin: 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}

/* Tips for sidebars:
1. Since we are working in percentages, it's best not to use side padding on the sidebars. It will be added to the width for standards compliant browsers creating an unknown actual width. 
2. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".main #sidebar1 p" rule.
3. Since Explorer calculates widths after the parent element is rendered, you may occasionally run into unexplained bugs with percentage-based columns. If you need more predictable results, you may choose to change to pixel sized columns.
*/
.main #sidebar1 {
	float: left; /* since this element is floated, a width must be given */
	width: 230px;
	background-color: #EBEBEB;
	margin-top: 10px;
}
.main #sidebar2 {
	float: right; /* since this element is floated, a width must be given */
	width: 160px; /* padding keeps the content of the div away from the edges */
	font-size: 10px;
	text-align: center;
	background-color: #EBEBEB; 
	margin-top: 10px;
}
.main #mainContent {
	margin-right: 165px;
	margin-left: 235px;
	padding-right: 10px;
	padding-left: 10px;
	padding-top: 10px;
	background-color: #FFFFFF; 
/*	background-color: #EBEBEB; */
/*	background-color: #FFFF00; */
	margin-top: 10px;
} 

.main #footer {
	padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:#DDDDDD;
	text-align: center;
} 
.main #footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}

/* Miscellaneous classes for reuse */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page The floated element must precede the element it should be next to on the page. */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain its child floats */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

/* Ñòèëè äëÿ ìàãàçèíà */

.shop_cart_table
{
	/* width: 100%; */
}

.shop_cart_table, .shop_cart_table td
{
	border-collapse: collapse;
	empty-cells: show;
	border: 1px solid #C8C0A9;
}

.shop_cart_table td, .shop_cart_table_title td
{
	padding-right: 10px;
	padding-left: 5px;
	height: 25px;
	vertical-align: middle;
}

.shop_cart_table td
{
	border-bottom: 1px solid #C8C0A9;
}

.shop_cart_table_title td
{
	background-color: #EAE4DF;
	font-weight: bold;
	height: 30px;
}

#error
{
	margin-top: 5px;
	margin-bottom: 5px;
	padding: 5px 5px 5px 25px;
	position: relative;
	font-size: 8pt;
	border-collapse: collapse;
	border: 1px #CA1D13 dashed;
	color: #CA1D13;
	background-color: #F2EDE9;
	background: url('error000.gif') no-repeat 5px 50%;
	width: 450px;
}

.price_table_border, .price_table_border td
{
	border-collapse: collapse;
	empty-cells: show;
	border-width:1px;
	border-color: #CCCCCC;
	border-style: dashed;
	padding-left: 5px;
}

/* Ñòðîêè ôèëüòðà è ñîðòèðîâêè */
.shop_block
{
	border: 1px solid #C6BEA7;
	background-color: #DED9CC;
	padding: 5px 7px;
	margin: 10px 5px 10px 0px;
}

.shop_block a
{
	position: relative;
	z-index: 2;
}

.arrow_up
{
	width: 16px;
	height: 16px;
	position: absolute;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/hostcmsfiles/images/arrow_up.png');
	z-index: 1;
}

.arrow_up_gray
{
	width: 16px;
	height: 16px;
	position: absolute;
	z-index: 1;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/hostcmsfiles/images/arrow_up_gray.png');
}

.arrow_down
{
	width: 16px;
	height: 16px;
	position: absolute;
	z-index: 1;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/hostcmsfiles/images/arrow_down.png');
}

.arrow_down_gray
{
	width: 16px;
	height: 16px;
	position: absolute;
	z-index: 1;
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/hostcmsfiles/images/arrow_down_gray.png');
}

.shop_navigation_table
{
	color: #AFA696;
	margin-top: 10px;
}

#shop_navigation, #shop_navigation_current
{
	padding: 5px;
	/* background-color: #F6F3F0; */
	font-size: 9pt;
}

#shop_navigation
{
	border: 1px solid #E0DCCA;
	color: #AFA696;
}

#shop_navigation_current
{
	border: 1px solid #B8B298;
	color: #433212;
}
/* END ñòèëè äëÿ ìàãàçèíà */
.main #container #header #left {
	float: left;
	width: 30%;
}
.main #container #header #right {
	width: 65%;
	float: right;
}

.main #advert_block {
	background:#DDDDDD;
	margin-top: 10px;
	margin-bottom: 10px;
	padding-top: 0;
	padding-bottom: 0;
	margin-right: 10px;
	margin-left: 10px;
}

img {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

