body {
	font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size : 9pt;
  margin: 0;
}
td.bg-cell
{
  background: url(images/bg-cell.gif);
}
td.bg-left
{
  background: url(images/bg-left.gif);
}
td.bg-right
{
  background: url(images/bg-right.gif);
}
td.bg-lang
{
  background: url(images/bg-lang.gif);
}

td.menu {
	text-align : center;
	font-weight : bold;
	color : White;
	font-size : 8pt;
}
td.menu-active {
	text-align : center;
	font-weight : bold;
	color : #000000;
	font-size : 8pt;
}
td.title {
	color : White;
	font-size : 16pt;
	text-indent : 18pt;
}
.maintext, a.styledLink {
	color : #666666;
	font-size : 9pt;
	text-align : justify;
	text-indent : 9pt;
  /* for seo */
}

.inputTextFullTdLength {
  width: 99%;
  font-size: 10pt;
  color: #666666;
}

td.maintextnoindent, p.maintextnoindent {
	color : #666666;
	font-size : 9pt;
	text-align : justify;
	text-indent : 0pt;
}

td.login {
	color : #896500;
	font-size : 8pt;
}
td.newscell {
	vertical-align : top;
	text-align : left;
	color : #000000;
	font-size : 8pt;
}
a.submenu {
	color : #000000;
	font-size : 8pt;
	text-decoration : none;
}

div.bottommenu {
	text-align : center;
	color : #828282;
	font-size : 8pt;
	line-height : 170%;
}
a.bottommenu {
	color : #828282;
	font-size : 8pt;
	text-decoration : underline;
}

a.bottommenu:hover {
	color : #333333;
}

a.lang {
	color : #000000;
	font-size : 8pt;
	text-decoration : none;
}

a.lang:hover {
	color : #333333;
	text-decoration : underline;
}

input.login {
	height : 16px;
	border-color : #896500;
	border : 1px solid;
	width : 113px;
}
input.password {
	height : 16px;
	border-color : #896500;
	border : 1px solid;
	width : 99px;
}
a.register {
	font-size : 11px;
	color : #000000;
	text-decoration : underline;
}
a {
	color : #d79600;
	font-size : 9pt;
	text-decoration : underline;
}
a.menu {
	color : #ffffff;
	font-size : 8pt;
	text-decoration : none;
}

a.menu:hover {
	color : #cccccc;
	text-decoration : none;
}

a.menu-active {
	color : #000000;
	font-size : 8pt;
	text-decoration : none;
}

p.notopmargin
{
  margin-top: 0; 
}


/* CONTACTS */
.contacts, div.IEselectBorderPainter, input.contactsBtn
{
  border: 1px solid #777;
  color: #333;
}

input.contacts {
	height : 18px;
	width : 170px;
}

textarea.contacts, #userTheme{
	width : 330px;
}

select.contacts {
  height : 22px;
  width : 174px;
  margin: -1px;
}

div.IEselectBorderPainter
{
  overflow: hidden; 
  float:left;
}

input.contactsBtn {
  font-size : 8pt;
  height : 18px;
  width : 100px;
}

.contactsFaq
{
  border: 1px dashed; 
  padding: 0.5em; 
  background-color: #ffffe8; 
  margin-bottom: 0.3em;
}

.contactsFaq #toggleFaq
{
  cursor: pointer; 
}

.contactsFaq #faq
{
  display:none;
}

.contactsFaq ul.faq
{
  margin-bottom: 0.5em;
  padding-right: 0.5em;
}


/* ^^^^^^^ CONTACTS ^^^^^^^^ */  

#divBody
{
	font-size: 0.7em;
}

#divBody table.tblData
{
	width: 90%;
	border-collapse: collapse;
}
			
#divBody table.tblData th
{
	font-size: 0.7em;
	text-align: center;
	padding-right: 0.3em;
	border-bottom: 1px #aaa solid;
	background-color: #fafafa;
	padding: 0.3em;
}

#divBody table.tblData th.Right
{
	text-align: right;
	border-bottom: 0 none;
	background-color: transparent;
}

#divBody table.tblData td
{
	font-size: 0.7em;
	padding: 0.3em;
}

