#cal
{
    width: 200px;
    height: auto;
    font: 11px normal Arial,Verdana,sans-serif;
    line-height: 14px;
}

#cal div
{
    float: left;
    text-align: center;
    margin: 0;
    padding: 0;
    cursor: default;
}

/* Formatierung Jahr */
#cal div.year
{
    border-style: solid;
    border-color: #E9DBBA;
    background: #EFE6CF;
    cursor: pointer;
}

#cal div#cal_year_p
{
    background: url(../img/cal/back.png) no-repeat;
}

#cal div#cal_year_p.hover
{
    background: url(../img/cal/back_hover.png) no-repeat;
}

#cal div#cal_year_n
{
    background: url(../img/cal/next.png) no-repeat;
}

#cal div#cal_year_n.hover
{
    background: url(../img/cal/next_hover.png) no-repeat;
}

#cal div#cal_year.hover
{
    background: #CCC;
}

#cal div#cal_year_p
{
    width: 40px;
    border-width: 1px 0 1px 1px;
}

#cal div#cal_year
{
    width: 116px;
    border-width: 1px 1px 1px 1px;
}

#cal div#cal_year_n
{
    width: 40px;
    border-width: 1px 1px 1px 0;
}

/* Formatierung Quartal */
#cal div.qua
{
    border-style: solid;
    border-color: #E9DBBA;
    background: #EFE6CF;
    cursor: pointer;
}

#cal div#cal_qua_p
{
    background: url(../img/cal/back.png) no-repeat;
}

#cal div#cal_qua_p.hover
{
    background: url(../img/cal/back_hover.png) no-repeat;
}

#cal div#cal_qua_n
{
    background: url(../img/cal/next.png) no-repeat;
}

#cal div#cal_qua_n.hover
{
    background: url(../img/cal/next_hover.png) no-repeat;
}

#cal div#cal_qua.hover
{
    background: #CCC;
}

#cal div#cal_qua_p
{
    width: 40px;
    border-width: 1px 0 1px 1px;
}

#cal div#cal_qua
{
    width: 116px;
    border-width: 1px 1px 1px 1px;
}

#cal div#cal_qua_n
{
    width: 40px;
    border-width: 1px 1px 1px 0;
}

/* Formatierung Monat */
#cal div.month
{
    border-style: solid;
    border-color: #E9DBBA;
    background: #EFE6CF;
    cursor: pointer;
}

#cal div#cal_month_p
{
    background: url(../img/cal/back.png) no-repeat;
}

#cal div#cal_month_p.hover
{
    background: url(../img/cal/back_hover.png) no-repeat;
}

#cal div#cal_month_n
{
    background: url(../img/cal/next.png) no-repeat;
}

#cal div#cal_month_n.hover
{
    background: url(../img/cal/next_hover.png) no-repeat;
}

#cal div#cal_month.hover
{
    background: #CCC;
}

#cal div#cal_month_p
{
    width: 40px;
    border-width: 1px 0 1px 1px;
}

#cal div#cal_month
{
    width: 116px;
    border-width: 1px 1px 1px 1px;
}

#cal div#cal_month_n
{
    width: 40px;
    border-width: 1px 1px 1px 0;
}

/* Formatierung Woche */
#cal div.week
{
    border-style: solid;
    border-color: #E9DBBA;
    background: #EFE6CF;
}

#cal div#cal_week
{
    width: 40px;
    border-width: 1px 0 1px 1px;
}

#cal div#cal_week_1, #cal div#cal_week_2, #cal div#cal_week_3, #cal div#cal_week_4, #cal div#cal_week_5, #cal div#cal_week_6
{
    width: 40px;
    border-width: 1px 0 1px 1px;
    cursor: pointer;
}

#cal div#cal_week_1.hover, #cal div#cal_week_2.hover, #cal div#cal_week_3.hover, #cal div#cal_week_4.hover, #cal div#cal_week_5.hover, #cal div#cal_week_6.hover
{
    background: gray;
}

