body {font: normal 12px Arial, Tahoma, Helvetica, sans-serif;}

h1,.h1 {
	margin:0 0 15px 0;
	padding:0;
	font-size:18px;
}
h2,.h2 {
	margin:0 0 10px 0;
	padding:0;
	font-size:14px;
}
h3,.h3 {
	margin:0 0 7px 0;
	padding:0;
	font-size:12px;
}
h1,h2,h3,.h1,.h2,.h3 {
	color:#000;
	font-weight:bold;
}

input,
select,
textarea {
    font: normal normal normal 12px Arial;
}

a {
	color:#00f;
	text-decoration:underline;
}
a:hover {text-decoration:none;}
a.dotted-link {
    text-decoration:none;
    border-bottom: 1px dotted #00f;
}
a.dotted-link:hover {
    text-decoration:none;
    border-bottom: 0px;
}
a img {border:0}
.link-external {
    padding-right:13px;
    background-image:url('/files/images/icon-link-external.gif');
    background-repeat:no-repeat;
    background-position:right center;
}

p {
	margin:0 0 15px 0;
	padding:0;
}


b {color:#E95E61}
.bold {font-weight:bold}
.nobr {white-space:nowrap}
.error {color:#b74602}
.comment {color:#999}
.success {color:green;}
.warning {color:#A52A2A;}
.notice {color: coral}
.deleted {
    color:#999;
    text-decoration:line-through;
}

form, form p, form div {
	margin:0;
	padding:0;
}
form {margin-bottom:20px}
form p {margin-bottom:10px}
form div {margin-bottom:3px}
form input, form select, form textarea {border:1px solid #232323}
form input {width:200px}
form textarea {width:500px}
form span.comment {
	font-size:11px;
	margin-left:20px;
}
input.image {
	width:auto;
	border:0;
}
input.checkbox {
	width:auto;
	border:0;
}
input.radio {
	width:auto;
	border:0;
	margin-right:5px;
}
input.small {width:50px}
select.small {width:53px}

label {cursor:pointer}

form input, form button, form div, form div img {vertical-align:middle}

table {
	margin:0 0 20px 0;
	border-color:#868686;
	border-style:solid;
	border-width:1px 0 0 1px;
}
table th {background:#d1d1d1}
table th, table td {
	padding:3px 5px;
	text-align:left;
	border-color:#868686;
	border-style:solid;
	border-width:0 1px 1px 0;
	vertical-align:middle;
}
table th.valign_top, table td.valign_top {vertical-align:top}
table.clrbrd, table.clrbrd th, table.clrbrd td {border:0}

.valign_middle,
.valign_middle img,
.valign_middle form,
.valign_middle input,
.valign_middle select {vertical-align:middle}




#consultant {margin:0 0 5px 0}
#consultant, #consultant td {border:0}
#consultant td {
	padding:0;
	vertical-align:top;
}
#consultant h2 {font-size:100%}
#consultant h2, #consultant p {
	margin:0;
	padding:0;
}
#consultant p, #consultant p img {vertical-align:middle}
#consultant #consultant_photo {
	margin:0 10px 0 0;
	border:1px solid #fff;
}



#add p {text-align:justify}
#add .box {
	padding:20px;
	background:#e7e7e7;
}
#add .boxw {
	padding:20px;
	background:#fff;
}
#add .colored {background:#868686; color:#fff;}
#add .colored a {color:#fff;}

#add .margin {margin:0 0 15px 0}
#add .nomargin {margin:0}
#add form {margin-bottom:0}



.products_row {
	width:623px;
	height:75px;
	margin:180px 0 40px -34px;
	position:relative;
	background:url('/files/images/polka.png') bottom left no-repeat;
}
.products_row_first {margin-top:155px}
.products_row_last {margin-bottom:55px}
.products_row .products {
	top:-140px;
	left:40px;
	right:40px;
	height:255px;
	position:absolute;
}
.products_row .products .product {
	width:170px;
	height:255px;
	position:relative;
}
.products_row .products .product.left {float:left}
.products_row .products .product.center {margin:0 auto}
.products_row .products .product.right {float:right}
.products_row .products .product .product_legend {
	left:-1px;
	width:100%;
	bottom:0;
	border:1px solid #93bc00;
	padding:5px 0;
	position:absolute;
	background:#fff;
}
.products_row .products .product .product_legend p {
	margin:0;
	padding:0 5px 0 25px;
}
.products_row .products .product .product_legend .product_zoom {
	top:5px;
	left:2px;
	position:absolute;
}
.products_row .products .product .product_legend .product_desc,
.products_row .products .product .product_legend .product_price {
	font-size:11px;
}
.products_row .products .product .product_legend .product_price {
	color:#b74602;
	font-weight:bold;
}
.products_row .products .product .product_legend form {
	margin:0;
	padding:0;
}
.products_row .products .product .product_legend form select {margin-right:5px}
.products_row .products .product .product_legend form p,
.products_row .products .product .product_legend form select,
.products_row .products .product .product_legend form button {vertical-align:middle}


#add #user_basket {
	/*padding-right:5px;
	padding-bottom:5px;*/
}
#add #user_basket:after {
	clear:both;
	height:0;
	content:'[DO NOT LEAVE IT IS NOT REAL]';
	display:block;
	visibility:hidden;
}
#add #user_basket .basket_product {
	width:70px;
	float:left;
	margin:0 15px 10px 0;
}
#add #user_basket .basket_product div {text-align:center}
#add #user_basket .basket_product div.basket_product_price {color:#d4383c}

#price {
 border: 1px solid #f31000; width:150px; padding:2px; text-align:center;
}


div.footnote_new, div.footnote_new_active {
  position: absolute;
  z-index: 10;
  display: none;
  width: 200px;
  font-size: 11px;
  padding: 3px;
  color: #666;
  background: #FBFBE5;
  border: 1px solid #C3C3C3
}
div.footnote_new_active { display: block }



.breadcrumb {
	margin:0;
	padding:0;
}
.breadcrumb h1 {display:inline}
.breadcrumb, .breadcrumb h1, .breadcrumb img {vertical-align:middle}


form#setPrices input {width:50px}
form#setPrices input.percent {width:33px}

/*
	всплывающаяя менюшка посредством списка.
	смотри пример: \admin\orders\orders_table.php
*/
.popup_from_ul ul {
	width: 100%;
}
.popup_from_ul ul, .popup_from_ul ul li ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}
.popup_from_ul ul li {
	position: relative;
	display: inline;
}
.popup_from_ul ul li ul {
	margin: 0px;
	width: 110px;
	display: none;
	position: absolute;
		top: 15px;
		right: -43px;
}
.popup_from_ul ul li ul li {
	padding: 0px;
	position: relative;
	text-align: right;
}
.popup_from_ul ul li ul li div{
	width: 110px;
	margin: 0px;
	padding: 0px;
	text-align: center;
	background: #959595;
}
.popup_from_ul ul li:hover ul{display: block;} /* the magic */


/* подсветка строк таблиц */
table.highlight .coloredcell { background-color: #ffc }
table.highlight tbody tr        td {}
table.highlight tbody tr:hover  td { background-color: #dfd }


.vis{
	display:block;
}

.unvis{
	display:none;
}
.first_page_link{
font-size:18px;
}
.num_page_not_link{
font-size:18px;
}

