 * @project         Jx
 * @revision        $Id: dialog.css 1035 2008-09-22 17:05:20Z pspencer $
 * @author          Fred Warnock (fwarnock@dmsolutions.ca)
 * @copyright       (c) 2006 DM Solutions Group Inc.
 */

/* ============= */
/* DIALOG STYLES */
/* ============= */

.jxDialog .jxChrome {
  background-image: url("images/dialog_chrome.png");
}

.jxDialog .jxChrome img {
  width: 500px;
  height: 500px;
}

.jxDialog {
  /* Base setup */
  display: block;
  /* starting default z-index for dialogs. Multiple dialogs will get
   * incremental values starting from this value
   */
  z-index: 1000;
}

.jxDialogContentContainer {
  z-index: 1;
  margin: 0px 11px 16px 11px;
  border: none;
  background-color: #f0f0f0;
}

.jxDialogModal {
  /* Base setup */
  position: absolute;
  display: block;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;

  background-color: #000;
  opacity: .2;
  -ms-filter: "Alpha(opacity=20)";
}

.jxDialogContent {
  /* Base setup */
  display: block;
  position:relative;
  overflow: auto;

  padding: 0px;
  z-index: 1;
}

.jxDialogTitle {
   /* Base setup */
  display: block;
  position: relative;

  /* this makes the dialog draggable by the title bar in IE
   * Without it, only the label is draggable
   */
  background-image: url("images/a_pixel.png");

  text-align: center;
  /* note: height is hard coded into jx.js Jx.Dialog initialize function - change there as well as here */
  height: 16px;
  z-index: 1;

  margin: 10px 10px 0px 10px;
}

.jxDialogMin .jxDialogTitle {
  margin-bottom: 8px;
}

.jxDialogMoveable {
  cursor: move;
}

.jxDialogIcon {
  position: absolute;
  left: 10px;
  top: 0px;
  width: 16px;
  height: 16px;
  border: none;
  padding: 0px;
  margin: 0px;
}

.jxDialogLabel {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: bold;
  /* line-height vertically aligns the label in the containing div. */
  line-height:15px;
  color: #000;
  white-space: nowrap;
}

.jxDialogResize {
  /* Base setup */
  position: absolute;

  bottom: 7px;
  right: 6px;
  width: 16px;
  height: 16px;
  z-index: 2;
  border: 0px;
  cursor: se-resize;
  background-image: url("images/dialog_resize.png");
}

.jxDialogControls {
  position: absolute;
  top: 0px;
  right: 2px;
  height: 16px;
  width: 80px;
}

.jxDialogControls img {
  background-image: url('images/dialog_controls.png');
  background-repeat: no-repeat;
  border: 0px;
  /* the margin needs to make up the difference between it's width/height
     and the width/height of the parent a */
  margin: 0px;
  /* width/height has to be the actual image width/height */
  width: 16px;
  height: 16px;
}

.jxDialogClose img {
  background-position: 0px -32px;
}

.jxDialogMenu img {
  background-position: 0px -48px;
}

.jxDialogHelp img {
  background-position: 0px -64px;
}

.jxDialogCollapse img {
  background-position: 0px -16px;
}

.jxDialogMin .jxDialogCollapse img {
  background-position: 0px 0px;
}

.jxDialogMax .jxDialogCollapse img {
  background-position: 0px -16px;
}

.jxDialogLoading img {
  border: 0px;
  /* the margin needs to make up the difference between it's width/height
     and the width/height of the parent a */
  margin: 0px;
  /* width/height has to be the actual image width/height */
  width: 16px;
  height: 16px;
  visibility:hidden;
  position: absolute;
  top: 1px;
  left: 2px;
}
