html,body {height:100%;margin:0}

a
{
  text-decoration: none;
  color: #3A3A3A;
}
a:hover
{
  text-decoration: underline;
}
a.b
{
  text-decoration: underline;
  color: blue;
}
a.menu
{
text-decoration: none;
font-family: tahoma;
font-size: 12px;
font-weight: bold;
color: #3A3A3A;
}
a.menu:hover
{
text-decoration: underline;
font-family: tahoma;
font-size: 12px;
font-weight: bold;
color: #3A3A3A;
}
a.menu:visited
{
font-family: tahoma;
font-size: 12px;
font-weight: bold;
color: #3A3A3A;
}

a.submenu
{
text-decoration: none;
font-family: tahoma;
font-size: 11px;
font-weight: bold;
color: #3A3A3A;
}
a.submenu:hover
{
text-decoration: underline;
font-family: tahoma;
font-size: 11px;
font-weight: bold;
color: #3A3A3A;
}
a.submenu:visited
{
font-family: tahoma;
font-size: 11px;
font-weight: bold;
color: #3A3A3A;
}

div.float-break { clear: both; }

td
{
font-family: tahoma;
font-size: small;
color: #6A6A6A;
}

a.more:visited
{
color: #FF0000;
font-family: tahoma;
font-size: 11px;
font-weight: bold;
}
a.more:hover
{
color: #FF0000;
font-family: tahoma;
text-decoration: underline;
font-size: 11px;
font-weight: bold;
}
a.footer
{
color: #585858;
text-decoration: none;
font-family: tahoma;
font-size: 12px;
font-weight: bold;
}
a.footer:visited
{
color: #585858;
font-family: tahoma;
font-size: 12px;
font-weight: bold;
}
a.footer:hover
{
color: #585858;
text-decoration: underline;
font-family: tahoma;
font-size: 12px;
font-weight: bold;
}

a.header
{
color: #585858;
color: #f8f8f8;
text-decoration: none;
font-family: tahoma;
font-size: 16px;
font-weight: bold;
}
a.gheader
{
color: #585858;
text-decoration: none;
font-family: tahoma;
font-size: 16px;
font-weight: bold;
}
a.header:hover
{
color: #ff6600;
text-decoration: underline;
font-family: tahoma;
font-size: 16px;
font-weight: bold;
}

a.order
{
color: #ff6600;
text-decoration: none;
font-family: tahoma;
font-size: 16px;
font-weight: bold;
}
a.order:hover
{
color: #ff6600;
text-decoration: underline;
font-family: tahoma;
font-size: 16px;
font-weight: bold;
}

a.uadesign
{
color: #ffffff;
text-decoration: none;
font-family: tahoma;
font-size: 11px;
font-weight: normal;
}
a.uadesign:visited
{
color: #ffffff;
font-family: tahoma;
font-size: 11px;
font-weight: normal;
}
a.uadesign:hover
{
color: #ffffff;
text-decoration: underline;
font-family: tahoma;
font-size: 11px;
font-weight: normal;
}
.title
{
text-decoration: none;
color: #3A3A3A;
font-size: 12px;
font-weight: 900;
}
.title:hover
{
text-decoration: underline;
color: #3A3A3A;
font-size: 12px;
font-weight: 900;
}
.input
{
  background-color: #ffffff;
  border: solid 1px #cccccc;
  font-size: 12px;
}

.bascount
{
	background-color: white;
	border: none;
	width: 35px;
	text-align: center;
	font-size: small;
	font-family: tahoma;
}

.bassum
{
	background-color: white;
	border: none;
	width: 80px;
	text-align: center;
	font-size: small;
	font-family: tahoma;
}

a.title
{
	text-decoration: none;
	font-family: tahoma;
	font-size: 12px;
	font-weight: bold;
	color: #ffffff;
}
a.title:hover
{
	text-decoration: underline;
	font-family: tahoma;
	font-size: 12px;
	font-weight: bold;
	color: #ffffff;
}
td.header {
	background-position: right bottom; 
	background-repeat: repeat-y;
}
.dis {
	color: black;
	font-weight: bolder;
	text-decoration: underline;
	font-size: 1.2em;
}
.pcode {
	border-bottom: solid 1px #cccccc;
	color: #2c2c2c;
}

