/* DEFAULT TEMPLATE CLASSES */

/*********** FORM */
.field, textarea.field{
  border: solid #ccc 1px;
}
textarea.field{
  width:99.2%;
  height:100px;
}
.reload{
  position:absolute;
  margin-left:-20px;
  cursor:pointer;
}


/*********** HEAD */
.h_reg, .h_name, .h_phone{
	color:#6779b1;
}
/* head region */
.h_reg{
  text-align: right;
	font-size:14px;
	font-weight:bold;
}
/* head name */
.h_name{
	text-transform:uppercase;
	font-size:30px;
}
/* head phone */
.h_phone{
	font-size:14px;
	font-weight:bold;
	text-align: right;
}

/*********** RUBRICS */
/* rubric level1 */
.r_l1{
	font-size:18px;
	padding-bottom:15px;
	width:850px;
	font-weight:bold;
	color: #6779b1;
  line-height: 30px;
}
.r_l1 a{
}
/* rubric level2 & level3 */
.r_l2, .r_l3{
	padding-left:10px;
}
/* rubric level2 */
.r_l2{
  line-height: 20px;
}
.r_l2 a{
	font-size:14px;
	text-decoration:none;
	color: #7581A4;
}
/* rubric level3 */
.r_l3{
  line-height: 10px;
}
.r_l3 a{
	font-weight:normal;
	font-size:10px;
	color: #666;
	white-space: nowrap;
}
/* rubric level3 column */
.r_c{
	float:left;
	width:33%;
}
.r_c a{
	display:block;
	padding-bottom:3px;
	text-decoration:none;
}
/* rubric shift */
.rs{
	padding-left:10px;
}
/* rubric shift <a> */
.rs a{
	text-decoration:none;
	color:black;
}
/* main rubric list */
.rl{
	float:left;
	padding-left:10px;
}
/* main rubric list <a> */
.rl a{
  color:#000;
	text-decoration:none;
}
/* good rubric path */
.rp{
	float:left;
	padding-left:3px;
	_padding-left:5px;
}
/* good rubric path <a> */
.rp a{
  color:#000;
	text-decoration:none;
}
/* rubric path arrow */
.rp_arr{
	float:left;
  color:#6779b1;
	padding-left:5px;
	margin-bottom:-2px;
}
/* rubric selected */
.r_sel a{
	color: red;
}
/* rubric sub tree */
.r_st{
	padding-right:15px;
	white-space: nowrap;
	vertical-align:top;
}
/* rubric sub root */
.r_sr{
	color:#6779b1;
	font-weight:bold;
	text-transform:uppercase;
}

/*********** GOOD */
/* goods list */
.g_list{
  padding-left: 20px;
  border-left: solid #aaa 1px;
  vertical-align:top;
  width:100%;
}
/* goods table */
.g_tbl{
  /*cursor:pointer;*/
  /*background: #fee;*/
  /*height:200px;*/
}

.g{
}

.g_a:link, .g_a:visited, .g_a:hover{
	color:#000;
	text-decoration:none;
  display:block;
	height:100%;
	width:100%;
}

.g_a:hover{
	background-color:#f1f3f7;
}

/* good date */
.g_date{
  float:left;
	font-size:12px;
	padding-top:4px;
	padding-right:10px;
}
.g_ad, .g_name{
  margin-right: 135px;
}
.g .g_ad, .g .g_name{
  margin-right: 290px;
}

/* good ad */
.g_ad{
	font-size:10px;
	background: url('../../tpl/def/wrng.gif') no-repeat 0 0;
	margin-top:-5px;
  padding: 0 0 5px 20px;
	background-color:#f1f3f7;
}
/* good name */
.g_name, .g_name a{
	font-family:'Times New Roman', Times, serif;
	color:#000;
	font-weight:bold;
	font-size:18px;
	text-decoration:none;
  margin-bottom:5px;
}


/* good image small */
.g_img_s{
  border: solid #ccc 1px;
  width:115px;
  text-align: center;
  vertical-align:middle;
  background-color: #fff;
}
.g_img_s a{
  height:100%;
  width:100%;
}

.g_img_s img{

}
/* good image big */
.g_img_b{
  text-align:center;
  float:left;
  padding: 10px 10px 0 0;
}
/* good description's ( small, big) */
.g_dsc_s, .g_dsc_s a, .g_dsc_b{
	padding: 0 150px 0 5px;
}
.g_dsc_s{
  vertical-align:top;
}
.g_dsc_s a{
	display:block;
	z-index:100;
	text-decoration:none;
	color:#000;
  width:100%;
  height:105px;
  border:0px solid #ccc;
  cursor:pointer;
}
.g_dsc_b{
  _float:left;  /* IE fix */
  display:table;
  padding-right: 20px;
}

