html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.fc-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
}

.fc-timegrid-event {
    padding: 2px 4px;
}

    .fc-timegrid-event:hover {
        z-index: 9999;
    }

    /* ===== FullCalendar mobile fixes ===== */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.fc {
    max-width: 100%;
    overflow-x: hidden !important;
}

.fc-scrollgrid,
.fc-view-harness,
.fc-timegrid,
.fc-timegrid-body {
    width: 100% !important;
    min-width: 0 !important;
}

@media (max-width: 767px) {
    .fc-toolbar-title {
        font-size: 1rem;
    }

    .fc-timegrid-slot-label {
        font-size: 0.7rem;
    }

    .fc-event {
        font-size: 0.75rem;
        padding: 2px 4px;
    }

    .fc-button {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}
