.comp-full-calendar {
  padding: 20px;
  background: #fff;
  max-width: 960px;
  margin: 0 auto;
}
.comp-full-calendar ul, .comp-full-calendar p {
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.full-calendar-header {
  display: flex;
  align-items: center;

  > div {
    flex: 1;
  }
}
.full-calendar-header .header-left {
  justify-content: flex-start;
  .btn {
    min-width: 88px;
  }
  .popover-wrap {
    margin-right: 10px;
  }
}
.full-calendar-header .header-center {
  text-align: center;
  font-size: 18px;
  color: $gray-dark;
  line-height: 30px;
}
.full-calendar-header .header-right {
  justify-content: flex-end;
  .btn {
    width: 80px;
    margin-right: 10px;
    &:last-child {
      margin-right: 0px;
    }
  }
}

.full-calendar-header .header-left,
.full-calendar-header .header-right {
  display: flex;
}

.full-calendar-body {
  margin-top: 10px;
}
.full-calendar-body .weeks {
  width:100%;
  display: flex;
  border-top: 1px solid $full-calendar-border-color;
  border-bottom: 1px solid $full-calendar-border-color;
  border-left: 1px solid $full-calendar-border-color;
}
.full-calendar-body .weeks .week {
  display: block;
  flex: 1;
  text-align: center;
  height:40px;
  line-height: 40px;
  background:$gray-lightest-10;
  font-weight: normal;
  font-size:$font-size-sm;
  color: $gray-dark;
}
.full-calendar-body .dates {
  position: relative;
}
.full-calendar-body .dates .week-row {
  border-left: 1px solid $full-calendar-border-color;
  display: flex;
}
.full-calendar-body .dates .week-row .day-cell {
  flex: 1;
  height: 132px;
  padding: 4px;
  border-right: 1px solid $full-calendar-border-color;
  border-bottom: 1px solid $full-calendar-border-color;
  cursor: pointer;
}

.full-calendar-body .dates .week-row .day-cell.active,
.full-calendar-body .dates .week-row .day-cell:hover{
  background: rgba($brand-primary,.1);
}
.full-calendar-body .dates .week-row .day-cell .day-number {
  float: right;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  line-height: 24px;
  text-align: center;
  color: $gray-dark;
}
.full-calendar-body .dates .week-row .day-cell.today .day-number, 
.full-calendar-body .dates .week-row .day-cell.highlight-day .day-number {
  color: #fff;
  @extend %gradient-purple;
}
.full-calendar-body .dates .week-row .day-cell.not-cur-month .day-number {
  color: $gray-light;
}
.full-calendar-body .dates .dates-events {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
}
.full-calendar-body .dates .dates-events .events-week {
  display: flex;
}
.full-calendar-body .dates .dates-events .events-week .events-day {
  cursor: pointer;
  flex: 1;
  min-height: 109px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.full-calendar-body .dates .dates-events .events-week .events-day .day-number {
  text-align: right;
  padding: 4px 5px 4px 4px;
  opacity: 0;
}
.full-calendar-body .dates .dates-events .events-week .events-day.not-cur-month .day-number {
  color: rgba(0, 0, 0, 0.24);
}
.full-calendar-body .dates .dates-events .events-week .events-day .event-box .event-item {
  cursor: pointer;
  font-size: 12px;
  background-color: #C7E6FD;
  margin-bottom: 2px;
  color: rgba(0, 0, 0, 0.87);
  padding: 0 0 0 4px;
  height: 18px;
  line-height: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.full-calendar-body .dates .dates-events .events-week .events-day .event-box .event-item.is-start {
  margin-left: 4px;
}
.full-calendar-body .dates .dates-events .events-week .events-day .event-box .event-item.is-end {
  margin-right: 4px;
}
.full-calendar-body .dates .dates-events .events-week .events-day .event-box .event-item.is-opacity {
  opacity: 0;
}
.full-calendar-body .dates .dates-events .events-week .events-day .event-box .more-link {
  cursor: pointer;
  padding-left: 8px;
  padding-right: 2px;
  color: rgba(0, 0, 0, 0.38);
  font-size: 14px;
}
.full-calendar-body .dates .more-events {
  position: absolute;
  width: 150px;
  z-index: 2;
  border: 1px solid #eee;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.full-calendar-body .dates .more-events .more-header {
  background-color: #eee;
  padding: 5px;
  display: flex;
  align-items: center;
  font-size: 14px;
}
.full-calendar-body .dates .more-events .more-header .title {
  flex: 1;
}
.full-calendar-body .dates .more-events .more-header .close {
  margin-right: 2px;
  cursor: pointer;
  font-size: 16px;
}
.full-calendar-body .dates .more-events .more-body {
  height: 140px;
  overflow: hidden;
}
.full-calendar-body .dates .more-events .more-body .body-list {
  height: 120px;
  padding: 5px;
  overflow: auto;
  background-color: #fff;
}
.full-calendar-body .dates .more-events .more-body .body-list .body-item {
  cursor: pointer;
  font-size: 12px;
  background-color: #C7E6FD;
  margin-bottom: 2px;
  color: rgba(0, 0, 0, 0.87);
  padding: 0 0 0 4px;
  height: 18px;
  line-height: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.day-cell-event {
  margin-top: 24px;

  .tag {
    display: block;
    text-align: center;
    margin: 8px 8px 0;
    color: #FFF;

    &:first-child {
      margin-top: 0px;
    }
  }
}