.jalendar {
    position: relative;
    min-width:200px;
    width: 100%;
}
.jalendar .left {
    float: left;
}
.jalendar .clear {
    clear: both;
}
.jalendar.mid {
    width: 420px;
}
.jalendar .added-events {
	 display: none;
}
.jalendar .added-event {
    display: none;
}
.jalendar-wood {
    position: relative;
    /*background: url('ui/jalendar-wood-bg.png') left top;
    border-radius: 10px;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.7), inset 0 -2px 10px rgba(255,255,255,0.3);
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    border-top: 1px solid #e1bf89;
    border-right: 1px solid #b4925d;
    border-left: 1px solid #b4925d;
	border: 1px solid #dedcd8;*/
    display: inline-block;
    z-index: 2;
    width: 99%;
}
.jalendar-wood .close-button {
    position: absolute;
    display: none;
    cursor: pointer;
    width: 26px;
    height: 26px;
	z-index:100;
    background: url(ui/jalendar-sprite.png) -80px -571px no-repeat;
}
.jalendar .wood-bottom {
    position: absolute;
    /*bottom: -6px;*/
    /*background: url('ui/jalendar-wood-bg.png') center top;*/
    left: 0;
    /*border-radius: 10px;*/
    width: 100%;
    height: 100%;
    /*z-index: 1;*/
    /*box-shadow: inset 0px 0px 20px rgba(0,0,0,0.8), 0 2px 5px rgba(0,0,0,0.7);
    border-bottom: 1px solid #653f08;*/
}
.jalendar-pages {
    position: relative;
    background-color: #fff;
    display: inline-block;
    width: 100%;
    float: left;
    padding-bottom: 5px;
    border: 1px solid #dedcd8;
}
.jalendar .pages-bottom {
    position: absolute;
    border-radius: 0 0 2px 2px;
    height: 4px;
    bottom: -4px;
    left: 1%;
    width: 98%;
    box-shadow: 0 2px 3px rgba(0,0,0,0.5), inset 0 1px 2px rgba(0,0,0,0.5);
    background: #fff;
}
.jalendar-pages > .header {
    text-align: center;
    background: #65c2c0;
    position: relative;
    border-radius: 3px 3px 0 0;
    box-shadow: 0px 1px 2px rgba(0,0,0,0.5), inset 0 -1px 0 rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.7), inset 0 -10px 20px rgba(0,0,0,0.2), inset 0 40px 40px rgba(255,255,255,0.3);
    overflow: hidden;
}

.jalendar-pages > .header h1 {
    margin:0;
    margin-top:3px;
    padding: 0;
    display: inline-block;
    font: 24px "Roboto", Arial, Helvetica, Geneva, sans-serif;
    color: #fff;
    text-shadow: 0 -1px 3px rgba(0,0,0,0.5);
}
.jalendar-pages > .header .prv-m, 
.jalendar-pages > .header .nxt-m {
    text-decoration: none;
    width: 31px;
    position: absolute;
    display: inline-block;
    height: 31px;
    background: url('ui/jalendar-sprite.png') no-repeat;
    top: 3px;
    cursor: pointer;
}
.jalendar-pages > .header .prv-m {
    background-position: 0 0;
    left: 20px;
}
.jalendar-pages > .header .nxt-m {
    background-position: -34px 0;
    right: 20px;
}
.jalendar-pages > .header .day-names {
    margin: 0px 10px 0 10px;
    overflow: hidden;
    text-align: center;
    font-size: 0;
}
.jalendar-pages > .header h2 {
    display: inline-block;
    width: 14%;
    padding: 5px 0 0 0;
    text-indent: 1px;
    text-align: center;
    margin: 0;
    background: url('ui/jalendar-sprite.png') no-repeat 0 -41px;
    height: 22px;
    font: 13px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
    text-shadow: 0 1px 0 #000;
    color: #fff;
    float:left;
}
.jalendar .header h2:first-child {
    background: none !important;
}

.jalendar-pages .show-person {
    padding:3px;
	padding-left:20px;
    height:25px;
	float:left;
	text-shadow: 0 -1px 3px rgba(0,0,0,0.5);
}

.jalendar .total-bar {
	margin-top:5px;margin-right:5px;
    padding:3px 6px 0px 0px;
    color: #666;
	float: right;
    font: 12px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}
