
$font-family-H:'Helvetica Neue',Tahoma,'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', STHeitiSC, sans-serif;
$font-family-A:"Helvetica Neue",Tahoma,"PingFang SC","Hiragino Sans GB",SimSun,STHeitiSC,sans-serif;

//主色
  $C1:#004170;
  $C2:#005999;
  $C3:#1687d9;
  $C3Hover:#1E7BC0;
  $C4:#8CCCF8;
  $C5:#084E82;
//中性色
  $M1:#0A1319;
  $M2:#3E4E59;
  $M3:#8F9CA6;
  $M4:#C2CBD1;
  $M5:#E4EBF0;
  $M6:#000000;
  $M7:#FFFFFF;
  $E1:#cc2929;

@mixin H5 {
  font-family: $font-family-H;
  font-size: 14px;
  line-height: 1.7;
}

$date-selection-bg-color: rgba(0,0,0, .10);

#rbc-legend_panel{
  .legend-box{
    z-index: 9999999 !important;
  }
  .rbc-toolbar__legend{
    width: 170px;
    padding: 10px 0 0 0;
    box-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, .3);
    background: #FFF;
    border-radius: 2px;
    display: flex;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    .rbc-legend__item{
      width: 50%;
      margin: 0 0 10px 0;
      max-width: 50%;
      flex: 0 0 50%;
      .rbc-legend__color{
        display: inline-block;
        margin-left: 15px;
        width: 11px;
        height: 12px;
        border-left: 1px solid;
        vertical-align: middle;
      }
      .rbc-legend__title{
        margin:10px 0 10px 2px;
        font-size: 12px;
        font-family: $font-family-A;
        padding: 3px 0;
      }
    }
  }
}