/* good price ( name, num, description ) */
a .g_price, a .g_price *{

}

.g_price{

}
.g_price_name, .g_price_num, .g_price_dsc{
  font-size:10px;
  padding: 0 5px 0 10px;
  white-space: nowrap;
  float:left;
  padding-top:5px;
  color:#c00;
}
.g_price_name{
  width:100px;
  color:#000;
  text-align:right;
}
.g_price_num{
  padding:0;
  font-size:16px;
  font-weight:bold;
  text-align:right;
}
.g_price_dsc{
}

.g_firm{
  font-size:10px;
  margin: 5px 0 0 43px;
  border: 0px solid #ccc;
}
.g_firm span{
  margin: 0 5px 0 0;
  font-size:12px;
  color:#6779b1;
  cursor:pointer;
}
/*********** BAR order & inbasket  */
.g_bar{
  display:block;
  border: 1px solid #ccc;
  width:125px;
  font-size: 13px !important;
  background-color:#fff;
  margin-bottom: 2px;
  text-align:center;
  height:23px;
  _height:24px;
  padding: 7px 1px 0px 0px;
  font-weight:bold;
  clear:both;
}
.g_bar img{
  margin: 0px 5px 0px 0px;
  border: 0;
}
.g_bar_order {
	background-image: url('minphone.jpg');
	background-repeat: no-repeat;
	background-position: 1px;   
  width:95px;
	text-align:right;
	padding-right:27px;
}
.g_bar_basket{
	background-image: url('minbasket.gif');
	background-repeat: no-repeat;
	background-position: 9px; 
  width:79px;	  
	text-align:left;  
	padding-left:42px;
}

a.g_bar{
	font-size:10px;
	color: #000;
	text-decoration:none;
}

.g_bar:hover{
  cursor:pointer; /* important for any clickable/pressable element */
  border: 1px solid #000;
  color:#000;
}



/*********** BAR BASKET */
.b_basket{
  background:#667bb2;
  width:140px;
  height:32px;
  margin-left:auto;
  margin-top: 5px;
  margin-bottom: 5px;
}
.b_basket .d_col{
  padding-top:8px;
  padding-left:5px;
}
.b_basket img{
  border: 0px;
  margin-top:-4px;
}
.b_basket a{
  color:#ffffff;
  text-decoration:none;
  font-weight:bold;
}

/* basket goods count  */
#bgc{
  width:15px;
  border: 0px;
  color:#FFF;
  text-align:center;
  background:#667bb2;
  font-weight:bold;
}

/*********** ADD OWN GOOD */
.aog{
  /*float:right;*/
  text-align:right;
  font-weight:bold;
  font-size:14px;
}
.aog a{
  text-decoration:none;
  color:#000;
}

/*********** SEARCH */
.sf{
  width:250px;
  height: 20px;
  border: solid #aaa 1px;
  margin-top:5px;
  font-size:16px;
  padding-top:1px;
}
.sb{
  width:70px;
  height: 23px;
  border: 0;
  background-color:#aaa;
  color:#FFF;
  font-weight:bold;
}
.sb, -moz{
  padding-top:1px;
}

.pss{
  font-size:12px;
  margin: 5px 0 5px 0;
  _margin: 2px 0 5px -3px;
}
.pss span{
  display:none;
}


/* goods & vendors count */
.gvc{
  margin-top:-2px;
  margin-bottom:-4px;
  font-size:10px;
}

/* goods & vendors count */
.firm_show{
  font-size:10px;
  padding-left:10px;
  margin-top:3px;
  width:400px;
  _height:32px;
  /*background-color:#ccc;*/
}
.firm_show a{
  color: #0092F2;
}

/* SORTING BAR  */
a.desc, a.asc{
  padding-right:10px;
  background: url('../../tpl/def/desc.gif') no-repeat right;
  background-color: #eee;
}
a.desc:hover, a.asc:hover{
  background-color: #ccc;
  text-decoration: none;
}
a.asc{
  background: url('../../tpl/def/asc.gif') no-repeat right;
  background-color: #eee;
}

/* ORDER BAR  */
.o_bar{
  border:1px solid #CCC;
  width:260px;
  padding:5px;
  background-color:#FFF;
  position:relative;
}
.clhd_hide .o_bar {
  border:5px solid #CCC;
}

