﻿/*
    Custom styling
*/

body.waiting * {
    cursor: progress;
}

.calendar-colored-day {
    cursor: pointer;
}

    .calendar-colored-day .fc-daygrid-day-number {
        color: #fff;
    }

.calendar-sitting-day {
    background-color: #8A4B08;
}

    .calendar-sitting-day.calendar-today {
        background-color: #A97A44 !important;
    }

.calendar-committee-day {
    background-color: #B18904;
}

    .calendar-committee-day.calendar-today {
        background-color: #C5A741 !important;
    }

.calendar-sitting-and-committee-day {
    background: linear-gradient(0deg, #8A4B08 50%, #B18904 50%);
}

    .calendar-sitting-and-committee-day.calendar-today {
        background: linear-gradient(0deg, #A97A44 50%, #C5A741 50%) !important;
    }

/*
.calendar-has-document::before {
    content: "≝";
    font-size: 10px;
    margin: 3px;
    padding: 1px;
    background-color: white;
    color: black;
    border: solid 1px black;
    position: absolute;
}
*/

.calendar-has-document::before {
    content: "⚪";
    font-size: 8px;
    margin: 5px 3px;
    position: absolute;
}

#sidebar-calendar {
    margin-bottom: 20px;
}

.example-day {
    width: 50px;
    height: 30px;
    display: inline-block;
    border: 1px solid;
    border-color: lightgrey;
}

.acronym-list {
    list-style: none;
}

.calendar-container {
    margin-top: 20px;
}

#jw-player-container h3, #daily-events h3, #daily-events p {
    margin-top: 10px;
}

.filter-container {
    padding-bottom: 10px;
}

#daily-events h2 {
    margin-top: 5px;
}

#calendar {
    margin-bottom: 20px;
}

#jw-player-flex {
    display: flex;
    flex-wrap: wrap;
}

.document-panel {
    margin: 19px 0 0 0;
}

.daily-document-list {
    margin: 0;
}

/*
    FullCalendar overrides
*/

.fc-highlight {
    background: none !important;
    border: 2px dashed black;
}

.calendar-colored-day .fc-highlight {
    background: none !important;
    border: 2px dashed white;
}

.fc-multimonth-header {
    background: none !important;
}

.fc-multimonth-daygrid {
    background: none !important;
}

.fc-daygrid-day-number {
    font-weight: bold;
    color: #333;
}

.fc-button {
    background-color: #f5f5f5 !important;
    background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6) !important;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)) !important;
    background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6) !important;
    background-image: -o-linear-gradient(top, #ffffff, #e6e6e6) !important;
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6) !important;
    background-repeat: repeat-x !important;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf !important;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25) !important;
    color: #333 !important;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

    .fc-button, .fc-button:hover {
        color: #333333 !important;
        background-color: #e6e6e6 !important;
    }

        .fc-button:hover {
            color: #333333 !important;
            text-decoration: none !important;
            background-position: 0 -15px !important;
            -webkit-transition: background-position 0.1s linear !important;
            -moz-transition: background-position 0.1s linear !important;
            -o-transition: background-position 0.1s linear !important;
            transition: background-position 0.1s linear !important;
        }

        .fc-button:active {
            background-color: #cccccc !important;
            background-image: none !important;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05) !important;
        }

        .fc-button:disabled {
            pointer-events: none;
            opacity: 0.5;
            cursor: default;
        }

            .fc-button:disabled:hover {
                background-color: inherit;
                box-shadow: none;
            }

.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {
    min-height: 1.2em !important;
}

.fc-toolbar-title {
    font-size: 16px !important;
    color: #333 !important;
    text-transform: none !important;
    line-height: 1.1 !important;
}

.fc-col-header-cell-cushion {
    color: #333;
}

.fc-scrollgrid-section-sticky > * {
    background: none !important;
}
