/**
 * Main CSS file for layout and positioning
 *
 * @author    Helmut Chang <helmut.chang@helmutchang.at>
 * @copyright © 2010 helmutchang.at / internetkonzepte.at
 * @version   $Id$
*/
@CHARSET "UTF-8";

/* ========================================================================== *\
|                                                                              |
| Common Formats & Positioning                                                 |
|                                                                              |
\* ========================================================================== */
* {
  font-size: 12px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  outline: none;
}

html, body {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

body {
  background: #333 url('/img/bg/body.png') repeat-y;
  -moz-box-shadow: inset 0 0 2px #fff;
  box-shadow: inset 0 0 2px #fff;
}

/* ========================================================================== *\
| Upgrade info for IE < 8                                                      |
\* ========================================================================== */
#UpgradeInfo {
  display: none;
}

* html #UpgradeInfo {
  display: block;
}

*+html #UpgradeInfo {
  display: block;
}

.TitleBar {
  color: #fff;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 24px;
  line-height: 24px;
  margin: 0;
  padding: 0;
  padding-left: 5px;
  border-bottom: groove 2px #333;
  font-weight: bold;
  cursor: default;
  -moz-user-select: none;
  user-select: none;
  text-shadow: 1px 1px 2px #000;
}

.TitleBar * {
  vertical-align: middle;
}

.TitleBar button {
  background: #fff url("/img/bg/titlebar.button.png") center repeat-x;
  display: inline-block;
  float: right;
  /*vertical-align: top;*/
  border: solid 1px #491916;
  border-top: 0 none;
  -moz-border-radius: 0 0 5px 5px;
  border-radius: 0 0 5px 5px;
  margin: 0;
  margin-right: 5px;
  padding: 1px 5px;
  white-space: nowrap;
  -moz-box-shadow: inset 0 0 2px #fff;
  box-shadow: inset 0 0 2px #fff;
}

.TitleBar button:hover {
  -moz-box-shadow: inset 0 0 5px #fff, 0 0 10px #fc9;
  box-shadow: inset 0 0 5px #fff, 0 0 10px #fc9;
}

.TitleBar button img {
  margin: 0;
  padding: 0;
  display: block;
  vertical-align: top;
}

.ToolBar {
  background: #333 url('/img/bg/toolbar.png') center repeat-x;
  position: absolute;
  top: 26px;
  right: 0;
  left: 0;
  height: 42px;
  line-height: 42px;
  margin: 0;
  padding: 0;
  -moz-box-shadow:  inset 0 0 2px #fff;
  box-shadow:  inset 0 0 2px #fff;
  border-bottom: groove 2px #666;
}

.ToolBar > ul {
  position: absolute;
  top: 0;
  right: 10px;
  bottom: 0;
  left: 10px;
  margin: 0;
  padding: 0;
  list-style-type: none;
  background-color: transparent;
}

.ToolBar ul > li {
  display: inline;
  height: 42px;
  line-height: 42px;
  margin: 0 1px 0 0;
  padding: 0;
  vertical-align: top;
  background-color: transparent;
}

.ToolBar ul > li button {
  border: solid 1px #666/*902F08*/;
  text-align: center;
  background: transparent;
  vertical-align: middle;
  margin-right: 5px;
  padding: 2px 10px 0 10px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -moz-box-shadow:  inset -1px 1px 1px -1px #fff, inset 0 0 2px #ccc, inset 0 -5px 5px -3px #999;
  box-shadow:  inset -1px 1px 1px -1px #fff, inset 0 0 2px #ccc, inset 0 -5px 5px -3px #999;
}

.ToolBar ul > li button:hover,
.ToolBar ul > li button:focus {
  -moz-box-shadow:  inset -1px 1px 5px -1px #fff, inset 0 0 5px #ccc, inset 0 -5px 5px -3px #999, 0 0 20px #999;
  box-shadow:  inset -1px 1px 5px -1px #fff, inset 0 0 5px #ccc, inset 0 -5px 5px -3px #999, 0 0 20px #999;
}

.ToolBar ul > li button:active {
  border-style: inset;
  -moz-box-shadow:  inset -1px 1px 1px -1px #333, inset 0 0 2px #333, inset 0 -5px 5px -3px #333;
  box-shadow:  inset -1px 1px 1px -1px #333, inset 0 0 2px #333, inset 0 -5px 5px -3px #333;
}

