html, body {
  height: 100%;
}

.modal-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #000;
  opacity: .55;
  filter: alpha(opacity=55);
  z-index: 10001;
  zoom: 1;
}

* html .modal-overlay {
  position: absolute;
  height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

.modal-window {
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  position: fixed;
  top: 50%;
  left: 50%;
  margin: 0;
  padding: 0;
  z-index: 10002;
  zoom: 1;
}

* html .modal-window {
  position: absolute;
  top: expression(document.documentElement.scrollTop + (document.documentElement.clientHeight / 2) + 'px');
}

.modal-image {
  background: #000;
  border: 1em solid #333;
  border-radius: 1em;
  -webkit-border-radius: 1em;
  -moz-border-radius: 1em;
  box-shadow: 0.25em 0.25em 1em rgba(0,0,0,0.25);
  -webkit-box-shadow: 0.25em 0.25em 1em rgba(0,0,0,0.25);
  -moz-box-shadow: rgba(0,0,0,0.65) 0.5em 0.25em 1em;
}

.modal-flash-video {
  background: #000;
  border: 1em solid #000;
  border-radius: 1em;
  -webkit-border-radius: 1em;
  -moz-border-radius: 1em;
  box-shadow: 0.25em 0.25em 1em rgba(0,0,0,0.25);
  -webkit-box-shadow: 0.25em 0.25em 1em rgba(0,0,0,0.25);
  -moz-box-shadow: rgba(0,0,0,0.65) 0.5em 0.25em 1em;
}

.modal-flash-photoshow {
  background: #fff;
  -webkit-border-radius: 1em;
  -moz-border-radius: 1em;
  box-shadow: 0.25em 0.25em 2em rgba(0,0,0,0.25);
  -webkit-box-shadow: 0.25em 0.25em 2em rgba(0,0,0,0.25);
  -moz-box-shadow: rgba(0,0,0,0.65) 0.25em 0.25em 2em;
}

.modal-close {
  background: url(//www.gfamedia.org/images/modal/close-trans.png) no-repeat;
  position: absolute;
  width: 32px;
  height: 32px;
  right: -12px;
  overflow: hidden;
  cursor: pointer;
  opacity: .75;
  top: -8px;
  z-index: 10003;
}

.modal-close:hover {
  opacity:.99;
}

/* BrightCove */
.brightcove-modal {
  background: #000;
  border: 1em solid #000;
  -webkit-border-radius: 1em;
  -moz-border-radius: 1em;
  border-radius: 1em;
  -webkit-box-shadow: 0.25em 0.25em 1em rgba(0,0,0,0.25);
  -moz-box-shadow: rgba(0,0,0,0.65) 0.5em 0.25em 1em;
  box-shadow: 0.25em 0.25em 1em rgba(0,0,0,0.25);
}
