body {
    font-family: 'Montserrat', sans-serif;
}


/**
calendar stuff
 */
h1 {
    margin: 0 0 0.25em 0;
}
table.calendar {
    border-spacing: 0;
    width: 100%;
}
table.calendar tr td {
    vertical-align: top;
    /*text-align: center;*/
    border:1px solid #d7d7d7;
}

table.calendar tr.header.month td {
    height: 60px;
    padding: 0;
    /*background-color: #d7d7d7;*/
    color: #000;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    vertical-align: middle;
}

table.calendar {
    /*border: 1px solid #d7d7d7;*/
    border-radius: 7px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
}

table.calendar tr.header.month td.prev {
    text-align: left;
    border-radius: 7px 0 0 0;
    border-right: none;
    border-bottom: none;
    border-left: 0;
}

table.calendar tr.header.month td.month {
    border-left: none;
    border-right: none;
    border-bottom: none;
}
table.calendar tr.header.month td.next {
    border-radius: 0 7px 0 0;
    text-align: right;
    border-left: none;
    border-bottom: none;
    border-right: 0;
}

table.calendar tr td.past {
    opacity: 0.25;
    /*background-color: #ff000011 !important;*/
}

table.calendar tr td.past:hover {
    opacity: 1;
}

table.calendar tr td.current {
    border: 4px solid cornflowerblue !important;
}

table.calendar tr.header.days {
    border: none;
    text-align: center;
}

table.calendar tr.header.days td {
    font-weight: bold;
    background-color: #f5f5f5;
    border: 0;
    padding: 0.25em;
}

table.calendar tr.header.days td.day-0 {
    border-left: none;
}
table.calendar tr.header.days td.day-6 {
    border-right: none;
}

table.calendar tr td.day {
    width:12%;
    min-width: 50px;
    height: 120px;
    border:1px solid #ddd;
    padding: 0;
}

table.calendar tr td.day span.day_number {
    text-align: center;
    background-color: #ddd;
    color: #111;
    display:block;
    padding: 4px;
}

table.calendar tr td.day.current span.day_number {
    background-color: cornflowerblue;
    color: #fff;
    font-weight: bold;
}


table.calendar tr td.day span.event {
    text-align: center;
    display:block;
    padding: 4px;
    margin: 4px;
    cursor: pointer;
}

.bg-type-0-50 {
    background-color: #ffcc0099 !important;
    color: #111 !important;
}

.bg-type-1-50 {
    background-color: #0000ff99 !important;
    color: #eee !important;
}

.bg-type-2-50 {
    background-color: #44aa0099 !important;
    color: #eee !important;
}

.bg-type-32-50 {
    background-color: #ff660099 !important;
    color: #eee !important;
}

.bg-type-33-50 {
    background-color: #ff000099 !important;
    color: #eee !important;
}

#month_prev, #month_next {
    text-decoration: none;
    line-height: 40px;
    margin: 0;
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 1em;
    color: #888888;
    display: inline-block;
}

#month_prev:hover, #month_next:hover {
    color: #111;
}

#month_prev {
    text-align: left;
}

#month_next {
    text-align: right;
}


/**
modal dialog stuff
 */
#modal_title { margin: 0 0 10px 0; }
button.btn {
    background-color: #0a58ca;
    border-color: #0a58ca;
    color: #ffffff;
    font-size:1em;
    margin:2px;
    padding: 5px 15px;
    border-radius:3px;
    cursor: pointer;
}

button.btn.btn-flat {
    background-color: #eeeeee;
    border-color: transparent !important;
    color: #121212;
}

button.btn.btn-flat:hover {
    color: #fff;
    background-color: #0a58ca;
    border-color: transparent !important;
}

.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    user-select: none;
    pointer-events: none;
    z-index: -22;
    transition: all 80ms ease-in-out;
}
.modal--opened {
    opacity: 1;
    user-select: auto;
    pointer-events: all;
    z-index: 1;
}
.modal__overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    /*background-color: rgba(30, 30, 30, 0.8);*/
    z-index: 11;
}
.modal__close {
    border: 0;
    outline: 0;
    background-color: transparent;
    font-size: 24px;
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}
.modal__close > i {
    font-size: 34px;
    color: #be5064;
}
.modal__content {
    background-color: #ffffff;
    color: #444;
    max-width: 600px;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    z-index: 22;
    position: relative;
    border: 1px solid #868686;
    box-shadow: 2px 2px 13px #111111;
}
.modal__content > h4 {
    font-size: 18px;
    margin: 30px 0;
}
.modal__content > p {
    margin-bottom: 20px;
}
.modal__action {
    text-align: right;
}

table.roster tr td.no-br {
    border-right: none;
}
table.roster tr td.no-bl {
    border-left: none;
}

table.roster tr td.width10pct {
    width: 10%;
}

table.roster tr td.width80pct {
    width: 80%;
}

.text-align-right {
    text-align: right;
}


/**
PRINT
 */
@media print {
    @page { size: landscape; }
    body {
        margin: 5px;
    }

    span.na {
        display: none;
    }
}
table.print-header {
    width: 100%;
    border-spacing: 0;
}
table.print-header tr td {
    border: 0;
}

table.print-header tr td h1 {
    margin: 10px 0 4px 0;
}

table.print-header tr td h5 {
    margin: 0 0 10px 0;
    font-weight: normal;
}

table.print-header tr td.left,
table.print-header tr td.right {
    width: 10%;
}

table.print-header tr td.left {
    text-align: left;
    padding-left: 8px;
}

table.print-header tr td.right {
    text-align: right;
    padding-right: 8px;
}
table.print-header tr td.powered-by {
    color: #b6b6b6;
    font-size: 0.8em;
}