* { margin: 0; padding: 0; }

body { margin: 0; padding: 0; color: #000; background: #525252; font: 1em Arial; }

a { color: #0000c4; text-decoration: underline; }
a:hover { text-decoration: none; }
ul { margin: 10px 0 10px 20px; }
img { border: 0; }

.clear { clear:both; }

/* Layonts */
#container { margin: 0 auto; width: 980px; text-align: left; border: 10px solid #a1a1a1; }

#header { background: url("images/new/header1.jpg") top left no-repeat; width: 100%; height: 418px; overflow: hidden; }
#logo { float: left; width: 250px; height: 70px; }
#logo h1 { padding: 0; margin: 0; }
#logo h1 a { display: block; width: 250px; height: 70px; }
#logo h1 a span { display: none; }

/* Menu */
#menu { float: right; list-style: none; overflow: hidden; margin: 10px 80px 0 0; }
#menu ul { margin: 0; }
#menu li { float: left; padding: 0px 10px; color: #fff; list-style: none; border-left: 1px solid #fff; margin-left: -1px; }
#menu li a { font: 15px/16px Arial Narrow; color: #fff; text-decoration: underline; }
#menu li a:hover { color: #c4ad4d; }
#menu li.a a { color: #BB9B2C; }

h1 { 	font-size: 30px; font-family: Tahoma, Arial; color: #676755; text-decoration: none; }
h2 { 	font-size: 20px; font-family: Tahoma, Arial; color: #676755; text-decoration: none; }

/* Phones etc. */
#box { float: left; margin-top: 80px; margin-left: 325px; width: 120px; height: 55px; overflow: hidden; }
html>body #box { margin-top: 80px; margin-left: 330px; }
#box p { font: 11px/12px Arial; color: #fff; margin: 2px 0; }
#box p span { color: #f00; }
#box p.basket { float: left; margin-top: 10px; }
#box p.basket a { color: #fff; font: 12px Arial; text-decoration: underline; }
#box p.order { text-align: right; margin-top: 14px; }
#box p.order a { background: url("images/order.gif") no-repeat left 3px; color: #fff; padding-left: 12px; }

.dostavka { position: absolute; top: 380px; left: 54%; amargin: 370px 10px 0 540px; color: white; font-size: 18px; z-index: 500; width: 390px; height: 30px; }

/* Works */
#works { float: left; margin-top: 35px; margin-left: 265px; width: 330px; height: 120px; }
html>body #works { margin-top: 35px; margin-left: 530px; right: 115px; }
#works .offer { width: 100%; }
#works .offer .img { text-align: center; vertical-align: top; padding: 0 10px; }
#works .offer .img img { max-width: 140px; max-height: 100px; border: 2px solid #FF0000; }
#works .offer .text { text-align: center; font-size: 15px; vertical-align: top; }
#works .offer .offertitle { color: #9CD866; font-size: 22px; }
#works .offer .model a { color: #FFFFFF; }
#works .offer .price { text-align: center; font-size: 20px; color: red; vertical-align: bottom; padding: 0 10px; }
#works .offer .price .l { background: url("images/new/toppriceblock-l.gif") left top no-repeat; height: 32px; padding-left: 9px; }
#works .offer .price .r { background: url("images/new/toppriceblock-r.gif") right top no-repeat; height: 32px; padding-right: 9px; }
#works .offer .price .c { background: url("images/new/toppriceblock-c.gif") left top repeat-x; height: 32px; padding-top: 3px; }


/*
#works ul { list-style-type: none; margin: 0; }
#works li { float: left; margin-right: 15px; }
*/

/* Phones */
#phones { float: left; margin-top: 25px; margin-left: 60px; height: 60px; }
html>body #phones { margin-top: 25px; margin-left: 130px; }
#phones p { font: 28px/30px Mirad, Arial; color: #ceceb2; }
#phones p span { font-size: 14px; }


/* Content */
#content { width: 100%; overflow: hidden; abackground: #cdcdcc; background: #ffffff; }
#content h2 { font: 24px Tahoma; }
#content h2 a { color: #000; }
#content .left { float: left; width: 281px; }
#content .right { float: right; width: 699px; background: url("images/new/topblock-t.gif") top left no-repeat; padding-top: 20px; }
#content .right .al { background: url("images/new/topblock-t.jpg") top left no-repeat; }

/* Left column */

#content .left .search { float: left; background: url("images/new/newsblock-t1.gif") top left no-repeat; width: 281px; height: 109px; }
#content .left .search form { margin: 0; }
#content .left .search form div { padding: 20px 0 0 20px; }

#content .left .latest { float: left; abackground: url("images/new/newsblock-m1.gif") top left repeat-y; width: 281px; }
#content .left .latest .center { width: 170px; margin-left: 50px; }
#content .left .latest h2 { font: 30px Tahoma; color: #676755; }

#content .left .latest dl { color: #000; margin-top: 10px; }
#content .left .latest dl dt { color: #bdbda7; background: #676755; font: bold 10px Tahoma; padding: 2px 5px; width: 60px; }
#content .left .latest dl dd { font: 70% Tahoma; margin-bottom: 1.2em; }
#content .left .latest dl dd.link { margin: 5px 0 10px; }
#content .left .latest dl dd.link a { color: #0e4967; background: url("images/latest_link.gif") left no-repeat; padding-left: 15px; }

#content .left .articles { float: left; width: 260px; margin-top: 30px; }
#content .left .articles .center { width: 170px; margin-left: 50px; }
#content .left .articles h2 { font: 30px Tahoma; color: #8d8c78; border-bottom: 1px solid #8d8c78; }

#content .left .articles dl { color: #000; margin-top: 10px; }
#content .left .articles dl dt { color: #bdbda7; background: #676755; font: bold 10px Tahoma; padding: 2px 5px; width: 60px; }
#content .left .articles dl dd { font: 70% Tahoma; margin: 10px 0; }
#content .left .articles dl dd a { color: black; }


/* Right */
#content .right .top { height: 200px; }

#content .left .catalog { padding: 10px 5px 10px 20px; background: url("images/new/newsblock-m1.gif") top left repeat-y; width: 256px;  }

#content .catalog h1, #content .catalog h1 a { 	font-size: 30px; font-family: Tahoma, Arial; color: #676755; text-decoration: none; }
#content .catalog h2, #content .catalog h2 a { 	font-size: 20px; font-family: Tahoma, Arial; color: #676755; text-decoration: none; }
#content .catalog h1 a:hover, #content .catalog h2 a:hover { text-decoration: underline; }
#content .catalog h1 a:hover, #content .catalog h2 a:hover { text-decoration: underline; }

#content .left .bottom { float: left; background: url("images/new/newsblock-b1.gif") bottom left no-repeat; width: 281px; height: 9px; }

#content .left .catalog ul { margin: 10px 0 10px 10px; list-style-type: none; }
#content .left .catalog ul li { font: 15px Tahoma; padding-left: 15px; background: url('images/new/squarebullet.gif') left 6px no-repeat; }
#content .left .catalog ul a { color: #000000; }
#content .left .catalog ul li.current a { color: #FF0000; }

#content .left .ar { }
#content .left .lk { }
#content .left .pn { }
#content .left .kn { }

#content .left .ar a { color: red; }
#content .left .lk a { color: #0000c4; }
#content .left .pn a { color: black; }
#content .left .kn a { color: #30c430; }

#content .right .pop { float: right; width: 250px; margin-top: 10px; }

/*
	Posts
*/

#content .posts {
	float: left;
	/* width: 709px; <- changed by snowman */
	width: 100%;
	overflow: hidden;
	margin: 10px 0 0;
}

#content .posts .post {
	/*margin-left: 60px; <- changed by snowman */
	margin: 0 25px;
/*	margin-left: 50px;*/
}

#content .posts .post .l, #content .posts .post .r, #content .posts .post .r1 {
	float: left;
	width: 29%;
	margin-right: 3%;
  text-align:justify; /* <- changed by snowman */
}

/* 
#content .right .posts .post .r {
	float: left;
	width: 47%;
}
*/

#content .posts h2 {
	font: 30px Tahoma;
	color: #8d8c78;
	margin-top: 7px; /* <- changed by snowman */
	margin-bottom: 20px;
}

