#modal {
  display:none;
}

#overlay {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0px;
  left: 0px;
  z-index: 99;
  background-color: black;
  opacity:0.40;
  filter:alpha(opacity=40);
}

#overlay img {
  width: 100%;
  height: 100%;
}

#lightbox {
  position: fixed;
  z-index: 102;
  background: white;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  font-size: 12px;
  color: #4f4f4f;
  line-height: 12pt;
  font-family: verdana, arial;
  top: 100px;
  margin-left: 175px;
  padding: 20px 20px;
  width: 750px;
}

#lightbox .lightbox_title {
  color: white;
  background-color: #a3b8cc;
  border: 1px solid black;
  height: 40px;
  font-size: 18px;
  line-height: 40px;
  padding: 0px 15px;
}

#lightbox .lightbox_title .close {
  float: right;
  color: white;
  height: 20px;
  font-size: 18px;
  line-height: 40px;
  cursor: pointer;
}

#lightbox .lightbox_footer {
  color: white;
  background-color: #CCC;
  border: 1px solid black;
  height: 40px;
  font-size: 20px;
  line-height: 40px;
  padding: 0px 100px 0px 0px;
}

#lightbox .lightbox_footer a {
  float: right;
  color: white;
  background-color: #798599;
  border: 1px solid black;
  height: 14px;
  font-size: 14px;
  line-height: 14px;
  padding: 4px 10px;
  margin: 8px 10px;
  text-decoration: none;
  cursor: pointer;
}

#lightbox .lightbox_footer a.delete {
  float: left;
  background-color: indianred;
}

#lightbox .content {
  font-size: 12px;
  border-left: 1px solid black;
  border-right: 1px solid black;
  max-height: 300px;
  overflow-y: auto;
}

#lightbox .content .row1 {
  height: 35px;
  padding: 0px 15px;
  line-height: 35px;
}

#lightbox .content .row2 {
  height: 35px;
  padding: 0px 15px;
  background-color: #EEE;
  line-height: 35px;
}

#lightbox .content .label {
  float: left;
  margin: 0px;
  font-weight: normal;
}

#lightbox .content .value {
  margin-left: 250px;
}

#lightbox .content p {
  margin-left: 10px;
  margin-right: 10px;
}

#lightbox .content_padded {
  padding: 10px;
  font-size: 12px;
  border-left: 1px solid black;
  border-right: 1px solid black;
  max-height: 250px;
  overflow-y: auto;
}

#lightbox table {
  width: 100%;
}

#lightbox table tr.a {
  background-color: white;
}

#lightbox table tr.b {
  background-color: #EEE;
}

#lightbox td {
  padding: 0px 0px 0px 10px;
  margin: 0px;
  height: 40px;
}

#lightbox.opac {
  width: 600px;
}

#lightbox.opac input {
  padding: 3px;
}

div.tabs {
  border-left: 1px solid black;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  height: 25px;
  background-color: #DDD;
}

div.tabs a {
  color: black;
  line-height: 25px;
  border-right: 1px solid black;
  float: left;
  padding: 0px 10px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
}

div.tabs a.active, div.tabs a:hover {
  background-color: cornsilk;
}
