.overlay {
    display: none;
    position: fixed;
    top: 17%;
    left: 50%;
    margin-left: -150px;
    width: 350px;
    color: #333;
    border: 5px solid #555;
    padding: 12px 12px 25px 12px;
    background: #fff;
}
.overlay h3    { font-size: 1.5em; height: 40px; color: #000000}
.overlay form li    { font-size:0.95em; padding-bottom: 2px; background: url(../images/site/modal_line.png) bottom no-repeat;}
.overlay form .error_list li { background: none; font-size:1em;}
.overlay form label { color: #000; font-size:1.1em; display: inline-block; width: 35%;}
.overlay form input { font-size:1.1em;}
.overlay form input[type="text"],
.overlay form input[type="password"],
.overlay form select { display: inline-block; width: 62%;}
.overlay form .remember { background: none; }
.overlay form .remember label { width: auto; padding-right: 10px; }
.overlay form .submit { float:right; display: block; padding: 3px 10px; color: white; font-size: 1.2em; text-transform: uppercase; border: none; background: #4D4B4B; cursor: pointer;}
.overlay form .submit:hover { background: #424242; }
.overlay form .form_help { display: inline; color: red;}


.jqmClose { color:#000; font-size: 1.2em; text-transform: uppercase; position: absolute; bottom: 3px; right: 3px; padding-right: 25px; background: url(../images/site/modal_close.png) right no-repeat;}

.jqmOverlay { background-color: #000; }
* iframe.jqm {position:absolute;top:0;left:0;z-index:-1;
  width: expression(this.parentNode.offsetWidth+'px');
  height: expression(this.parentNode.offsetHeight+'px');
}
* html .overlay {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

.overlay.signin {
  background: #fff url(../images/site/modal_logo.png) 100% 5px no-repeat;
  position: absolute;
  top: 0px;
  right: 0px;
  left: 636px;
  margin-left: 0;
  width: 350px;
}
.overlay.signin form .submit { margin-top: -30px; }
/*
.overlay.register { padding-bottom:12px; }
.overlay.register h3 { font-size: 1.2em; line-height: 1.6em; height: 60px; }
.overlay.register .jqmClose { right:290px; bottom: 15px; }
#sfApplyApply_birthday_month,
#sfApplyApply_birthday_day,
#sfApplyApply_birthday_year { width: 20%;}
.overlay.register form label[for="sfApplyApply_subscribe"],
.overlay.register form label[for="sfApplyApply_terms"] { width: 93%;}
*/