.jalendar .total-bar b {
    color: #65c2c0;
    text-shadow: 0 1px 1px rgba(255,255,255,1);
}
.jalendar .days {
	clear:both;
    margin: 10px 10px 20px 10px;
    font-size: 0;
    text-align: center;
}
.jalendar .days .day {
    display: inline-block;
    width: 14%;
    height: 30px;
    line-height:30px;
    overflow:hidden;
    border-top: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    font-size: 14px;
    font-family:"Roboto", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    color: #666;
    float:left;
    cursor: pointer;
    position: relative;
}
.jalendar.mid .days .day {
    height: 40px;
    font-size: 18px;
    padding-top: 7px;
}
.jalendar .days .day:hover {
	background-color: #feffea;
}
.jalendar .days .today {
	box-shadow: inset 0 5px 15px rgba(255,255,255,0.2), inset 0 -10px 10px rgba(0,0,0,0.1);
	 color: #fff;
	background-color: #5685bf;
}
.jalendar .days .today:hover {
	box-shadow: inset 0 5px 15px rgba(255,255,255,0.4), inset 0 -10px 10px rgba(0,0,0,0.2);
	background-color: #5685bf;
}
.jalendar .days .day.selected {
    box-shadow: inset 0 5px 15px rgba(255,255,255,0.4), inset 0 -10px 10px rgba(0,0,0,0.2);
    color: #fff;
    text-shadow: 0 1px 1px #000;
}
/*.jalendar .days .day:nth-child(7n+1) {
    border-left: 1px solid #e0e0e0;
}
.jalendar .days .day:nth-last-child(1),
.jalendar .days .day:nth-last-child(2),
.jalendar .days .day:nth-last-child(3),
.jalendar .days .day:nth-last-child(4),
.jalendar .days .day:nth-last-child(5),
.jalendar .days .day:nth-last-child(6),
.jalendar .days .day:nth-last-child(7) {
    border-bottom: 1px solid #e0e0e0;
}*/
.jalendar .days .day.today.selected {
    color: #fff !important;
}
.jalendar .days .day > .event-single {
    display: none;
}
.jalendar .days .day.selected > i {
    display: none;
}
.jalendar .days .day > i {
    position: absolute;
    right: -1px;
    top: 0;
    width: 10px;
    height: 10px;
    display: inline-block;
    background: url(ui/jalendar-sprite.png) 0 -580px;
}

.jalendar .add-event {
    /*float: right;
    max-width: 274px !important;*/
	position:absolute;
	left:0px;
	top:-60px;
	z-index: 10;
	display: none;
	width:100%;
	background:#FAFAED;
	border: 1px solid #CADDEA;
}
.jalendar .add-new {
    background: url(ui/jalendar-sprite.png) 0 -325px repeat-x;
    padding: 20px 15px 15px 15px;
    border-radius: 0 0 3px 3px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.5);
    position: relative;
}
.jalendar .add-new input[type="text"] {
    padding: 5px 10px;
    box-sizing: border-box;
    border: none;
    width: 85%;
    border-radius: 30px;
    box-shadow: 0 2px 2px rgba(255,255,255,1), inset 0 2px 5px rgba(0,0,0,0.4);
    font: 16px "Roboto", "Helvetica Neue", Arial;
    color: #333333;
    background-color: rgba(0,0,0,0.1);
    outline: none;
    margin: 0 0 15px 0;
    *border: 1px solid #a0a0a0;
    *width:75%;
}
.jalendar .add-new .submit {
    position: absolute;
    right: 10px;
    top: 21px;
    background: url(ui/jalendar-sprite.png) 0 -610px no-repeat;
    width: 26px;
    height: 26px;
    display: inline-block;
    cursor: pointer;
}
.jalendar .add-new .submit:active {
    /*background-position: -32px -614px;*/
}
.jalendar .add-time {
    float: left;
    width: 108px;
    background: url(ui/jalendar-sprite.png) 0 -179px;
    padding: 0 0 0 20px;
    font: bold 13px "Helvetica Neue", Arial;
    position: relative;
}
.jalendar .disabled {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    cursor: not-allowed;
}
.jalendar .select {
    background: url(ui/jalendar-sprite.png) right -250px repeat-x;
    position: relative;
    float: left;
    border-radius: 2px;
    border: 1px solid #999;
    cursor: pointer;
    letter-spacing: 1px;
    height: 25px;
    z-index: 9;
    width: 42px;
    text-align: center;
}
.jalendar .person {
	width: 110px;
}
.jalendar .select span {
    display: inline-block;
    padding: 5px 20px 5px 7px;
}
.jalendar .person span {
    /*padding: 2px 5px 5px 2px;*/
	overflow: hidden; display: block; /*自动隐藏文字*/text-overflow: ellipsis;/*文字隐藏后添加省略号*/white-space: nowrap;/*强制不换行*/ 
}

.jalendar .select .dropdown {
    position: absolute;
    left: -1px;
    width: 100%;
    top: 27px;
    text-align: center;
    background: #fff;
    border-radius: 3px;
    border: 1px solid #999;
    display: none;
    height: 150px;
	z-index:3000;
    overflow-x: hidden;
	overflow-y: auto;
}
.jalendar .select .dropdown .option {
    padding: 5px 0;
}
.jalendar .select .dropdown .option:hover {
	background: #65c2c0;
    color: #fff;
}
.jalendar .select + .left {
    padding: 5px 4px 0 4px;
}