.ToolBar ul > li button.disabled {
  opacity: 0.35;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=35)";

}

.ToolBar ul > li button.disabled:hover,
.ToolBar ul > li button.disabled:active {
  background-color: transparent;
  background-image: none;
  -moz-box-shadow:  inset -1px 1px 1px -1px #fff, inset 0 0 2px #ccc, inset 0 -5px 5px -3px #999;
  box-shadow:  inset -1px 1px 1px -1px #fff, inset 0 0 2px #ccc, inset 0 -5px 5px -3px #999;
}

.ToolBar > ul > li button.ToolBarGotoFolderButton {
  display: none;
}

.ToolBar > ul > li > img {
  border-left: groove 2px #333;
  vertical-align: middle;
  margin-right: 5px;
  height: 30px;
}

.ToolBar ul > li .ToolBarSearchField,
.ToolBar ul > li .ToolBarSearchFieldSmall {
  border: solid 1px #333/*902F08*/;
  display: inline-block;
  height: 27px;
  line-height: 27px;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -moz-box-shadow:  inset -1px 1px 1px -1px #fff, inset 0 0 2px #ccc, inset 0 -5px 5px -3px #999;
  box-shadow:  inset -1px 1px 1px -1px #fff, inset 0 0 2px #ccc, inset 0 -5px 5px -3px #999;
}

.ToolBar ul > li .ToolBarSearchField input,
.ToolBar ul > li .ToolBarSearchFieldSmall input {
  background-color: transparent;
  border: 0 none;
  margin: 0;
  padding: 3px;
  width: 200px;
}

.ToolBar ul > li .ToolBarSearchFieldSmall input {
  width: 100px;
}

.ToolBar ul > li .ToolBarSearchField input.InfoText,
.ToolBar ul > li .ToolBarSearchFieldSmall input.InfoText {
  color: #333;
  font-style: italic;
}

.ToolBar ul > li .ToolBarSearchField button,
.ToolBar ul > li .ToolBarSearchFieldSmall button {
  margin: 0;
  width: 22px;
  height: 25px;
  vertical-align: top;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border: 0 none;
}

.ToolBar ul > li .DropDownButton {
  display: inline-block;
  padding: 0 5px 0 0;
  text-align: left;
  vertical-align: middle;
  height: 32px;
  line-height: 30px;
  text-shadow: 1px 1px 1px #fff;
}

.ToolBar ul > li .DropDownButton img {
  vertical-align: middle;
  display: inline-block;
  margin-right: 5px;
  padding-left: 2px;
  padding-right: 5px;
}

.ToolBar ul > li > ul.DropDownList {
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  background: url("/img/bg/formpanel.png") repeat-y scroll 0 0 #FFFFFF;
  border: 1px outset #333;
  box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.5);
  cursor: default;
  max-height: 250px;
  overflow-y: scroll;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  z-index: 2000;
}

.ToolBar ul > li ul.DropDownList li {
  display: block;
  height: 22px;
  line-height: 22px;
  margin: 0;
  padding: 2px 5px;
  background: transparent url("/img/bg/toolbar.dropdown.list.png")
    repeat-y;
}

.ToolBar ul > li ul.DropDownList li img {
  vertical-align: middle;
  padding-top: 3px;
  padding-bottom: 3px;
  padding-right: 11px;
}

.ToolBar ul > li ul.DropDownList li.DefaultItem {
  padding-left: 31px;
  border-bottom: groove 2px #333;
  font-style: italic;
}

.ToolBar ul > li ul.DropDownList li:hover {
  background: transparent url("/img/bg/toolbar.dropdown.hover.png");
}

.SideBar {
  position: absolute;
  top: 73px;
  bottom: 90px;
  left: 0;
  width: 300px;
  margin: 0;
  padding: 0;
  overflow-y: scroll;
  border-right: groove 2px #333;
  border-top: groove 2px #333;
  border-bottom: groove 2px #333;
  /* Sum: 200 + 2 + 1 */
  cursor: default;
  user-select: none;
  -moz-user-select: none;
  background-color: #F5F5F5;
}

.SideBar ul {
  list-style: none inside;
  margin: 0;
  padding: 0;
}