#content .posts h2 a {
	color: #8d8c78;
}

#content .posts p {
	font: 90% Tahoma;
	margin: 10px 0;
}

.post #p-img, .posts #p-content, .posts #p-right { margin: 1.2em 0; }
.post #p-img { width: 45%; float: left; text-align: center; }
.post #p-img img { border: 4px solid #aeac9d; max-width: 300px; }
.post #p-right dl { width: 50%; float: right; font: .8em Tahoma; margin-right: 5px; }
.post #p-right  dl dd { font-weight: bold; margin-bottom: 5px; }
.post #p-right  dl dt.price { display: none; }
.post #p-right  dl dd.price { color: #c40000; font: bold 1.4em Tahoma; }
.post #p-right  dl dd.price small { color: #000; }
.post #p-content ul { margin-left: 20px; }
.post #p-content ul li { padding-left: 18px; background: url("array_red.gif") 0 .4em no-repeat; }

.post #p-content dl { margin: 1.2em 0 1.2em 20px; width: 90%; }
.post #p-content dl dt { width: 10em; float: left; clear: both; margin: .2em 0; }
.post #p-content dl dd { width: 55%; float: left; margin: .2em 0; }


#content .right .posts h1, #content .right .posts h2, #content .right .posts h3, #content .right .posts h4 { font: 30px Tahoma; color: #8d8c78; margin-bottom: 20px; }
#content .right .posts h2  { font: 1.3em Tahoma; }
#content .right .posts h3  { font: 1.3em Tahoma; }
#content .right .posts h2 a { color: #8d8c78; }