table#zebred tr:hover, table.zebred tr:hover {background-color: #d2d2d2;}

a.vendorlist img {
	box-shadow: 5px 5px 5px #ccc;
}
a.vendorlist {
	text-shadow: 2px 2px 2px #ccc;
}

.allvendors .series {
	font-size: 0.8em;
	padding-left: 10px;
}
.bold {
	font-weight: bold;
}
.red {
	color: red;
}

	div.articles {
		padding: 20px;
	}
	div.articles ul {
		padding-left: 0px;
	}
	div.articles > ul {
		padding: 20px;
	}
	div.articles ul li {
		list-style: none;
		padding-left: 12px;
		padding-top: 5px;
	}
	div.articles ul li.close {
		background: url(/images/plus.png) 3px 11px no-repeat;
	}
	div.articles ul li.open {
		background: url(/images/minus.png) 3px 11px no-repeat;
	}
	div.articles ul li.load {
		background: url(/images/loading_small.gif) -1px 7px no-repeat;
	}
	/*div.articles ul li.open > ul {
		display: block;
	}
	div.articles ul li > ul {
		display: none;
	}*/

	div.articles ul li span:hover {
		text-decoration: underline;
	}
	th.header { 
		background-image: url(/img/ts-bg.gif);     
		cursor: pointer; 
		background-repeat: no-repeat; 
		background-position: center right; 
		padding: 0px 22px 0px 5px;
	} 
	th.headerSortUp { 
		background-image: url(/img/ts-asc.gif);
	}
	th.headerSortDown { 
		background-image: url(/img/ts-desc.gif);
	}

a.dp-choose-date {
	float: left;
	width: 16px;
	height: 16px;
	padding: 0;
	margin: 5px 3px 0;
	display: block;
	text-indent: -2000px;
	overflow: hidden;
	background: url(/img/calendar.png) no-repeat; 
}
a.dp-choose-date.dp-disabled {
	background-position: 0 -20px;
	cursor: default;
}
input.dp-applied {
	/*width: 140px;*/
	float: left;
}

#multimonth {
	border: 2px solid #000;
	overflow: auto;
	float: left;
}
.dp-applied {
	float: left;
}
table.jCalendar {
	border: none;
}
.dp-popup-inline {
	height: 160px;
}

/* jQuery dialog */
div#jqd { display: none; vertical-align: middle; }

.ui-dialog-title {
	font-size: 0.8em;
}

.group_materials:hover span {
	
}
.group_materials:hover span {
	/*text-decoration: underline;
	cursor: pointer;*/
}

.group_materials a.delete {
	visibility: collapse;
}
.group_materials:hover a.delete {
	visibility: visible;
}

ul.admin-tasks {
	list-style: none;
}
ul.admin-tasks li {
	margin-top: 5px;
	padding: 2px;
	background-color: #fff;
	-o-transition: all .1s ease;  /* Opera 10.5+ */
	transition: all .1s ease;
	-webkit-transition: all .1s ease;
}
ul.admin-tasks li:hover {
	background-color: #ddd;
}
ul.admin-tasks li img {
	margin-right: 7px;
	position: relative;
	top: 3px;
}

.news {
	margin-top: 10px;
	width: 500px;
	color: black;
}

.news img {
	margin: 15px;
}

.news .title {
	font-weight: normal;
	margin-top: 15px;
	font-size: 1.1em;
}
.news .title:hover {
	text-decoration: none !important;
}
.news .title span {
	color: #cc7000;
	padding: 0px 2px 0px 4px;
}

.news .body a {
	text-decoration: underline;
	color: blue;
}

.news .body{
	font-weight: normal;
	margin-top: 5px;
}

.news .blocktitle {
	font-weight: bold;
	font-size: 1.2em;
}

.news .list ul {
	list-style: none;
	padding: 0;
	margin-top: 40px;
}
.news .list ul li {
	padding-left: 20px;
}
.news .list ul .current {
	padding-left: 20px;
	font-weight: bold;
}

.news .list li span {
	color: #cc7000;
	padding: 0px 2px 0px 4px;
}

.news .edit {
	text-align: right;
}

.news .pager {
	text-align: center;
}

