body {
    background: none;
    font-size: 9.5pt;
    height: 100%;
    margin: 0;
    width: 100%;
}

body * {
    font-family: Arial, Helvetica, sans-serif;
}

html {
    height: 100%;
}

* {
    box-sizing: border-box;
}


body {
    background-color: #FFFFFF;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    font-family: Arial, Helvetica, sans-serif;
    color: #000000;
}

html body #compact-mode-button {
    cursor: pointer;
    font-size: 12px;
    border: 1px solid #CCC;
    padding: 5px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

@media (max-width: 576px) {
    #compact-mode-button {
        display: none;
    }
}


html body #compact-mode-button:hover, html body #compact-mode-button:active, html body #compact-mode-button:focus {
    background-color: #eee;
}

html body #calendar-page.compact-mode {
    padding: 10px 0 0 0 !important;
}

html body #calendar-page.compact-mode #calendar table thead tr th {
    padding: 2px !important;
    font-size: 10px !important;
}

html body #calendar-page.compact-mode #calendar table span.dayLabel {
    font-size: 10px !important;
    font-weight: bold !important;
}

html body #calendar-page.compact-mode #calendar table .edEventInfo, #calendar-page.compact-mode #calendar table a {
    font-size: 8px !important;
}

html body #calendar-page.compact-mode #top {
    height: auto;
    padding-bottom: 10px;
    max-height: 40px;
}

html body #calendar-page.compact-mode #calendar table .edEventInfo {
    padding-bottom: 4px !important;
}

html body #calendar-page.compact-mode #calendar table tr td {
    line-height: 12px !important;
}

#options a {
    vertical-align: middle;
    text-decoration: none;
}

@MEDIA print {
    html body #compact-mode-button {
        right: 44px;
        top: 0;
        cursor: pointer;
        position: absolute;
        font-size: 12px;
        border: 1px solid #CCC;
        padding: 5px;
        -webkit-border-radius: 3px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        border-radius: 3px;
    }

    html body #compact-mode-button:hover, html body #compact-mode-button:active, html body #compact-mode-button:focus {
        background-color: #eee;
    }

    html body #calendar-page.compact-mode {
        padding: 10px 0 0 0 !important;
    }

    html body #calendar-page.compact-mode #calendar table thead tr th {
        padding: 2px !important;
        font-size: 10px !important;
    }

    html body #calendar-page.compact-mode #calendar table span.dayLabel {
        font-size: 10px !important;
        font-weight: bold !important;
    }

    html body #calendar-page.compact-mode #calendar table .edEventInfo, #calendar-page.compact-mode #calendar table a {
        font-size: 8px !important;
    }

    html body #calendar-page.compact-mode #top {
        height: auto;
        padding-bottom: 10px;
    }

    html body #calendar-page.compact-mode #calendar table .edEventInfo {
        padding-bottom: 4px !important;
    }

    html body #calendar-page.compact-mode #calendar table tr td {
        line-height: 12px !important;
    }
}


.calendar {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 9px;
    line-height: 13px;
    color: #000000;
    border-left: 1px solid #666666;
    border-top: 1px solid #666666;
}

.calendar td {
    border-right: 1px solid #666666;
    border-bottom: 1px solid #666666;
    padding: 5px 5px 5px 5px;
}

.calendar td#extra {
    background-color: #CCCCCC;
    height: 77px;
}

.calendar td#extra a, .calendar td#extra a:link, .calendar td#extra a:visited, .calendar td#extra a:hover, .calendar td#extra a:active {
    color: #00349A;
}

.calendar td#weekend {
    background-color: #E1E1E1;
    height: 77px;
}

.calendar td#weekend a, .calendar td#weekend a:link, .calendar td#weekend a:visited, .calendar td#weekend a:hover, .calendar td#weekend a:active {
    color: #00349A;
}

.calendar td#weekday {
    background-color: #F0F2F3;
    height: 77px;
}

.calendar td#weekday a, .calendar td#weekday a:link, .calendar td#weekday a:visited, .calendar td#weekday a:hover, .calendar td#weekday a:active {
    color: #00349A;
}

.calendar tr#header {
    font-size: 11px;
    background-color: #666666;
    color: #FFFFFF;
}

.calendar td#navigation {
    font-size: 12px;
    line-height: 17px;
    background-color: #F0F2F3;
}

.calendar td#navigation a, .calendar td#navigation a:link, .calendar td#navigation a:visited, .calendar td#navigation a:hover, .calendar td#navigation a:active {
    color: #00349A;
}

.calendar td#today {
    border: 2px solid #000000;
}

.calendar td#today a, .calendar td#today a:link, .calendar td#today a:visited, .calendar td#today a:hover, .calendar td#today a:active {
    color: #00349A;
}

.dayOfWeeks {
    display: flex;
    justify-content: space-between;
}

.dayOfWeek {
    background: #CCC;
    border: 1px solid #FFF;
    border-width: 0 1px 0 0;
    padding: 7px;
    font-size: 16px;
    max-height: 30px;
    width: calc(100% / 7);
}

.weekOfMonth {
    display: flex;
}

@media (max-width: 576px) {
    .weekOfMonth {
        flex-direction: column;
    }

    .dayOutWrapper {
        width: 100%;
    }

    .prevMonth, .nextMonth, .dayOfWeeks {
        display: none;
    }
}


.nameOfDay {
    padding: 10px;
    margin-right: 10px;
    background: #CCC;
    border: 1px solid #FFF;
    border-width: 0 1px 0 0;
    width: 4em;
    /*height: 100%;*/
}

@media (min-width: 576px) {
    .weekOfMonth {
        flex-direction: row;
        height: calc(95% / 5);
    }

    .day {
        width: calc(100% / 7);
    }

    .nameOfDay {
        display: none;
    }
}

.day {
    border: 1px solid #EEE;
    padding: 3px;
    overflow-x: hidden;
    overflow-y: auto;
}

.day.today {
    border: 3px solid #000;
}

.dayTitleInner .dayLabel {
    font-size: 17px;
    padding: 1px;
}

@media (max-width: 576px) {
    .day {
        display: flex;
        /*align-items: center;*/
    }

    .dayOutWrapper {
        flex-shrink: 2;
    }

    .day li {
        padding: 5px;
    }

    .dayTitleInner {
        display: flex;
        align-items: center;
    }

    .nameOfDay {
        display: flex;
        align-items: center;
    }
}

.weekend {
    background: #f8f8f8;
    border: 1px solid #FFF;
}

.daysOfMonth {
    height: 100%;
}

.calendar_new {
    height: 100%;
}

.dayInWrapper ul {
    padding-inline-start: 0;
}

.dayInWrapper ul li {
    list-style: none;
}

.dayInWrapper ul li div.edEventInfo {
    padding-bottom: 10px;
    font-size: 12px;
}

.dayInWrapper ul li.edEvent .edEventDate {
    font-weight: bold;
}

