.tablepadd {
	padding-left:10px;
	padding-right:10px
}
.instruction {
	font-family:tahoma;
	font-size:11px;
	color:#990000;
	display:block;
	font-weight:normal;
	padding-left:3px;
	padding-bottom:3px
}
body     {text-align:center; background-color:white; padding:3px; font-family:tahoma;font-size:12px;margin:0;padding:0;}

td, p, table, tr  {font-family:tahoma;font-size:12px}
div {font-family:tahoma;font-size:12pxl;color:black;}
tr.fld  {text-align:left;}

h1       {font-size:20px;color:#000099;font-family:tahoma;font-weight:normal}

a  {font-weight:bold;color:black;font-family:tahoma;font-size:12px}
a:hover  {color:red;}
a:active {color:red;}
a:visted {color:#333;}

.copy       {font-size:11px;font-family:tahoma;}

.red {color:red;}
.err {color:red;font-weight:bold;}
.msg {font-weight:bold;}

/* Меню режима администратора */
a.MenuAdmin        {font-weight:normal;color:black;text-transform:uppercase;text-decoration:none;padding:3px;width:100%;}
a:hover.MenuAdmin  {color:white;background-color:#666;}
a:active.MenuAdmin {color:#333;}
a:visted.MenuAdmin {color:#333;}


/* bugreport */
a.bugreport        {font-weight:normal;font-size:8px;color:black;text-transform:uppercase;text-decoration:none;padding:3px;width:100%;}
a:hover.bugreport  {color:white;background-color:#666;}
a:active.bugreport {color:#333;}
a:visted.bugreport {color:#333;}


/* Универсальные таблицы */
.ttable  {font-family:tahoma;font-size:12px;background-color:#c5c5c5; width:90%;}
.tedit   {font-family:tahoma;font-size:12px;background-color:#F1C6D1;}
.thead   {font-family:tahoma;font-size:12px;background-color:#AFD4EB;}
.tcells1 {font-family:tahoma;font-size:12px;background-color:#fff;}
.tcells2 {font-family:tahoma;font-size:12px;background-color:#eee;}
.tsubmit {font-family:tahoma;font-size:12px;background-color:#AFD4EB;}


/* Навигация */
.Nav {padding-bottom:10px;}
.NavRef	    {padding:0px;margin:5px;text-align:center;width:300px;}
.NavPage    {font:normal 12px tahoma;}
.NavPageNum {font-weight:bold;} 
.NavBegin   {font:bold 12px tahoma;width:25%;float:left;}
.NavEnd	     {font:bold 12px tahoma;width:25%;float:left;}
.NavNext    {font:bold 12px tahoma;width:25%;;float:left;}
.NavPrev    {font:bold 12px tahoma;width:25%;float:left;}


/* Невыделенные ссылки */
a.norm        {font-weight:normal;color:black;}
a:hover.norm  {color:red;}
a:active.norm {color:red;}
a:visted.norm {color:#333;}


/* Стили форм */
form {margin:0; padding:0;font:normal 11px tahoma;}

select, input, textarea	{font:normal 12px tahoma;}

.fNum           {width:35px;}
.fShort 	{width:70px;}
.fMidi		{width:200px;}
.fLong  	{width:400px;}

textarea.fLong {height:100px;width:100%;}


/*Msg Listing*/
.msgHead {color:#666;}
.msgText {font-size:12px;}
.msgTextL1 {font-size:10px;margin-left:20px;}
.msgTextL2 {font-size:10px;margin-left:40px;}
.msgTextL3 {font-size:10px;margin-left:60px;}

/*button*/
.okBtnMain { 
width:160px;
height:24px;
}

.okBtnMainAC { 
width:220px;
height:24px;
}

.okBtnMainCONF { 
width:240px;
height:24px;
}


a.aDel { display:block; padding:1px; margin:2px; color:white; text-transform:uppercase;
background:red; 
border:1px solid #990000; 
border-top: 1px solid #ffcccc; 
border-left: 1px solid #ffcccc; 
text-decoration:none;
width:60px;
height:16px;
}
a.aDel:hover {
color: #660000;
background:red; 
border:1px solid #ffcccc; 
border-left:1px solid #990000; 
border-top:1px solid #990000; 
text-decoration:none;
}
a.aEdit { display:block; padding:1px; margin:2px; color:white; text-transform:uppercase;
color:black;
background:#959FD5; 
border:1px solid #363D61; 
border-top: 1px solid #DDE3FF; 
border-left: 1px solid #DDE3FF; 
text-decoration:none;
width:60px;
height:16px;
}
a.aEdit:hover {
color:#DDE3FF;
background:#959FD5; 
border:1px solid #DDE3FF; 
border-top: 1px solid #363D61; 
border-left: 1px solid #363D61; 
text-decoration:none;
}
.fSubmit, .aButton 
{text-transform:uppercase;
color:#FFFFFF;
background:#9E3C49; 
border:1px solid #4F1E24; 
border-top: 1px solid #CF9EA4; 
border-left: 1px solid #CF9EA4; 
text-decoration:none;
}
.aButton, .fSubmit {font:bold 10px tahoma;display:block; padding:1px 10px 1px 10px; margin:2px; height:25px;text-align:center;width:120px;}
.aButton:hover, .fSubmit:hover {font:bold 10px tahoma;background:#316FB1; border:1px solid #98B7D8; border-top: 1px solid #183758; border-left: 1px solid #183758;}

.fSubmit	{
	width:200px;
	display:block;
	float:left;
	}
	
.fSubmit	{
	//display:inline;
	//float:none
	}

/*admMenu*/
.admMenu a {padding:3px 10px;; font:bold 12px Tahoma; display:block; margin-bottom:3px; border:1px solid gray; text-decoration:none; background:#ccc; border-top:1px solid #eee; border-left:1px solid #eee; width:138px; margin:1px 0px 1px 0px;}
.admMenu a:visited {padding:3px 10px; font:bold 12px Tahoma; display:block; margin-bottom:3px; border:1px solid gray; text-decoration:none; background:#ccc; border-top:1px solid #eee; border-left:1px solid #eee; width:138px;  margin:1px 0px 1px 0px;}
.admMenu a:hover {border:1px solid #666; background:#cacaca; border-bottom:1px solid #eee; border-right:1px solid #eee;  margin:1px 0px 1px 0px; color:#000000;position:relative; top:1px}
.admMenu h4 {margin-top:10px;margin-bottom:5px;margin-left:3px;color:#000099;font:bold 14px Tahoma}

/*Buttons*/
.ctrlPreview {background:url(/panel/icons/preview.gif) no-repeat center;cursor:hand;border:1px solid #fff;border-bottom:1px solid #555;border-right:1px solid #555;width:22px;height:22px;}
.ctrlEdit {background:url(/panel/icons/edit.gif) no-repeat center;cursor:hand;border:1px solid #fff;border-bottom:1px solid #555;border-right:1px solid #555;width:22px;height:22px;}
.ctrlDel {background:url(/panel/icons/del.gif) no-repeat center;cursor:hand;border:1px solid #fff;border-bottom:1px solid #555;border-right:1px solid #555;width:22px;height:22px;}
.ctrlLock {background:url(/panel/icons/ok.gif) no-repeat center;cursor:hand;border:1px solid #fff;border-bottom:1px solid #555;border-right:1px solid #555;width:22px;height:22px;}
.ctrlTop {background:url(/panel/icons/top.gif) no-repeat center;cursor:hand;border:1px solid #fff;border-bottom:1px solid #555;border-right:1px solid #555;width:22px;height:22px;}
.ctrlUp {background:url(/panel/icons/up.gif) no-repeat center;cursor:hand;border:1px solid #fff;border-bottom:1px solid #555;border-right:1px solid #555;width:22px;height:22px;}
.ctrlDown {background:url(/panel/icons/down.gif) no-repeat center;cursor:hand;border:1px solid #fff;border-bottom:1px solid #555;border-right:1px solid #555;width:22px;height:22px;}
.ctrlBottom {background:url(/panel/icons/bottom.gif) no-repeat center;cursor:hand;border:1px solid #fff;border-bottom:1px solid #555;border-right:1px solid #555;width:22px;height:22px;}
.ctrlInsert {background:url(/panel/icons/new.gif) no-repeat center;cursor:hand;border:1px solid #fff;border-bottom:1px solid #555;border-right:1px solid #555;width:22px;height:22px;}

.ctrlPreview, .ctrlEdit, .ctrlDel, .ctrlLock, .ctrlTop, .ctrlUp, .ctrlDown, .ctrlBottom, .ctrlInsert  {
	text-decoration: none;
	display:block;
	float:left;
}

.ctrlPreview, .ctrlEdit, .ctrlDel, .ctrlLock, .ctrlTop, .ctrlUp, .ctrlDown, .ctrlBottom, .ctrlInsert {
		//display:inline;
		//float:none
	}
  
.ltable  {font-family:tahoma;font-size:12px;background-color:#c5c5c5;}
.ltedit   {font-family:tahoma;font-size:12px;background-color:#F1C6D1;}
.lthead   {font-family:tahoma;font-size:12px;background-color:#AFD4EB;}
.ltcells1 {font-family:tahoma;font-size:12px;background-color:#fff;}
.ltcells2 {font-family:tahoma;font-size:12px;background-color:#eee;}
.ltsubmit {font-family:tahoma;font-size:12px;background-color:#AFD4EB;}
.ltcells3 {font-family:tahoma;font-size:12px;background-color:#ff0000;}

.ivisble{visibility:hidden;}

.scroll-table{
width: 100%;
overflow: auto;
overflow-x: hidden;
height: 240px;
position: relative;
}
.scroll-table table {
border-collapse: collapse;
}
.scroll-table td {
padding: 2px;
}
.scroll-table th {
background: #eee;
padding: 1px;
}
.scroll-table tr.fixed {
position: relative;
top: expression(this.parentElement.parentElement.parentElement.scrollTop)
}

.scroll-table-small{
width: 100%;
overflow: auto;
overflow-x: hidden;
height: 120px;
position: relative;
}
.scroll-table-small table {
border-collapse: collapse;
}
.scroll-table-small td {
padding: 2px;
}
.scroll-table-small th {
background: #eee;
padding: 1px;
}
.scroll-table-small tr.fixed {
position: relative;
top: expression(this.parentElement.parentElement.parentElement.scrollTop)
}

div.tb {
 height: 510px;
}

 table.schedule_table {border:0;text-decoration:none;}
 table.schedule_table td,table.schedule_table th{font-size:8px;padding:0;}
 table.schedule_table td.free,table.schedule_table td.busy {width:4px;height:4px;}
 table.schedule_table td.free {background-color:#FFFFFF;}
 table.schedule_table td.busy {background-color:#008866;}
 
 
 table.schedule_table_big {border:0;text-decoration:none;}
 table.schedule_table_big td,table.schedule_table_big th{font-size:12px;padding:2;}
 table.schedule_table_big td.free,table.schedule_table_big td.busy {width:14px;height:16px;}
 table.schedule_table_big td.free {background-color:#FFFFFF;}
 table.schedule_table_big td.busy {background-color:#008866;}
 
 table.schedule_table_edit {border:0;text-decoration:none;}
 table.schedule_table_edit td,table.schedule_table_edit th{font-size:12px;padding:0;}
 table.schedule_table_edit td.free,table.schedule_table_edit td.busy {width:2px;height:4px;}
 table.schedule_table_edit td.free {background-color:#FFFFFF;}
 table.schedule_table_edit td.busy {background-color:#008866;}
 
 .ajax_loading_div {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -60px;
  margin-top: -20px;
  border: 1px solid #999;
  text-align: center;
  padding: 5px;
  width: 120px;
  height: 40px;
  display: none;
  background: #EFEFEF;
  z-index: 999;
}




