﻿.alignedright, td.alignedright, th.alignedright
{
  text-align: right;
  margin-left: auto;
}

.alignedleft, td.alignedleft, th.alignedleft
{
  text-align: left;
  margin-right: auto;
}

.alignedcenter, td.alignedcenter, th.alignedcenter
{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.alignedmiddle, td.alignedmiddle, th.alignedmiddle
{
  vertical-align: middle;
}

.alignedtop, td.alignedtop, th.alignedtop
{
  vertical-align: top;
}

.alignedbottom, td.alignedbottom, th.alignedbottom
{
  vertical-align: bottom;
}

/* overflow containers */
.horizontaloverflowcontainer
{
  overflow: -moz-scrollbars-vertical;
  overflow: auto;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: expression(this.scrollWidth > this.offsetWidth ? 17 : 2);
  width: 100%;
}

.overflowcontainer
{
  /*  overflow: -moz-scrollbars-horizontal; */
  overflow: auto; /*   padding-bottom: expression(this.scrollWidth > this.offsetWidth ? 17 : 2);    padding-right: expression(this.scrollWidth > this.offsetWidth ? 17 : 3);  */
  width: 100%;
}

/* form table */
.form tr td
{
  padding-right: 5px;
}

.form tr td td
{
  padding: 0;
}


.form td.footer
{
  background-color: #e7e7e7;
  padding: 5px;
  text-align: right;
  margin-left: auto;
}

.form table tr th, .form table tr td, table.form tr th, table.form tr td
{
  line-height: 2.1em;
  vertical-align: top;
}

.form table tr th, table.form tr th
{
  font-weight: bold;
  padding-right: 3px;
}

table.form tr th.alignedmiddle, table.form tr td.alignedmiddle
{
  vertical-align: middle;
}

.nowrap
{
  white-space: nowrap;
}

.input {
  border: solid 1px #7f9db9;
  background-color: #ffffff;
  background: #fff url('images/template/input.bg.gif') no-repeat top left;
}
