/* ========== Height from top ========== */
body .jqmWindow { bottom:auto; top:6%; }
* html .jqmWindow { bottom:auto; top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(6 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px'); }

body .jqmWindow#mdlPrompt, body .jqmWindow#mdlConfirm { top:20%; }
* html .jqmWindow#mdlPrompt, * html .jqmWindow#mdlConfirm { top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(20 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px'); }

/* ====================================================================== */
/* Large modal */
/* ====================================================================== */

/* ========== Outer wrapper ========== */
body .mdlHtml,
body .mdlAjaxCPage,
body .mdlAjaxTBYB { margin:0 0 0 -410px; padding:15px 10px 10px; width:800px; height:450px; max-height:450px; background:transparent url(../images/modal_bg.png) no-repeat; border:0; font-size:1.31em; line-height:1.6em; text-align:left; }
* html body .mdlHtml, * html body .mdlAjaxCPage, * html body .mdlAjaxTBYB { background-image:url(../images/modal_bg.gif); }

/* ========== Title and close button ========== */
body .mdlHtml .mdlControls,
body .mdlAjaxCPage .mdlControls,
body .mdlAjaxTBYB .mdlControls { background:#906 url(../images/modal_bg.png) no-repeat -10px -15px; margin:0; padding:0; border:0; height:45px; }
* html body .mdlHtml .mdlControls, * html body .mdlAjaxCPage .mdlControls, * html body .mdlAjaxTBYB .mdlControls { background-image:url(../images/modal_bg.gif); }

body .mdlHtml .mdlControls h1.e_title,
body .mdlAjaxCPage .mdlControls h1.e_title,
body .mdlAjaxTBYB .mdlControls h1.e_title { margin:0; padding:2px 0 0 12px; border:0; background:transparent; font-size:20px; color:#fff; }

.jqmWindow .mdlControls A.jqmClose { background:#fafafa url(../images/modal_btn_close.png); display:block; margin:2px 8px 0 0; padding:0 15px 0 0; text-align:center; height:24px; line-height:24px; width:65px; color:#990066; text-decoration:none; }
.jqmWindow .mdlControls A.jqmClose:hover { text-decoration:underline; }

/* ========== Loading message ========== */
body .mdlAjaxCPage .mdlLoading,
body .mdlAjaxTBYB .mdlLoading { margin:0; padding:10px; border:1px solid #ccc; background:#fff; position:absolute; top:200px; left:300px; width:190px; text-align:center; }

/* ========== Main content ========== */
body .mdlHtml .mdlTarget,
body .mdlAjaxCPage .mdlTarget { background:#fff; margin:0; padding:10px 20px; border:0; height:370px; }

body .mdlAjaxTBYB .mdlDesc { background:#fff; margin:0; padding:10px 20px 0; border:0; height:20px; }
body .mdlAjaxTBYB .mdlTarget { background:#fff; margin:0; padding:0 20px 10px; border:0; height:350px; }

/* ========== TBYB list ========== */
body .mdlAjaxTBYB .mdlTarget ul.e_tbybDocuments { width:100%; overflow:hidden; margin:10px 0 0; padding:0; list-style:none; }
body .mdlAjaxTBYB .mdlTarget ul.e_tbybDocuments LI { border:0; float:left; margin:2px 0; padding:3px 0; width:100%; font-size:1em; background:transparent url(../images/icon_document_small.gif) no-repeat 15px 3px; }
body .mdlAjaxTBYB .mdlTarget ul.e_tbybDocuments A { display:inline; padding:0; margin:0 0 0 35px; background:transparent; }
body .mdlAjaxTBYB .mdlTarget ul.e_tbybDocuments A:hover { text-decoration:underline; background:transparent; }

/* ========== Legal review ========== */
.jqmWindow #frm_LawyerReview .e_lawyerMessage { width:96%; margin:15px 0; padding:3px; }
.jqmWindow #frm_LawyerReview input { width:90px; height:24px; line-height:24px; border:0; cursor:pointer; padding:0; margin:0; background:#eee url(../images/btn_90x24_blank_all.png) no-repeat; color:#990066; }
.jqmWindow #frm_LawyerReview input:hover,
.jqmWindow #frm_LawyerReview input.xhover { text-decoration:underline; background-position:0px -24px; background-color:#ddd; }

/* ========== Export ========== */
body #mdlDocumentExport .e_buttons { width:100%; margin:0; padding:0; overflow:hidden; }
body #mdlDocumentExport .e_buttons .e_doc,
body #mdlDocumentExport .e_buttons .e_rtf,
body #mdlDocumentExport .e_buttons .e_pdf { width:100%; margin:0 0 30px; padding:0; overflow:hidden; }
body #mdlDocumentExport .e_buttons .e_doc a,
body #mdlDocumentExport .e_buttons .e_pdf a,
body #mdlDocumentExport .e_buttons .e_rtf a { float:left; border:0; padding:55px 0 0px 0; margin:0px; width:60px; background:url(../images/pdf.gif) no-repeat; text-align:center; font-weight:bold; }
body #mdlDocumentExport .e_buttons .e_doc a { background-image:url(../images/word.gif); }
body #mdlDocumentExport .e_buttons .e_rtf a { background-image:url(../images/rtf.gif); }
body #mdlDocumentExport .e_buttons .e_doc p,
body #mdlDocumentExport .e_buttons .e_pdf p,
body #mdlDocumentExport .e_buttons .e_rtf p { float:left; margin:0; padding:20px 0 0 10px; }

/* ========== General styling ========== */
.jqmWindow ul { list-style:disc; margin:10px 0 10px 30px; }
.jqmWindow ul ul { list-style:circle; margin:10px 0 10px 30px; }
.jqmWindow ul ul ul { list-style:square; margin:10px 0 10px 30px; }
.jqmWindow ol { list-style:decimal; margin:10px 0 10px 30px; }

.jqmWindow .mdlTarget H2, .jqmWindow .mdlTarget .heading1 { font-size:1.0em; color:#fff; font-weight:bold; margin:15px 0 5px 0; background:#888 url(../images/h1_bg_shaded_28_888888_2.png) no-repeat left bottom; padding:6px 5px 12px 8px; line-height:1em; }
.jqmWindow .mdlTarget H3, .jqmWindow .mdlTarget .heading2 { font-size:1.0em; color:#000; font-weight:bold; margin:15px 0 5px 0; background:#eee url(../images/h2_bg_shaded_28_eeeeee_2.png) no-repeat left bottom; padding:6px 5px 12px 8px; line-height:1em; }
.jqmWindow .mdlTarget H4, .jqmWindow .mdlTarget .heading3 { color:#000; font-weight:bold; font-style:italic; margin:15px 0 0 0; }
.jqmWindow .mdlTarget H5, .jqmWindow .mdlTarget .heading4 { color:#000; font-weight:normal; font-style:italic; margin:15px 0 0 0; }

/* ====================================================================== */
/* Small modal */
/* ====================================================================== */

/* ========== Outer wrapper ========== */
body #mdlPrompt,
body #mdlConfirm { margin:0 0 0 -230px; padding:20px 20px 10px; width:420px; height:240px; max-height:240px; background:transparent url(../images/modal_small_bg.png) no-repeat; border:0; font-size:1.31em; line-height:1.6em; text-align:left; }
* html body #mdlPrompt, * html body #mdlConfirm { background-image:url(../images/modal_small_bg.gif); }
/* ========== Inner parts ========== */
body #mdlPrompt .e_message,
body #mdlConfirm .e_message { margin:0; padding:10px; border:0; background:#fff; }

body #mdlPrompt .e_message .e_tip, body #mdlPrompt .e_message p,
body #mdlConfirm .e_message .e_tip, body #mdlConfirm .e_message p { margin:0 0 10px; padding:0; border:0; font-size:1em; font-weight:normal; }

body #mdlPrompt .e_input { margin:0; padding:10px; border:0; background:#fff; }
body #mdlPrompt .e_input input { width:96%; }

body #mdlPrompt .e_buttons,
body #mdlConfirm .e_buttons { margin:0; padding:0; border:0; background:#fff; position:relative; left:auto; bottom:auto; display:block; width:100%; overflow:hidden; }

body #mdlPrompt .e_buttons div,
body #mdlConfirm .e_buttons div { float:left; padding:20px 0 10px 10px; margin:0; }

/* ========== General styling ========== */
body #mdlPrompt .e_message h3, body #mdlPrompt .e_message h3.e_title,
body #mdlConfirm .e_message h3, body #mdlConfirm .e_message h3.e_title { margin:0 0 10px; padding:0; border:0; background:transparent; font-weight:bold; font-size:1em; }

#mdlPrompt .e_buttons input,
#mdlConfirm .e_buttons input { padding:0; }

.jqmWindow .e_buttons .e_ok input { width:60px; height:24px; line-height:24px; border:0; cursor:pointer; padding:0; margin:0; background:#eee url(../images/btn_90x24_blank_all.png) no-repeat 0px -144px; color:#990066; }
.jqmWindow .e_buttons .e_cancel input { width:90px; height:24px; line-height:24px; border:0; cursor:pointer; padding:0; margin:0; background:#eee url(../images/btn_90x24_blank_all.png) no-repeat; color:#990066; }
.jqmWindow .e_buttons .e_ok input:hover,
.jqmWindow .e_buttons .e_ok input.xhover  { text-decoration:underline; background-position:0px -168px; background-color:#ddd; }
.jqmWindow .e_buttons .e_cancel input:hover,
.jqmWindow .e_buttons .e_cancel input.xhover { text-decoration:underline; background-position:0px -24px; background-color:#ddd; }









