/* 
    Document   : jevcustom
    Created on : 22-Apr-2013, 14:12:51
    Author     : Tony Partridge - GWE Systems Ltd
    Description: To allow customisation of CSS Strings where they can never be lost.
    Purpose of the stylesheet follows.
*/

/* ===== NSWISA JEVENTS CALENDAR ===== */

/* Previous and next month bars */
#jevents .jev_toprow .previousmonth,
#jevents .jev_toprow .nextmonth {
    background: #001fbf !important;
    background-color: #001fbf !important;
    border-color: #001fbf !important;
    color: #ffffff !important;
}

/* Links inside previous/next month bars */
#jevents .jev_toprow .previousmonth a,
#jevents .jev_toprow .nextmonth a {
    color: #ffffff !important;
}

/* Days outside the current month */
.cal_daysoutofmonth {
    background-color: #edf1f1 !important;
}

/* Calendar navigation buttons */
#jevents .new-navigation a {
    border-color: #001fbf !important;
    color: #001fbf !important;
}

/* Selected navigation button */
#jevents .new-navigation a.active,
#jevents .new-navigation .active a,
#jevents .new-navigation .active {
    background-color: #001fbf !important;
    border-color: #001fbf !important;
    color: #ffffff !important;
}

/* Current month/date bar */
#jevents .jev_toprow .currentmonth {
    border-color: #001fbf !important;
}

/* Today's date */
#jevents .jev_daynum_today,
#jevents .jev_today,
#jevents .today {
    background-color: #001fbf !important;
    border-color: #001fbf !important;
    color: #ffffff !important;
}
/* Today's date circle - NSWISA blue */
#jevents_body .cal_today a.cal_daylink {
    background-color: #001fbf !important;
    color: #ffffff !important;
}
/* ===== Event boxes ===== */

#jevents_body a.cal_titlelink {
    display: block !important;
    background-color: #f7f9fc !important;
    color: #333333 !important;
    padding: 5px 7px !important;
    margin-bottom: 3px !important;
    border-radius: 3px !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
}

/* Event hover */
#jevents_body a.cal_titlelink:hover {
    background-color: #edf2ff !important;
    color: #001fbf !important;
}
/* ===== Calendar legend ===== */

#jevents_body .event_legend_container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 12px !important;
    padding: 12px 8px !important;
    align-items: center !important;
}

#jevents_body .event_legend_item {
    margin: 0 !important;
    padding: 4px 8px !important;
    background-color: #f7f9fc !important;
    border-radius: 4px !important;
}

#jevents_body .event_legend_name a {
    color: #333333 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

#jevents_body .event_legend_name a:hover {
    color: #001fbf !important;
}
/* ===== Final calendar polish ===== */

/* Softer calendar grid */
#jevents_body .cal_table td {
    border-color: #e6e9ee !important;
}

/* Softer day-name row */
#jevents_body .cal_top_day_names td {
    border-color: #e6e9ee !important;
}

/* Slightly softer calendar container */
#jevents_body {
    border-radius: 6px;
}
/* ===== Event boxes ===== */

/* Cleaner event box */
#jevents_body a.cal_titlelink {
    padding: 5px 7px !important;
    margin-bottom: 3px !important;
    border-radius: 3px !important;
    line-height: 1.3 !important;
    font-size: 11px !important;
    color: #333333 !important;
}

/* Competition events */
#jevents_body .event_div_1 {
    border-radius: 3px !important;
}

/* Slightly soften the standard event background */
#jevents_body .month_cell_st {
    border-radius: 3px !important;
}
/* ===== CATEGORY COLOURED EVENT BOXES ===== */

/* Competitions */
#jevents_body span.edittlinktip[data-original-title*="background-color:#1018c9"] a.cal_titlelink {
    background-color: #eef1ff !important;
    border-left: 4px solid #1018c9 !important;
    color: #333333 !important;
}

/* Test Sessions */
#jevents_body span.edittlinktip[data-original-title*="background-color:#f7f7c5"] a.cal_titlelink {
    background-color: #fffbea !important;
    border-left: 4px solid #e5cf25 !important;
    color: #333333 !important;
}
/* ===== Aussie Skate event boxes ===== */
#jevents_body .event_div_1:has([data-original-title*="background-color:#0066ff"]) a.cal_titlelink {
    background-color: #e8f3ff !important;
    border-left: 4px solid #0066ff !important;
    border-bottom: 1px solid #0066ff !important;
    color: #2f2f2f !important;
}
/* ===== Theatre Cup / Competitions event boxes ===== */
#jevents_body .event_div_1:has([data-original-title*="background-color:#1018c9"]) a.cal_titlelink {
    background-color: #eeeaff !important;
    border-left: 4px solid #1018c9 !important;
    border-bottom: 1px solid #1018c9 !important;
    color: #2f2f2f !important;
}
/* ===== Synchronised Skating event boxes ===== */
#jevents_body .event_div_1:has([data-original-title*="background-color:#c9b6ff"]) a.cal_titlelink {
    background-color: #f1edff !important;
    border-left: 4px solid #9b7cff !important;
    border-bottom: 1px solid #c9b6ff !important;
    color: #2f2f2f !important;
}
/* ===== Artistic Competitions event boxes ===== */
#jevents_body .event_div_1:has([data-original-title*="background-color:#f8d8f1"]) a.cal_titlelink {
    background-color: #fff0fa !important;
    border-left: 4px solid #f08acb !important;
    border-bottom: 1px solid #f8d8f1 !important;
    color: #2f2f2f !important;
}