/* CSS Document */
/*the styles of calendar*/

div.hx_calendar, div.hx_calendar * {
    font-size: 12px;
    margin: 0;
    padding: 0;
    line-height: normal;
    font-family: '宋体'
}

div.hx_calendar li {
    list-style: none;
}

/*background of ico list*/
div.hx_calendar .cal_header span,
div.hx_calendar .cal_footer .cal_today span,
div.hx_calendar .cal_footer .cal_close,
    /*div.hx_calendar .year_panel .year_page span
    {background:url(calimg_red.gif) no-repeat;}*/

div.hx_calendar .cal_contrainer {
    width: 412px;

    background: #FFF;
    position: relative;
}

div.hx_calendar .clear {
    clear: both;
}

div.hx_calendar .cal_header {
    height: 29px;
    padding: 8px 0 0 66px;
    background: url(./../../../bank/images/yhlc/selbg.jpg) 0 0 repeat-x;
}

div.hx_calendar .cal_header span.month_prev {
    height: 0px;
    width: 0px;
    display: none;
}

div.hx_calendar .cal_header .month_show, div.hx_calendar .cal_header .year_show, div.hx_calendar .cal_header .tax_show {
    float: left;
    width: 90px;
    height: 21px;
    line-height: 21px;
    padding: 0 16px 0 7px;
    cursor: pointer;
    margin-right: 10px;
    background: url(./../../../bank/images/yhlc/selBg.gif) 0 0 no-repeat;
    overflow: hidden;
}

div.hx_calendar .cal_header span.month_next {
    height: 0px;
    width: 0px;
    display: none;
}

div.hx_calendar .cal_header .year_opt {
    width: 0px;
    height: 0px;
    display: none;
}

div.hx_calendar .cal_header .year_opt span.year_prev {
    display: block;
    width: 11px;
    height: 7px;
    overflow: hidden;
    background-position: 0 -75px;
}

div.hx_calendar .cal_header .year_opt span.year_next {
    display: block;
    width: 11px;
    height: 7px;
    overflow: hidden;
    background-position: 0 -90px;
    margin-top: 4px;
}

div.hx_calendar .cal_nav {
    height: 45px;
    overflow: hidden;
}

div.hx_calendar .cal_nav ul {
    width: 412px;
    overflow: hidden;
}

div.hx_calendar .cal_nav ul li {
    float: left;
    list-style: none;
    height: 45px;
    width: 58px;
    border-right: 1px solid #d2d2d2;
    text-align: center;
    line-height: 45px;
}

div.hx_calendar .cal_nav ul li.week {
    color: #FF0000;
}

div.hx_calendar .cal_mainer ul {
    width: 412px;
    padding-top: 1px;
    background: url(../../img/uBg.gif) 0 0 no-repeat;
    height: 191px;
    overflow: hidden;
}

div.hx_calendar .cal_mainer ul li {
    display: inline;
    float: left;
    margin: 0 1px 1px 0;
    list-style: none;
    height: 31px;
    width: 58px;
    overflow: hidden;
    text-align: center;
    text-align: center;
    line-height: 31px;
}

div.hx_calendar .cal_mainer ul li.week {
    color: #FF0000;
}

div.hx_calendar .cal_mainer ul li.over {
    background: #FFC8C8;
}

div.hx_calendar .cal_mainer ul li.on {
    background: #d8e5f1;
    cursor: pointer;
}

div.hx_calendar .tax_panel {
    background: #FFFFFF;
    border: 1px solid #999999;
    left: 258px;
    padding: 3px;
    position: absolute;
    top: 29px;
    width: 126px;
}

div.hx_calendar .tax_panel li {
    padding: 0 3px;
    cursor: pointer;
    height: 20px;
    line-height: 20px;
}

div.hx_calendar .tax_panel li.over {
    background: #FFC8C8;
}


div.hx_calendar .cal_footer {
    height: 0;
    overflow: hidden;
}

div.hx_calendar .cal_footer .cal_today {
    float: left;
}

div.hx_calendar .cal_footer .cal_today span {
    padding-left: 20px;
    line-height: normal;
    background-position: 0 -100px;
    float: left;
    cursor: pointer;
}

div.hx_calendar .cal_footer .cal_today span.t28 {
    background-position: 0 -134px;
}

div.hx_calendar .cal_footer .cal_today span.t29 {
    background-position: 0 -151px;
}