#content dl.articles { margin-top: 1.2em; }
#content dl.articles dt { font: 1.4em Tahoma; margin-bottom: .4em; }
#content dl.articles dd { font: 1em Tahoma; padding-left: 18px; margin: .4em 0; }
#content dl.articles dd span { font: .8em Tahoma; }

#content dl#news { margin: 1.2em 0; }
#content dl#news dt { font-size: .8em; font-weight: bold; color: #626262;}
#content dl#news dd { margin-bottom: 1.3em; font: .8em/1.3em Tahoma; }
#content dl#news dd h3 { margin: .3em 0; }

#content .product-new  { width: 43%; float: left; margin-right: 5%; margin: 1.2em 0; border-left: 1px dotted #F8F8F8; }
#content .product-new .desc { min-height: 150px; }
#content .product-new  .img  { float: left; border: 4px solid #aeac9d; margin-right: 5px; max-width: 120px; max-height: 120px; }
#content .product-new  .img table { width: 120px; height: 120px; max-width: 120px; max-height: 120px; border-collapse: collapse; }
#content .product-new  .img table td { width: 120px; height: 120px; text-align: center; vertical-align: middle; padding: 0; }
#content .product-new  img { max-width: 120px; max-height: 120px; awidth: 120px; }
#content .product-new  dl { width: 50%; float: left; font: .8em Tahoma; overflow: hidden; }
#content #posts .product-new  dl { width: 50%; float: right; font: .8em Tahoma; }
#content .product-new  dl dd { font-weight: bold; margin-bottom: 5px; }
#content .product-new  dl dt.price { display: none; }
#content .product-new  dl dd.price { color: #c40000; font: bold 1.4em Tahoma; }
#content .product-new  dl dd.price small { color: #000; }

