.jalendar {
    position: relative;
    width: 1000px;
    margin: 30px auto;
}
.jalendar .left {
    float: left;
}
.jalendar .clear {
    clear: both;
}
.jalendar.mid {
    width: 420px;
}
.jalendar .added-event {
    display: none;
}
.jalendar-wood {
    position: relative;
    display: inline-block;
}

.jalendar-pages {
    /*width:400px;*/
	width:285px;
    position: relative;
    background-color: #fff;
    border-radius: 2px;
    display: inline-block;
    float: left;
}
.jalendar .pages-bottom {
    position: absolute;
    border-radius: 0 0 2px 2px;
    height: 4px;
    bottom: -4px;
    left: 1%;
    width: 98%;
    background: #fff;
}
.jalendar-pages > .header {
    text-align: center;
    background: #65c2c0;
    position: relative;
    border-radius: 3px 3px 0 0;
    overflow: hidden;
}
.jalendar-pages > .header h1 {
    margin: 13px 0 0 0;
    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('../images/jalendar-sprite.png') no-repeat;
    top: 15px;
    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: 10px 10px 0 10px;
    overflow: hidden;
    text-align: center;
    font-size: 0;
}
.jalendar-pages > .header h2 {
    display: inline-block;
    width: 14%;
    padding: 7px 0 0 0;
    text-indent: 1px;
    text-align: center;
    margin: 0;
    background: url('../images/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;
}
.jalendar .header h2:first-child {
    background: none !important;
}
.jalendar .days {
    margin: 10px 0px 20px 0px;
    font-size: 0;
    text-align: center;
}
.jalendar .days .day {
    display: inline-block;
    width: 38px;
    height: 38px;
    padding: 10px;
    border-top: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    font: 14px "Roboto", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    color: #666;
    cursor: pointer;
    position: relative;
}
.jalendar.mid .days .day {
    height: 40px;
    font-size: 18px;
    padding-top: 7px;
}
.jalendar .days .day:hover {
    color: #2a7fbf;
	background-color: #d4edff;
}
.jalendar .days .day.selected {
    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: 24px;
    bottom: 0;
    width: 10px;
    height: 10px;
    display: inline-block;
    background: url(../images/jalendar-sprite.png) 0 -580px;
}*/

.jalendar .days .day > i {
    position: absolute;
    right: -1px;
    top: 0;
    width: 10px;
    height: 10px;
    display: inline-block;
    background: url(../images/jalendar-sprite.png) 0 -580px;
}
.jalendar .add-event {
    width: 600px;
    float: right;
    display: none;
}
.jalendar .add-new {
    color: #f77f05;
    font-size: 24px;
    margin: 0 0 0 0;
    padding: 15px 15px 5px 15px;
    border-radius: 0 0 3px 3px;
    position: relative;
}

.jalendar .events {
    height: 200px;
    position: relative;
}
.jalendar .events .events-list {
    max-height: 100%;
    overflow-x: auto;
    padding: 2px 2px 0 15px;
    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);
}
.jalendar .events .event-single {
    border-radius: 7px;
    margin: 0 0 10px 0;
}
.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);
}
