/*  Month View  ---------------------------------------------------*/
.cal-month-day {
	background: #ffffff;
	vertical-align: top;
    height: 70px;
	width:70px; /* this width will keep events from compressing the days without events */
}


.cal-month-day:hover {
	background: #cccccc;
    cursor: pointer;
}

.cal-month-today {
	font-weight: bold;
	background-color: #EAF2FF;
	text-align: left;
	vertical-align: top;

}
.cal-month-today:hover {
	background: #cccccc;
    cursor: pointer;
}

.cal-month-day-inactive {
	background: #F0EFF0;
}

.cal-month-event {
	text-align: left;
	font-weight: normal;
    overflow: hidden;
	border:1px #ffffff solid;
	opacity:.9; 
}

.cal-month-event a {
	font-weight: normal;
}

.cal-month-table {
	margin: 0px;
	padding: 0px;
	border-top: 1px #89A2B3 solid;
	border-left: 1px #89A2B3 solid;
}

.cal-month-table th {
    background-color: #ffffff;
}

.cal-month-table td, .cal-month-table th {
	border-right: 1px #89A2B3 solid;
	border-bottom: 1px #89A2B3 solid;
	padding: 2px;
}

/* END Month View  ---------------------------------------------------*/

.cal-input-field {
	color: #000000;
	margin: 0px;
	padding: 0px;
	border: 1px solid #99CCFF;
	background-color: #FFFFFF;
}

.cal-table-caption {
	font-size: 1.2em;
    font-weight: bold;
    margin: 1em;
    background: #fff;
}

.cal-table-caption img {
    border: 0;
    vertical-align: middle;
}

/* at-a-glance ---------------------------------------------------*/
/* This is the small cal that appears in month/week/day views on the left hand side*/

.at-a-glance-head {
    white-space: nowrap;
    margin-right: 5px;
}

#at-a-glance {
	border-top: 1px solid #B8B8B8;
    border-left: 1px solid #B8B8B8;
}

#at-a-glance caption img {
	border: 0;
    vertical-align: middle;
}

#at-a-glance th, #at-a-glance td {
    width: 25px;
	height:25px;
    border-right: 1px solid #B8B8B8;
	border-bottom: 1px solid #B8B8B8;
	background-color: #ffffff;
	font-size: .9em;
}

#at-a-glance td.months {
	width: 70px;
}

#at-a-glance td.selected {
	background-color: #EAF2FF;
}

#at-a-glance tr.days td {
	text-align: center;
	border: 0px;
}

#at-a-glance td.inactive {
	background-color: #F0EFF0;
}

#at-a-glance a {
	text-decoration:none;
	padding-left:3px;
}

#at-a-glance td.active {
	background-color: #ffffff;
}

#at-a-glance td.active:hover {
	background-color: #cccccc;
	text-align: left;
}

#at-a-glance td.today {
	font-weight: bold;
	background-color: #EAF2FF;
}
/* END at-a-glance ---------------------------------------------------*/


.cal-text-grey-sml {
	font-size: .75em;
	color: #444444;
	font-weight: normal;
}

/* cal-item-view, cal-item-new ---------------------------------------------------*/

#viewadp-mini-calendar {
         width: 25%;
         float: left;
         margin-bottom: 1em;
}

#viewadp-cal-table {
         float: right;
         width: 75%;
         margin-bottom: 1em;
}

/*  Week/Day View Common Styles  ---------------------------------------------------*/
#cal-table-day, #cal-table-week  {
	background-color:#89A2B3;
}

#cal-table-day th, #cal-table-week th {
    background-color: #ffffff;
}

.day-time-1 {
	border:1px #ffffff solid;
	background-color:#F0EFF0;
	height:43px;
}
.day-time-1 p, .day-time-2 p {
	margin-top:6px;
	text-align:center;
}

.day-time-2 {
	border:1px #ffffff solid;
	background-color:#f0eff0;
	height:43px;
}

/*  Week View  ---------------------------------------------------*/

