﻿#modal .b {
  background:url("../modal/b.png");
}

#modal .tl {
  background:url("../modal/tl.png");
}

#modal .tr {
  background:url("../modal/tr.png");
}

#modal .bl {
  background:url("../modal/bl.png");
}

#modal .br {
  background:url("../modal/br.png");
}

#modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  text-align: left;

}

#modal .balon {
  position: relative;
}

#modal table {
  border-collapse: collapse;
}

#modal td {
  border-bottom: 0;
  padding: 0;
}

#modal .body {
  padding: 10px;
  background: #fff;
  width: 370px;
}

#modal .loading {
  text-align: center;
}

#modal .image {
  text-align: center;
}

#modal img {
  border: 0;
  margin: 0;
}

#modal .footer {
  border-top: 1px solid #DDDDDD;
  padding-top: 5px;
  margin-top: 10px;
  text-align: right;
}

#modal .tl, #modal .tr, #modal .bl, #modal .br {
  height: 10px;
  width: 10px;
  overflow: hidden;
  padding: 0;
}

#modal_overlay {
  position: fixed;
  top: 43.7px;
  left: 0px;
  height:100%;
  width:100%;
}

.modal_hide {
  z-index:-100;
}

.modal_overlayBG {
  background-color: #000;
  z-index: 5998;
}

* html #modal_overlay { /* ie6 hack */
  position: absolute;
  height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

