table.ui-datepicker td {
    margin:0;
    padding:0;
}

#story-datepicker {
    z-index:100;
}

/*datepicker*/
/* Main Style Sheet for jQuery UI date picker */
.ui-datepicker-div, .ui-datepicker-inline {
    /*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none;
    font-family: Arial, sans-serif;
    background: #ffffff;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid #cbbfaa;
    width: 15.5em;
    padding: 2.5em .5em 0 .5em;
    position: relative;
}
.ui-datepicker-div {
    z-index: 9999; /*must have*/
    display: none;
    background: #ffffff;
}
.ui-datepicker-inline {
    float: left;
    display: block;
}
.ui-datepicker-rtl {
	direction: rtl;
}
.ui-datepicker-current {
    display: none;
}
.ui-datepicker-next, .ui-datepicker-prev {
    position: absolute;
    left: .5em;
    top: .5em;
    background: #f5f1e8 url(images/f5f1e8_40x100_textures_07_diagonals_small.png) 0 50% repeat-x;
}
.ui-datepicker-next {
    left: 14.6em;
}
.ui-datepicker-next:hover, .ui-datepicker-prev:hover {
    background: #cbbfaa url(images/cbbfaa_40x100_textures_07_diagonals_small.png) 0 50% repeat-x;
}
.ui-datepicker-next a, .ui-datepicker-prev a {
    text-indent: -999999px;
    width: 1.3em;
    height: 1.4em;
    display: block;
    font-size: 1em;
    background: url(images/424242_7x7_arrow_left.gif) 50% 50% no-repeat;
    border: 1px solid #cbbfaa;
    cursor: pointer;
}
.ui-datepicker-next a {
    background: url(images/424242_7x7_arrow_right.gif) 50% 50% no-repeat;
}
.ui-datepicker-prev a:hover {
    background: url(images/424242_7x7_arrow_left.gif) 50% 50% no-repeat;
}
.ui-datepicker-next a:hover {
    background: url(images/424242_7x7_arrow_right.gif) 50% 50% no-repeat;
}
.ui-datepicker-prev a:active {
    background: url(images/424242_7x7_arrow_left.gif) 50% 50% no-repeat;
}
.ui-datepicker-next a:active {
    background: url(images/424242_7x7_arrow_right.gif) 50% 50% no-repeat;
}
.ui-datepicker-header select {
    border: 1px solid #cbbfaa;
    color: #292929;
    background: #f5f1e8;
    font-size: 1em;
    line-height: 1.4em;
    position: absolute;
    top: .5em;
    margin: 0 !important;
    
}
.ui-datepicker-header select.ui-datepicker-new-month {
width: 7em;
left: 2.2em;
}
.ui-datepicker-header select.ui-datepicker-new-year {
width: 5em;
left: 9.4em;
}
table.ui-datepicker {
    width: 15.5em;
    text-align: right;
}
table.ui-datepicker td a {
    padding: .1em .3em .1em 0;
    display: block;
    color: #aaa;
    background: #f5f1e8 url(images/f5f1e8_40x100_textures_07_diagonals_small.png) 0 50% repeat-x;
    cursor: pointer;
    border: 1px solid #ffffff;
}
table.ui-datepicker td a:hover {
    border: 1px solid #cbbfaa;
    color: #292929;
    background: #cbbfaa url(images/cbbfaa_40x100_textures_07_diagonals_small.png) 0 50% repeat-x;
}
table.ui-datepicker td a:active {
    border: 1px solid #dddddd;
    color: #292929;
    background: #ffffff url(images/ffffff_40x100_textures_07_diagonals_small.png) 0 50% repeat-x;
}
table.ui-datepicker .ui-datepicker-title-row td {
    padding: .3em 0;
    text-align: center;
    font-size: .9em;
    color: #292929;
    text-transform: uppercase;
    /*border-bottom: 1px solid #cbbfaa;*/
}

.ui-datepicker-current-day a {
    border: 1px solid #000 !important; color: #292929 !important;
    background: #cbbfaa url(images/cbbfaa_40x100_textures_07_diagonals_small.png) 50% 50% repeat !important;
}

table.ui-datepicker .ui-datepicker-title-row td a {
    color: #292929;
}

