#modal {
  top: 0px;
  left: 0px;
  z-index: 90;
  position: fixed;
  width: 100%;
  min-height: 100%;
  border: none;
  background: none;
}

#modal .blocker { 
  position: fixed;
  top: 0;
  width: 100%;
  min-height: 100%;
  z-index: 1000;
  left: 0;
  opacity: 0.8;
  filter: alpha(opacity:80);
  background: #fff;
}


#modal .wrapper { 
  position: relative; 
  z-index: 2000 !important; 
  width: 519px;
  top: 90px;
  margin: 0 auto;
}

#modal a { color: #fff; }
#modal a.action { color: #000; }
#modal h3 { font-size: 18px; padding-bottom: 5px; margin-bottom: 15px; border-bottom: 1px solid #ccc; }
#modal p { margin-bottom: 10px; text-shadow: #fff 0px 1px 1px; }
#modal p.description { position: absolute; width: 200px; right: 35px; top: 108px; z-index: 100; }

#modal .wrapper a.close { position: absolute; top: 8px; right: 11px; background: url(images/modal/images.png) 0 -505px; width: 35px; height: 35px; }
#modal .wrapper a.close:hover { text-decoration: none; }
#modal .wrapper .top { height: 40px; background: url(images/modal/top.png); }
#modal .wrapper .content { background: url(images/modal/bg.png); padding: 0 35px 15px; }
#modal .wrapper .bottom { height: 64px; background: url(images/modal/bottom.png); }

#modal .loader { text-align: center; }
#modal .wrapper .actions { position: absolute; bottom: 15px; right: 15px; }

#modal .form-row label { display: block; float: none; width: 100%;}
#modal .form-row { background: none; margin: 0; padding: 5px 0; }
#modal .form-row input[type="text"], #modal .form-row input[type="password"] { width: 200px; }
#modal .form-row select { width: 210px; }

#modal .small.form-row { }
#modal .small.form-row label { float: none; width: 100%; font-size: 11px; font-weight: normal; }
#modal .small.form-row input { float: left; margin: 6px 10px 0 0; }

#modal form .form-row.error label { float: left; width: auto; margin-right: 10px; }
#modal form .form-row.error input { border: 1px solid #f66; }
#modal form .form-row ul.error_list { list-style: none; margin: 0; clear: right; overflow: hidden;}
#modal form .form-row ul.error_list li { margin: 0; float: left; margin-right: 5px; color: #f66; }

#modal ul { list-style: none; margin-bottom: 5px; margin-left: 5px; }
#modal ul li { margin: 0px; display: block; clear: both !important; margin-bottom: 5px; }
#modal ul label { width: auto !important; display: inline !important; font-weight: normal; }
#modal ul input { float: left; margin: 0px 2px 0px 0px; }