span.CoolGoodMessage
{
	border: 1px solid black;
	padding: 0.3em;
	background-color: #f0f0f0;
	font-weight: bold;
	color: #d79600;
}


span.CoolBadMessage, p.CoolBadMessage
{
	border: 1px solid black;
	padding: 0.3em;
	background-color: #F0F0F0;
	font-weight: bold;
	color: #FF3333;
}

input.theme
{
	height : 18px;
	border-color : #896500;
	border : 1px solid;
}

span.LinkColor
{
	color : #d79600;
	font-size : 9pt;
	text-decoration : underline;
}

.noindent
{
	color : #666666;
	font-size : 9pt;
	text-align : justify;
	text-indent : 0pt;
}

div#CustomerZoneMenu
{
  margin-bottom: 1em;
}

hr.styled
{
 border: none; /* Убираем границу для браузера Firefox */
 color: #dddddd; /* Цвет линии для браузера Internet Explorer */
 background-color: #dddddd; /* Цвет линии для браузера Firefox и Opera */
 height: 1px; /* Толщина линии */
}

div.attachment:hover
{
  background-position: 0 -26px;
}

div.attachment
{
  cursor: pointer;
  width: 26px;
  height: 26px;
  background: url(images/attachment-2frames.jpg) no-repeat left top;
}

/* #################################################### FOR SEARCH ENGINSES OPTIMISATION :) ################################################### */

h1.styled, h2.styled, h2.styled2, h2.styled3
{
  vertical-align : baseline;
  margin-bottom : 0;
  margin-left : 0;
  margin-right : 0;
  margin-top : 0;
  padding-top: 0;
  padding-bottom : 0;
  padding-left : 0;
  padding-right : 0;
}

h1.styled
{
  font-size: 8pt;
  font-weight: normal;
  color: #896500;
}
 
h2.styled
{
  font-size: 9pt;
  font-weight: bold;
}

h2.styled2
{
  font-size: 9pt;
  font-weight: normal;
}

h2.styled3
{
  font-size: 8pt;
  font-weight: normal;
}

strong.styled
{
  font-weight: normal;
}

a.styled
{
  text-decoration: none;
  cursor: text;
  font-weight: normal;
  color: #828282;
  font-size: 8pt;
}

a.gray
{
  color: #444;
}

/* used in AddZapros function in customer.php */
input.styledBtn
{
	font-size : 9pt;
	height : 22px;
	border-color : #896500;
	border : 1px solid;
	margin-top : 5px
}

/* used in PriceOnline, and in presenter.php, customer.php: GetPendingOrder(), GetAddOrder(), GetBalans(), ShowCart() */
table.Bordered  
{
  font-family: sans-serif, Verdana;   
  font-size : 8pt;  
  border-bottom: 1px Solid Black;         
  border-right: 1px Solid Black;         
  text-align: center;  
  border-collapse : collapse;  
}

table.Bordered th
{    
  margin: 0px;    
  padding: 2px;
  color: white;
  background-color: black;
  border-left: 1px Solid Black;         
  border-top: 1px Solid Black;              
  border-bottom: 1px solid black;    
  border-right:none;  
}  

table.Bordered td  
{    
  margin: 0px;    
  padding: 2px;
  background-color: #ececec;    
  border-left: 1px Solid Black;         
  border-top: 1px Solid Black;              
  border-bottom:none;    
  border-right:none;  
  color: black;
}

/* used in customer.php -> GetZaprosy() */
table.Bordered2  
{   
  font-family: sans-serif, Verdana;   
  font-size : 8pt;  
  border-bottom: 1px Solid #999999;         
  border-right: 1px Solid #999999;         
  text-align: center;  
  border-collapse : collapse;  
}

table.Bordered2 td  
{    
  margin: 0px;    
  padding-left: 6px;    
  padding-right: 6px;
  padding-top: 2px;
  padding-bottom: 2px;
  border-left: 1px Solid #999999;         
  border-top: 1px Solid #999999;              
  border-bottom:none;    
  border-right:none;  
}

table.Bordered2 th  
{    
  margin: 0px;    
  padding-left: 6px;    
  padding-right: 6px;
  padding-top: 2px;
  padding-bottom: 2px;
  border-left: 1px Solid #999999;         
  border-top: 1px Solid #999999;              
  border-bottom:none;    
  border-right:none;  
}   