.week-event-1 {
	background-color:#E5E5E5;
	vertical-align:top;
}

.week-event-2 {
	background-color:#ffffff;
	vertical-align:top;
}

.week-entry-item p {
	margin:3px;
}

.week-entry-box {
	position:relative;
	width:100%;
	top:0px;
	z-index:3;
    font-size: 90%;
}

.week-entry-box a {
	text-decoration:none;
	color:#333333;
}


.week-entry-item {
	width:65px;
	border:1px #ffffff solid;
	height:28px;
	opacity:.9; 
	overflow:hidden; 
	cursor: pointer;
	right:0px;
}

.cal-week-day-title td {
	text-align:center;
}

/*  END Week View  ---------------------------------------------------*/

/*  Day View  ---------------------------------------------------*/
.day-event-1 {
	border:0px #ffffff solid;
	background-color:#E5E5E5;
}

.day-event-2 {
	border:0px #ffffff solid;
	background-color:#ffffff;
}

#day-entry-box {
	position:relative;
	width:100%;
	top:0px;
}

.day-entry-item {
	position:absolute;
	width:65px;
	height:43px;
    overflow: hidden;
	border:1px #ffffff solid;
	opacity:.9; 
    font-size: 90%;
}

.day-entry-item p {
	margin:3px;
}

/*  END Day View  ---------------------------------------------------*/

/* view-list-display ---------------------------------------------------*/

.list-table caption {
	font-size: 1.2em;
    font-weight: bold;
    margin: 1em;
    background: #fff;
}

/* END view-list-display ---------------------------------------------------*/


.topnavbar { 
	background:#e7e6e7; 
	height:25px; 
	text-align:center; 
}

.topnavbar .active { 
	background:#ffffff; 
	padding: 3px 5px;
}

.topnavbar-icon { 
	vertical-align:middle;
	padding-bottom:3px;
	padding-top:1px; 
	border:0px; 
}

a.cal-icons {
    background-color: inherit;
    background-position : left bottom;
    background-repeat : no-repeat;
    padding-left : 20px;
}

a.day-view {
    background-image: url("/resources/calendar/images/calendar_view_day.gif");
}

a.week-view {
    background-image: url("/resources/calendar/images/calendar_view_week.gif");
}

a.month-view {
    background-image: url("/resources/calendar/images/calendar_view_month.gif");
}

a.calendar-view {
    background-image: url("/resources/calendar/images/calendar-icon.gif");
}

a.list-view {
    background-image: url("/resources/calendar/images/list-icon.gif");
}

a.print-view {
    background-image: url("/resources/calendar/images/print-icon.gif");
}

/* UNUSED?*/

.cal-row-dark {
        background: #DDEEFF;
}

.cal-row-light {
        background: #FFFFFF;
}

.cal-row-hi {
	font-weight: bold;
	border: 0px solid #7D7DFF;
}

.cal-row-lo {
	color: #999999;
	border: 0px solid #7D7DFF;
}

.calendar-Item {
	background-color:#FFFFFF;
	border: 1px solid #89A2B3;
	opacity:.9; 
}

.bottomnavbar { 
	margin-top:20px; 
	background:#89A2B3; 
	height:55px; 
	color:#ff0000; 
	text-align:center; 
}

/* This was necessary to get the mini-calendar and the navkey below it to 
   be aligned at the top of the row.  Without this they were valign'd center
   no matter what we did. */

    .cal-overrides #valign-hack td {
        vertical-align:top;
    }

/* This was necessary to get rid of underlines under hyperlinks. */
    .cal-overrides a:link, .cal-overrides a:visited, .cal-overrides a:active {
        text-decoration: none;
        border-bottom: 0px;
    }

    /* re-assert button style */
    a.button, a.button:link, a.button:visited, a.button:active {
        text-decoration: none;
        border: 1px solid black;
    }

a.cal-export-option, a.cal-export-option:link, a.cal-export-option:visited, a.cal-export-option:active {
  border-bottom: 1px solid #666666;
  text-decoration: underline;
}