.SideBar > ul {
  padding-bottom: 35px;
}

.SideBar > ul > li {
  background: #333 url('/img/bg/dialog.bg.png');
  margin: 5px 10px 10px 5px;
  padding: 0;
  -moz-box-shadow: inset -1px 1px 1px -1px #fff, inset 0 0 2px #ccc, inset 0 -5px 5px -3px #999;
  box-shadow: inset -1px 1px 1px -1px #fff, inset 0 0 2px #ccc, inset 0 -5px 5px -3px #999;
  -moz-border-radius: 5px 5px 10px 10px;
  border-radius: 5px 5px 10px 10px;
  border: solid 1px #333;
}

.SideBar > ul > li > span {
  -moz-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
  display: block;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 2px #000;
  padding: 5px 5px;
}

.SideBar > ul > li > span button {
  background: transparent url("/img/bg/titlebar.button.png") center repeat-x;
  display: inline-block;
  float: right;
  vertical-align: top;
  border: solid 1px #333;
  border-top: 0 none;
  -moz-border-radius: 0 0 5px 5px;
  border-radius: 0 0 5px 5px;
  margin: 0;
  margin-top: -5px;
  padding: 1px 5px;
  white-space: nowrap;
  -moz-box-shadow: inset 0 0 2px #fff;
  box-shadow: inset 0 0 2px #fff;
}

.SideBar > ul > li > span button:hover {
  -moz-box-shadow: inset 0 0 5px #fff, 0 0 10px #ccc;
  box-shadow: inset 0 0 5px #fff, 0 0 10px #ccc;
}

.SideBar > ul > li > ul {
  border: solid 1px #333;
  margin: 5px;
  padding: 5px 5px 10px 5px;
  background: #f5f5ff;
  -moz-box-shadow: /*inset 2px 1px 5px #333, */0 0 3px #ccc;
  box-shadow: /*inset 2px 1px 5px #333, */0 0 3px #ccc;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.SideBar > ul > li > ul > li.Separator {
  border: inset 1px #f5f5f5;
  margin: 5px 0;
}

.SideBar > ul > li img {
  vertical-align: middle;
}

.SideBar > ul > li > ul span,
.SideBar > ul > li > ul a {
  display: inline-block;
  padding: 5px;
}

.SideBar > ul > li > ul a:hover {
  text-decoration: underline;
  cursor: pointer;
}

.SideBar li li li {
  margin-left: 20px;
  font-style: italic;
}

#Imprint {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  margin: 0;
  padding: 0;
  border-top: groove 2px #333;
  border-right: groove 2px #333;
  /* Sum: 200 + 2 + 1 */
  cursor: default;
  user-select: none;
  -moz-user-select: none;
  background-color: #F5F5F5;
}

#Imprint address {
  margin: 0;
  padding: 10px;
}

#ContentUpdatePanel {
  position: absolute;
  top: 72px;
  right: 0;
  bottom: 0;
  left: 303px;
  margin-top: 2px;
  margin-left: 2px;
  background: #f5f5f5;
  border-left: groove 2px #333;
  border-top: groove 2px #333;
}

.MessageBar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 40px;
  margin: 0;
  padding: 0;
  border-bottom: groove 2px #f5f5f5;
  background: #fff;
}

.MessageBar img {
  position: absolute;
  top: 4px;
  left: 4px;
}

.MessageBar p,
.MessageBar ul {
  position: absolute;
  top: 0;
  right: 0;
  left: 40px;
  height: 40px;
  line-height: 40px;
  margin: 0;
  padding: 0;
}

.MessageBar p {
  font-size: 14px;
  font-weight: bold;
}

.MessageBar ul {
  color: #900;
  list-style-type: none;
  overflow-y: auto;
}

.MessageBar ul li {
  line-height: 20px;
  margin: 0;
  padding: 0;
}

.FormPanel {
  position: absolute;
  top: 42px;
  left: 0;
  right: 0;
  bottom: 42px;
  margin: 5px;
  border: solid 1px #ccc;
  overflow-y: scroll;
  overflow-x: hidden;
  -moz-border-radius: 10px 0 0 10px;
  border-radius: 10px 0 0 10px;
  background-color: #fff;
}

.ButtonBar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  line-height: 40px;
  border-top: groove 2px #f5f5f5;
  text-align: right;
  padding-right: 10px;
}

