
/* Custom styling for the FullCalendar.io calendar, to be kept as 'default styling', though site styling will overwrite */

.fc {
    font-family: 'Roboto', 'Lato', sans-serif;
}

.fc .fc-scroller{
    height:auto !important;
    overflow-y: auto !important;
}

.fc-unthemed .fc-content, .fc-unthemed .fc-divider, .fc-unthemed .fc-list-heading td, .fc-unthemed .fc-list-view, .fc-unthemed .fc-popover, .fc-unthemed .fc-row, .fc-unthemed tbody, .fc-unthemed td, .fc-unthemed th, .fc-unthemed thead {
    border-color: #b0c6da;
}

.fc .fc-content{
    padding-left:3px;
}

.fc table tbody, .fc table tfoot, .fc table thead {
    background: none;
}

.fc table tbody tr:nth-child(even) {
    background-color: #f8f8f8;
    background: none;
}

.fc table{
    margin-top:0px;
    margin-bottom:0px;
}

.fc table tfoot, .fc table thead{
    background:none;
    border:none;
    border-bottom:1px solid rgba(255,255,255,0);
}

.fc table tbody tr:first-child{
    border-bottom:none;
}

.fc-view-container {
    background: #fff;
}

.fc .fc-widget-header {
    background: #ebf6ff;
}

.fc-toolbar{
    flex-wrap:wrap;
}

.fc-toolbar.fc-header-toolbar {
    margin-bottom: 0rem;
    margin-top: 2rem;
}
.fc-toolbar.fc-header-toolbar > * {
    margin-bottom: 0.5em;
}

.fc .fc-toolbar h2 {
    margin-bottom: 0px;
    font-size: calc(1.4rem + 0.4vw);
    color: #004078;
}

.fc-button-primary {
    background-color: #004078;
    border-color:#000;
}

.fc-button-primary:not(:disabled).fc-button-active, .fc-button-primary:not(:disabled):active {
    background-color: #22619d;
}

.fc-button-primary:hover {
    background-color: #22619d;
}

.fc a.fc-day-grid-event{
    transition:0.08s all ease;
}
.fc a.fc-day-grid-event:hover {
    -webkit-filter: saturate(2) brightness(1.1);
    filter: saturate(2) brightness(1.1);
}

.fc-dayGridWeek-view .fc-day-grid-event .fc-content {
    white-space: normal;
}

.calendar-row > .row > .column{
    position:relative;
}

.calendar-row .calendar-right-column {
    padding-top: 2.2rem;
    padding-bottom: 2rem !important;
}

@media only screen and (max-width: 40em){
    .calendar-row .calendar-right-column {
        padding-top: 1.8rem;
    }
}

.calendar-row .right-box h3 {
    background: #004078;
    color: #fff;
    font-size: 1rem;
    padding: 0.46rem 0.6rem;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    border: 1px solid #000;
    margin: 0px;
    font-family: 'Roboto', 'Lato', sans-serif;
}
.calendar-row .categories-box h3:hover {
    cursor: pointer;
    filter: saturate(1.8) brightness(1.1);
}

.calendar-row .right-box select {
    font-size: 0.9rem;
    height: auto;
    padding: 6px 0.5rem;
    font-family: 'Roboto', 'Lato', sans-serif;
}

.calendar-row .right-box div:not(:last-child) {
    margin-bottom: 1rem;
}

.calendar-row .category-buttons button {
    width: 100%;
    padding: 0.45rem 0.2rem 0.4rem 0.7rem;
    font-size: 0.85rem;
    font-weight: normal;
    font-family: 'Roboto', 'Lato', sans-serif;
    text-align: left;
    border-radius: 0px;
    transition: 0.08s all ease;
    border: 1px solid rgba(0,0,0,0.12);
    border-top: none;
}

.calendar-row .category-buttons button:last-child {
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.calendar-row .category-buttons button:not(.selected) {
    background: #e2e2e2 !important;
    color: #555 !important;
}

.calendar-row .category-buttons button:hover,
.calendar-row .category-buttons button:focus,
.calendar-row .category-buttons button:active {
    -webkit-filter: saturate(2) brightness(1.1);
    filter: saturate(2) brightness(1.1);
    cursor:pointer; 
}

.calendar-row .category-buttons button:not(.selected):hover, .ie11 .calendar-row .category-buttons button:hover {
    color: #003665 !important;
    background: #fff !important;
}

.calendar-row .right-box .other-buttons {
    border: 1px solid #b6c6d4;
    overflow: hidden;
    border-radius: 3px;
}

.calendar-row .right-box .other-buttons:empty{
    display:none;
}

.calendar-row .right-box .other-buttons .button {
    width: 100%;
    padding: 0.7rem 0.2rem 0.8rem 0.7rem;
    margin-bottom: 0px;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: left;
    background: rgba(255,255,255,0.6);
    border: none;
    border-bottom: 1px solid #b6c6d4;
}

.calendar-row .right-box .other-buttons .button:last-child {
    border-bottom: none;
}

.calendar-row .right-box .other-buttons .button:hover, .calendar-row .right-box .other-buttons .button:focus {
    background: #fff;
    color: #000 !important;
    border: none;
    border-bottom: 1px solid #b6c6d4;
}
.calendar-row .right-box .other-buttons .button:last-child:hover{
    border-bottom:none;
}

.fc td.fc-today {
    background: #fff5bf;
}

.fc .fc-dayGridMonth-view .fc-today span:before {
    content: 'Today - ';
}

.calendar-row .additional-text {
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid #d5d8da;
    border-radius: 3px;
    padding: 0.4rem;
    margin-top: 1rem;
}

.calendar-row .additional-text p {
    font-size: 0.9rem;
    line-height: 1.3rem;
    text-align: center;
    padding: 0;
    margin: 0px;
    font-family: 'Roboto', 'Lato', sans-serif;
}

.calendar-row .additional-text p a{
    font-weight:bold;
}

.loading-wrapper {
    display: inline-block;
    position: absolute;
    z-index: 999;
    left: calc(50% - 32px);
    top: calc(50% - 50px);
    display:none;
}

.loading-wrapper img {
    max-width: 4.0625rem;
}

.loading-wrapper.active {
    animation: loading-wrapper-rotate 6s infinite linear;
}

@keyframes loading-wrapper-rotate {
    to {
        transform: rotate(360deg);
    }
}

.back-button-wrapper .button {
    margin-top: 5px;
}

.calendar-row .fc-event-dot {
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.3);
}

.calendar-row .fc-list-item.fc-has-url:hover .fc-event-dot {
    filter: saturate(2) brightness(1.1);
}

.calendar-row .fc-list-item-title:hover a{
    color: #00318a;
    text-decoration:none !important;
}