.bs-calendar{
  height: 100%;
  width: 100%;
  
  .bs-calendar-close-popup{
    width: 12px;
    height: 12px;
    vertical-align: middle;
    float: right;
    cursor: pointer;
    margin-top: 7px;
    display: inline-block;
    background-repeat: no-repeat;
    background: url(./images/close-popup.svg);
    &:hover{
     background: url(./images/close-popup-active.svg);
    }
  }
  .rbc-addons-dnd {
    .rbc-row-content {
      & .rbc-show-more,
      & .rbc-event:not(.rbc-addons-dnd-dragging) {
        pointer-events: all;
      }
    }
    .rbc-addons-dnd-over {
      border: 1px solid #96D0FA !important;
      /*background-color: rgba(
        red($date-selection-bg-color),
        green($date-selection-bg-color),
        blue($date-selection-bg-color),
        .3
      ) !important;*/
    }
    .rbc-event {
      transition: opacity 250ms;
      pointer-events: all;
    }

    .rbc-addons-dnd-is-dragging {
      & .rbc-event {
        pointer-events: none;
        opacity: .35;
      }
    }
    .rbc-addons-dnd-dragging {
      pointer-events: none;
      opacity: .35;
    }
  }
  .rbc-one-day{
    margin-top: 10px;
    display: inline-block;
    cursor: pointer;
  }
  .rbc-one-day-red-circle{
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 10px;
    background:#f95959;
    box-shadow:0 0 5px 0 rgba(249,89,89,0.50);
    margin-right: 10px;
    position: absolute;
    top: 19px;
    left: 35px;
  }
  .top-red-circle{
      transform: rotate(-45deg);
      left: -30px;
      top: 74px;
  }
  .lunar-day{
    margin-top: 13px;
    line-height: 20px;
    display: inline-block;
    float: right;
    margin-right: 10px;
    color: $M3;
    font-size: 12px;
  }
  .rbc-attr_top{
    cursor: pointer;
    font-size: 12px;
    font-family: $font-family-A;
    display: inline-block;
    float: right;
    margin:13px 10px 0 0;
  }
  .rbc-has-festival{
    background-color: #C1FFC1;
  }
  a{
    text-decoration:none;
  }
  .rbc-calendar{
    .rbc-calendar-container{
      box-sizing: border-box;
      height: 100%;
      display: -ms-flexbox;
      display: flex;
      -ms-flex-direction: column;
      flex-direction: initial;
      -ms-flex-align: stretch;
      align-items: stretch;
      &.has_date-time{
        .rbc-month-view, .rbc-time-view, .rbc-agenda-view{
          flex: 0 0 calc(100% - 259px);
        }
      }
      .rbc-content__right{
        position: relative;
        padding: 15px 5px 0px 5px;
        overflow-y:auto;
        overflow-x:hidden;
        width: 259px;
        border: 1px solid $M5;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex: 1 0 0px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        height: 100%;
        border-left: none;
        .right-content__time{
          height: 284px;
        }
        .right-content__component{
          overflow: auto;
          height: calc(100% - 255px);
        }
      }
    }
  }
  .rbc-btn {
    color: inherit;
    font: inherit;
    margin: 0;
  }
  button.rbc-btn {
    overflow: visible;
    text-transform: none;
    -webkit-appearance: button;
    cursor: pointer;
  }
  button[disabled].rbc-btn {
    cursor: not-allowed;
  }
  button.rbc-input::-moz-focus-inner {
    border: 0;
    padding: 0;
  }
  .rbc-calendar {
    box-sizing: border-box;
    height: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
    -ms-flex-align: stretch;
        align-items: stretch;
  }
  .rbc-calendar *,
  .rbc-calendar *:before,
  .rbc-calendar *:after {
    box-sizing: inherit;
  }
  .rbc-abs-full,
  .rbc-row-bg {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  .rbc-ellipsis,
  .rbc-event-label,
  .rbc-row-segment .rbc-event-content,
  .rbc-show-more {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .rbc-rtl {
    direction: rtl;
  }
  .rbc-off-range {
    color: #b3b3b3;
  }
  .rbc-header {
    color: $M2;
    font-family: $font-family-A;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 5px 3px;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    font-size: 90%;
    min-height: 0;
  }
  .rbc-header > a,
  .rbc-header > a:active,
  .rbc-header > a:visited {
    color: inherit;
    text-decoration: none;
  }
  .rbc-row-content {
    position: relative;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    z-index: 4;
  }
  .rbc-toolbar {
    -ms-flex-align: center;
        align-items: center;
    display: inline-block;
    font-size: 16px;
  }
  .rbc-toolbar .rbc-toolbar-label {
    width: 100%;
    padding: 0 10px;
    text-align: center;
  }
  .rbc-btn-group {
    display: inline-block;
    width: 100%;
    white-space: nowrap;
    font-family: $font-family-A;
    .rbc-toolbar__for-right{
      float: right;
      margin-top: 24px;
      .btn_is_next{
        margin-left: -1px !important;
      }
      .btn_is_previous{
        &:hover{
          z-index:9;
        }
      }
      .btn_is_previous, .btn_is_next{
        width: 26px;
        height: 26px;
        padding:0;
        min-width: 0;
        margin:0;
        cursor: pointer;
        background: #FFF;
        border-radius: 2px;
        box-shadow: none;
        border:1px solid $M5;
        &:hover{
          box-shadow: none;
          border:1px solid #1687D9;
        }
      }
    }
    .btn_sm{
      margin:24px 0 8px 0;
      &.month_is-active,
      &.week_is-active,
      &.day_is-active{
        background: #E4EBF0;
      }
      &.btn_is-legend{
        margin:0 10px;
        background: #FFF;
        box-shadow: none;
        border: 1px solid $M5;
        &:hover{
          border:1px solid #1687D9;
        }
      }
      &.btn_back-today{
        color: #005999;
        font-size: 12px;
        line-height: 20px;
        background: #FFF;
        box-shadow: none;
        border:none;
        padding:0;
        margin:24px 0 8px 0;
        min-width: 0;
        &:hover{
          color:#1687D9;
        }
      }
      &.btn-year_is-active, &.btn-legend_is-active, &.btn-month_is-active{
        border:1px solid #1687D9 !important;
      }
      &.btn_has-time{
        position: relative;
        background: #FFF;
        box-shadow: none;
        border:1px solid $M5;
        .btn__text + .u-icon{
          margin-left: 15px;
        }
        &:hover{
          border:1px solid #1687D9;
        }
        &.btn_is-year{
          margin:24px 10px 8px 20px;
        }
        &.btn_is-month{
          margin-right: 20px;
        }
        .btn_date-time{
          position: absolute;
          left: 0;
          bottom: -5px;
        }
      }
    }
    .rbc-toolbar__component{
      display: inline-block;
    }
    .rbc-toolbar__time{
      margin:14px 30px 5px 15px;
      font-size: 24px;
      padding: 9px 0;
      color:$M2;
      min-width: 90px;
      display: inline-block;
      vertical-align: middle;
    }
  }
  .rbc-time-view{
    font-family: $font-family-A;
    font-size: 12px;
    color: #0A131A;
    position: relative;
    .rbc-scroll-bar{
      width: 7px;
      overflow: auto;
      position: absolute;
      right: 0;
      &:hover{
        width:11px;
      };
      &::-webkit-scrollbar {
        width: 6px;
        height: 6px;
        background-color: transparent;
      }
      &::-webkit-scrollbar-track {
        border-radius: 0;
        background-color: transparent;
      }
      &::-webkit-scrollbar-thumb {
        border-radius: 0;
        background-color: rgba(0, 0, 0, .3);
        border-radius: 6px;
      }
      &::-webkit-scrollbar {
        &:hover{
          width: 10px;
          height: 10px;
        }
      }
      &::-webkit-scrollbar-track {
        &:hover{
          background-color: rgba(0, 0, 0, .1);
        }
      }
      &::-webkit-scrollbar-thumb {
        &:hover{
          margin: 2px;
          background-color: rgba(0, 0, 0, 0.3);
        }
      }
    }
    .rbc-row-content{
      border-left: 1px solid $M5; 
    }
    .rbc-event{
      margin:0;
    }
    .rbc-header:nth-child(2){
      border-left: 1px solid $M5;
      border-right: 1px solid $M5;
    }
    .rbc-header:nth-child(8){
      border-left: 1px solid $M5;
    }
    .rbc-header{
      text-align: left;
      &.rbc-header_not-week{
        border: none;
        a{
          cursor: default;
        }
        .rbc-header__festival{
          float: inherit;
          margin-left: 10px;
        }
      }
      .rbc-header__festival{
        float: right;
        margin-right: 5px;
        color: #ED5858;
      }
    }
  }
  .rbc-event {
    font-family: $font-family-A;
    cursor: pointer;
    margin:0 5px;
    padding: 0 3px;
    background-color: rgba(65,176,217,.1);
    color: $M2;
    // border-left:2px solid rgba(65, 176, 217, 1);
    .rbc-event-content{
      font-size: 12px;
      height: 20px;
      line-height: 20px;
    }
  }
  .rbc-event.rbc-selected {
    background-color: rgba(65,176,217,.2);
  }
  .rbc-event-label {
    font-size: 80%;
  }
  .rbc-event-overlaps {
    box-shadow: -1px 1px 5px 0px rgba(51, 51, 51, 0.5);
  }
  .rbc-event-allday.rbc-event-continues-prior{
    border: none;
    /*border-bottom-right-radius: 99px;*/
    /*border-top-right-radius: 99px;*/
  }
  .rbc-event-continues-prior {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .rbc-event-continues-after {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  .rbc-event-continues-earlier {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .rbc-event-continues-later {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .rbc-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
        flex-direction: row;
  }
  .rbc-row-segment {
    padding: 0 1px 1px 1px;
  }
  .rbc-selected-cell {
    background-color: rgba(0, 0, 0, 0.1) !important;
  }
  .rbc-show-more {
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 4;
    font-weight: bold;
    font-size: 85%;
    height: auto;
    line-height: normal;
    white-space: nowrap;
    &:hover{
      color:#1687D9;
    }
  }
  .rbc-month-view {
    position: relative;
    border: 1px solid $M5;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
    -ms-flex: 1 0 0px;
        flex: 1 0 0;
    width: 100%;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    height: 100%;
  }
  .rbc-month-view .rbc-header {
    border-bottom: 1px solid $M5;
    &:nth-child(2){
      border-left: 1px solid $M5;
    }
    &:nth-child(7){
      border-left: 1px solid $M5;
    }
  }
  .rbc-rtl .rbc-month-view .rbc-header + .rbc-header {
    border-left-width: 0;
    border-right: 1px solid $M5;
  }
  .rbc-month-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
        flex-direction: row;
  }
  .rbc-month-row {
    display: -ms-flexbox;
    display: flex;
    position: relative;
    -ms-flex-direction: column;
        flex-direction: column;
    -ms-flex: 1 0 0px;
        flex: 1 0 0;
    overflow: hidden;
    height: 100%;
  }
  .rbc-month-row + .rbc-month-row {
    border-top: 1px solid $M5;
  }
  .rbc-date-cell {
    padding-left: 13px;
    position: relative;
    overflow: hidden;
    .rbc-attr_incliend{
      width: 68px;
      height: 15px;
      line-height: 15px;
      text-align: center;
      transform:rotateZ(45deg);
      position: absolute;
      right: -16px;
      top: 8px;
      background: #ED5858;
      color: #FFF;
      font-size: 12px;
      font-family: $font-family-A;
    }
    .rbc-attr_center{
      font-family: $font-family-A;
      cursor: pointer;
      display: block;
      font-size: 12px;
      line-height: 20px;
      text-indent: 13px;
      margin-left: -13px;
      &:hover{
        color: #1687D9 !important;
      }
    }
  }
  .rbc-date-cell.rbc-now {
    span.rbc-one-day{
      height: 20px;
      border-radius: 20px;
      width: 20px;
      vertical-align: middle;
      line-height: 20px;
      display: inline-block;
      color: #1687D9;
      border: 1px solid #1687D9;
      text-align: center;
    }
  }
  .rbc-date-cell > a,
  .rbc-date-cell > a:active,
  .rbc-date-cell > a:visited {
    color: inherit;
    text-decoration: none;
  }
  .rbc-row-bg {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
        flex-direction: row;
    -ms-flex: 1 0 0px;
        flex: 1 0 0;
    overflow: hidden;
  }
  .rbc-month-view{
    min-width: 700px;
    .rbc-day-bg{
      min-width: 100px;
      min-height: 80px;
    }
    .rbc-day-bg.rbc-hidden_weekend-bg-color:first-child:not(:last-child),
    .rbc-day-bg.rbc-hidden_weekend-bg-color:last-child:not(:first-child){
      background: none;
    }
    .rbc-day-bg:first-child:not(:last-child),
    .rbc-day-bg:last-child:not(:first-child) {
      background: #F5F8FA;
    }
    .rbc-day-bg:hover{
      border:1px solid #96D0FA;
    }
    .rbc-choice-bg{
      border:1px solid #1687D9 !important;
    }
  }

  .rbc-day-bg + .rbc-day-bg {
    border-left: 1px solid $M5;
  }
  .rbc-rtl .rbc-day-bg + .rbc-day-bg {
    border-left-width: 0;
    border-right: 1px solid $M5;
  }
  .rbc-overlay {
    position: absolute;
    z-index: 5;
    width: 340px;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 3px 5px 0px rgba(0, 0, 0, 0.15);
    padding: 5px 15px 15px 15px;
    .rbc-event-content{
      display: inline-block;
    }
    .rbc-event{
      margin: 0;
      padding: 0;
    }
    .rbc-event__pupup-item{
      .rbc-event__pupup-color{
        border-left: 1px solid;
        width: 10px;
        height: 10px;
        display: inline-block;
        vertical-align: middle;
        margin-right: 5px;
      }
      .rbc-event__pupup-title,  .rbc-event__pupup-time{
        vertical-align: middle;
        font-family: $font-family-A;
        font-size: 12px;
        padding: 4px 0;
      }
      .rbc-event__pupup-title{
        margin-right: 6px;
        color: $M2;
      }
      .rbc-event__pupup-time{
        color: $M3;
      }
    }
  }
  .rbc-overlay > * + * {
    margin-top: 1px;
  }
  .rbc-overlay-header {
    font-size: 14px;
    color:$M2;
    font-family: $font-family-A;
    border-bottom: 1px solid $M5;
    margin: -5px -15px 10px -15px;
    padding: 5px 15px;
  }
  .rbc-overlay-triangle-down{
    display: inline-block;
    width: 0px;
    border-style: solid;
    -moz-transform:rotate(180deg);
    -webkit-transform:rotate(180deg);
    -o-transform:rotate(180deg);
    -ms-transform:rotate(180deg); 
    transform:rotate(180deg);
    border-color: transparent transparent #fff transparent;
    height: 0px;
    position: absolute;
    // box-shadow: 0px 0px 20px 0px rgba(0,0,0,.15);
    bottom: -7px;
    border-width: 0px 6px 6px 6px;
  }
  .rbc-overlay-triangle{
    display: inline-block;
    width: 0px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
    height: 0px;
    position: absolute;
    // box-shadow: 0px 0px 20px 0px rgba(0,0,0,.15);
    top: -7px;
    border-width: 0px 6px 6px 6px;
  }
  .rbc-agenda-view {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
    -ms-flex: 1 0 0px;
        flex: 1 0 0;
    overflow: auto;
  }
  .rbc-agenda-view table {
    width: 100%;
    border: 1px solid $M5;
  }
  .rbc-agenda-view table tbody > tr > td {
    padding: 5px 10px;
    vertical-align: top;
  }
  .rbc-agenda-view table .rbc-agenda-time-cell {
    padding-left: 15px;
    padding-right: 15px;
    text-transform: lowercase;
  }
  .rbc-agenda-view table tbody > tr > td + td {
    border-left: 1px solid $M5;
  }
  .rbc-rtl .rbc-agenda-view table tbody > tr > td + td {
    border-left-width: 0;
    border-right: 1px solid $M5;
  }
  .rbc-agenda-view table tbody > tr + tr {
    border-top: 1px solid $M5;
  }
  .rbc-agenda-view table thead > tr > th {
    padding: 3px 5px;
    text-align: left;
    border-bottom: 1px solid $M5;
  }
  .rbc-rtl .rbc-agenda-view table thead > tr > th {
    text-align: right;
  }
  .rbc-agenda-time-cell {
    text-transform: lowercase;
  }
  .rbc-agenda-time-cell .rbc-continues-after:after {
    content: ' »';
  }
  .rbc-agenda-time-cell .rbc-continues-prior:before {
    content: '« ';
  }
  .rbc-agenda-date-cell,
  .rbc-agenda-time-cell {
    white-space: nowrap;
  }
  .rbc-agenda-event-cell {
    width: 100%;
  }
  .rbc-time-column {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
    min-height: 100%;
  }
  .rbc-time-column .rbc-timeslot-group {
    -ms-flex: 1;
        flex: 1;
  }
  .rbc-timeslot-group {
    border-bottom: 1px solid $M5;
    min-height: 60px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: column nowrap;
        flex-flow: column nowrap;
    .rbc-time-slot__text{
      font-size: 12px;
      font-family: $font-family-A;
      color: $M3;
      margin:0 10px;
      padding:4px 0;
    }
  }
  .rbc-time-gutter,
  .rbc-header-gutter {
    -ms-flex: none;
        flex: none;
    color: $M3;
    font-family: $font-family-A;
    font-size: 12px;
    text-align: center;
  }
  .rbc-time-gutter{
    .rbc-timeslot-group{
      border-left: none;
    }
  }
  .rbc-label {
    padding: 0 5px;
  }
  .rbc-day-slot {
    position: relative;
  }
  .rbc-day-slot .rbc-event {
    border-left: 2px solid #1687D9;
    display: -ms-flexbox;
    display: flex;
    max-height: 100%;
    -ms-flex-flow: column wrap;
        flex-flow: column wrap;
    -ms-flex-align: start;
        align-items: flex-start;
    overflow: hidden;
  }
  .rbc-day-slot .rbc-event-label {
    -ms-flex: none;
        flex: none;
    padding-right: 5px;
    width: auto;
  }
  .rbc-day-slot .rbc-event-content {
    width: 100%;
    -ms-flex: 1 1 0px;
        flex: 1 1 0;
    word-wrap: break-word;
    line-height: 1;
    height: 100%;
    min-height: 1em;
  }
  .rbc-day-slot .rbc-time-slot {
    border-bottom: 1px dashed $M5;
    &:last-child{
      border:none;
    };
  }
  .rbc-time-slot {
    -ms-flex: 1 0 0px;
        flex: 1 0 0;
    border-bottom: 1px dashed $M5;
    &:last-child{
      border:none;
    };
  }
  .rbc-day-header {
    text-align: center;
  }
  .rbc-day-slot .rbc-event {
    position: absolute;
    z-index: 2;
  }
  .rbc-slot-selection {
    z-index: 10;
    position: absolute;
    cursor: default;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 75%;
    padding: 3px;
  }
  .rbc-time-view {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
    -ms-flex: 1;
        flex: 1;
    width: 100%;
    border: 1px solid $M5;
    min-height: 0;
    .rbc-header{
      min-width: 100px;
    }
    .rbc-event{
      padding: 0;
      box-shadow: none;
      .rbc-event-label{
        color: $M3;
        line-height: 12px;
        font-family: $font-family-A;
        font-size: 12px;
        padding: 4px 0;
        margin:5px 0 0 10px;
        white-space: inherit;
      }
      .rbc-event__content-label{
        color: $M2;
        line-height: 12px;
        display: inline-block;
        margin: 5px 10px 0;
        padding: 4px 0;
        font-size: 12px;
        font-family: $font-family-A;
        white-space: inherit;
        max-width: 100%;
      }
    }
  }
  .rbc-time-view .rbc-time-gutter {
    white-space: nowrap;
  }
  .rbc-allday-cell{
    .rbc-event-content{
      padding-left: 10px;
    }
  }
  .rbc-time-view .rbc-allday-cell {
    width: 100%;
    position: relative;
  }
  .rbc-time-view .rbc-allday-events {
    position: relative;
    z-index: 4;
  }
  .rbc-time-view .rbc-row {
    min-height: 20px;
  }
  .rbc-event-icon{
    width: 16px;
    height: 16px;
    display: inline-block;
    font-size: 12px;
    vertical-align: middle;
    & + .rbc-event-content{
      display: inline-block;
      margin-left: 5px;
      vertical-align: middle;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      max-width: calc( 100% - 21px );
    }
  }
  .rbc-time-header {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    -ms-flex-direction: column;
        flex-direction: column;
    overflow: hidden;
    padding-bottom: 10px;
    > .rbc-row{
      max-height: 120px;
      overflow: hidden;
      border-bottom: 2px solid $M5;
    }
    .rbc-header__spread{
      cursor: pointer;
      width: 40px;
      height: 12px;
      border-radius:6px;
      background: #FFF;
      border:1px solid $M5;
      position: absolute;
      bottom: 6px;
      left: 50%;
      z-index: 99;
      line-height: 10px;
      text-align: center;   
      &:hover{
        border:1px solid #1687D9;
      }
    }
  }
  .rbc-rtl .rbc-time-header.rbc-overflowing {
    border-right-width: 0;
    border-left: 1px solid $M5;
  }
  .rbc-rtl .rbc-time-header > .rbc-row > * + * {
    border-left-width: 0;
    border-right: 1px solid $M5;
  }
  .rbc-time-header > .rbc-row:first-child {
    border-bottom: 1px solid $M5;
  }
  .rbc-time-header .rbc-gutter-cell {
    -ms-flex: none;
        flex: none;
  }
  .rbc-time-header > .rbc-gutter-cell + * {
    width: 100%;
  }
  .rbc-time-content {
    //滚动条
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 1 0 0%;
        flex: 1 0 0%;
    -ms-flex-align: start;
        align-items: flex-start;
    width: 100%;
    border-top: 1px solid $M5;
    overflow-y: hidden;
    position: relative;
   
  }
  .rbc-time-content > .rbc-time-gutter {
    -ms-flex: none;
        flex: none;
  }
  .rbc-time-content > * + * > * {
    border-left: 1px solid $M5;
  }
  .rbc-rtl .rbc-time-content > * + * > * {
    border-left-width: 0;
    border-right: 1px solid $M5;
  }
  .rbc-time-content > .rbc-day-slot {
    width: 100%;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
  }
  .rbc-current-time-indicator {
    position: absolute;
    z-index: 1;
    left: 0;
    height: 1px;
    background-color: #CC2929;
    pointer-events: none;
  }
  .rbc-current-time-indicator::before {
    display: block;
    position: absolute;
    left: -3px;
    top: -2px;
    content: ' ';
    background-color: #CC2929;
    border-radius: 50%;
    width: 5px;
    height: 5px;
  }
  .rbc-rtl .rbc-current-time-indicator::before {
    left: 0;
    right: -3px;
  }
}