.ButtonBar input {
  vertical-align: middle;
  min-width: 80px;
}

/* ========================================================================== *\
|                                                                              |
| Layout of List View Control                                                  |
|                                                                              |
\* ========================================================================== */
.ListView {
  position: absolute;
  top: 42px;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}

.Dialog .ListView {
  top: 86px;
}

.ListViewWithButtonBarPanel .ListView {
  bottom: 42px;
}

.ListView * {
  user-select: none;
  -moz-user-select: none;
  cursor: default;
}

.ListViewDataContainer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: scroll;
  background-color: #fff;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.ListView table {
  white-space: nowrap;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 100%;
}

.ListView table tbody {

}

.ListView table th,
.ListView table td {
  height: 22px;
  line-height: 20px;
  text-align: left;
  vertical-align: middle;
  margin: 0;
  padding: 0 5px;
  white-space: nowrap;
}

.ListView table th {
  font-weight: normal;
  border: outset 1px #f5f5f5;
  border-top: 0 none;
  background: #f5f5f5 url('/img/bg/list.header.png') repeat-x;
}

.ListView table th:hover,
.ListView table th.sortedascending:hover,
.ListView table th.sorteddescending:hover {
  color: #fff;
  border-color: #333;
  background: #333 url('/img/bg/list.header.hovered.png') repeat-x;
}

.ListView table th.sortedascending,
.ListView table th.sorteddescending {
  background-image: url('/img/bg/list.header.active.png');
}

.ListView table th img {
  width: 20px;
  height: 20px;
  margin: 0 0 0 5px;
  padding: 0;
  background-color: transparent;
  vertical-align: bottom;
}

.ListView table th.sorteddescending img {
  background-image:  url('/img/bg/listview.descending.png');
}

.ListView table th.sorteddescending:hover img {
  background-image:  url('/img/bg/listview.descending.hover.png');
}

.ListView table th.sortedascending img {
  background-image:  url('/img/bg/listview.ascending.png');
}

.ListView table th.sortedascending:hover img {
  background-image:  url('/img/bg/listview.ascending.hover.png');
}

.ListView table td {
  border: solid 1px #f5f5f5;
  border-left-color: transparent;
  border-top-color: transparent;
}

.ListView table td.Numeric,
.ListView table td.numeric {
  text-align: right;
}

.ListView table td.Code,
.ListView table td.code {
  font-family: Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",monospace,sans-serif;
  font-size: 14px;
}

.ListView table td.imageColumn {
  padding: 0;
  text-align: center;
  vertical-align: middle;
  line-height: 16px;
}

.ListView table td img {
  display: inline-block;
  margin: 0;
  vertical-align: middle;
}

.ListView table tbody tr.selected {
  background-color: #ccc;
  -moz-box-shadow: inset 0 0 1px #333;
  box-shadow: inset 0 0 1px #333;
}

.ListView table tbody tr:hover {
  background-color: #f5f5f5;
  -moz-box-shadow: inset 0 0 1px #333;
  box-shadow: inset 0 0 1px #333;
}

.ListView table tbody tr.selected:hover {
  background-color: #ccc;
  -moz-box-shadow: inset 0 0 1px #000;
  box-shadow: inset 0 0 1px #000;
}

.ListView table .Filler {
  width: 99%;
}


.ListView table th.Filler,
.ListView table th.Filler:hover,
.ListView .DropDownButton .disabled,
.ListView .DropDownButton .disabled:hover {
  border-color: #f5f5f5;
  border-left-color: transparent;
  border-right-color: transparent;
  opacity: 0.25;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=25)";
  background: #f5f5f5 url('/img/bg/list.header.png') repeat-x;
}

/*.ListView table tr:hover td {
  border-color: #ccc;
  border-right-color: transparent;
}*/

.ListView .DropDownButton {
  /*display: none;*/
  /*background-color: #f5f5f5;*/
  width: 24px;
  text-align: center;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 20;
}

.ListView .DropDownButton button {
  display: block;
  width: 24px;
  height: 22px;
  line-height: 20px;
  border: outset 1px #f5f5f5;
  border-top: 0 none;
  margin: 0;
  padding: 0;
  background: #f5f5f5 url('/img/bg/list.header.png') repeat-x;
}

