/*There's a bug with IE on the date border where border-bottom doesn't display.
    It has something to do with the height of the weekend, which we can't take out
    or the calendar looks "squished".
    Tooltips: Gary Sedgwick
    */

div.xar-julian a {
    text-decoration: none;
    clear:left;
}
div.xar-julian li {
    list-style-type: none;
}
div.xar-julian a:hover {

}

div.xar-julian-header {
}

div.xar-julian-footer {
    margin-top: 10px;
    text-align: center;
}

div.xar-julian-footer a {
    text-decoration: underline;
}

div.xar-julian-contents {
    margin-top: 10px;
    padding: 5px;
}

div.xar-julian-contents h1 {
    font-size: 1.5em;
}

div.xar-julian-contents h2 {
    font-size: 1.2em;
}

div.xar-julian-contents-icons {
    float: right;
}

div.xar-julian-calendar {
    margin-top: 10px;
}

div.xar-julian-calendar a {
    font-size:10px;
}

div.xar-julian-calendar-nav {
    padding: 2px;
    border-bottom: 1px solid gray;
}

div.xar-julian-calendar-nav-prev {
    float: left;
}

div.xar-julian-calendar-nav-prev a {

}

div.xar-julian-calendar-nav-next {
    float: right;
}

div.xar-julian-calendar-nav-next a {
}

div.xar-julian-calendar-nav-current {
    color: #000000;
    text-align: center;
    font-weight: bold;
}

tr.xar-julian-calendar-week a.xar-julian-arrow {
    color: #fff;
}

tr.xar-julian-calendar-week a:hover.xar-julian-arrow {
    color: #ff00ff;
}

.xar-julian-calendar-tables {
    clear: both;
}
/*
 The visual effect is made out of a table with cells per day */
table.xar-julian-calendar-month {
    width: 100%;
    border-collapse: collapse;
}

.xar-julian-calendar-month td {
    border-color: #a0a0a0;
    border-style: solid;
    border-width: 0 1px 1px 1px;
}

.xar-julian-calendar-month th {
    border-color: #a0a0a0;
    border-style: solid;
    border-width: 1px 1px 0 1px;
}

th.xar-julian-calendar-title {
    text-align: center;
    background-color: #a6bacd;
}

th.xar-julian-calendar-title a {
    color: #fff;
    text-decoration: underline;
}

tr.xar-julian-calendar-daynames th {
    text-align: center;
    background-color: #888;
    border-color: #888;
    border-style: solid;
    border-width: 1px 1px 0 1px;
}

td.xar-julian-calendar-weeknumber {
    width: 2%;
    vertical-align: top;
    text-align: center;
}

td.xar-julian-calendar-day {
    width: 14%;
    height: 50px;
    vertical-align: top;
    padding: 3px;
}
div.xar-julian-calendar-date {
    width: 15px;
    float: left;
    border-right: 1px solid #a0a0a0;
    border-bottom: 1px solid #a0a0a0;
    font-size: x-small;
}

div.xar-julian-calendar-date a{
    padding-left:1px;
}

div.xar-julian-calendar-icons {
    width: 15px;
    float: right;
    text-align: right;
    padding-right: 2px;
}

.xar-julian-sub{
    font-size:x-small;
    clear:both;
}

.xar-julian-days-weekend {
    background-color: #e9e9e9;
}

.xar-julian-days-weekday {
    background-color: #f9f9f9;
}

.xar-julian-days-currentday {
    background-color: #FFFFFF;
    color: #0066ff;
}

td.xar-julian-days-currentday a {
    color: #990000;
    font-weight: 900;
}

.xar-julian-days-currentday .xar-julian-calendar-date {
    border-right: 2px solid #990000;
    border-bottom: 2px solid #990000;
}

.xar-julian-days-currentday .xar-julian-calendar-date a {
    color: #990000;
    font-weight: 900;
}

.xar-julian-days-empty {
    background-color: #bbb;
}
/*
 The block: eventlist */
ul.xar-julian-eventlist li,
ul.xar-julian-catlist li {
    clear: both;
    display:block;
}

ul.xar-julian-eventlist li {
    margin-left: -10px;
    text-align: left;
    clear:left;
}

/**/
.xar-julian-list-icons {
    float: left;
    padding-right: 2px;
    padding-top: 3px;

}

.xar-julian-list-bull {
    font-size: 1.2em;
}

/* block element inside li to overrule color */
div.xar-julian-list-contents a.xar-julian-event {
    color:#000000;
}

div.xar-julian-block-calevent div.xar-julian-list-contents a.xar-julian-event {
    text-decoration: underline;
}

div.xar-julian-block-calevent div.xar-julian-list-contents a:hover.xar-julian-event {
    color: #FF00FF;
}

/* hyperlink to event with a tooltip */
a.xar-julian-event {
    position: relative;
}

/* color the day in the month block that has an event*/
.xar-julian-calendar-month a.xar-julian-event {
    color:#FF0000;
    text-decoration: none;
}
/* Create the tooltip from here */
a.xar-julian-event span.xar-julian-tooltip {
    display: none;
}

.xar-julian-calendar-month a.xar-julian-event:hover {
    text-decoration: underline;
}

a.xar-julian-event:hover {
    z-index: 1;
}
/*
* Set width and location of your tooltip here.
* The width might be interfering with display, as well as the left location
*/
a.xar-julian-event:hover span.xar-julian-tooltip {
    top:0px;
    left: -30px;            /* Location to the left */
    text-decoration: none;
    display:block;
    position:absolute;
    width:178px;            /* Size of the tooltip */
    font-weight:bold;
    background:#fff;
    color:#000;
    padding: 5px;
    border: 1px solid #aaa;
}

a.xar-julian-event:hover span.xar-julian-tooltip span {
    display:block;
    position: relative;
    top:0;
    left:0;
    padding:0;
    z-index: 99999;
}

/* specify some classes apart per page */
.xar-julian-block-calmonth td.xar-julian-calendar-day,
.xar-julian-user-year td.xar-julian-calendar-day {
    height: 20px;
}

.xar-julian-user-year .xar-julian-calendar-weeknumber .xar-julian-arrow {
    font-size: 10px;
}

.xar-julian-block-calevent ul.xar-julian-eventlist li {
    margin-left: 0.5em;
}

.xar-julian-calevent-upcoming ul.xar-julian-eventlist li {
    margin-left:0.5em;
}

.xar-julian-eventlist .xar-sub a {
    margin-left:0.5em;
}

div.xar-julian-calevent-today-header {
    background-color: #0066FF;
    width:100%;
}

div.xar-julian-calevent-upcoming-header {
    background-color: #0066FF;
    width:100%;
}

div.xar-julian-view-header {
    font-size: 1.5em;
    font-weight: bold;
}
/*
 Needed for IE type of browsers*/
div.xar-julian a:hover span {
    filter: alpha(opacity=100);
}