div.hx_calendar .cal_footer .cal_today span.t30 {
    background-position: 0 -100px;
}

div.hx_calendar .cal_footer .cal_today span.t31 {
    background-position: 0 -117px;
}

div.hx_calendar .cal_footer .cal_close {
    float: right;
    width: 10px;
    height: 10px;
    overflow: hidden;
    background-position: 0 -60px;
    cursor: pointer;
}

div.hx_calendar .month_panel {
    position: absolute;
    width: 78px;
    padding: 3px;
    border: 1px solid #999;
    background: #FFF;
    left: 66px;
    top: 29px;
}

div.hx_calendar .month_panel ul {
    width: 60px;
    overflow: hidden;
    padding-left: 9px;
}

div.hx_calendar .month_panel ul li {
    float: left;
    width: 30px;
    font-size: 12px;
    cursor: pointer;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    line-height: normal;
    list-style: none;
}

div.hx_calendar .month_panel ul li.over {
    background: #FFC8C8
}

div.hx_calendar .year_panel {
    position: absolute;
    width: 193px;
    padding: 0px 0px 3px 3px;
    border: 1px solid #999;
    background: #FFF;
    left: 162px;
    top: 29px;
}

div.hx_calendar .year_panel ul {
    width: 193px;
    overflow: hidden;
}

div.hx_calendar .year_panel ul li {
    float: left;
    width: 45px;
    font-size: 12px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    background: #EAEAEA;
    margin-right: 3px;
    margin-top: 3px;
    line-height: normal;
    cursor: default;
}

div.hx_calendar .year_panel ul li.over {
    background: #FFC8C8;
    cursor: pointer;
    cursor: pointer;
}

div.hx_calendar .year_panel ul li.on {
    background: #990000;
    color: #FFF;
    cursor: pointer;
}

div.hx_calendar .year_panel ul li.none {
    background: #FFF;
    color: #CCC;
}

div.hx_calendar .year_panel .year_page {
    width: 80px;
    overflow: hidden;
    margin: 5px auto 0 auto;
}

div.hx_calendar .year_panel .year_page span {
    float: left;
    width: 10px;
    margin-right: 10px;
    height: 15px;
}

div.hx_calendar .year_panel .year_page span.page_prev {
    background-position: 0 -27px;
}

div.hx_calendar .year_panel .year_page span.page_next {
    background-position: 0 -42px;
}

div.hx_calendar .year_panel .year_page span.page_close {
    background-position: 0 -57px;
}


/*double calendar styles*/
div.hx_calendar .doub_cal {
    width: 346px;
    overflow: hidden;
}

div.hx_calendar .doub_cal .doub_con {
    width: 170px;
    height: 200px;
    overflow: hidden;
    border: 1px solid #999;
    float: left;
    margin-right: 1px;
}

div.hx_calendar .doub_cal .doub_con .cal_header {
    width: 168px;
    height: 24px;
    overflow: hidden;
    padding: 0;
    margin: 1px auto 0 auto;
    background: url(calimg.gif) repeat-x 0 -190px;
    text-align: center;
    line-height: 24px;
    color: #FFF;
    font-weight: bold;
}

div.hx_calendar .doub_cal .doub_con .cal_header span.up_month {
    width: 4px;
    height: 8px;
    background-position: 0 -167px;
    overflow: hidden;
    float: left;
    margin: 6px 0 0 5px;
    display: inline;
    cursor: pointer;
}

div.hx_calendar .doub_cal .doub_con .cal_header span.down_month {
    width: 4px;
    height: 8px;
    background-position: 0 -178px;
    overflow: hidden;
    float: right;
    margin: 6px 5px 0 0;
    display: inline;
    cursor: pointer;
}

div.hx_calendar .doub_cal .doub_con .cal_nav {
    background: none;
    width: 168px;
    height: 24px;
    overflow: hidden;
}

div.hx_calendar .doub_cal .doub_con .cal_nav ul {
    width: 168px;
}

div.hx_calendar .doub_cal .doub_con .cal_nav ul li {
    width: 24px;
    height: 24px;
    line-height: 24px;
}

div.hx_calendar .doub_cal .doub_con .cal_mainer ul {
    width: 168px;
    overflow: hidden;
    margin: 0 auto;
}

div.hx_calendar .doub_cal .doub_con .cal_mainer ul li {
    width: 24px;
    height: 24px;
    line-height: 24px;
}