.ListView .DropDownButton button:active,
.ListView .DropDownButton button:focus {
  background: #f5f5f5 url('/img/bg/list.header.active.png') repeat-x;
}

.ListView .DropDownButton button:hover {
  border-color: #333;
  background: #333 url('/img/bg/list.header.hovered.png') repeat-x;
}

.ListView .DropDownButton button img {
  display: block;
  position: absolute;
  top: 1px;
  left: 1px;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  background: transparent url('/img/bg/listview.columnschooser.png') no-repeat center;
}

.ListView .DropDownButton button:hover img {
  background: url('/img/bg/listview.columnschooser.hov.png') no-repeat center;
}

.ListView .DropDownButton button.disabled img,
.ListView .DropDownButton button.disabled:hover img {
  background: transparent url('/img/bg/listview.columnschooser.png') no-repeat center;
}

.ListView .DropDownButton ul {
  color: #000;
  background-color: #f5f5f5;
  position: absolute;
  max-width: 480px;
  max-height: 300px;
  list-style: none inside;
  border: outset 1px #f5f5f5;
  margin: 0;
  padding: 2px;
  z-index: 21;
  -moz-box-shadow: 2px 1px 4px #000;
  box-shadow: 2px 1px 4px #000;
  overflow-x: hidden;
  overflow-y: auto;
}

.ListView .DropDownButton li {
  white-space: nowrap;
  text-align: left;
  line-height: 22px;
  margin: 0;
  padding: 1px 5px;
  cursor: default;
  padding-right: 30px;
}

.ListView .DropDownButton li:hover {
  background-color: #ccc;
}

.ListView .DropDownButton li img {
  vertical-align: bottom;
  margin: 0;
}

/* ========================================================================== *\
|                                                                              |
| Dialog                                                                       |
|                                                                              |
\* ========================================================================== */

/* == Panel to "hide" the underlying UI == */
.DialogPanel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: transparent url('/img/bg/overlay.png');
  z-index: 100;
}

.Dialog {
  position: absolute;
  top: 5%;
  left: 10%;
  width: 900px;
  height: 85%;
  background: transparent url('/img/bg/dialog.bg.png');
  border: outset 1px #999;
  -moz-border-radius: 10px;
  border-radius: 10px;
  -moz-box-shadow: 4px 2px 8px #000;
  box-shadow: 4px 2px 8px #000;
  z-index: 101;
}

#Dialog2UpdatePanel .DialogPanel {
  z-index: 200;
}

#Dialog2UpdatePanel .Dialog {
  z-index: 201;
  top: 10%;
  left: 15%;
  height: 65%;
}

#AlertUpdatePanel .DialogPanel {
  z-index: 500;
}

#AlertUpdatePanel2 .DialogPanel {
  z-index: 600;
}

#AlertUpdatePanel .Dialog,
#AlertUpdatePanel2 .Dialog {
  z-index: 501;
  top: 33%;
  left: 33%;
  width: 480px;
  height: 305px;
}

#AlertUpdatePanel .Dialog.confirm-popup,
#AlertUpdatePanel2 .Dialog.confirm-popup {
  top: 5%;
  left: 15%;
  width: 900px;
  height: 85%;
}

#AlertUpdatePanel2 .Dialog {
  z-index: 601;
}

#AlertUpdatePanel .Dialog .ButtonBar,
#AlertUpdatePanel2 .Dialog .ButtonBar {
  top: 230px;
}

#AlertUpdatePanel .Dialog.confirm-popup .ButtonBar,
#AlertUpdatePanel2 .Dialog.confirm-popup .ButtonBar {
  top: auto;
}

#DialogMailUpdatePanel .DialogPanel {
  z-index: 400;
}

#DialogMailUpdatePanel .Dialog {
  top: 2%;
  left: 15%;
  height: 95%;
  z-index: 401;
}

#DialogMailUpdatePanel .ListView {
  top: 84px;
  left: 0;
  right: 0;
  height: 60px;
  border: 0 none;
}

#DialogMailUpdatePanel .ListView .DropDownButton {
  display: none;
}

#DialogMailUpdatePanel .ListView .ListViewDataContainer {
  top: 0;
  overflow-x: hidden;
  border: 0 none;
}

#DialogMailUpdatePanel .ListView thead {
  display: none;
}

