html { height: 100%; }
body { height: 100%; padding: 0; margin: 0; }

.modal-body { min-width: 587px; min-height: 40px; position: fixed; }
	*+html .modal-body { width: 587px; } /* ie7 */
	.modal-body-hide { z-index: -99; }
	.modal-body-show { z-index: 100; }

.modal-header { position: relative; padding: 0px 6px 0 6px; overflow: hidden; zoom: 1; }
	.modal-header h3 { height: 68px; margin: 0; padding-left: 40px; line-height: 60px; font-weight: bolder; font-size: 27px; color: black; background: url('/images/bg/modal_header.gif') repeat-x; white-space: nowrap; }
	.modal-top { height: 6px; margin: 0 14px; padding: 0; font-size: 0; line-height: 0; background: url('/images/bg/modal_top_bottom.gif') repeat-x 0px 0px; }
	.modal-tl { width: 20px; height: 74px; position: absolute; left: 0px; top: 0; background: url('/images/bg/modal.gif') no-repeat 0px 0px; }
	.modal-tr { width: 20px; height: 74px; position: absolute; right: 0px; top: 0; background: url('/images/bg/modal.gif') no-repeat -20px 0px; }
	* html .modal-tr { right: expression((this.offsetParent.clientWidth  % 2) ? '-1px' : '0px'); } /* ie6 */

	.modal-close { display: block; width: 21px; height: 21px; position: absolute; right: 15px; top: 15px; line-height: 0; font-size: 0; color: #EDE7D0; background: url('/images/b/modal_close.gif'); cursor: pointer; }

.modal-content-wrapper { padding-left: 6px; background: url('/images/bg/modal_content_left.gif') repeat-y left top #EDE7D0; }
	.modal-content { padding: 10px 40px 10px 34px; background: url('/images/bg/modal_content_right.gif') repeat-y right top; zoom: 1; }
	
	.modal-content-top-wrapper { position: relative; height: 19px; margin-top: -19px; zoom: 1; }
		.modal-content-top { margin: 0 25px; line-height: 19px; background: #EDE7D0; }
		.modal-content-tl { width: 19px; height: 19px; position: absolute; left: 6px; top: 0; background: url('/images/bg/modal_content_top.gif') no-repeat 0px 0px; }
		.modal-content-tr { width: 19px; height: 19px; position: absolute; right: 6px; top: 0; background: url('/images/bg/modal_content_top.gif') no-repeat -19px 0px; }
		* html .modal-content-tr { right: expression((this.offsetParent.clientWidth  % 2) ? '5px' : '6px'); } /* ie6 */

.modal-footer { position: relative; height: 27px; }
	.modal-bottom { height: 27px; margin: 0 20px; padding: 0; font-size: 0; line-height: 0; background: url('/images/bg/modal_top_bottom.gif') repeat-x 0px -6px; }
	.modal-bl { width: 20px; height: 27px; position: absolute; left: 0px; top: 0; background: url('/images/bg/modal.gif') no-repeat 0px -74px; }
	.modal-br { width: 20px; height: 27px; position: absolute; right: 0px; top: 0; background: url('/images/bg/modal.gif') no-repeat -20px -74px; }
	* html .modal-br { right: expression((this.offsetParent.clientWidth  % 2) ? '-1px' : '0px'); } /* ie6 */

.modal-overlay { width: 100%; height: 100%; position: fixed; top: 0px; left: 0px; }
	.modal-overlay-hide { z-index: -100; }
	.modal-overlay-show { background-color: #4B4638; z-index: 99; }

* html .modal-overlay { position: absolute; height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); } /* ie6 */
* html .modal-body { width: 587px; position: absolute; } /* ie6 */

/* ----- */ 
.modal-content table td { padding-bottom: 3px; }
.modal-content table .form_tdtitle { padding-right: 50px; }
.modal-content h2 { margin: 0 0 15px 0; padding: 0; font-size: 18px; color: #C12A29; }
.modal-content label { color: #000000; }
.modal-content input { padding: 2px 0; border: 1px solid #A5ACB2; }
.modal-content textarea { width: 100%; height: 145px; padding: 2px 0; border: 1px solid #A5ACB2; }
.modal-content .button { width: 223px; height: 38px; margin-top: 12px; line-height: 38px; text-align: center; font-weight: bolder; font-size: 16px; color: #FFFFFF; text-decoration: none; background: url('/images/b/modal_button.gif') no-repeat #F00000; border: 0; cursor: pointer; }
	
* html .modal-content  .button { display: inline; zoom: 1; }