body{
    margin:0;
    padding:0;
    font-size:12px;
    font-family:Arial,"宋体","sans-serif"!important;
}

#mainapp{
    margin:0 auto 0 0;
    height:539px;
    position:relative;
    width:524px;
    overflow-x:hidden;
}
.c #mainapp{

}

#title{
    position:absolute;
    padding:0;
    margin:0;
    top:15px;
    left:26px;
    border:none;
    width:120px;
    height:24px;
    background:none;
    filter:none!important;*filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="imgs/title.png", sizingMethod="scale");
}

.c #display-area{
    background:url("imgs/bg2.png") no-repeat center center!important; background:none;
}
#display-area{
    position:absolute;
    top:20px;
    left:-3px;
    width:524px;
    height:470px;
    background:url("imgs/bg1.png") no-repeat center center!important; background:none;
}
.c #ie6bg{
    filter:none!important;*filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="imgs/bg2.png", sizingMethod="scale");
}
#ie6bg{
    position:absolute;
    top:67px;
    left:-3px;
    width:524px;
    height:470px;
    filter:none!important;*filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="imgs/bg1.png", sizingMethod="scale");
}
#tabs{
    position:absolute;
    line-height:36px;
    height:36px;
    vertical-align:bottom;
    position:relative;
    top:-17px;
    left:40px;
}
#tabs span{
    display:block;
    float:left;
    font-size:12px;
}
#tab1,#tab2,#tab3{
    margin-right:7px;
}

.l, .r{
    width:3px;
}
.b{
    padding:0 5px;
}

.normal span {
    margin-top:6px;
    height:30px;
    line-height:30px;
    color:#733e14;
    cursor:pointer;
}
.normal .l {
    background:url("imgs/tabs/tab-normal-l.gif") right bottom no-repeat;
}
.normal .r {
    background:url("imgs/tabs/tab-normal-r.gif") left bottom no-repeat;
}
.normal .b {
    background:url("imgs/tabs/tab-normal-b.gif") center bottom repeat;
}

#tabs .hover span {
    margin-top:7px;
    height:29px;
    line-height:29px;
    color:#733e14;
    cursor:pointer;
}
#tabs .hover .l {
    background:url("imgs/tabs/tab-hover-l.gif") right bottom no-repeat;
}
#tabs .hover .r {
    background:url("imgs/tabs/tab-hover-r.gif") left bottom no-repeat;
}
#tabs .hover .b {
    background:url("imgs/tabs/tab-hover-b.gif") center bottom repeat;
}
#main-page{
    position:absolute;
    top:20px;
    height:426px;
}

.current span {
    margin-top:0px;
    height:36px;
    line-height:36px;
    color:white;
    cursor:normal;
}
.current .l {
    background:url("imgs/tabs/tab-current-l.gif") right bottom no-repeat;
}
.current .r {
    background:url("imgs/tabs/tab-current-r.gif") left bottom no-repeat;
}
.current .b {
    background:url("imgs/tabs/tab-current-b.gif") center bottom repeat;
}

h2{
    font-size:12px;
    font-weight:bold;
    position:absolute;
    left:44px;
    color:#333;
    top:0;
    margin:0;
}

table#ipt-calc, table#ipt-compare, table#ipt-combo{
    width:485px;
    top:15px;
    position:absolute;
    color:#666;
}
#ipt-calc tr, #ipt-compare tr,#ipt-combo tr{
    height:33px;
}
#ipt-calc th, #ipt-compare th{
    width:194px;
}
#ipt-combo th{
    width:130px;
}
td label{
    position:relative;
    top:-2px;
}


th{
    font-weight:normal;
    text-align:right;
}
td{
    text-align:left;
}

.page{
    width:485px;
    height:426px;
    position:absolute;
    left:18px;
    top:13px;
}

.hide{
    display:none!important;
}

.float-list table{
    width:152px;
}
.float-list{
    position:absolute;
    z-index:99;
    border:1px solid #d3d3d3;
    background-color:#FEFEFE;
    /*
    border:1px solid #c4d6e0;
    background-color:#dce6ee;
    */
    border-top:none;
    width:152px;
}
unused.float-list table{
    border:1px solid #ebf0f5;
}
.float-list tr{
    height:24px;
}
td.float-list-item {
    /*padding:6px;*/
    height:28px;
    padding:0 6px;
    cursor:pointer;
}
td.float-list-item.hover {
    color:white;
    background-color:#326ac1;
    outline:1px solid rgba(0,0,64,0.5);
}

unused.down .dropdown-button{
    background-image:url(imgs/dropdown-hover-blue.gif)!important;
}
.hover .dropdown-button{
    background-image:url(imgs/dropdown-hover.gif);
}

.dropdown-button{
    display:block;
    width:142px;
    height:12px;
    background:url(imgs/dropdown.gif) no-repeat left center;
    padding:6px;
    cursor:pointer;
}

.datepicker-button{
    display:block;
    width:142px;
    height:12px;
    background:url(imgs/date.png) no-repeat left center;
    padding:6px;
    cursor:pointer;
}
.datepicker table{
    width:171px;
    /*padding:2px 2px 4px;*/
}

