table.jCalendar {
    border: 0; /*background: #aaa;  */
    width: 170px;
    border-collapse: separate;
    background: #A3BAD9; /*border-spacing: 2px;*/
}

table.jCalendar th {
    background: #D3E0F1;
    color: #233D6D;
    font-weight: bold;
    padding: 3px 5px;
}

table.jCalendar td {
    background: #fff;
    color: #000;
    padding: 3px;
    text-align: center;
}

table.jCalendar td.other-month {
    background: #fff;
    color: #555;
}

table.jCalendar td.today {
    border: 1px solid #8b0000;
}

table.jCalendar td.selected {
    background: #dfecfb;
    border: 1px solid #8db2e3;
    color: #000;
}

table.jCalendar td.selected:hover {
    background: #f33;
    color: #fff;
}

table.jCalendar td:hover, table.jCalendar td.dp-hover {
    background: #fff;
    color: #000;
}

table.jCalendar td.disabled, table.jCalendar td.disabled:hover {
    background: #fff;
    color: #666;
}

/* For the popup */

/* NOTE - you will probably want to style a.dp-choose-date - see how I did it in demo.css */

div.dp-popup {
    position: relative;
    background: #1E3C73;
    font-size: 10px;
    font-family: arial, sans-serif;
    padding: 0;
    border: 1px #888 solid;
    width: 170px;
    line-height: 1.2em;
}

div#dp-popup {
    position: absolute;
    z-index: 199;
}

div.dp-popup h2 {
    font-size: 12px;
    color: #fff;
    text-align: center;
    margin: 2px 0;
    padding: 2px;
}

a#dp-close {
    font-size: 14px;
    padding: 4px 0;
    /*color:#000;*/
    background-color:#C7D8ED;
    width: 170px;
    text-align: center;
    display: block;
}

a#dp-close:hover {
    text-decoration: underline;
}

div.dp-popup a {
    color: #000;
    text-decoration: none;
    padding: 3px 2px 0;
}

div.dp-popup div.dp-nav-prev {
    position: absolute;
    top: 2px;
    left: 4px;
    width: 100px;
}

div.dp-popup div.dp-nav-prev a {
    float: left;
}

/* Opera needs the rules to be this specific otherwise it doesn't change the cursor back to pointer after you have disabled and re-enabled a link */
div.dp-popup div.dp-nav-prev a, div.dp-popup div.dp-nav-next a {
    color: #fff;
    cursor: pointer;
}

div.dp-popup div.dp-nav-prev a.disabled, div.dp-popup div.dp-nav-next a.disabled {
    color: gray;
    cursor: default;
}

div.dp-popup div.dp-nav-next {
    position: absolute;
    top: 2px;
    right: 4px;
    width: 100px;
}

div.dp-popup div.dp-nav-next a {
    float: right;
}

div.dp-popup a.disabled {
    cursor: default;
    color: #aaa;
}

div.dp-popup td {
    cursor: pointer;
}

div.dp-popup td.disabled {
    cursor: default;
}

.jCalendar td {
    font-size: 11px;
}

a.dp-choose-date {
    padding-left:16px;
    /*float: left;*/
    width: 16px;
    height: 16px;
    /*padding: 0;*/
    margin: 5px 3px 0;
    display: 0;
    text-indent: -2000px;
    overflow: hidden;
    text-decoration:none;
    background: url( calendar.png ) no-repeat;
}

a.dp-choose-date.dp-disabled {
    background-position: 0 -20px;
    cursor: default;
}

/* makes the input field shorter once the date picker code
* has run (to allow space for the calendar icon
*/
input.dp-applied {
    width: 150px;
    float: left;
}