.jalendar .all-day {
    float: right;
    width: 85px;
    font: bold 13px "Helvetica Neue", Arial;
}
.jalendar .all-day fieldset {
    background: url(ui/jalendar-sprite.png) 0 -492px repeat-x;
    position: relative;
    float: right;
    border-radius: 2px;
    border: 1px solid #999;
    padding: 5px 7px;
    cursor: pointer;
    height: 15px;   
}
.jalendar .all-day fieldset .check {
    float: left;
    width: 18px; 
    border-right: 1px solid #999;
    display: inline-block;
    height: 27px;
    margin: -6px 0 0 0;
    background: url(ui/jalendar-sprite.png) -2px -284px;
    position: relative;
}
.jalendar .all-day fieldset .check span {
    position: absolute;
    left: 3px;
    top: 11px;
    border-radius: 2px;
    display: inline-block;
    width: 6px;
    height: 6px;
}
.jalendar .all-day fieldset label {
    float: left;
    padding: 0 0 0 5px;
    cursor: pointer;
}

.jalendar .events {
    height: 265px;
    position: relative;
    background-color:#FAFAED ;
}
.jalendar .events h3 {
    background: url(ui/jalendar-sprite.png) center -532px no-repeat;
    display: inline-block;
    width: 100%;
    font: 20px "Roboto", "Helvetica Neue", Arial;
    color:#333;
    text-shadow: 0 1px 1px #fff;
    text-align: center;
    margin: 0 0 10px 0;
}
.jalendar .events h3 span {
    display: inline-block;
    /*background: url(ui/jalendar-wood-bg.png);*/
    padding: 0 10px;
}
.jalendar .events .events-list {
    height:227px;
    overflow-x: hidden;
    overflow-y:auto;
    padding: 2px 2px 0 2px;
    position: relative;
    z-index: 2;
}
.jalendar .events .gradient-wood {
    position: absolute;
    z-index: 1;
    bottom: -39px;
    display: none;
    left: -1%;
    width: 102%;
    height: 2px;
    border-radius: 10px;
    background-color: rgba(0,0,0,0.45);
    box-shadow: 0 1px 2px #fff;
}
.jalendar .events .event-single {
    background: url(ui/jalendar-sprite.png) 0 -90px;
    border-radius: 7px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.75);
    margin: 0 0 10px 0;
    *border: 1px solid #a0a0a0;
}
.jalendar .events .event-single p {
    padding: 7px 10px;
    font: bold 13px "Helvetica Neue", Arial;
    margin: 0;
    color: #333;
    border-bottom: 1px solid rgba(0,0,0,0.3);
}
.jalendar .events .event-single p a {
    color: #333;
}
.jalendar .events .event-single .details {
    border-top: 1px solid rgba(255,255,255,0.4);
    padding: 5px 10px;
    overflow: hidden;
}
.jalendar .events .event-single .details .clock {
    background: url(ui/jalendar-sprite.png) 0 -184px;
    /*color: #fff;*/
    padding: 0 0 0 20px;
    font: bold 12px "Helvetica Neue", Arial;
    float: left;
    display: inline-block;
    width: 60px;
}
.jalendar .events .event-single .details .detail-link {
    padding: 0 0 0 10px;
    color:blue;
    float: left;
    cursor:pointer;
    display: inline-block;
    width: 60px;
}

.jalendar .events .event-single .details .event-edit {
    background: url(ui/jalendar-sprite.png) -40px -214px;
    float: right;
    display: inline-block;
    width: 24px;
    height: 18px;
    cursor: pointer;
    margin-left: 2px;
    margin-right: 5px;
}

.jalendar .events .event-single .details .erase {
    background: url(ui/jalendar-sprite.png) 0 -214px;
    float: right;
    display: inline-block;
    width: 24px;
    height: 18px;
    cursor: pointer;
    margin-left: 5px;
    margin-right: 2px;
}

.jalendar .days .day .holiday {
    position: absolute;
    right: -1px;
    bottom : 0;
    width: 13px;
    height: 11px;
    display: inline-block;
    /*background: url(ui/jalendar-sprite.png) -59px -294px;*/
    background: url(ui/jalendar-sprite.png) -77px -294px;
}

.jalendar .days .day .statutory-holiday {
    position: absolute;
    right: -1px;
    bottom : 0;
    width: 13px;
    height: 11px;
    display: inline-block;
   /* background: url(ui/jalendar-sprite.png) -42px -294px;*/
   background: url(ui/jalendar-sprite.png) -97px -294px;
}
