﻿/* the month header row on the absence calendar */
.CalHeadMonth {
	font-size: small;
	background-color: var(--list-header-bg);
	color: var(--list-header-fg);
	border-style: none;
}

/* the day header row on the absence calendar */
/* the day and month cells on the absence planner */
.CalHeadDays {
	font-size: small;
	font-weight: bold;
	background-color: var(--list-header-bg);
	color: var(--list-header-fg);
	border: gray 1px solid;
	white-space: nowrap;
	min-width: 20px;
}

/* used by the popup(layer not window) calendar */
.CalFooter {
	background-color: var(--list-header-bg);
	color: var(--list-header-fg);
	text-align: center;
	border-top: solid 1px #8E8D8D;
}

/* absence planner & absence calendar */
/* used to grey out days on the calendar that are not active */
td.CalNotActive
{
	border: gray 1px solid;	
 	font-size:small;	
	color: var(--text-subdued);
	background-color:Transparent;
}

/* absence planner & absence calendar */
/* used for days that are active */
td.CalActive
{
	border: gray 1px solid;	
	font-size:small;	
	color: #666666;	
	background-color: white;
}

/* absence planner & absence calendar */

/* leave booked but not yet authoried  */
td.CalActiveNotAuth {
	background: url(../../graphics/tick.gif) top left no-repeat;
}
/* half day leave  */
td.CalPartDay {
	background: url(../../graphics/partday.gif) top right no-repeat;
}
/* both unauthorised leave and half day indicators*/
td.CalNotAuthPartDay {
	background: url(../../graphics/tick.gif) top left no-repeat, 
		        url(../../graphics/partday.gif) top right no-repeat;
}


/* absence planner & absence calendar */
/* style for days not in this month table  */
td.CalNotDay
{
	color: #E8E7E7;
	border: none;	
	background-color:#E8E7E7;	
}

/* used a spacer cell for view leave, absence planner */
td.CalSpacer
{	
	border: none;
	background-color:Transparent;	
}

/* CALENDAR LINK STYLES */
/* for the actual link style */
a.Cal {
	color: var(--list-header-fg);
	font-size: small;
	text-align: center;
	text-decoration: none;
}
	a.Cal:hover {
		color: var(--list-header-fg);
		text-decoration: underline;
	}

/*link style for the managers 'viewleave' screen, day number styles */
a.viewleave {
	font-size: small;
	font-weight: bold;
	color: var(--list-header-fg);
	text-align: left;
}
	a.viewleave:hover {
		color: var(--list-header-fg);
		font-weight: bold;
		text-decoration: underline;
	}

/* OTHER CALENDAR STYLES */
/* used on the key to leave tables */
table.listforms
{	
	margin-left:auto;
	margin-right:auto;
	border-collapse: collapse;
	background-color: transparent;
}

/* used on the individual items within the key key to leave tables */
table.CalTable
{
    margin-left:auto;
    margin-right:auto;
	font-size:small;
	border:solid 1px #384A68;	
	background-color:Transparent;
	border-collapse:collapse
}

/* style for roster calender, shown when there are roster values entered for that day */
td.CalNoRosterVal
{
  	border: gray 1px solid;	
	font-size:small;	
	color: aqua;	
	background-color: #FFC516;  
}