.datepicker{
    position:absolute;
    z-index:99;
    width:171px;
    height:162px;
    background:url(imgs/calebg.png) no-repeat center center;
}
.datepicker th,.datepicker td{
    text-align:center;
}
.datepicker td{
    /*font-family:"宋体",Sans;*/
    height:16px;
    cursor:pointer;
    color:#5596b0;
}
.datepicker th{
    font-weight:bold;
    padding-top:4px;
    height:20px;
}
.datepicker-head
{
    height:21px;
}
.datepicker-head td{
    font-family:Arial,Sans;
    cursor:default;
    height:21px;
}
td.today{
    background:url(imgs/today.png) no-repeat center;
    color:white!important;
}
.curr_res
{
    /*font-family:"宋体", Sans-serif;*/
    text-align:center;
    color:white!important;
    cursor:default;
}
.yl, .ml, .mr, .yr{
    /*font-family:"宋体", monospace;*/
    cursor:pointer;
    width:27px;
    padding:4px 4px;
    -moz-user-select: none;
}
.weekend{
    color:#F57F7D!important;
}

div.error{
    position:absolute;
    color:#c00;
}
#calc-balance-compare-noti-info{
    position:absolute;
    color:#ab7c0d;
    width:64px;
    padding-left:12px;
    padding-right:7px;
    line-height:32px;
    background:url(imgs/infotip.gif) right no-repeat;
    text-align:center;
    height:32px;
    right:24px;
    margin-top:-3px;
}
#calc-balance-combo-error-info{
    width:154px;
    padding-top:5px;
    right:15px;
}
#calc-balance-error-info, #calc-rate-error-info, #calc-balance-compare-error-info, #calc-rate-compare-error-info{
    width:90px;
    right:15px;
}
#from-to-date-error-info{
    width:110px;
    right:15px;
}

#from-date-datepicker{
    position:relative;
}

span.unit{
    font-family:"Arial";
    padding-left:8px;
    *position:relative;
    *top:-4px;
}
input.rc{
    background:url("imgs/input.gif") no-repeat center;
    color:#666;
    width:141px;
    font-size:12px;
    line-height:16px;
    height:16px;
    padding:5px 7px;
    *line-height:12px;
    *height:12px;
    *padding:7px;
    border:none;
    margin:0;
    overflow:hidden;
}
input.rc.error{
    border:#e00 1px solid;
    margin:1px;
    padding:3px 5px;
    *border:#e00 1px solid;
    *margin:1px;
    *padding:5px;
}

input.rc, .float-list, .dropdown-button, .datepicker-button 
{
    color:#666;
/*    font-family:"宋体", Tahoma, sans!important;*/
}

.addonerow div.hr{
    top:273px;
}
div.hr{
    border-top:1px #ddd solid;
    position:absolute;
    width:412px;
    left:42px;
    top:240px;
}
#hr_tab3{
    top:171px;;
}
#hr_tab3_2{
    top:328px;
}
#reset_tab1, #reset_tab2, #reset_tab3{
    background:url("imgs/reset.png") no-repeat center;
    width:78px;height:29px;
    border:none;
    color:#666;
    cursor:pointer;
    margin-left:4px;
}
#calc_tab1, #calc_tab2, #calc_tab3{
    background:url("imgs/calc.png") no-repeat center;
    width:78px;height:29px;
    border:none;
    color:white;
    cursor:pointer;
    margin-right:4px;
}
.addonerow h2#result_tab1, .addonerow h2#result_tab2{
    top:291px;
}
h2#result_tab1, h2#result_tab2{
    top:258px;
}
h2#result_tab3{
    top:180px;
}
h2#result_tab3_advise{
    top:338px;
}

.addonerow table#result-calc,.addonerow table#result-compare{
    top:318px;
}
table#result-calc,table#result-compare{
    width:485px;
    top:285px;
    position:absolute;
    color:#666;
}
input.result{
    background-color:#F1F1F1;
    color:#79A309;
    width:145px;
    border:none;
    line-height:12px;
    font-size:12px;
/*    font-family:"宋体";*/
    font-weight:bold;
    padding:4px;
}
#result-calc tr, #result-compare tr{
    height:33px;
}
#result-calc th, #result-compare th{
    width:194px;
}
#result-calc td span, #result-compare td span{
    padding-left:8px;
}


.years{
    font-family:"宋体", "simsung",monospace;
    width:48px;
    height:19px!important;
    padding-top:7px;
    display:inline-block;
    background:url(imgs/years.png) no-repeat center center;
    line-height:14px;
    vertical-align:middle;
    text-align:center;
    color:#5D8B96;
    cursor:pointer;
}
.years.checked{
    background-image:url(imgs/years-checked.png);
    color:#f27200;
}
table#combo-result-table{
    /*font-family:"宋体",monospace;*/
    position:absolute;
    width:411px;
    left:42px;
    top:204px;
}
#combo-result-table th{
    white-space:nowrap;
    text-align:left;
    padding:8px 16px;
    color:#604c3f;
    background-color:#F5F3F1;
}

#combo-result-table th.idx{
    width:32px;
}
#combo-result-table th.yearslimit{
    width:48px;
}
#combo-result-table th.blc{
    width:140px;
}
#combo-result-table tr.used td{
    border-bottom:1px dotted #CCC;
    color:#666;
    padding:8px 16px;
}
#combo-result-table tr.used.lastline td{
    border:none;
}
div#combo-result{
    position:absolute;
    width:411px;
    top:360px;
    left:44px;
    color:#666;
    line-height:24px;
}
.highlight{
    color:red;
}

.buttonStrip td{
    height:40px;
    vertical-align:bottom;
}
input{
    font-family:Arial!important;
}

.main-table .unused{
    cursor:default;
}
