html {
	text-align: center;
}
body {
background-color: white;
background-image: url(../images/bg.png);
background-position: center top;
background-repeat: repeat-x;
font-family: Tahoma,Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
text-align: center;
margin: 5px 0 0 0;
}
.ih1 {
  font-size: 20px;
  font-weight: bold;
}
.ih2 {
  font-size: 16px;
  font-weight: bold;
}
.ih3 {
  font-size: 12px;
  font-weight: bold;
}
input[type="button"], input[type="submit"], input[type="reset"]   {
	background-image: URL(../images/button_background2.gif);
	border-color: #aaa;
	border-width: 1px;
	font-weight: bold;
	text-decoration: none;
	color: white;
}
.button1{
background-image: URL(../images/button_background2.gif);
border-style: solid;
border-color: #aaa;
border-width: 1px;
padding:0px;
font-weight: bold;
text-decoration: none;
color: #000
}
.button2{
background-image: URL(../images/button_background2.gif);
border-style: solid;
border-color: #aaa;
border-width: 1px;
padding:1px;
font-weight: bold;
text-decoration: none;
color: #000
}
* html .button1{
border-bottom: 6px solid #999;
padding-bottom: 0px;
}
a {
	color: #FF8102;
}
img {
	border:none;
}
a:hover {
	color: #990616;
}
fieldset{
	border: #999999 1px solid;
	margin-top: 3px;
}
legend {
	border: #999999 1px solid;
	background-color: #EEEEEE;
	padding: 1px 9px;
	font-weight: bold;
	color: #990616;
}
#main{
	background-image: url(../images/backgr.png);
	margin-right: auto;
  margin-left: auto;
  height: 580px;
  width: 980px;
  background-repeat: no-repeat;
}
.content{
margin-left:auto;
margin-right:auto;
width:960px;
height:510px;
text-align: left;
}
#hdr {
  width:980px;
  height: 45px;
  color: white;
  text-align: left;
  margin-right: auto;
  margin-left: auto;
}
#ft {
  text-align: center;
  height: 28px;
  width:980px;
  color: white;
  font-weight:bold;
  margin:0 auto 0 auto;
}
#sidebar {
  border-left: 1px solid #bbbbbb;
  float: right;
  text-align: left;
  margin-top: 6px;
  margin-left: 6px;
  padding-left: 6px;
  width: 185px;
}
#sidebar input {
  width: 170px;
}
.noteheader {
  border-bottom: 1px solid #888888;
  width: auto;
  color: #000000;
  height: auto;
  font-weight: bold;
  margin-bottom: 3px;
  font-size: 14px;
  text-align: left;
}
table.AddClientTable {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
table.AddClientTable td {
  text-align: left;
}
table.AddClientTable th{
	font-weight: bold;
	border-top: solid Silver 1px;
	border-bottom: solid Silver 1px;
}
table.AddClientTable input {
	width: 100%;
	font-size: 14px;
}
table.AddClientTable select {
	font-size: 14px;
}
#topmenu {
  position: relative;
  width: 500px;
  float: right;
  margin-bottom: 5px;
  z-index: 1000;
}
#nav {
  list-style: none;  
  margin: 0px 0px 0 0; 
  padding: 0; 
  display: block; 
  position: relative; 
  float: right; 
  width: 500px;
}
#nav li {
  margin: 0;
  padding: 0;
  position: relative;
  float: right;
}
#nav li img {
  margin: 0 0 0 6px;
  padding: 0 0 0 2px;
  vertical-align: middle;
}
#nav li a {
 color: #ffffff; 
 font-size: 11px; 
 font-family: Tahoma,Verdana, Geneva, Arial, Helvetica, sans-serif; 
 font-weight: bold; 
 display: block; 
 text-decoration: none; 
 margin: 0; 
 padding: 0 0 0 6px; 
 position: relative;
}
#nav li a:hover {
  background-color: #ff8102;
}
#nav li ul {
  display: none; 
  position: absolute; 
  top: 0; 
  left: 2px; 
  margin: 0; 
  padding: 0; 
  background-color: #990616; 
} 
*html #nav li ul { 
  top: 23px; 
  left: 0; 
}
#nav li:hover ul, #nav li.over ul {
  margin: 0;
  padding: 0;
  display: block;
}
#nav li ul li {
  border:  none;
  margin: 0;
  padding: 1px;
  width: 140px;
  height: auto;
  font-size: 10px;
  font-family: Tahoma,Verdana,Geneva,Arial,Helvetica,sans-serif;
  font-weight: normal;
  color: white;
  float: none;
  text-align: left;
  display: block;
}
#nav li ul li a {
  border:  none;
  margin: 0;
  padding: 2px 2px 2px 4px;
  display: block;
  color: white;
  text-decoration: none;
  height: auto;
  width: 134px;
  font-size: 10px;
  font-weight: normal;
  text-align: left;
  float: none;
}
#nav li ul li a:hover {
  border-top: medium none;
  margin: 0;
  padding: 2px 2px 2px 4px;
  color: white;
  text-decoration: none;
  background-color: #ff8102;
}
* html #nav li ul li a {
  width: 140px;
}
#nav li > ul {
  top: auto;
  left: auto;
}
table.table1 {
  border:  none;
  border-collapse: collapse;
  font-size: 13px;
}
table.table1 td {
  border: 1px solid #444444;
  padding: 2px;
  text-align: center;
}
table.table1 th {
  border: 1px solid black;
  padding: 2px;
  text-align: center;
  background-color: #c01323;
  color: white;
}
table.grid_doublerow {
  border:  none;
  margin-right: auto;
  margin-left: auto;
  border-collapse: collapse;
  font-size: 11px;
  width:100%;
}
table.grid_doublerow td {
  border-style: solid;
  border-width: 1px;
  padding: 1px;
  text-align: center;
  height: 32px;
}
table.grid_doublerow th {
  border: 1px solid black;
  padding: 1px;
  text-align: center;
  background-color: #c01323;
  color: white;
  font-weight: normal;
}
table.grid_doublerow th a {
  color: White;
}
table.grid_doublerow th a:hover {
  color: Black;
}
table.NewShipment {
  font-size: 11px;
  width: 100%;
}
table.NewShipment input {
  font-size: 11px;
}
table.NewShipment select {
  font-size: 11px;
  width: 100%;
}
table.NewShipment th{
	text-align:center;
	font-weight:bold;
	border-top: solid Silver 1px;
	border-bottom: solid Silver 1px;
}
table.table1 tr:hover td{
	background-color: #EFEFEF;
}
fieldset {
  padding: 5px;
  font-size: 11px;
}
.nosize {
  width: auto;
}
.nosizenoback {
  border:  none;
  width: auto;
}
.nosizenoback input {
  width: auto;
}
table.nosizenoback {
}
table.nosizenoback td input {
  width: auto;
}
table.nosizenoback label {
  font-size: 10px;
}
.nstab-panel {
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  height:460px;
  text-align: left;
  overflow: auto;
}
.nstab-normal {
	border-color: Black;
	border-width: 1px;
	border-top: 1px solid Black;
	border-left: 1px solid Black;
	border-right: 1px solid Black;
	padding: 2px;
	font-weight: bold;
	display: inline;
	float: left;
	position: relative;
	clear: none;
	text-align: center;
	height: 15px;
	margin-left: 1px;
	margin-right: 1px;
	background: #c01323;
  -moz-border-radius:5px 5px 0px 0px;
  -webkit-border-radius:5px 5px 0px 0px;
}
.nstab-active {
  border-color: Black Black White;
  border-width: 1px;
  border-top: 1px solid Black;
  border-left: 1px solid Black;
  border-right: 1px solid Black;
  padding: 2px;
  font-weight: bold;
  position: relative;
  display: inline;
  float: left;
  background-color: White;
  text-align: center;
  height: 15px;
  margin-right: 1px;
  margin-left: 1px;
  -moz-border-radius:5px 5px 0px 0px;
  -webkit-border-radius:5px 5px 0px 0px;
}
.nstab-view {
  border: 1px solid Black;
  padding: 5px;
  clear: both;
  overflow: auto;
  height:400px;
}
.nstab-normal a {
  color: White;
  text-decoration: none;
}
.nstab-normal a:hover {
  color: White;
  text-decoration: none;
}
.nstab-active a {
  color: Black;
  text-decoration: none;
}
.nstab-active a:hover {
  color: Black;
  text-decoration: none;
}
.ar {
  text-align:right;
}
table.AddClientTable {
  margin-left: auto;
  margin-right: auto;
  font-size: 11px;
}
table.AddClientTable td {
  text-align: left;
}
#callback_status {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 0px;
  left: 0px;
  z-index: 1000 ! important;
  overflow: hidden;
}
#popupContent {
  border: 1px solid black;
  padding: 15px;
  background-color: white;
  width: 200px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
  height: 50px;
  top: -80%;
  font-size: 16px;
  font-weight: bold;
}
#popupBackground {
  opacity: 0.7;
  background-color: white;
  filter: alpha(opacity = 70);
  width: 100%;
  height: 100%;
}
.hide {
  visibility: hidden;
}
.TDatePicker_default {
  border: 1px solid #919ea9;
  background-color: White;
  text-align: center;
  font-size: 9px;
  font-family: Tahoma,Arial,Helvetica,sans-serif;
  cursor: default;
  width: 180px;
}
.TDatePickerButton {
  width: 20px;
}
.TDatePickerImageButton {
  border: 1px solid #919ea9;
  padding: 2px;
  vertical-align: top;
  margin-left: 1px;
}
.TDatePickerImageButton:hover {
  border-color: #dddddd;
}
.TDatePicker_default select {
  font-size: 9px;
}
.TDatePicker_default input.button {
  font-size: 9px;
  width: 0px;
  display: none;
  visibility: hidden;
}
.TDatePicker_default .date {
  border: 1px solid white;
  padding: 0;
  text-align: center;
}
.TDatePicker_default .hover {
  border: 1px solid blue;
}
.TDatePicker_default .selected {
  border: 1px solid blue;
  background-color: blue;
  color: white;
}
.TDatePicker_default .today {
  font-weight: bold;
}
.TDatePicker_default td.empty {
  border: 1px solid white;
  cursor: default;
  height: 0px;
}
.TDatePicker_default td {
  font-size: 11px;
  width: 10px;
}
.TDatePicker_default th {
  font-size: 11px;
}
.TDatePicker_default .calendarHeader {
  text-align: center;
}
.months select {
  width: 10px;
}
.TDatePicker_default .calendarHeader td {
  margin: 0px;
  padding: 0px;
}
.TDatePicker_default .calendarHeader select {
  font-size: 9px;
  width: auto;
}
.TDatePicker_default .calendarBody {
  margin: 0;
  text-align: center;
  width: 180px;
}
.TDatePicker_default .grid {
}
.TDatePicker_default .calendarFooter {
  border-top: 1px solid #919ea9;
  margin: 0px;
  padding-top: 0px;
}
.TDatePicker_default .todayButton {
  margin: 1px;
  font-size: 9px;
  padding-left: 1em;
  padding-right: 1em;
  width: auto;
}
/* autocomplete */
.acomplete { position: relative; z-index: 5; background-color: #FFFFFF; border: 1px solid #243356;max-height:150px; overflow:auto}
.acomplete ul, .acomplete li { margin: 0px; padding: 0px; list-style: none; color: #333; }
.acomplete li { padding: 4px; border-top: 1px solid #ccc; }
.acomplete .selected { background-color: #c01323; color:#FFFFFF}
/* query */
.query_body	{
	        font-family: Tahoma,Verdana,Arial, Helvetica, sans-serif;
        	font-size: 11px;
		background-color: rgb(255,255,255);
		margin: 3; /* NS: margin:0 gives 3 */
		}
.query_title	{
	        font-family: Tahoma,Verdana,Arial, Helvetica, sans-serif;
        	font-size: 11px;
		background-color: rgb(204,0,0);
		color: white;
		font-weight: bold;
		}
.query_head	{
	        font-family: Tahoma,Verdana,Arial, Helvetica, sans-serif;
        	font-size: 11px;
			font-weight:bold;
		background-color: white;
		}

.query_rowr	{ font-family: Tahoma,Verdana,Arial, Helvetica, sans-serif;
                  font-size: 11px; color: rgb(0,0,0); 
                  background-color: rgb(238,238,238) }
.query_rowg	{ font-family: Tahoma,Verdana,Arial, Helvetica, sans-serif;
                  font-size: 11px; rgb(0,0,0); 
                  background-color: rgb(248,248,248) }
.query_rowb	{ font-family: Tahoma,Verdana,Arial, Helvetica, sans-serif;
                  font-size: 11px; rgb(0,0,0); 
                  background-color: rgb(258,258,258) }

.query_table td	{ vertical-align: top }
