/* для всего */
* { padding:0; margin:0;}
html, body { height:100%;}
body { background:#000d12; color:#fff; font:normal 100% "Arial Narrow", sans-serif; min-width:990px; height:auto !important; height:100%; min-height:100%;}
img { border:none;}
#body { height:auto !important; height:100%; min-height:100%; position:relative; z-index:1;

 /* background: url(/img/ny.jpg) 97% top no-repeat;*/ 
	} 

/* верх (абсолютный верх) */
#head { height:110px; position:absolute; top:0px; min-width:990px; width:100%;  z-index:2;}

	#logo { width:195px; padding:20px 25px 0 20px; float:left;}
	#logo a { float:left; position:relative; }
	#logo img { float:left; padding-right:15px;}
	#logo i { font-size:80%; font-style:normal; display:block; padding-top:.5em; margin-left:90px;}
	#head address {
	font-weight:bold; font-style:normal; white-space:nowrap; padding-top:1em; position:relative; height:30px; clear:left;
	font-size:14px; font-family:Tahoma;color: red; padding-top: 18px;
	margin-left: 30px;
	}
		#head address a { background: red; color: white !important; text-decoration: none; padding: 1px 3px; font-size: 80%; margin-left: 10px; font-family: "Arial";}

	#topmenu { margin-left:240px; height:60px; padding-bottom:20px; list-style:none;}
	#topmenu li { float:left; width:16%; overflow:hidden;}
	#topmenu a { display:block; padding:20px 20px 0 20px; border-left:1px solid #3e3e3e; color:#fff; text-transform:uppercase; text-decoration:none; height:40px; font-size:80%;}

	#top { margin-left:240px;}

	#search { display:block; margin-right:200px; background:#3e3e3e; _height:37px; overflow:hidden; position:relative; }
		#table { width:100%; float:left;}
		#search table td { vertical-align:middle; border:none; padding:0 10px 0 0; white-space:nowrap; }
		#first { padding-left:10px !important;}
		#long { width:100%;}
		.sword { height:17px; width:100%; border:none;}
		#search label { font-size:90%; font-weight:bold;}
		#search small { font-weight:normal; font-size:70%;}

	#cart { float:right; width:170px; font-size:90%; background:#cd1d44; }
		#cart .box { text-decoration:none; color:#fff; white-space:nowrap; position:relative; line-height:30px; height:30px; padding:0}
		#cart .a { background-image:url(/img/lines.gif); width:100%; height:100%;}
		#cart strong { font-weight:bold; text-transform:uppercase; }
		#cart img { padding-left:10px; line-height:30px; vertical-align:middle;}

/* основная структура, правый первый в коде */
#wrapper { clear:both; padding-top:160px; height:auto !important; height:100%; min-height:100%; }
#right { width:170px; min-height:550px; /*padding:20px 0; float:right;*/ padding:0 0 0 10px;}
	* html #right { height:550px;}
	#adright { float:right; clear:right;}
	.aright { display:block; min-height:30px; position:relative; padding:10px 10px 10px 45px; width:115px; background:#3e3e3e;
	color:#fff; text-decoration:none; font-size:80%; display:block; background-repeat:no-repeat; background-position:20px 10px;
	margin-top:20px; clear:right;}


	.arightt { display:block; min-height:30px; position:relative; padding:10px 10px 10px 20px; width:140px;
			background:#3e3e3e; color:#fff; text-decoration:none; font-size:14px; display:block;
			background-repeat:no-repeat; background-position:20px 10px; margin-top:20px; clear:right;}

	#icq { background:url(http://status.icq.com/online.gif?icq=417789513&img=5) no-repeat; padding-left:20px; }
	#icq1 { background:url(http://status.icq.com/online.gif?icq=396566105&img=5) no-repeat;padding-left:20px;}
	#icq2 { background:url(http://status.icq.com/online.gif?icq=499925474&img=5) no-repeat;padding-left:20px;}
	#price { background-image:url(/img/price_bg.gif); color:red;}