/* used in checks.php */
table.BorderedBigger th
{    
  margin: 1px;    
  padding: 3px;
  color: white;
  background-color: black;
  border-left: 1px Solid Black;         
  border-top: 1px Solid Black;              
  border-bottom:none;    
  border-right:none;  
} 

table.BorderedBigger td  
{    
  margin: 1px;    
  padding: 3px;    
  border-left: 1px Solid Black;         
  border-top: 1px Solid Black;              
  border-bottom:none;    
  border-right:none;  
}  
  
table.BorderedBigger  
{   
  font-family: sans-serif, Verdana;   
  font-size : 9pt;  
  border-bottom: 1px Solid Black;         
  border-right: 1px Solid Black;         
  text-align: center;  
  border-collapse : collapse;  
}

/* used in customer.php -> GetOrder() */ 
table.BorderedOrder  
{
  font-family: sans-serif, Verdana;   
  font-size : 8pt;  
  border-bottom: 1px Solid Black;         
  border-right: 1px Solid Black;         
  text-align: center;  
  border-collapse : collapse;  
  color: black;
}

table.BorderedOrder td  
{    
  margin: 0px;    
  padding: 2px;
  border-left: 1px Solid Black;         
  border-top: 1px Solid Black;              
  border-bottom:none;    
  border-right:none;  
}

/* used in ShowCart() */
input.small
{
  font-size: 8pt;
}

/* used in showing customer messages */
pre.CommonFont
{
  font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;  
}

/* used in price-online page */
table.PriceOnline
{
  font-size: 10pt;
  border-collapse : collapse;
  text-indent: 0;
  text-align: left;
}

table.PriceOnline td
{
  padding: 3px;
}

/* used in discounts_table.php */
table.BorderedBiggerGray th
{    
  margin: 1px;    
  padding: 3px;
  color: white;
  background-color: black;
  border-left: 1px Solid Black;         
  border-top: 1px Solid Black;              
  border-bottom:none;    
  border-right:none;  
} 

table.BorderedBiggerGray td  
{    
  background-color: #ececec;
  margin: 1px;    
  padding: 3px;    
  border-left: 1px Solid Black;         
  border-top: 1px Solid Black;              
  border-bottom:none;    
  border-right:none;  
}  
  
table.BorderedBiggerGray  
{   
  font-family: sans-serif, Verdana;   
  font-size : 9pt;  
  border-bottom: 1px Solid Black;         
  border-right: 1px Solid Black;         
  text-align: center;  
  border-collapse : collapse;  
}

/* used in shipment_terms.php */
table.BorderedBiggerGrayOrange th
{    
  font-size: 8pt;
  margin: 1px;    
  padding: 0.3em;
  background-color: #ffbf03;
  color: black;
  border-left: 1px Solid #999999;         
  border-top: 1px Solid #999999;              
  border-bottom:none;    
  border-right:none;  
} 

table.BorderedBiggerGrayOrange td  
{    
  background-color: #f4f4f4;
  margin: 1px;    
  padding: 0.3em;    
  border-left: 1px Solid #999999;         
  border-top: 1px Solid #999999;              
  border-bottom:none;    
  border-right:none;  
}  
  
table.BorderedBiggerGrayOrange  
{   
  font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size : 9pt;  
  border-bottom: 1px Solid #999999;         
  border-right: 1px Solid #999999;         
  text-align: center;  
  border-collapse : collapse;  
  padding: 0.3em;
}

/* ---------------------------- used in PriceOnline --------------------------- */
table.PriceOnlineParts
{
  font-family: sans-serif, Verdana;   
  font-size : 8pt;  
  border-bottom: 1px Solid Black;         
  border-right: 1px Solid Black;         
  text-align: center;  
  border-collapse : collapse;  
  color: black;
}

table.PriceOnlineParts th
{    
  margin: 0px;    
  padding: 2px;
  color: white;
  background-color: black;
  border-left: 1px Solid Black;         
  border-top: 1px Solid Black;              
  border-bottom:none;    
  border-right:none;  
  text-indent: 0;
  text-align: center;
}  

