/* pure tags */
* {
    scrollbar-face-color: #e2e2e2;
}
html, body, img {
    padding: 0;
    margin:  0;
}
html {
    width:  100%;
    height: 100%;
}
body, button, select, input, a, p, h2 {
    color: #00264a;
    font-family: Arial;
    font-size: 13px;
}
textarea {
    overflow: auto;
    width: 40%;
}
input, select {
    background: #e2e2e2;
}
button {
    color: #00264a;
    background: #e2e2e2;
}
body {
    width: 98%;
    min-height: 98%;
    height: auto !important;
    height: 98%;
    position: relative;
    margin: 0.6% auto 0.6% auto;
}
img {
    border-width: 0;
}

/* common elements */
#header, #header img, #header h1,
#footer, #footer p, #footer img {
    position: absolute;
	white-space: nowrap;
}
#header, #footer {
    left: 0;
    width: 100%;
}
#header {
    background: url('../i/form/frbg2.gif') repeat-x;
    height: 88px;
    top: 0;
}
#footer {
    background: url('../i/form/fut2.gif') repeat-x;
    height: 33px;
    bottom: 0;
}
* html #footer {
    top: expression(document.body.offsetHeight-33);
}
#header img.ico {
    left: 14px;
    top:  14px;
}
#header h1 {
    color: #fff;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    line-height: 52px;
    margin: 8px 5em;
}
#footer p {
    left: 2em;
    top: 0;
    font-size: 11px;
    line-height: 42px;
    margin: 0;
}
* html #footer p {
    top: 0;
}

#page {
	margin: 0 2em;
	padding: 100px 0 40px 0;
}
/**end.head & footer*******************/
/**simple.class*******************************/
.blank {
	border: 0;
	background-color: transparent;
	background-image: none;
}

p.remark {
	/* remarks */
	margin: 0;
}
p.remark-important {
	/* remarks */
	font-weight: bold;
	margin: 0;
}
.left0       { left:      0;        }
.right0      { right:     0;        }
.right9px    { right:     9px;      }
.top0        { top:       0;        }
.top14px     { top:       14px;     }
.top55px     { top:       55px;     }
.bottom0     { bottom:    0;        }
.pos_relat   { position:  relative; }
.width100    { width:     100%;     }
.talign_cen  { text-align:center;   }
.talign_left { text-align:left;     }
.talign_right{ text-align:right;    }
/*.bg_e2e2e2   { background:#e2e2e2;  }*/
/*.width15em   { width:     15em;     }*/
/*.width10em   { width:     10em;     }*/
.floatleft   { float:     left;     }
.floatright  { float:     right;    }
.floatnone   { float:     none;     }
.clearboth   { clear:     both;     }
.width7em    { width:     7em;      }
.width5em    { width:     5em;      }
.fw_bolder   { font-weight: bolder; }
/**end.simple.class****************************/
/**background***************************/
#bg_right, #bg_left {
    position: absolute;
    width: 16px;
    height: 100%;
    bottom: 0;
}
#bg_right {
    right: 0;
    background: url('../i/form/tbg2.gif') right repeat-y;
}
#bg_left {
    left: 0;
    background: url('../i/form/tbg1.gif') left repeat-y;
}
* html #bg_left, * html #bg_right {
    height: expression(document.body.offsetHeight);
}
/**end.background************************/
#main {
    margin:  0 2em;
}
/***content********/
b {
    font-weight: bolder;
    margin: 0;
}
input {
    margin: 0.5em;
}
a {
    font-weight: bolder;
}

/**2******************/
/**reg********************/
.green {
    color: #008127;
    font-weight: bolder;
}
h2,
#main h2 {
    color: #fff;
    text-align: left;
    font-size: 10pt;
    height: 17px;
    background: #1d4d7c;
    border: solid 1px #1f2c44;
    padding: 5px 6px;
    margin: 1em 0;
    margin-top: 0;
    font-weight: bold;
}
.height7px {
    height: 0.2em;
}
.height15px {
    height: 15px;
}
#main h2 a {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
}
#main input {
    margin: 0;
    width: 16.5em;
    font-size: 10pt;
}
#main input.check {
    width: 1.2em;
    margin-left: 0.1em;
}
#main ul {
    margin: 0;
    padding: 0;
}
#main ul li {
    background: url(../i/form/g.gif) left center no-repeat;
    margin: 0.6em 0;
    height: 1.6em;
    line-height: 1.6em;
    padding-left: 1.6em;
    list-style: none;
}
#main ul li span {
    float: left;
    width: 30em;
}
#main li select {
    margin-right: 0.5em;
}
#main li.background_none {
    background: none;
}
#main li.padding0 {
    padding: 0;
}
#familyContract li span {
    width: 21.6em;
}
#main ul.background_none li {
    background: none;
}
#main ul.background_none li.bg {
    background: url(../i/form/g.gif) left center no-repeat;
}
#main input.height1_8em {
    height: 2em;
}
/**end.reg********************/
/**agreement********************/
#agreement {
    font-size: 13px;
    margin:  0 2em;
}
#agreement li {
    margin: 0.5em 0;
}
#agreement form {
    text-align: center;
}
/**end.agreement****************/
.second {
    background: #f4f4f4;
}
.text-td {
     text-align: left;
     padding: 0 1em;
}
input.submit_button {
    width: auto;
}
#btn_close{
	margin-left:50px;
	background:transparent;
}
#btn_print{
	border-bottom: 2px solid transparent;
	border-right: 1px solid transparent;
}
#btn_print:hover{
	border-bottom: 2px solid #aaa;
	border-right: 1px solid #aaa;
}
#dctrl{
	position: absolute;
	top:110px;
	right:50px;
}
button[disabled]{
    color: #aaa;
}
#familyContract{
	position:static;
	clear:both;
}
.notice {margin: 15px 30px;padding: 10px;color:green;border:1px dashed green;background: #ffd; font-weight:bolder;}
.error   {margin: 15px 30px;padding: 10px;color:red;border:1px dashed red;background: #ffd; font-weight:bolder;}