/* ============================
   POPUP WINDOWS (2006 MODE)
   ============================ */

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  filter: alpha(opacity=70); /* IE */
  opacity: 0.7;
  z-index: 999;
}

.popupWindow {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 720px;
  margin-left: -360px;
  margin-top: -220px;
  background: #0e0518;
  border: 2px solid #4e1d7e;
  z-index: 1000;
  font-size: 11px;
  box-shadow: 0 0 20px #000000;
}

.popupTitlebar {
  background: #2a0f44;
  border-bottom: 1px solid #4e1d7e;
  padding: 6px 8px;
  font-family: "Courier New", Courier, monospace;
  color: #ffffff;
  letter-spacing: 1px;
}

.popupButtons {
  float: right;
}

.popupX {
  display: inline-block;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border: 1px solid #4e1d7e;
  background: #13061f;
  color: #90d907;
  font-weight: bold;
  text-decoration: none;
}

.popupX:hover {
  background: #4e1d7e;
  color: #ffffff;
  text-decoration: none;
}

.popupBody {
  padding: 8px;
}

/* If screen is small, let it scroll inside */
.popupBody {
  max-height: 420px;
  overflow: auto;
}

/* Reuse your portraitLarge class, but just in case: */
.portraitLarge {
  width: 240px;
  border: 2px solid #4e1d7e;
}