table.PriceOnlineParts td  
{    
  margin: 0px;    
  padding: 2px;
  border-left: 1px Solid Black;         
  border-top: 1px Solid Black;              
  border-bottom:none;    
  border-right:none;
	text-indent: 0;
    
}

table.PriceOnlineParts td.CheckedWeight
{
  background: url(images/checked_weight_mark.gif) no-repeat bottom right;
}

table.PriceOnlineParts td, table.PriceOnlineParts td.CheckedWeight
{
  background-color: #ececec;    
}

td.notFound, td.notFound a
{
  font-size: 9pt;
  line-height: 2em; 
}
/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */

img#checkedWeightMarkImg
{
  border-bottom: 1px solid black; 
  border-right: 1px solid black;
}

.sent_message_to {
	font-size: 12px;
	background-color: #999999;
  color: black;
}

.sent_message_subject {
	font-size: 12px;
	background-color: #ececec;
  color: black;
}

.sent_message_body {
	font-size: 12px;
	padding-bottom: 7px;
	color: #555555;
}

/* PROGRESS BAR */

div.smallish-progress-wrapper
{
  /* Don't change the following lines. */
  background: url("images/m_bg.gif") left center repeat-x;
  position: relative;
  height: 18px;
  /* border: 1px solid black; */
}

div.smallish-progress-bar
{
  /* Don't change the following lines. */
  background: url("images/m_mark.gif") right center repeat-x;
  position: absolute;
  top: 0; left: 1px;
  height: 100%;
}

div.left-side
{
  /* Don't change the following lines. */
  background: url("images/m_l.gif") left center no-repeat;
  position: absolute;
  top: 0; left: 0;
  height: 100%;
}

div.right-side
{
  /* Don't change the following lines. */
  background: url("images/m_r.gif") right center no-repeat;
  position: absolute;
  top: 0; right: 0;
  height: 100%;
}

div.smallish-progress-text
{
  /* Don't change the following lines. */
  text-align: center;
  position: relative;
  /* Add your customizations after this line. */
  top: 1px;
  font-size: 12px;
  font-weight: bold;
  color: black;
}


a.BlackLink {
  color : #000000;
  font-size : 9pt;
  text-decoration : underline;
}

/* FAQ */

ul.faq li
{
  margin-top: 1em;
}

div.FaqHeader
{
  font-weight: bold;
  margin-bottom: 0.3em;
}

fieldset.randomFaqEntry 
{
  margin-top: 1.5em;
  border: 1px dashed;
}

.randomFaqEntry legend
{
  background-color: white;
  padding: 0 5px 0 5px;
}

.randomFaqEntry ul
{
  padding-left: 1.5em;
  margin: 0.8em 1em 0.5em 0.5em;
}

.randomFaqEntry .faqHeader
{
  margin-bottom: 0.8em;
}

* html .randomFaqEntry ul
{
  padding-left: 0;
  margin-left: 2.5em;
  margin-bottom: 1em;
}

ul.nicelist, ul.tallList, ul.niceList2
{
  text-indent: 0px;
  line-height: 1.3em;
}