.news .pager .current {
	font-weight: bold;
}

.newsedit {
	width: 800px;
}
.newsedit table {
	width: 800px;
}

.newsedit tr td:first-child {
	vertical-align: top;
	text-align: right;
}

.newsedit .buttons, .newsedit .blocktitle {
	text-align: center !important;
}

.newsedit .blocktitle {
	padding-top: 15px;
	padding-bottom: 5px;
	font-size: 1.2em;
	font-weight: bold;
}

.news-mini {
	text-align: left;
	font-size: 0.9em;
	width: 180px;
}

.news-mini .blocktitle {
	text-align: center;
	font-weight: bold;
}

.news-mini ul {
	padding: 0;
	list-style: none;
}

.news-mini li {
	padding-top: 10px;
	margin: 0;
}

.news-mini li span {
	font-size: 0.9em;
	color: #cc7000;
}

.news-mini .more {
	text-align: right;
}

.ui-widget {
	font-size: 1em;
}

.apager {
	font-size: 1.2em;
	font-weight: bolder;
}

.apager b {
	background-color: #ddd;
	padding: 3px;
}

h3.actionselect a.active {
	text-decoration: underline;
}

.actionselect a {
	background-color: #ffff77;
	padding: 2px 10px 2px 10px;
	border-radius: 3px 3px 0 0;
}
.actionselect a.active {
	background-color: #ff7f00;
	color: #ffffff;
}

ul.actionlist {
	list-style-type: none;
	padding: 0px;
	margin-left: 0px;
}
ul.actionlist li {
	display: inline-block;
	padding: 6px;
	margin-bottom: 15px;
	border-radius: 6px 6px 0 0;
}
ul.actionlist li div.actiontitle {
	padding: 6px;
	font-size: 16px;
	font-weight: bold;
	color: black;
}
ul.actionlist li div.actiondescr {
	float: left;
	color: black;
	/*background-color: #e7e7e7;*/
	margin-left: 15px;
	padding: 6px;
	width: 400px;
	max-width: 400px;
	/*min-height: 100px;*/
}
ul.actionlist li div.actiontime {
	float: left;
	padding: 6px 6px 6px 16px;
}

/* поле 3х3 с иконками на главной */
table#cat_grid { margin-top: 40px; }
table#cat_grid td {	width: 33%; }
table#cat_grid td a {	text-align: center; }
table#cat_grid td a { font-size: 1.2em; font-weight: bold; display: block; }
table#cat_grid td a div { width: 100%; height: 90px; background-position: bottom; background-repeat: no-repeat; }

table#cat_grid td a div div { visibility: hidden; background-position: bottom; background-repeat: no-repeat; }
table#cat_grid td:hover a div div { visibility: visible; }

table#cat_grid td a div#ci_posuda     { background-image: url(/site/img/cat/posuda2gr.jpg); }
table#cat_grid td a div#ci_posuda div { background-image: url(/site/img/cat/posuda2.jpg); }
table#cat_grid td a div#ci_ktool      { background-image: url(/site/img/cat/ktoolgr.jpg); }
table#cat_grid td a div#ci_ktool  div { background-image: url(/site/img/cat/ktool.jpg); }
table#cat_grid td a div#ci_strmat     { background-image: url(/site/img/cat/strmat2gr.jpg); }
table#cat_grid td a div#ci_strmat div { background-image: url(/site/img/cat/strmat2.jpg); }
table#cat_grid td a div#ci_otd        { background-image: url(/site/img/cat/otdgr.jpg); }
table#cat_grid td a div#ci_otd    div { background-image: url(/site/img/cat/otd.jpg); }
table#cat_grid td a div#ci_instr      { background-image: url(/site/img/cat/instrgr.jpg); }
table#cat_grid td a div#ci_instr  div { background-image: url(/site/img/cat/instr.jpg); }
table#cat_grid td a div#ci_lk         { background-image: url(/site/img/cat/lk4gr.jpg); }
table#cat_grid td a div#ci_lk     div { background-image: url(/site/img/cat/lk4.jpg); }
table#cat_grid td a div#ci_hoz        { background-image: url(/site/img/cat/hozgr.jpg); }
table#cat_grid td a div#ci_hoz    div { background-image: url(/site/img/cat/hoz.jpg); }
table#cat_grid td a div#ci_gorsh      { background-image: url(/site/img/cat/gorshgr.jpg); }
table#cat_grid td a div#ci_gorsh  div { background-image: url(/site/img/cat/gorsh.jpg); }
table#cat_grid td a div#ci_decor      { background-image: url(/site/img/cat/decorgr.jpg); }
table#cat_grid td a div#ci_decor  div { background-image: url(/site/img/cat/decor.jpg); }

