
.fc th {
  text-align: left;
  padding: 2px 4px 2px 4px;
}

.fc-ltr .fc-dayGrid-view .fc-day-top .fc-day-number {
  float: left;
  padding: 2px 4px 2px 4px;
}

.fc-view.fc-timeGrid-view {
  overflow-x: auto;
}

.fc-toolbar.fc-header-toolbar .fc-left h2 {
  display: inline-block;
  vertical-align: middle;
  margin-left: 1em;
}

.fc-button-primary:not(:disabled):active,
.fc-button-primary:not(:disabled).fc-button-active {
  color: #333;
  background-color: #ccc;
}

.fc-button, .fc-button-primary {
  border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25) !important;
}

.fc-button-primary:hover:not(:disabled):not(.fc-button-active) {
  z-index: 2;
  color: #333;
  background-color: #e6e6e6;
  background-position: 0 -15px;
  -webkit-transition: background-position .1s linear;
  -moz-transition: background-position .1s linear;
  -o-transition: background-position .1s linear;
  transition: background-position .1s linear;
  border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);
}

.fc-button-primary:not(:disabled):active:focus,
.fc-button-primary:not(:disabled).fc-button-active:focus,
.fc-button-primary:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.fc-button.fc-button-active {
  outline: 0;
  color: #333;
  background-color: #ccc;
  background-image: none;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
}

.fc-download-button .fc-icon,
.fc-refresh-button .fc-icon {
  font-size: 1em;
}

.fc-icon-fa {
  font-family: FontAwesome !important;
}

.fc-button-primary {
  border: 1px solid;
  background-color: #f5f5f5;
  background-image: -moz-linear-gradient(top,#fff,#e6e6e6);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));
  background-image: -webkit-linear-gradient(top,#fff,#e6e6e6);
  background-image: -o-linear-gradient(top,#fff,#e6e6e6);
  background-image: linear-gradient(to bottom,#fff,#e6e6e6);
  background-repeat: repeat-x;
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);
  color: #333;
  text-shadow: 0 1px 1px rgba(255,255,255,.75);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
}

.fc-button:disabled {
  cursor: default;
  background-image: none;
  opacity: .65;
  box-shadow: none;
  color: #333;
  background-color: #e6e6e6;
}

.fc-careple-day-title {
  position: static;
  right: 0;
  font-size: 10px;
  margin: 2px;
  padding-left: 5px;
  overflow: hidden;
  color: #ed5565;
  height: auto;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fc-careple-day-number {
  float: left;
}

.fc-more-popover {
  max-height: 90%;
  overflow-y: scroll;
}

@media (max-width: 767px) {
  .fc-toolbar {
    flex-wrap: wrap;
    flex-direction: column;
  }

  .fc-center {
    order: 1
  }

  .fc-left, .fc-right {
    margin-bottom: 1em;
  }
}

.fc-center {
  flex-basis: 100%;
  margin: 0 1em;
}

.fc-left, .fc-right {
  white-space: nowrap;
}

.fc-now-indicator {
  z-index: 999 !important;
}

.fc-custom-fixed-axis {
  width: 0;
}

.fc-custom-fixed-axis.fc-custom-fixed-axis__header,
.fc-custom-fixed-axis.fc-custom-fixed-axis__allday {
  position: absolute;
  top: 0;
  left: -1px;
  height: 100%;
  background-color: white;
  z-index: 5;
  border-left: 1px solid rgb(221, 221, 221);
  border-right: 1px solid rgb(221, 221, 221);
  padding: 0 4px;
}

.fc-custom-fixed-axis.fc-custom-fixed-axis__allday > div {
  display: table;
  height: 100%;
  width: 100%;
}

.fc-custom-fixed-axis.fc-custom-fixed-axis__allday > div > div {
  display: table-cell;
  vertical-align: middle;
  text-align: right;
}

.fc-time-grid .fc-custom-slats {
  position: absolute;
  top: 0px;
  left: -1px;
  height: 100%;
  z-index: 4;
}

.fc-time-grid .fc-custom-slats table {
  padding: 0 4px;
}

.fc-time-grid .fc-custom-slats table td.fc-axis {
  background-color: white;
}

.fc-time-grid .fc-custom-slats table td:not(.fc-axis) {
  visibility: hidden;
}

.fc-time-grid .fc-custom-slats td {
  height: 1.5em;
  border-bottom: 0;
}

.fc-time-grid .fc-custom-slats .fc-minor td {
  border-top-style: dotted !important;
}

.fc-time-grid .fc-custom-slats table {
  border-left: 1px solid rgb(221, 221, 221);
  border-right: 1px solid rgb(221, 221, 221);
}

.fc-custom-scroller {
  position: absolute;
  top: 0;
  right: 0;
  height: 0;
  z-index: 6;
  overflow-x: hidden;
  overflow-y: scroll;
}

.fc-custom__event-status {
  margin-left: 5px;
}

.fc-list-view .fc-custom__event-status {
  margin-left: 20px;
}

.fc-time-grid-event.fc-event {
  padding: 2px 3px;
}

.fc-event.canceled,
.fc-list-item.canceled .fc-list-item-title {
  text-decoration: line-through;
}

.fc-timeGrid-view .fc-event.canceled {
  border: none !important;
  color: #333333 !important;
  background-image: repeating-linear-gradient(45deg,
    transparent,
    transparent 2px,
    rgb(255,255,255) 2px,
    rgb(255,255,255) 4px);
}