.Dialog .TitleBar {
  cursor: default;
  right: 5px;
  left: 5px;
  border: 0 none;
}

.Dialog .TabPanel{
  height: 21px;
  margin: 0;
  padding: 2px 5px;
  border-bottom: solid 1px #333;
  list-style: none inside;
  background-color: #ccc;
  /*background: #333 url('/img/bg/dialog.bg.png') repeat-y;*/
}

.Dialog .TabPanel li {
  margin-top: 1px;
  height: 21px;
  line-height: 21px;
  display: inline-block;
  border: solid 1px #333;
  border-bottom: 0 none;
  padding: 0 10px;
  -moz-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
  -moz-box-shadow: inset 0px 1px 1px #f5f5f5;
  box-shadow: inset 0px 1px 1px #f5f5f5;
}

.Dialog .TabPanel button {
  display: block;
  width: 100%;
  height: 100%;
  border: 0 none;
  background-color: transparent;
}

.Dialog .TabPanel li.ActiveView {
  position: relative;
  top: -1px;
  background: #f5f5f5 url('/img/bg/tab.active.png') repeat-x;
  border-color: #f5f5f5;
  border-style: outset;
  -moz-box-shadow: none;
  box-shadow: none;
}

.Dialog .TabPanel li:hover {
  background: transparent url('/img/bg/tab.active.png') repeat-x;
}

.Dialog .TabPanel li.ActiveView button {
  font-weight: bold;
}

.Dialog .ConfirmationDialogContent,
.Dialog .DialogContent {
  position: absolute;
  top: 26px;
  right: 5px;
  left: 5px;
  bottom: 5px;
  margin: 0;
  padding: 0;
  color: #000;
  background-color: #f5f5f5;
  border: groove 2px #666;
  -moz-border-radius: 0 0 5px 5px;
  border-radius: 0 0 5px 5px;
}

.Dialog .TabPanelContent {
  position: absolute;
  top: 28px;
  right: 0;
  left: 0;
  bottom: 0;
}

.Dialog .TabPanelContent .ListViewDataContainer,
#Dialog2UpdatePanel .ListViewDataContainer {
  bottom: 42px;
}

.Dialog .ConfirmationDialogContent {
  top: 26px;
}

.Dialog .DialogContent .ToolBar {
  top: 42px;
}

.Dialog .DialogContent .MessageBar {
  top: 0;
}

#AlertUpdatePanel .Dialog .MessageBar {
  border: 0 none;
  height: 230px;
}

#AlertUpdatePanel .Dialog.confirm-popup .MessageBar {
  border: 0 none;
  height: calc(100% - 71px);
  overflow-y: scroll;
  overflow-x: auto;
  padding: 15px;
}

#AlertUpdatePanel .Dialog .MessageBar img {
  left: 18px;
  top: 18px;
}

#AlertUpdatePanel .Dialog .MessageBar p {
  font-size: 12px;
  font-weight: normal;
  top: 0;
  left: 80px;
  height: 80px;
  padding-top: 18px;
  padding-right: 10px;
  line-height: normal;
}

#AlertUpdatePanel .Dialog.confirm-popup .MessageBar p {
  top: auto;
  left: auto;
  height: auto;
  padding: 0;
  line-height: 16px;
  position: relative;
  margin-bottom: 10px;
}

.Dialog .DialogContent .FormPanel {
  top: 86px;
}

#Progress {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('/img/bg/overlay.png');
  z-index: 1000;
}

#ProgressIndicator {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: transparent url('/img/bg/ajax-loader.gif') no-repeat center;
  z-index: 1001;
}

#PrintView {
  display: none;
}

/* ========================================================================== *\
|                                                                              |
| Form Elements                                                                |
|                                                                              |
\* ========================================================================== */
fieldset {
  margin: 10px;
  border: solid 1px #333;
  border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  padding: 10px 20px;
}

legend {
  /*border-radius: 5px;
  -moz-border-radius: 5px;
  color: #fff;
  text-shadow: 1px 1px 2px #000;*/
  font-weight: bold;
  margin: 10px 0;
  padding: 5px 10px;
  /*box-shadow: 2px 1px 4px #000;
  -moz-box-shadow: 2px 1px 4px #000;

  background: #333 url('/img/bg/dialog.bg.png');
  margin: 5px 10px 10px 5px;
  padding: 0;
  -moz-box-shadow:  2px 1px 4px #000, inset -1px 1px 1px -1px #fff, inset 0 0 2px #fc9, inset 0 -5px 5px -3px #fc9;
  -moz-border-radius: 5px;
  border: solid 1px #491916;*/
}