#cal div#cal_week_6
{
    border-bottom-width: 1px;
}

/* Formatierung Tage */
#cal div.day
{
    border-style: solid;
    border-color: #E9DBBA;
    background: #D4C49F;
}

#cal div.day_1, #cal div.day_2, #cal div.day_3, #cal div.day_4, #cal div.day_5, #cal div.day_6, #cal div.day_7
{
    border-style: solid;
    border-color: #E9DBBA;
    background: #E6D7B5;
    cursor: pointer;
}

#cal div#cal_day_1
{
    width: 21px;
    border-width: 1px 0 1px 1px;
}
#cal div#cal_day_2
{
    width: 22px;
    border-width: 1px 0 1px 1px;
}
#cal div#cal_day_3
{
    width: 21px;
    border-width: 1px 0 1px 1px;
}
#cal div#cal_day_4
{
    width: 22px;
    border-width: 1px 0 1px 1px;
}
#cal div#cal_day_5
{
    width: 21px;
    border-width: 1px 0 1px 1px;
}
#cal div#cal_day_6
{
    width: 22px;
    border-width: 1px 0 1px 1px;
}
#cal div#cal_day_7
{
    width: 22px;
    border-width: 1px 1px 1px 1px;
}

#cal div.day_1
{
    width: 21px;
    border-width: 1px 0 1px 1px;
}
#cal div.day_2
{
    width: 22px;
    border-width: 1px 0 1px 1px;
}
#cal div.day_3
{
    width: 21px;
    border-width: 1px 0 1px 1px;
}
#cal div.day_4
{
    width: 22px;
    border-width: 1px 0 1px 1px;
}
#cal div.day_5
{
    width: 21px;
    border-width: 1px 0 1px 1px;
}
#cal div.day_6
{
    width: 22px;
    border-width: 1px 0 1px 1px;
}
#cal div.day_7
{
    width: 22px;
    border-width: 1px 1px 1px 1px;
}

#cal div.day_1.soft, #cal div.day_2.soft, #cal div.day_3.soft, #cal div.day_4.soft, #cal div.day_5.soft, #cal div.day_6.soft, #cal div.day_7.soft
{
    background: #EFE6CF;
}
#cal div.day_1.sel, #cal div.day_2.sel, #cal div.day_3.sel, #cal div.day_4.sel, #cal div.day_5.sel, #cal div.day_6.sel, #cal div.day_7.sel
{
    background: #9B0911;
    color: #FFF;
}

#cal div.day_1.hover, #cal div.day_2.hover, #cal div.day_3.hover, #cal div.day_4.hover, #cal div.day_5.hover, #cal div.day_6.hover, #cal div.day_7.hover
{
    background: darkgray;
}
#cal div.day_1.soft.hover, #cal div.day_2.soft.hover, #cal div.day_3.soft.hover, #cal div.day_4.soft.hover, #cal div.day_5.soft.hover, #cal div.day_6.soft.hover, #cal div.day_7.soft.hover
{
    background: #CCC;
}

#cal div#cal_day_6_1, #cal div#cal_day_6_2, #cal div#cal_day_6_3, #cal div#cal_day_6_4, #cal div#cal_day_6_5, #cal div#cal_day_6_6, #cal div#cal_day_6_7
{
    border-bottom-width: 1px;
}

#cal_add, #cal_pre
{
    clear: both;
    font: 11px normal Arial,Verdana,sans-serif;
}

#cal_add p, #cal_pre p
{
    margin: 10px 0;
}

#cal_add select
{
    margin: 10px 0;
    font-size: 10px;
}

#cal_add h1, #cal_pre h1
{
    margin: 10px 0;
    font-size: 14px;
}

#cal div.topspacer
{
  width: 195px;
  height: 5px;
  background: none;
}

#cal div.lowspacer
{
  width: 195px;
  height: 2px;
  background: none;
}