.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after {
  clear: both;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10040;
  background-color: black;
}
.modal-backdrop.fade {
  opacity: 0;
}
.modal-backdrop,
.modal-backdrop.fade.in {
  opacity: 0.8;
  filter: alpha(opacity=80);
}
.modal {
  position: fixed;
  top: 10%;
  left: 50%;
  z-index: 10050;
  width: 420px;
  margin-left: -200px;
  background-color: white;
  border: 1px solid #999999;
  border: 1px solid rgba(0, 0, 0, 0.3);
  *border: 1px solid #999999;
  /* IE6-7 */

  -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding-box;
  background-clip: padding-box;
  outline: none;
}
.modal.fade {
  -webkit-transition: opacity .3s linear, top .3s ease-out;
  -moz-transition: opacity .3s linear, top .3s ease-out;
  -o-transition: opacity .3s linear, top .3s ease-out;
  transition: opacity .3s linear, top .3s ease-out;
  top: -25%;
}
.modal.fade.in {
  top: 10%;
}
.modal.parmSearch {
  width: 900px;
  margin-left: -450px;
}
.modal.parametersModal {
  width: 600px;
  margin-left: -300px;
}
.modal.jobAddModal {
  width: 890px;
  margin-left: -445px;
}
.modal.jobAddModal .header-section.first {
  margin-top: 0;
}
.modal-header {
  padding: 9px 15px;
  border-bottom: 1px solid #eeeeee;
}
.modal-header .btn-close {
  position: absolute;
  right: 15px;
  top: 17px;
  width: 24px;
  height: 24px;
  border: none;
  background: url(../Images/Modals/btn-close.png) no-repeat;
}
.modal-header .btn-close:hover {
  background-position: 0 -24px;
}
.modal-header h1 {
  margin: 3px 0 5px;
  line-height: 30px;
}
.modal-body {
  position: relative;
  overflow-y: auto;
  max-height: 450px;
  padding: 15px;
}
.modal-footer {
  padding: 14px 15px 15px;
  margin-bottom: 0;
  text-align: right;
  background-color: whitesmoke;
  border-top: 1px solid #dddddd;
  -webkit-box-shadow: inset 0 1px 0 white;
  -moz-box-shadow: inset 0 1px 0 white;
  box-shadow: inset 0 1px 0 white;
  *zoom: 1;
}
.modal-footer:before,
.modal-footer:after {
  display: table;
  content: "";
  line-height: 0;
}
.modal-footer:after {
  clear: both;
}
.modal-footer .btn-ok {
  display: block;
  float: right;
  width: 31px;
  height: 30px;
  background: url(../Images/Modals/btn-complete.png) no-repeat;
}
.modal-footer .btn-ok:hover {
  background-position: 0 -30px;
}
.modal .formrow {
  padding: 8px 0;
  border-bottom: 0;
}
.modal .formrow label {
  top: 10px;
}
.modal .message {
  margin: 0 -15px 10px;
}
