/* layer: default */
/* group: calendar | Стиль календаря */
/* param: border_color                | Цвет бордера | color | #000 */
/* param: background_color            | Цвет фона | color | #fff */
table.jCalendar {
    border: 1px solid [border_color];
    background: [background_color];
    border-collapse: separate;
    border-spacing: 2px;
}
/* group: calendar.th | Стиль шапки календаря */
/* param: color                       | Цвет текста | color | #fff */
/* param: background_color            | Цвет фона | color | #007dc4 */
/* param: background_color_week       | Цвет фона для выходных | color | #c40000 */
table.jCalendar th {
    background: [background_color];
    color: [color];
    font-weight: bold;
    padding: 3px 5px;
}
/* group: calendar.td | Стиль элементов календаря */
/* param: color                       | Цвет текста | color | #007dc4 */
/* param: background_color            | Цвет фона | color | #eef4f7 */
table.jCalendar td {
    background: [background_color];
    color: [color];
    padding: 3px 5px;
    text-align: center;
} 
table.jCalendar th.weekend {
    background: [calendar.th.background_color_week];
}
/* group: calendar.tdother | Стиль элементов другого месяца */
/* param: color                       | Цвет текста | color | #007dc4 */
/* param: background_color            | Цвет фона | color | #ddd */
table.jCalendar td.other-month {
    background: [background_color];
    color: [color];
}
table.jCalendar td.today {
    /*background: #666;
    color: #fff;*/
}
table.jCalendar td.selected {
    background: #f66;
    color: #fff;
}
table.jCalendar td.selected.dp-hover {
    background: #f33;
    color: #fff;
}
/* group: calendar.tdhover | Стиль выделенного элемента */
/* param: color                       | Цвет текста | color | #000 */
/* param: background_color            | Цвет фона | color | #fff */
table.jCalendar td.dp-hover,
table.jCalendar tr.activeWeekHover td {
    background: [background_color];
    color: [color];
}
table.jCalendar tr.selectedWeek td {
    background: #f66;
    color: #fff;
}
/* group: calendar.tddisabled | Стиль неактивных элементов */
/* param: color                       | Цвет текста | color | #888 */
/* param: background_color            | Цвет фона | color | #dddcdc */
table.jCalendar td.disabled, table.jCalendar td.disabled.dp-hover {
    background: [background_color];
    color: [color];
}
table.jCalendar td.unselectable,
table.jCalendar td.unselectable:hover,
table.jCalendar td.unselectable.dp-hover {
    background: #bbb;
    color: #888;
}

/* 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;
    font-size: 10px;
    font-family: arial, sans-serif;
    padding: 2px;
    width: 171px;
    line-height: 1.2em;
}
div#dp-popup {
    position: absolute;
    z-index: 199;
}
div.dp-popup h2 {
    font-size: 12px;
    text-align: center;
    margin: 2px 0;
    padding: 0;
}
a#dp-close {
    font-size: 11px;
    padding: 4px 0;
    text-align: center;
    display: block;
}
a#dp-close:hover {
    text-decoration: underline;
}
/* group: calendar.popup | Стиль стрелок переключения месяца */
/* param: color                       | Цвет активной стрелки | color | #007dc4 */
/* param: color_dis                   | Цвет неактивной стрелки | color | #aaa */
div.dp-popup a {
    color: [color];
    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 {
    cursor: pointer;
}
div.dp-popup div.dp-nav-prev a.disabled, div.dp-popup div.dp-nav-next a.disabled {
    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: [calendar.popup.color_dis];
}
div.dp-popup td {
    cursor: pointer;
}
div.dp-popup td.disabled {
    cursor: default;
}
