﻿/**
   ----------------------------------------  
   日历组件 v1.0
   author: luzhichao
   qq: 190135180
   mail: luzhichao@shiqutech.com
   ----------------------------------------  
   date: 2012-05-21
   ----------------------------------------  
**/
.calendar{position:relative;float:left; width:412px; padding:0;background:#fff;background:url(/uploads/image/njcalendar/xian.gif) no-repeat left #fff;border:1px solid #c6c6c6; z-index:111111111111111111111111111;}
.cal-container{float:left; width:184px; display:inline;margin:10px 10px 0;}
.calendar dl{width:184px;color:#404040;font:12px/22px tahoma;margin:10px 10px 0;}
.calendar dl.one{width:100%;}
.calendar dl,.calendar dt,.calendar dd{text-align:center;margin:0;padding:0;}
.calendar dt{float:left;width:26px;line-height:22px;background:#d7d7d7;}
.calendar dt.date{width:100%;margin:0;background:#fff;padding-bottom:10px;color:#404040;}
.calendar dt.datemonth{width:240px;margin:0;background:#fff;padding-bottom:10px;color:#404040;}
.calendar dt.datemonth a{float:left;line-height:22px;color:#404040;width:40px;text-decoration:none;}
.calendar dt.datemonth a:hover{background: no-repeat;}
.calendar dt.datemonth a.hove{background: no-repeat;color:#fff;}
.calendar dt.date div{margin-bottom:5px;}
.calendar dt.date select{font-size:12px;font-family:inherit;margin:0 5px;}

.calendar dd{clear:both;width:100%;height:139px;color:#404040;}
.calendar dd a,.calendar dd a span{float:left;width:25px;height:22px;color:#404040;overflow:hidden;text-decoration:none;background:url(/uploads/image/njcalendar/list.png) no-repeat -999px -999px;margin:1px 0 0 1px;outline:none;}
.calendar dd a.selected,.calendar dd a.start-date,.calendar dd a.select-range{color:#fff;background:url(/uploads/image/njcalendar/hove.jpg) no-repeat center;}

.calendar dd a:hover,.calendar dd a.select-range:hover{color:#3f3f3f;background:url(/uploads/image/njcalendar/hover.jpg) no-repeat center;}

.calendar dd a.disabled,.calendar dd a.disabled:hover{color:#dcdcdc;cursor:default;background:transparent!important;}
.calendar dd a span{display:block;width:25px;height:22px;margin:0;cursor:pointer;}

.time-end dt{width:35px;}
.time-end dd a{width:34px;}
.cal-prev,.cal-next,.cal-close{position:absolute; display:block; z-index:10000;cursor:pointer;overflow:hidden;text-indent:-9999px;background:url(/uploads/image/njcalendar/ico.gif) no-repeat;}
.cal-prev,.cal-next{top:3px;width:20px;height:38px;}
.cal-prev{left:10px;background-position:0 -25px;}
.cal-next{right:10px;background-position:-20px -25px;}
.time-end .cal-next{right:158px;background-position:-20px -25px;}
.cal-close{top:-23px;right:5px;width:17px;height:17px;background-position:-40px -25px;}

.calendar dd a.today{text-indent:-999px;}
.calendar dd a.today{background-position:0 -270px;}
.calendar dd a.today:hover,
.calendar dd a.today:hover .select-range,
.calendar dd a.today .selected,
.calendar dd a.today .start-date{background:url(/uploads/image/njcalendar/list.png) no-repeat -31px -270px;}
.calendar dd a.end-date{color:#fff;background:url(/uploads/image/njcalendar/hove.jpg) no-repeat center;}

.cal-end dd a:hover,.cal-end dd a.select-range:hover{color:#3f3f3f;background:url(/uploads/image/njcalendar/hover.jpg) no-repeat center;}
.calendar dd a.today .end-date,
.cal-end dd a.today:hover,
.cal-end dd a.today:hover .select-range{background:url(/uploads/image/njcalendar/list.png) no-repeat -62px -270px;}
.calendar dd a.today .select-range{background-position:-93px -270px;}
.cal-end dd a.today .hover{background-position:-124px -270px;}

.timecontainer dd a.today{width:34px;background:url(/uploads/image/njcalendar/list.png) no-repeat 6px -270px;}
.timecontainer dd a.today .end-date,.timecontainer dd a.today:hover,.timecontainer dd a.today:hover .select-range{width:34px;background:url(/uploads/image/njcalendar/list.png) no-repeat -56px -270px;}
.cal-icon{position:absolute;height:26px;line-height:15px;overflow:hidden;top:3px;right:10px;font-size:12px;color:#999;background:url(/uploads/image/njcalendar/ico.gif) no-repeat right -63px;;padding-right:37px;font-weight:normal; text-indent:-9999px;}
.date-info,.date-info-start,.date-info-end{position:absolute;height:26px;line-height:15px;overflow:hidden;top:3px;right:10px;font-size:12px;color:#999;background:url(/uploads/image/njcalendar/ico.gif) no-repeat right;padding-right:37px;font-weight:normal; text-indent:-9999px;}
.date-info-start{background-position:right -63px;}
.date-info-end{background-position:right -63px;}
.cal-msg{background:url(/uploads/image/njcalendar/top_bg.jpg) no-repeat;height:25px;padding-left:3px; position:relative; z-index:1;}
.cal-msg span{color:#fff;font-size:12px;text-align:center;background:url(/uploads/image/njcalendar/top_bg.jpg) no-repeat right;width:100%;height:100%;float:right;line-height:25px;}
.parent{float:left;text-indent:0px;}
.f-text{width:103px;height:33px;color:#007cc6;line-height:33px;font-family:arial; border:0px none;margin:0px;padding:0 0 0 8px;/*background:url(/uploads/image/njcalendar/inp.jpg) no-repeat;*/}
.f-textdate{width:186px;height:33px;color:#007cc6;line-height:33px;font-family:arial; border:0px none;margin:0px;padding:0 0 0 8px;background-color:#eeeeee/*background:url(/uploads/image/njcalendar/inp1.jpg) no-repeat;*/}
.f-textdateon{width:186px;height:33px;color:#007cc6;line-height:33px;font-family:arial; border:0px none;margin:0px;padding:0 0 0 8px;background-color:#ff0000/*background:url(/uploads/image/njcalendar/inp1.jpg) no-repeat;*/}
.timehour{width:142px;height:300px;float:left;border-left:1px solid #d7d7d7;display:inline;margin-top:6px;}

.onedate{font-size:12px;color:#404040; font-weight:normal;}
.onedate input{display:block;float:left;}
.onedate code{font-style:normal;float:left;padding:2px 0 0 2px;}

.cal-msg2{padding-left:10px; color:red; background-color:#eee; clear:both;}
