/* jqModal base Styling courtesy of;
	Brice Burgess <bhb@iceburg.net> */

/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
	the Window's z-index value will be set to 3000 by default (via jqModal.js). */

.jqmWindow {
  display: none;
  position: fixed;
  top: 17%;
  left: 50%;
  margin-left: -300px;
  width: 600px;
  background-color: #FFF;
  color: #000;
  border: 1px solid #7f7f7f;
  padding: 12px;
}

.jqmOverlay {
  background-color: #000;
}

/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.jqm {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: expression(this.parentNode.offsetWidth+'px');
  height: expression(this.parentNode.offsetHeight+'px');
}

/* Fixed posistioning emulation for IE6
	 Star selector used to hide definition from browsers other than IE6
	 For valid CSS, use a conditional include instead */
* html .jqmWindow {
  position: absolute;
  top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

.bruceModalDialog {
  border: 1px #D6D6D6 solid;
  padding: 0px;
  width: 500px;
  height: 400px;
}

  .bruceModalDialog .dialogHeader {
    background-image: none;
    border: none;
    height: 21px;
    border-bottom: 1px #D6D6D6 solid;
    background-color: #F4F4F4;
    font-family: 'Droid Sans', Verdana, Arial, Tahoma, sans-serif;
    font-weight: normal;
    font-size: 8pt;
    margin: 0;
    padding: 0;
  }

    .bruceModalDialog .dialogHeader .dialogHeader-title {
      margin-left: 10px;
      margin-top: 5px;
      float: left;
    }

    .bruceModalDialog .dialogHeader .dialogHeader-close {
      background-image: url('images/dialog_close.png');
      background-repeat: no-repeat;
      background-position: 0px 0px;
      border: none;
      background-color: transparent;
      height: 21px;
      width: 21px;
      margin: 0;
      padding: 0;
      right: 0;
      top: 0;
      float: right;
      cursor: pointer;
    }

      .bruceModalDialog .dialogHeader .dialogHeader-close.hover {
        border: none;
        background: none;
        background-image: url('images/dialog_close_hover.png');
        background-repeat: no-repeat;
        background-position: 0px 0px;
      }

  .bruceModalDialog input {
    border: 1px #D6D6D6 solid;
  }

    .bruceModalDialog input[type="checkbox"] {
      border: none;
    }


  .bruceModalDialog .dialogBody {
    left: 10px;
    border: 0;
    padding: 10px;
    position: absolute;
    top: 22px;
    right: 0px;
    bottom: 52px;
    overflow-x: hidden;
    overflow-y: scroll;
  }

  .bruceModalDialog select {
    border: 1px #D6D6D6 solid;
  }

  .bruceModalDialog textarea {
    border: 1px #D6D6D6 solid;
  }


  .bruceModalDialog .dialogButtonPane {
    text-align: right;
    position: absolute;
    border: none;
    border-top: 1px #d4d4d4 solid;
    margin-left: 10px;
    margin-right: 10px;
    bottom: 0px;
    left: 0;
    right: 0;
    height: 50px;
  }


.dialogButtonPane input:first-child {
  margin-right: 5px !important;
}

.bruceModalDialog .dialogButtonPane .dialogButtonPane-buttons {
  margin: 0px;
  padding: 0px;
  position: absolute;
  bottom: 0px;
  right: 10px;
}

.bruceModalDialog .dialogButtonPane input[type="button"] {
  cursor: pointer;
}

.bruceModalDialog .dialogButtonPane button, .bruceModalDialog .dialogButtonPane input {
  margin: 0px;
  padding: 0px;
  height: 16px;
  padding-left: 5px;
  padding-right: 5px;
  font-family: 'Droid Sans', Verdana, Arial, Tahoma, sans-serif;
  font-weight: normal;
  margin-top: 17px;
  margin-bottom: 17px;
  margin-left: 5px;
  color: #000;
  border: 1px #fff none;
}

.bruceModalDialog .dialogButtonPane input {
  font-family: 'Droid Sans', Verdana, Arial, Tahoma, sans-serif;
  font-weight: normal;
  font-size: 8pt;
  height: 18px;
}

  .bruceModalDialog .dialogButtonPane button:first-child, .bruceModalDialog .dialogButtonPane input:first-child {
    border: 1px #D6D6D6 solid;
    background-color: F4F4F4;
    background-image: none;
    padding-left: 15px;
    padding-right: 15px;
  }

.bruceModalDialog .dialogButtonPane button span, .bruceModalDialog .dialogButtonPane a {
  font-family: 'Droid Sans', Verdana, Arial, Tahoma, sans-serif;
  font-weight: normal;
  font-size: 8pt;
  color: #000;
  margin: 0px;
  padding: 0px;
}

.bruceModalDialog .dialogButtonPane a {
  cursor: pointer;
  color: #000;
}

  .bruceModalDialog .dialogButtonPane a:hover {
    color: #000;
  }
.ui-autocomplete {
    z-index: 2150000000;
}

