/*
 * Clean & Elegant My Calendar Stylesheet (V4)
 * Tailored for smsmoakville.ca
 */

/* Base wrapper styling */
.mc-main {
    font-family: inherit !important;
    background: transparent !important;
    border: none !important;
}

/* ---------------------------------------------------- */
/* TOP HEADER & NAVIGATION (Encapsulated in one border) */
/* ---------------------------------------------------- */

/* The container holding both the title and the buttons */
.mc-main .my-calendar-header {
    border: 1px solid #e1e1e1 !important; /* Navy border around the whole header area */
    border-radius: 20px !important;
    padding: 15px 20px !important;
    margin-bottom: 20px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 15px !important;
}

/* Reset the navigation buttons inside the new wrapper */
/*.mc-main .my-calendar-nav ul {*/
/*    display: flex !important;*/
/*    gap: 15px !important;*/
/*    list-style: none !important;*/
/*    padding: 0 !important;*/
/*    margin: 0 !important;*/
/*}*/

/*.mc-main .my-calendar-nav a,*/
/*.mc-main .my-calendar-nav button,*/
/*.mc-main .my-calendar-nav li.mc-active a {*/
/*    color: #051650 !important;*/
/*    border: none !important; /* Removed individual border */
/*    background: transparent !important;*/
/*    padding: 5px 10px !important;*/
/*    text-decoration: none !important;*/
/*    font-weight: normal !important; /* Undone extra thickness */
/*}*/

.mc-main .my-calendar-navigation {
    border-radius: 20px;
}

.mc-main .my-calendar-navigation button {
    background-color: white;
}

.mc-main .my-calendar-navigation .mc-active {
    outline: 0;
    background: white;
}

.mc-main .my-calendar-navigation .mc-active:hover {
    outline: 0;
}


/* ---------------------------------------------------- */
/* DATE HEADERS (e.g., AUGUST 15, 2026)                 */
/* ---------------------------------------------------- */




/* ---------------------------------------------------- */
/* CALENDAR LIST (Rounded Border Around The Whole List) */
/* ---------------------------------------------------- */

.mc-main .mc-list {
    border: 1px solid #e1e1e1;
    border-radius: 20px;
}

/* Apply the rounded border to the entire list container, NOT individual events */
.mc-main.list ul.mc-events {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 12px !important; /* Rounds the entire list block */
    overflow: hidden !important; /* Ensures inner items don't bleed out of the rounded corners */
    background-color: transparent !important;
}

/* Date Header (Ex. August 15, 2026)*/
.mc-main .mc-list .event-date {
    background-color: transparent !important;
    color: #051650 !important;
    font-size: 20px !important;
    font-weight: normal !important; /* Undone extra thickness */
    letter-spacing: 1px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #e1e1e1;
    text-align: left !important;
}

/* Individual Event Containers - sitting inside the rounded list */
.mc-main.list .mc-event {
    background-color: transparent !important;
    border-bottom: 1px solid #e1e1e1 !important; /* Removed individual box border */
    box-shadow: none !important;
    margin: 0 !important;
    border-radius: 0 !important; /* Corners are handled by the parent container now */
}

.mc-main .mc_general .event-title button {
    background: #ffffff !important
}

/* Remove the bottom line from the very last event in the list */
.mc-main.list .mc-event:last-child {
    border-bottom: none !important;
}

/* Event Time */
.mc-main.list .mc-time,
.mc-main.list .event-time,
.mc-main.list .time-block {
    display: block !important;
    font-size: 0.9rem !important;
    font-weight: normal !important;
    color: #777777 !important;
    margin-bottom: 5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Remove default colon */
.mc-main.list .mc-time::after,
.mc-main.list .time-block::after {
    content: none !important;
}

/* Event Title */
.mc-main.list .mc-title,
.mc-main.list .event-title {
    font-size: 1.15rem !important;
    color: #051650 !important;
    font-weight: normal !important; /* Undone extra thickness */
    font-style: normal !important;
    margin: 0 0 5px 0 !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.3 !important;
}

/* Event Description / Details */
.mc-main.list .mc-details {
    font-size: 0.95rem !important;
    color: #444444 !important;
    font-style: normal !important;
    line-height: 1.5 !important;
    padding-top: 10px !important;
    border-top: 1px solid #f0f0f0 !important;
    margin-top: 5px !important;
}

/* Hide default icons */
.mc-main.list .mc-image,
.mc-main.list .mc-icon {
    display: none !important;
}

.event-title-container span {
    color: #051650;
}