.o_close{
  display:none;
  float:right;
  cursor:pointer;
}
.o_title1{
  text-align:center;
  font-size:20px;
  font-weight:bold;
  margin-bottom:5px;
}
.o_title2{
  font-size:12px;
  color:#960102;
  padding: 0 0 0 75px;
}
.o_title2 .field{
  margin: 5px 0 0 0;
}
.o_region{
  text-align:center;
  font-size:16px;
  font-weight:bold;
  margin-bottom:5px;
}
.o_info{
  font-size:12px;
  display:none;
  text-align:right;
}

.o_name{
  margin:5px 0 0 0;
  padding:3px;
  text-align:center;
  font-size:14px;
  color:#6779b1;
  background-color:#efefef;
  font-weight:bold;
  _height:0;
}

.o_price{
  margin:10px -4px 0px 0;
  width:99%;
}

.o_price div{
  width:100%;
  height:30px;
  padding: 3px 0 0 0;
}

.o_price div input{
  float:right;
  width:30px;
  height:30px;
  _width:35px;
  _height:35px;
  margin: -5px 0 0 7px;
  _margin: -8px 0 0 7px;
}

/*********** PAGE NAVIGATION */
.nav_pg {
  line-height:40px;
	text-align: center;
}

.nav_pg table {
/*
  display: table;
  margin: 0 auto;
*/
}
.nav_pg a, .nav_pg p  {
  min-width:30px;
  _width:30px;
  margin: 0 1px 0 0;
}
.nav_pg a, .nav_pg p  {
	color:#000;
	text-decoration:none;
  float:left;
  display:block;
  border: 1px solid #FFF;
}
.nav_pg p a:hover {
	color: #ccc;
  font-size:40px;
  line-height:40px;
  border-color: #ccc;
}

.nav_pg b a {
  margin: 0 5px 0 5px;
  color: #aaa;
  border: 1px solid #ccc;
  font-size:35px;
  width: 60px;
}
.nav_pg b a:hover {
	background-color:#eeeeee;
}


.nav_pg span {
  font-size: large;
	font-weight:bold;
}

/*********** SORT NAVIGATION */
.nav_sort {
  display:none;
}
.nav_sort a {
	font-size:12px;
	color: #000;
	text-decoration:none;
	/*background-color:#ccc;*/
}
.nav_sort a:hover {
  text-decoration: underline;
}


/*********** BASKET */
.basket {
/*  border:1px solid #000; */
	width:700px;
	background-color:#f4f4f4;
  background-color: #fff;
  z-index:100; 
  display:none;
}
.basket table {
	width:100%;
}
.basket table thead tr {
	font-size:16px;
	color:#fff;
	background-color:#e67817;
	font-weight:bold;
  text-align:center;
}
.basket table tbody tr.odd {
	background-color:#F7CCA6;
}
.basket table tbody tr.even {
	background-color:#ececec
}
.basket table tfoot tr {

}

/* Rows  */
.basket table tbody tr td {
  text-align:center;
  padding:2px;
  font-size:12px;  
}
/* prototype-window class fix */
.dialog .basket table tbody tr td {
  padding:2px;
}

.basket table tbody tr td.num {
  width:20px !important;
}
.basket table tbody tr td.name {

}
.basket table tbody tr td.prices {
  white-space:nowrap;
  _white-space:pre;  
  text-align:left;
  width:110px;  
}
.basket table tbody tr td.prices input {
	border:0;
}

.basket table tbody tr td.quantity {
  width:60px;  
}
.basket table tbody tr td.quantity input {
  width:50px;  
}
.basket table tbody tr td.del {
  width:20px;  
}
.basket table tbody tr td.del input {
	border:0;
}

/* basket empty */
div#sfBasketE {
	width:100%;
	line-height: 100px;
	font-size:18px;
   text-align:center;	
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

.basket input, textarea {
	border: solid #ccc 1px;
}
.basket textarea {
	height:49px;
	font-size:11px;
	font-family:verdana;
}
.b_complete  {
  text-align:center;
}
.b_err {
  color: red;
  text-align:center;
  padding-top:100px;
  width:394px;
  margin: 0 0 0 50px;
}


/* OVERRIDE prototype-window class */
.overlay_alphacube {
  background-color: #000;
	filter:alpha(opacity=40);
	-moz-opacity: 0.4;
	opacity: 0.4;
}
.alphacube_title {
	font-size:16px;
	font-weight: bold;
	color: #6779b1;
} 