ul.tallList li
{
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

ul.shortList
{
  margin-top: 0.5 em;  
}

ul.shortList li
{
  margin-top: 0.2em;
  margin-bottom: 0.2em; 
}

.DashedLightYellow
{
  border: dashed;
  border-width: 1px;
  background-color: #ffffd0;
  padding: 0.5em;
}

/* WATCH */

#watchExternal
{
  vertical-align: top;
  float: right;
  margin: 0;
  margin-left: 4px;
  padding: 0; 
  border: 1px solid #653B0B; 
  background-color: #FFBF03; 
  width: 86px; 
  height: 29px; 
  background-image: url(images/logo_very_small.gif); 
  background-repeat: no-repeat; 
  background-position: left center; 
  font-family: Arial; 
  font-size:12px; 
  text-align: center;  
}

div#watchInternal
{
  vertical-align: bottom;
  margin: 0; 
  padding: 0; 
  padding-left: 25px;
}

div#watchLabel
{
  font-size: 10px; 
  margin: 0; 
  margin-top: -1px;
  padding: 0; 
  text-align: center; 
  color:#653B0B;
}

span.clock24s
{
  vertical-align: top;
  margin: 0;
  padding: 0;
  color:#653B0B;
}

* html #watchExternal { height: 31px; margin-left: 3px; width: 88px; }

/* FOR TOOLTIP */

.tooltip
{
 position:absolute;
 z-index:999;
 left:-9999px;
 background-color:#FFBF03;
 padding:5px;
 border:1px solid #fff;
}

.tooltip div
{
 margin: 0;
 padding:4px 7px;
 background-color:#222;
 color:#eee;
 text-align : justify;
}

.tooltipped
{
  border-bottom: 1px dashed #d79600;  
  cursor: default;
}

/* TREEVIEW */

.treeview, .treeview ul { 
  padding: 0;
  margin: 0;
  list-style: none;
  text-indent: 0;
}

.treeview p
{
  margin: 3px; 
  font-style: italic;
}

.treeview ul {
  background-color: white;
  margin-top: 4px;
}

.treeview .hitarea {
  background: url(images/treeview/treeview-default.gif) -64px -25px no-repeat;
  height: 16px;
  width: 16px;
  margin-left: -16px;
  float: left;
  cursor: pointer;
}
/* fix for IE6 */
* html .hitarea {
  display: inline;
  float:none;
}

.treeview li { 
  margin: 0;
  padding: 3px 0pt 3px 16px;
}

.treeview a.selected {
  background-color: #eee;
}

#treecontrol { margin: 1em 0; display: none; }

.treeview .hover { color: red;  cursor: pointer;  }

.treeview li { background: url(images/treeview/treeview-default-line.gif) 0 0 no-repeat; }
.treeview li.collapsable, .treeview li.expandable { background-position: 0 -176px; }

.treeview .expandable-hitarea { background-position: -80px -3px; }

.treeview li.last { background-position: 0 -1766px }
.treeview li.lastCollapsable, .treeview li.lastExpandable { background-image: url(images/treeview/treeview-default.gif); }  
.treeview li.lastCollapsable { background-position: 0 -111px }
.treeview li.lastExpandable { background-position: -32px -67px }

.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-position: 0; }

.treeview-gray li { background-image: url(images/treeview/treeview-gray-line.gif); }
.treeview-gray .hitarea, .treeview-gray li.lastCollapsable, .treeview-gray li.lastExpandable { background-image: url(images/treeview/treeview-gray.gif); }

/* MODAL WINDOW */  

.modal-overlay
{
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  left:0;
  height:100%;
  width:100%;
  margin:0;
  padding:0;
  background:#000;
  opacity:.75;
  filter: alpha(opacity=75);
  -moz-opacity: 0.75;
  z-index:101;
}
* html .modal-overlay
{   
  position: absolute;
  height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}
.modal-window
{
  position:fixed;
  background: white;
  border: 3px solid #FFBF03;
  top:50%;
  left:50%;
  margin:0;
  padding:0;
  z-index:102;
}
#modal-window-text
{
  color: #444;
  /* font-weight: bold; */
  font-size: 16pt;
  font-family: arial;
  /* font-style: italic; */
  padding: 10px;
  margin: 0;
}
* html .modal-window
{
  position:absolute;
}

#helper {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
z-index: -10;
}

/* ORDER STEPS */

div#orderSteps { padding-bottom: 1em; margin-bottom: 1em; text-indent: 0; border-bottom: 1px solid gray; }
div#orderSteps span#currentStep { background-color: #FFBF03; color: #555; font-weight: bold; }
div#orderSteps span { border: 1px solid #888; padding: 5px; }

.centerTable table
{
  margin: 0 auto; 
}

table.SimpleEavTable
{
  border: 1px solid #666; 
  border-collapse: collapse;
}

table.SimpleEavTable th
{
  border: 1px solid #666;
  background-color: #ccc;
  text-align: center;
  color: #222;
}

table.SimpleEavTable td
{
  border: 0;
  border-top: 1px solid #ccc;
  text-align: left;
}

table.SimpleEavTable td, table.SimpleEavTable th
{
  padding: 3px 0.5em;
} 

table.SimpleEavTable td.LeftColumn
{
  border-right: 1px solid #ccc; 
  white-space: nowrap;
}