div.progress-message { position:absolute; left:49%; top:560px; display:none; text-align:center; color:#AA6666; background-color:white; border:2px solid #C4A32F; width:200px; font-size:14px; }

#content .pagebar { min-width: 395px; }
#content .pagebar table { margin-left: 25%; }
#content .pagebar .digit { float: left; padding: 2px 3px; width: 20px; text-align: center; }
#content .pagebar .digit a { font-size: 10pt; }
#content .pagebar .currentdigit { float: left; width: 20px; padding: 2px 3px; font-size: 10pt; color: black; text-align: center; font-weight: bold; }

.post #reg { abackground: url(/images/internal.reg.bg.jpg) bottom right no-repeat; width: 90% }
.post dl.registration { margin: 1.2em 0 1.2em 20px; width: 90%; }
.post dl.registration dt { width: 10em; float: left; clear: both; margin: .4em 0; padding: .4em .6em 0 0; font: .8em Tahoma; text-align: right; }
.post dl.registration dd { width: 55%; float: left; margin: .4em 0; }
.post dl.registration dd input.error, .post dl.registration dd textarea.error { color: red; border: 1px solid #cc0000; }
.post dl.registration dd input { border: 1px solid #33cc00; width: 100%; padding: 0 .2em; }
.post dl.registration dd textarea { border: 1px solid #33cc00; width: 100%; padding: 0 .2em; }
.post dl.registration dd.n input, .post dl.registration dd.n textarea { border: 1px solid #cc0000; }

.post .key { width: 67%; text-align: right; padding-top: 1.2em; }
.post .key  a { font: bold 14px Tahoma; margin-left: 10px; padding-left: 18px; }

#content .right .posts table.catalog td { padding: 10px 50px; text-align: left; vertical-align: top; }
#content .right .posts table.catalog td h2 { margin: 5px; }


#content .right .posts p { font: 90% Tahoma; margin: 10px 0; }
#content .right .posts ul { list-style: none; }
#content .right .posts ul li.end { padding-top: 1.2em; }

#content .basket-item { margin: 30px 0; font: .8em Tahoma; min-height: 108px; }
#content .basket-item  .top-r { margin: -1px; background: url("basket.top.right.gif") right top no-repeat; border: none; }
#content .basket-item  .top-l { margin: 0; background: url("basket.top.left.gif") left top no-repeat; border: none; }
#content .basket-item  .bottom-l { background: url("basket.bottom.left.gif") left bottom no-repeat; border: none; position: relative; }
#content .basket-item  .bottom-r { background: url("basket.bottom.right.gif") right bottom no-repeat; border: none; position: relative; }

#content .basket-img { width: 100px; padding: 10px; float: left; }
#content .basket-img img { width: 100px; height: 100px; border: 4px solid #aeac9d; }

#content .basket-desc { width: 30%; padding: 10px; float: left; }
#content .basket-desc  dl { width: 90%; }
#content .basket-desc dl dd { font-weight: bold; margin-bottom: 5px; }
#content .basket-desc  dl dt.price { display: none; }
#content .basket-desc  dl dd.price { color: #c40000; font: bold 1.4em Tahoma; }
#content .basket-desc  dl dd.price small { color: #000; }

#content .basket-amount { width: 20%; padding: 10px; float: left; }
#content .basket-amount div { margin: .6em 0; }
#content .basket-amount input { margin-right: .2em; width: 2em; border: 1px solid #8c8c78; font: 1.8em Tahoma; text-align: right; padding: 0 .2em; }

#content .basket-sum { width: 20%; padding: 10px; float: left; }
#content .basket-sum div { margin: .6em 0; }
#content .basket-sum big { font-size: 1.6em; }
#content .basket-sum a { padding-left: 0; }

#content .basket-itog { width: 90%; border-top: 1px solid #8c8c78; font: .8em Tahoma; }
#content .basket-itog button { font: 1em Tahoma; }
#content .basket-itog .b-1 { width: 82px; padding: 10px; float: left; margin-top: .1em; }
#content .basket-itog .b-2 { width: 30%; padding: 10px 28px 10px 10px; float: left; }
#content .basket-itog .b-2 a { font: bold 14px Tahoma; background: url(array2.gif) left no-repeat; padding-left: 18px; }
#content .basket-itog .b-3 { width: 27%; padding: 10px 0 10px 20px; text-align: right; float: left; }
#content .basket-itog .b-4 { width: 10%; padding: .2em 0px; float: left; color: #c40000; font: bold 1.3em Tahoma; }
#content .basket-itog .b-4 small { color: #000000; }


/* Tables */
#content .right .posts .table {
	background: #8C8C78;
	margin: 0;
	font: 70% Tahoma;
}

#content .right .posts .table th {
	background: #cdcdcc;
	padding: 5px;
	color: #1c6d97;
}

#content .right .posts .table tr {
	background: #cdcdcc;
}

#content .right .posts .table td {
	padding: 5px;

}

/*
	Footer
*/

#footer {
	float: left;
	width: 100%;
	background: #cdcdcc;
	margin-top: 20px;
}

#footer .l {
	float: left;
	width: 300px;
	background: url("images/footer_left.gif") top repeat-x;
}

#footer .r {
	float: left;
	width: 680px;
	background: url("images/footer_right.gif") top repeat-x;
}

#footer .copy {
	float: left;
	width: 500px;
}

#footer .right {
	float: right;
	width: 150px;
}

#footer p {
	color: #5d5d5d;
	font: 10px/12px Tahoma;
	margin: 20px 10px 10px 10px;
}

#footer a {
	color: #1c6d97;
}