div.actions-container {
	border: 0px solid red;
	margin-left: 30px;
	height: 55px;
	margin-top: 30px;
	vertical-align: middle;
}
div.action-container {
	display: inline-block;
	border: 0px solid black;
	height: 100%;
	margin-left: 30px;
	float: left;
  width: 12%;
	background-color: #c00;
	overflow: hidden;
	padding: 2px;
}
div.action-sale {
	background-color: #ff7f00;
}
div.action-wholesale {
	background-color: #090;
}
div.firsta {
	margin-left: 10%;
	vertical-align: middle;
}
div.action-item {
	border: 0px solid black;
	width: 100%;
	height: 99%;
}
div.action-item table {
	height: 53px;
	width: 100%;
}
div.action-item table td {
	font-size: 0.8em;
	text-align: center;
}
div.action-item a {
	color: white;
}
div.action-item a span {
	font-weight: bold;
}

#compare-small {
	font-family: tahoma;
	font-size: 12px;
	text-align: left;
}
#compare-small div.do {
	text-align: right;
	padding-right: 20px;
}
#compare-small div.h {
	margin: 5px;
	text-align: center;
	font-weight: bold;
}
#compare-small ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
#compare-small ul li {
	width: 180px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}
#compare-small ul li a {
	display: block;
	width: 14px;
	height: 18px;
	background-image: url(/images/icon-cross-bw.png);
	background-repeat: no-repeat;
	float: left;
}
#compare-small ul li a:hover {
	background-image: url(/images/icon-cross-color.png);
}

.compare img {
	max-width: 120px;
	max-height: 140px;
}
.compare table {
	text-align: center;
}
.compare table tr td {
	max-width: 140px;
	overflow: hidden;
}
.compare table tr.price {
	font-weight: bold;
}
.compare table tr.descr td {
	font-size: 0.8em;
	font-style: italic;
}
.compare table tr.descr td {
	padding: 10px;
}
.compare .tobasket {
	color: black;
}
.compare .remove {
	background-image: url(/images/icon-cross-bw.png);
	background-repeat: no-repeat;
	padding-left: 14px;
	font-size: 11px;
}

