﻿/* IccWipFormPages.Master uses the next 2 of these (moved here from IccMenuEH.css) */
.AppCalTableHeader {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    TEXT-ALIGN: center;
    BACKGROUND-COLOR: var(--calHeaderBGColor);
    COLOR: var(--textColorAlt);
    FONT-SIZE: 100%;
    TEXT-DECORATION: none;
    font-weight: bolder;
}
.AppCalTableBody {
    text-align: center;
    BACKGROUND-COLOR: var(--calBodyBGColor);
    height: 100%;
    width: 100%;
}
/* WipForm.aspx uses this (also moved here from IccMenuEH.css) */
.MainMenuCalendar {
    cursor: default;
    text-align: center;
    BACKGROUND-COLOR: var(--calBodyBGColor);
    WIDTH: 100%;
    HEIGHT: 100%;
    color: var(--textColorAlt);
    vertical-align: top;
}
.Calender-Header {
    BACKGROUND-COLOR: var(--wipFormTableHeaderBGColor);
    COLOR: var(--textColorAlt);
    FONT-SIZE: 100%;
    FONT-WEIGHT: normal;
    padding: 0px;
    padding-left: 2px;
    padding-right: 2px;
    margin: 0px;
}
/* The IccEventCalendar.ascx.vb DayRender routine uses these 8 styles
     to display the various possible day combinations */
.BaseDayStyle {
    text-align:right;
    vertical-align:top;
    border-style:solid;
    border-width:thin;
    color:black;
    background-color:white;
}

.OtherMonthStyle {
    background-color:lightgray;
    color:white;
    border-style:none;
}
TD.WeekendStyle {
    background-color:gray;
    border-style:none;
}
TD.TodayStyle {
    background-color: var(--calTodayBG);
}

/* Ensure the AjaxControlToolkit CalendarExtender popup renders above Bootstrap components */
.ajax__calendar {
    z-index: 9999 !important;
}
.CalendarExpired {
    CURSOR: pointer;
    background-color: #ff3333 !important;
}
.CalendarExpiresSoon,
.CalendarExpiresToday {
    CURSOR: pointer;
    background-color: #ffff80 !important;
}
.CalendarExpiresLater {
    CURSOR: pointer;
    background-color: #b3ffb3 !important;
}
/* These are for IccCalendar.aspx (which is not the actual calendar itself) */
TD.Expired {
    color:red;
    text-align:right;
}
TD.ExpiresToday {
    color:red;
    text-align:right;
}
TD.ExpiresLater {
    color:black;
    text-align:right;
}
/* IccCalendar.aspx.vb uses these */
A.Expired:hover
{
    COLOR: red;
    TEXT-DECORATION: underline;
}
A.ExpiresToday:hover, A.ExpiresLater:hover
{
    COLOR: blue;
    TEXT-DECORATION: underline;
}