fieldset div {
  margin: 10px;
  vertical-align: middle;
}

fieldset div * {
  vertical-align: middle;
}

label {
  display: inline-block;
  margin-right: 20px;
}

.TextBox,
.DropDown {
  width: 300px;
}

.ReadOnlyTextBox,
.ReadOnlyNumberTextBox {
  border: dotted 1px #ccc;
  color: #000;
  background-color: transparent;
}

.DatePickerContainer img {
  margin-left: -20px;
}

.MediumTextBox,
.MediumNumberTextBox {
  width: 100px;
}

.DateTextBox,
.DatePickerTextBox {
  width: 80px;
}

.CompareTextBox {
  width: 170px;
}

.DatePickerTextBox {
  padding-right: 20px;
}

#ui-datepicker-div {
  display: none;
}

.ui-datepicker {
  -moz-border-radius: 0;
  border-radius: 0;
  -moz-box-shadow: 2px 1px 4px #000;
  box-shadow: 2px 1px 4px #000;
  background: #f5f5f5 none;
  border: 1px outset #f5f5f5;
  padding: 2px;
}

.ui-datepicker {
  cursor: default;
  -moz-user-select: none;
  user-select: none;
}

.ui-datepicker-header {
  -moz-border-radius: 0;
  border-radius: 0;
  background-color: #ccc;
  border: 0 none;
  cursor: default;
  padding: 2px 5px;
}

.ui-widget-header .ui-icon {
  background-image: none;
  display: none;
}

a.ui-datepicker-prev,
a.ui-datepicker-prev-hover {
  width: 20px;
  height: 20px;
  background: transparent url('/img/16/previous.png') center;
  -moz-border-radius: 3px;
  border-radius: 3px;
  float: left;
}

a.ui-datepicker-next,
a.ui-datepicker-next-hover {
  width: 20px;
  height: 20px;
  background: transparent  url('/img/16/next.png') center;
  -moz-border-radius: 3px;
  border-radius: 3px;
  float: right;
}

.ui-datepicker-title {
  text-align: center;
  line-height: 20px;
}

.ui-datepicker-calendar {
  border-collapse: separate;
  border-spacing: 1px;
}

.ui-datepicker-calendar th {
  padding: 2px 5px;
}

.ui-datepicker-calendar td {
  border: solid 1px #ccc;
  text-align: right;
  background-color: #fff;
  padding: 0;
}

.ui-datepicker-calendar td.ui-datepicker-current-day {
  border-color: #333;
  background-color: #ccc;
}

.ui-datepicker-calendar td.ui-datepicker-today {
  border-color: #D33122;
}

.ui-datepicker-calendar td.ui-datepicker-other-month {
  border-color: transparent;
  background-color: transparent;
}

.ui-datepicker-calendar td a {
  text-decoration: none;
  color: #000;
  display: block;
  width: 25px;
  line-height: 20px;
  padding: 2px 5px;
}

.ui-datepicker-calendar td a:hover {
  color: #fff;
  background: transparent url('/img/bg/dialog.bg.png');
}

.SmallTextBox,
.SmallNumberTextBox {
  width: 60px;
}

.SmallNumberTextBox,
.MediumNumberTextBox,
.NumberTextBox {
  text-align: right;
}

/* -- Form Elements, appended to a small text box -- */
.AppendedTextBox,
.CityDropDown {
  width: 234px;
}

.AlertBox,
.InfoBox,
.ErrorBox {
  border: dotted 1px #ccc;
  border-radius: 5px;
  background: #eee;
  margin-top: 0;
  padding: 5px;
  padding-left: 26px;
  font-size: 11px;
  font-style: italic;
  background-repeat: no-repeat;
  background-position: 5px center;
}

.AlertBox * {
  font-size: 11px;
}

.AlertBox {
  background-image: url('/img/16/alert.png');
}

.InfoBox {
  background-image: url('/img/16/info.png');
}

.ErrorBox {
  background-image: url('/img/16/error.png');
}