.prod_list {
	border: 0px;
	border-collapse: collapse;
}
.prod_list tr.prod_list_item td {
	border-bottom: 1px solid #eee;
}
.prod_list tr.prod_list_item:hover td {
	background-color: #fffff4;
}
.prod_list .prod_list_item .tobasket {
	color: black;
}
.prod_list .prod_list_item .tocompare {
	font-size: 0.8em;
}
.ui-tooltip-content {
	font-size: 12px;
}
#search-adv-sw {
	margin-top: 5px;
}
#search-adv-sw span {
}
#search-adv-sw span:hover {
	text-decoration: underline;
}
tbody.search-adv-0 {
	display: none;
}
tbody.search-adv-1 {
	display: table-row-group;
}
div.search-adv-0 span.off {
	display: none;
}
div.search-adv-1 span.on {
	display: none;
}
.search_mini {
	padding: 3px;
	width: 170px;
	margin-left: 3px;
}
.search_mini div {
	text-align: center;
	width: 160px;
}
.search_mini .si {
	width: 120px;
	border-width: 1px;
	border-color: #ccc;
	border-style: solid;
	margin-left: 15px;
	padding-left: 2px;
	padding-bottom: 1px;
}
.search_mini .sb {
	text-indent: -9999em;
	background: transparent url(/img/isearch.jpg) no-repeat center top;
	border: 0;
	width: 17px;
}

	td.catgroup span.subgroups {
		display: none;
		position: absolute;
		background-color: #eee;
		padding: 5px;
		border-radius: 0 5px 5px 5px;
		min-width: 320px;
		border: 1px solid #aaa;
	}
	td.catgroup div.l1 a {
		font-weight: bold;
	}
	td.catgroup div.l1 {
		padding: 1px 5px 1px 10px;
	}
	td.catgroup div.haschild {
		background-image: url(/images/plus.png);
		background-repeat: no-repeat;
		background-position: 3px 6px;
	}
	td.catgroupa:hover div.haschild {
		background-image: url(/images/minus.png);
		background-position: 2px 5px;
		border-radius: 5px 5px 0 0;
		padding: 0px 4px 0px 9px;
		border: 1px solid #aaa;
		border-bottom: 0px;
	}
	td.catgroup-open div.haschild {
		background-image: url(/images/minus.png);
		background-position: 2px 5px;
		border-radius: 5px 5px 0 0;
		padding: 0px 4px 0px 9px;
		border: 1px solid #aaa;
		border-bottom: 0px;
	}
	td.catgroup:hover div.l1 {
		background-color: #eee;
	}
	/*td.catgroup-open div.l1 {
		background-color: #eee;
	}*/
	td.catgroup div.l1 span.count {
		font-size: 0.6em;
		padding-left: 3px;
		font-weight: normal;
	}
	td.catgroupa:hover span.subgroups {
		display: block;
	}
	td.catgroup-open span.subgroups {
		display: block;
	}
	td.catgroup span.subgroups a {
		text-decoration: none;
		color: #666;
	}
	td.catgroup span.subgroups a:hover {
		text-decoration: underline;
		color: #000;
	}
	#prod_count {
		text-align: right;
	}
	
#basket_info {
	color: white;
}
.empty#basket_cell #basket_info {
	display: none;
}
#basket_cell #basket_empty {
	display: none;
}
.empty#basket_cell #basket_empty {
	display: inline;
}

div#newmag {
	width:871px; height:590px; margin:-280px 0 0 -435px;top:50%;left:50%;position:absolute;
	border: 1px solid #eee;
	display: none;
  /*background: green; /* обязательно для ie */
  -webkit-box-shadow: 0px 0px 35px #000;
  -moz-box-shadow: 0px 0px 35px #000;
  box-shadow: 0px 0px 35px #000;
}

.catalog .pager a { display: inline-block; width: 20px; height: 20px; border-radius: 3px; border: solid #ccc 1px; text-align: center; text-decoration: none; line-height: 18px; }
.catalog .pager a.all { width: 30px; }
.catalog .pager a:hover { background-color: #eee; }
.catalog .pager a.active { background-color: #ddd; }

table.top_sales { float: left; padding-top:20px; padding-left:30px;}
table.top_sales thead tr th.title { text-align: left; font-size: 1.2em; padding-bottom: 10px; }
table.top_sales tbody td { padding-left: 10px; padding-right: 10px; padding-bottom: 2px; padding-top: 2px; }
table.top_sales tbody tr:nth-child(odd) { background-color: #eee; }
table.top_sales tbody > tr:hover { background-color: #ddd; }
table.top_sales tbody > tr.detail > td { padding-left: 0px; padding-bottom: 0px; padding-top: 0px; }
table.top_sales tbody > tr.detail > td table { padding-top: 0px; padding-bottom: 20px; }
table.top_sales table.top_sales { padding-left: 0px; }
table.top_sales tbody > tr.detail:hover { background-color: inherit; }
table.top_sales+.zebra tbody tr td:nth-child(2) { text-align: right; }

#alloverlay { position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    background-color: rgba(0,0,0,.6);
		display: none; opacity: 1; z-index: 9999;
}
#siteselect {
	position: fixed; display: block; opacity: 1; z-index: 10000; left: 50%; top: 50%; margin-left: -250px; margin-top: -250px;
}


.topsales_group_select { list-style-type: none; }
.topsales_group_select  li { display: inline-block; margin: 3px; padding: 5px; background-color: #eee; }
.topsales_group_select  li.selected, .topsales_group_select  li:hover { background-color: #ccc; }

div.topsales_corner { position:absolute; margin-left: 20px; border:0px solid black;  width:60px; height: 60px; background-image: url(/img/corner_hit_60_r.png);background-position: bottom; background-repeat: no-repeat;}
