
.lightbox {
  flex: 0.7 0.3 content;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
  width: auto;
  height: auto;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 2px;
  min-width: 400px;
  max-width: 750px;
  max-height: 80%;
}

.lightbox-loading {
  display: none;
  flex: auto 0.7 0.7;
  position: relative;
  max-width: 128px;
  max-height: 128px;
  font-size: 20pt;
}

.lightbox-overlay {
  z-index: 1000;
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.lightbox-header {
  flex: 0.1 1 auto;
  position: relative;
  background: #f5f5f5;
  border-bottom: 1px solid #dddddd;
  padding: 16px 20px 14px 16px;
}

.lightbox-header a.icon-cancel {
  float: right;
}

.lightbox-footer {
  flex: 0.1 1 auto;
  position: relative;
  background: #f5f5f5;
  border-top: 1px solid #dddddd;
  padding: 14px 20px 12px 20px;
  text-align: right;
}

.lightbox-header h1 {
  font-size: 14pt;
  margin: 0;
  padding: 0;
}

.lightbox-content {
  flex: 0.1 1 auto;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  position: relative;
  font-size: 10pt;
  padding: 16px;
  min-height: 32px;
}

.lightbox-content form.nj-form .nj-form-field {
  width: 100%;
}

.lightbox-content form.nj-form .nj-form-label {
  width: 128px;
}

.lightbox-content select,
.lightbox-content textarea,
.lightbox-content input[type=text],
.lightbox-content #enter_sla table {
  width: 100% !important;
}

.lightbox-content input.sla_month {
  width: 50% !important;
}

.lightbox-footer button,
.lightbox-footer input[type="submit"],
.lightbox-footer input[type="reset"] {
  border: medium none;
  border-radius: 2px;
  font-size: 11pt;
  line-height: 1.1em;
  margin: 2px 4px;
  padding: 6px 16px;
  vertical-align: middle;
}

.lightbox-footer input[type="reset"] {
  background: none;
  color: #50c0e4;
}

.lightbox-footer input[type="reset"]:hover {
  background: none;
  color: #30a0b4;
}