/* так поделена левая часть */
#left2 { /*margin-right:180px;*/ border-bottom:1px solid #000d12; overflow:hidden; height:100%; }
#index { /*float:left; width:99%;*/ height:100%; overflow:hidden; width:100%; }
	.i { width:120px; margin:10px 10px 10px 10px; line-height:1.5; font-size:90%; /*border-right:17px solid #000d12;*/ float:left;}
	.i div { margin:.5em 0; line-height:1.1; height:8.5em; overflow:hidden;}
	.i div i { font-style:normal; display:block; max-height:2.3em; overflow:hidden;} /* 2 строчки на префикс */
	.i div a { color:#FFA800; text-decoration:none; display:block; line-height:1.1; margin:.5em 0;  overflow:hidden;}
	.i strong { font-weight:normal; margin-bottom:.5em; display:block;}
	a.about {
		max-height:120px;
		width:120px;
		height:120px;
		background:#fff url(/img/corners.png) no-repeat;
		/* display:block; */
		display: table-cell;
		vertical-align: middle;
		-display: block;
	}


	.maintxt {
		font-size: 13px !important;
		color: rgb(203, 202, 202)  !important;
	}

	a.about img {
		padding:12px;
		display:block;
		width:96px;
		/*height:96px;*/
		height: auto;
		-margin-top: expression(this.parentNode.clientHeight/2-this.scrollHeight/2 + 'px');
	}

#many { /*margin-left:495px; *//*float:right;*/ overflow:hidden; height:100%;}
#many h1 { color:#7b7b7b; font-size:90%; font-weight:bold; text-transform:uppercase; text-decoration:none; line-height:25px; margin:0;}

/* левый последний в коде */
#left { width:480px; /*margin-right:-495px;*/ float:left; }
	.items { float:left; width:240px;}
	.items li { font-size:90%; position:relative; width:230px; list-style:none; display:block; margin-bottom:10px;}
	.items .a { background-image:url(/img/lines.gif);}
	.items a,	.items a:link,	.items a:visited,	.items a:active { font-weight:bold; text-transform:uppercase; color:#000; text-decoration:none; width:210px; position:relative; padding-left:20px; padding-right:5px; }
	.items ul { padding-top:5px;}
	.items ul li { white-space:normal; padding:0 10px 0 30px; width:190px; line-height:1; margin:3px 0 0 0;}
	.items ul a, .items ul a:link,.items ul a:visited,.items ul a:active{ font-weight:bold; text-transform:none; color:#fff; text-decoration:none; font-size:100%; padding:0;color:#fff;}
	.items ul a.a { color:#626262;}

	.adleft { clear:left; padding:20px 0; display:block; width:100%; overflow:hidden;}

	#manufs { clear:left; float:left; background:#3e3e3e; padding:10px 40px 10px 30px; position:relative; width:380px; margin-top:20px; }
	#manufs ul { display:block; line-height:1.5; overflow:hidden; height:100%; }
	#manufs li { border-right:1px solid #1f2628; padding:0 10px; margin:5px 0; list-style:none; font-size:90%; float:left; }
	#manufs a { color:#fff; text-decoration:none;}

/* футер с толкателем */
#xfoot { height:150px; clear:both; width:100%; position:relative;}
#foot { position:relative; margin-top:-150px; height:150px; /*padding-top:50px;*/ width:100%; overflow:hidden; z-index:4; }
#foot div { float:right; height:70px; padding:30px 40px 0 20px; border-left:1px solid #3e3e3e; font-size:80%; color:#fff;}
#foot div address { font-style:normal;}


/* круглые углы */
.box { position:relative; display:block; padding:5px 0; }
b.lt, b.rt, b.lb, b.rb { position:absolute; width:5px; height:5px; font-size:1px; background:url(/img/lt.png) no-repeat;}
b.lt, b.rt { top:0px;}
b.lb, b.rb { bottom:0px; _bottom:-1px;}
b.lt, b.lb { left:0px;}
b.rt, b.rb { right:0px;}
b.rt { background-image:url(/img/rt.png);}
b.rb { background-image:url(/img/rb.png);}
b.lb { background-image:url(/img/lb.png);}
b.r30 { display:none;}

b.fr { position:relative !important; float:right;}
b.fl { position:relative !important; float:left;}

.b5 { height:5px; font-size:1px; clear:both;}

/**
 *	внутренняя страница
 */

/* центр */
#item { /*margin-left:240px; float:right;*/ /*margin-left:240px;*/ overflow:hidden; height:100%;}
	#item h1 { color:#FFA800; font-size:130%; margin:15px 0; padding:0 20px; /*border-right:20px solid #000d12; border-left:20px solid #000d12;*/}

#bread { display:block; position:relative; line-height:20px; margin-bottom:9px; background:#fffc2b;}
	#bread a, #bread h1 { font-weight:bold; text-transform:uppercase; color:#000; text-decoration:none; font-size:100%; display:inline; margin:0; border:none;}
	#path { min-height:20px; clear:left; padding:0 20px; display:block;}

.graybar { display:block; position:relative; min-height:30px; line-height:30px; border-right:20px solid #000d12;
	padding-left:20px; margin-bottom:9px; background:#3e3e3e url(/img/r30.png) no-repeat 100%;}
	.graybar .r30 { background-color:#3e3e3e;}
	.graybar * { text-transform:uppercase; color:#fff; text-decoration:none; font-size:80%; font-weight:normal;}
	.graybar a { background:url(/img/larr.gif) no-repeat 0% 50%; padding-left:20px;}
	.graybar input { display:block; float:right; margin:5px 20px 5px 0;}

#desc { color:#b7b7b7; padding-bottom:15px; overflow:hidden; height:100%; }
	#desc ul { padding:1em 2em;}
	#desc li { padding-right:5px; }
	#desc h2 { font-size:110%; padding-top:1em;}
	#desc form { padding-bottom:1em;}
	#desc form strong { padding-right:1em; color:#fff;}

div.img { float:left; margin:0 1em .5em 0; position:relative; background:#fff;}
	div.img img { display:block; padding-right:10px; }
/* левое меню */
#left_in { /*width:240px; margin-right:-265px; float:left;*/ width:240px; /*float:left; */position:relative;}
	#left_in .items { float:none !important;}
	.items .box strong { display:block; width:100%; height:100%; background-image:url(/img/lines.gif);}

/**
 *	каталог
 */
#catalog { margin-left:240px; float:right;}

#filters { position:relative; line-height:1.2; font-size:80%; background-color:#3e3e3e;}
#fform { margin:0 141px 0 20px; padding:17px 0 36px 0; overflow:hidden; height:100%; }
	#fform div { float:left; margin-right:20px; white-space:nowrap;}
	#fform label { text-transform:uppercase; display:block; margin-bottom:2px;}
	#fform select {  }
	#fform div.select { display:block; height:auto; float:none; margin:0;}

#filter_submit { float:right; padding:36px 0; width:140px; text-align:center; border-left:1px solid #1f2628;}

#items { min-width:550px; margin:auto; overflow:hidden; height:100%; clear:both }
#topitems { min-width:280px; margin:auto;}

/* навигация */
.pages { background-color:#3e3e3e; position:relative; margin:10px 0;  color:#1f2628;	font-size:90%; height:30px; line-height:30px; background:#3e3e3e url(/img/r30.png) no-repeat 100%; padding-left:20px; text-transform:uppercase;}
	.pages .r30 { background-color:#3e3e3e;}
	.pages label { padding-right:10px; color:#fff;}
	.pages a, .pages b { font-weight:bolder; color:#fff; text-decoration:none; padding:0 5px;}

/* чистый clear */
.clear:after { content:"."; display:block; height:0; clear:both; visibility:hidden;}
	.clear { display:inline-block; width:100%;}

	/* Hides from IE-mac \*/
	* html .clear {height:1%;}
	.clear {display:block;}
	/* End hide from IE-mac */

/* щёдчеги */
#start_count { position:absolute; visibility:hidden;}

/* внудтренноцти */
body.mceContentBody { min-width:400px !important;}
* html body.mceContentBody { width:400px !important;}
.mceContentBody { margin-top:20px; margin-right: 15px; margin-left: 20px; font-family:Arial; font-size:90%; }
.mceContentBody a { color:#fff}
.mceContentBody p, .mceContentBody ul { margin-bottom:14px;}
.mceContentBody b, .mceContentBody strong { color:#fffe2d;}
.mceContentBody h2 { color:#0f0; font-size:110%; margin:0px 0px 10px 0px; }
.mceContentBody ul { margin-left:16px; }
.mceContentBody ol { margin-left:16px; margin-bottom:14px; line-height:1.4; }

/* оформление заказа */
.order { clear:left; }
.order label { display:block; float:left; clear:left; width:200px; margin:0 10px 5px 0; text-align:right;}
.order input, .order textarea, .order select { display:block; float:left; clear:right; width:265px; margin-bottom:3px;}
#send { clear:both; float:none; margin-left:210px;}

/* ошибка */
.error { color:#f00; font-weight:bolder;}

/* блоки */
.half { width:49%; float:left;}
.half .i { margin:auto;}

.quart { width:24.5%; float:left; margin-bottom:.5em;}
.quart .i { margin:auto;}

/* сопутствующие */
#often { padding:1em 0 0 1em;}
#often h2 { font-size:100%;}

/* нижние ссылки */
#botlinks { width:100px;}
#botlinks a { font-size:10px; text-decoration:none; color:#fff; display:inline;}

#ask td { vertical-align:top; padding-bottom:5px; }
#ask td input { width:300px; }

.buyButton {
	font-family: Arial;
	font-size: 12px;
	color: #ff3d3d !important;
	text-decoration: none !important;
}
	.buyButton img {
		margin-right: 7px;
		vertical-align: middle;
		width: 16px;
		height: 16px;
	}
	
.popup {
z-index: 200;
	position: absolute;
	-visibility: hidden;
	top: 50%;
	left: 50%;
	margin-top: -100px;
	margin-left: -200px;
	background-color: #3e3e3e;
	width: 400px;
	padding: 20px;
	border: white 4px solid 
}
.popup .close {
	position: absolute;
	right: 20px;
	top: 10px;
}

.popup a:link,.popup a:visited {
	color: grey;
	text-decoration: underline;
}
.popup .close a:link,.popup .close a:visited, .popup .close a{
	color: #FF0000;
}
.firstletter {
   text-transform: lowercase;;
} 
.firstletter:first-letter {
   text-transform: capitalize 
} 
