/* weda_calendar */

.weda-calendar {
  font-size: 14px;
}

/* pc 日历样式 start */
.weda-calendar.weda-calendar-pc {
  background: #ffffff;
  border: 0.5px solid #dcdcdc;
  box-sizing: border-box;
  box-shadow: 0px 3px 14px 2px rgba(0, 0, 0, 0.05),
    0px 8px 10px 1px rgba(0, 0, 0, 0.06), 0px 5px 5px -3px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  min-width: 560px;
}

.weda-calendar-pc .weda-calendar__control_h5 {
  display: none;
}

.weda-calendar-pc .weda-calendar__control_pc {
  padding: 32px;
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.weda-calendar-pc .weda-calendar__control-section {
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
  margin-right: 16px;
}

.weda-calendar-pc .weda-calendar__control-section:last-child {
  margin-right: 0;
}

.weda-calendar-pc
  .weda-calendar__control-section
  .weda-calendar__control-section-cell {
  height: 100%;
  margin-right: 8px;
}

.weda-calendar-pc
  .weda-calendar__control-section
  .weda-calendar__control-section-cell:last-child {
  margin-right: 0;
}

.weda-calendar-pc .weda-calendar__control_pc .weda-calendar__current-date {
  font-size: 1em;
  line-height: 1.57142em;
  color: rgba(0, 0, 0, 0.9);
}

.weda-calendar-pc .weda-calendar__panel {
  position: relative;
  padding: 0 32px 32px 32px;
  width: 100%;
  box-sizing: border-box;
}

.weda-calendar .weda-calendar__table {
  font-size: inherit;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  height: 100%;
}

.weda-calendar .weda-calendar__table .weda-calendar__table-head {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  box-sizing: border-box;
}

.weda-calendar .weda-calendar__table .weda-calendar__table-head-row,
.weda-calendar .weda-calendar__table .weda-calendar__table-body-row {
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  width: 100%;
  padding-bottom: 0;
}

.weda-calendar .weda-calendar__table .weda-calendar__table-head-cell {
  cursor: default;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  height: 100%;
  padding: 0;
  font-size: 1em;
  line-height: 1.57142em;
  color: rgba(0, 0, 0, 0.6);
  margin-right: 12px;
  position: relative;
}

.weda-calendar .weda-calendar__table .weda-calendar__table-head-cell:last-child,
.weda-calendar
  .weda-calendar__table
  .weda-calendar__table-body-cell:last-child {
  margin-right: 0;
}

.weda-calendar .weda-calendar__table .weda-calendar__table-body {
  width: 100%;
}

.weda-calendar .weda-calendar__table .weda-calendar__table-body-cell {
  flex: 1;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  border-top: 1px solid #e7e7e7;
  padding: 0;
  height: 87.4px;
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  margin-left: 0;
  margin-right: 12px;
  position: relative;
  justify-content: flex-start;
  color: rgba(0, 0, 0, 0.26);
}

.weda-calendar
  .weda-calendar__table
  .weda-calendar__table-body-cell.is-disabled,
.weda-calendar
  .weda-calendar__table
  .weda-calendar__table-body-cell.is-invalid {
  cursor: not-allowed;
}

.weda-calendar
  .weda-calendar__table
  .weda-calendar__table-body-cell.is-invalid {
  background: #f3f3f3;
}

.weda-calendar .weda-calendar__table .weda-calendar__table-body-cell.is-now {
  border-top-color: #0052d9;
  background: #ecf2fe;
}

.weda-calendar .weda-calendar__table .weda-calendar__table-body-cell-value {
  font-size: 1em;
  font-weight: 400;
  line-height: 1.57142em;
  color: rgba(0, 0, 0, 0.9);
  margin-top: 3px;
  position: relative;
}

.weda-calendar
  .weda-calendar__table
  .weda-calendar__table-body-cell.is-disabled
  .weda-calendar__table-body-cell-value {
  color: rgba(0, 0, 0, 0.26);
}

.weda-calendar
  .weda-calendar__table
  .weda-calendar__table-body-cell
  .weda-calendar__table-body-cell-marked {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  left: 50%;
  transform: translate(-50%);
  bottom: -10px;
}

/* pc 日历样式 end */

/* h5 日历样式 start */

.weda-calendar.weda-calendar-h5 {
  background: #ffffff;
  width: 100%;
  opacity: 0.9;
}

.weda-calendar-h5 .weda-calendar__control_pc {
  display: none;
}

.weda-calendar__control_h5 {
  width: 100%;
  box-sizing: border-box;
  padding: 16px 16px 0 16px;
  position: relative;
  text-align: center;
}
.weda-calendar__control_h5 .wedatea2td-icon-arrowleft--line,
.weda-calendar__control_h5 .wedatea2td-icon-arrowright--line {
  vertical-align: middle;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.weda-calendar__control_h5
  .weda-calendar_prevMonth.wedatea2td-icon-arrowleft--line,
.weda-calendar__control_h5
  .weda-calendar_nextMonth.wedatea2td-icon-arrowright--line {
  position: absolute;
  top: 17px;
  width: 1.42857em;
  height: 1.42857em;
}

.weda-calendar__control_h5
  .weda-calendar_prevMonth.wedatea2td-icon-arrowleft--line {
  left: 16px;
}
.weda-calendar__control_h5
  .weda-calendar_nextMonth.wedatea2td-icon-arrowright--line {
  right: 16px;
}

.weda-calendar__control_h5 .weda-calendar__current-date {
  font-size: 1em;
  line-height: 1.57142em;
  font-weight: bold;
}

.weda-calendar-h5 .weda-calendar__panel {
  height: 21.85714em;
  padding: 20px 16px 16px 16px;
  width: 100%;
  box-sizing: border-box;
}

.weda-calendar-h5 .weda-calendar__table {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-self: start;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.weda-calendar-h5 .weda-calendar__table .weda-calendar__table-head {
  margin-bottom: 0;
}

.weda-calendar-h5 .weda-calendar__table .weda-calendar__table-head-cell {
  font-size: 0.85714em;
  line-height: 20px;
  width: 100%;
  height: 100%;
  margin: 0;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 0.85714em;
  line-height: 1.428571em;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.weda-calendar-h5 .weda-calendar__table-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-self: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.weda-calendar-h5 .weda-calendar__table-body .weda-calendar__table-body-row {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex: 1;
}

.weda-calendar-h5 .weda-calendar__table-body .weda-calendar__table-body-cell {
  width: 100%;
  height: 100%;
  margin: 0;
  border: none;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 0.85714em;
  line-height: 1.42857em;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  flex-direction: row;
}

.weda-calendar-h5 .weda-calendar__table .weda-calendar__table-body-cell.is-now {
  border: none;
  background: transparent;
}

.weda-calendar-h5
  .weda-calendar__table-body
  .weda-calendar__table-body-cell-value {
  font-size: 1em;
  text-align: center;
  border-radius: 50%;
  width: 40px;
  line-height: 2.85714em;
  margin: 0;
  box-sizing: border-box;
}

.weda-calendar-h5
  .weda-calendar__table
  .weda-calendar__table-body-cell.is-now
  .weda-calendar__table-body-cell-value {
  color: #fff;
}

.weda-calendar-h5
  .weda-calendar__table
  .weda-calendar__table-body-cell.is-now
  .weda-calendar__table-body-cell-bg {
  position: absolute;
  width: 1.714285em;
  height: 1.714285em;
  background: #0052d9;
  border-radius: 100%;
  left: calc(50% - 0.85714em);
  top: calc(50% - 0.85714em);
  z-index: -1;
}

.weda-calendar-h5
  .weda-calendar__table
  .weda-calendar__table-body-cell
  .weda-calendar__table-body-cell-marked {
  width: 4px;
  height: 4px;
  top: calc(50% + 14px);
}

.weda-calendar-h5
  .weda-calendar__table
  .weda-calendar__table-body-cell.is-disabled
  .weda-calendar__table-body-cell-value {
  color: rgba(0, 0, 0, 0.6);
}

.weda-calendar-h5
  .weda-calendar__table
  .weda-calendar__table-body-cell.is-invalid {
  background: transparent;
}

.weda-calendar-h5
  .weda-calendar__table
  .weda-calendar__table-body-cell.is-invalid
  .weda-calendar__table-body-cell-value {
  color: #c5c5c5;
}

/* h5 日历样式 end */
