body {
  background-color: #f6f6f6;
}

.banner {
  height: 310px;
  min-width: 1260px;
  padding-top: 60px;
  margin-top: -78px;
  box-sizing: border-box;
}

.banner-title {
  width: 1200px;
  margin: auto;
  text-align: center;
  padding-top: 55px;
}

.banner-title .p1 {
  font-size: 40px;
  color: #333333;
  line-height: 40px;
  margin-bottom: 15px;
}

.banner-title .p1 span {
  color: #333333;
  background: linear-gradient(0deg, #9E5BFB 0%, #2F63E6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.banner-title .p2 {
  font-size: 16px;
  color: #666666;
  line-height: 24px;
  position: relative;
  width: 200px;
  margin: 0 auto;
}

.banner-title .p2::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 1px;
  background: #999999;
  left: 0;
  bottom: 12px;
}

.banner-title .p2::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 1px;
  background: #999999;
  right: 0;
  bottom: 12px;
}

/* 营销日历 */

#calendarMain {
  width: 1200px;
  background: #FFFFFF;
  margin: -70px auto 80px;
  border-radius: 20px;
}

#calendarMain .topHead {
  display: flex;
  justify-content: space-between;
  padding: 0 25px;
  align-items: center;
  line-height: 80px;
}

#calendarMain .topHead .calTitle {
  font-size: 18px;
  color: #333333;
  font-weight: bold;
}

#calendarMain .topHead .calTitle i {
  color: #0866DF;
  margin-right: 10px;
  font-size: 20px;
  font-weight: normal;
}

#calendarMain .topHead #filterType {
  display: flex;
  justify-content: space-between;
  flex: 1;
  margin-left: 120px;
}

#filterType .typeItem {
  cursor: pointer;
}

#filterType .typeItem.active {
  color: #0866df;
}

#filterType .typeItem .circle {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFFFFF;
  vertical-align: middle;
  position: relative;
  margin-right: 2px;
  border: 1px solid rgba(0, 0, 0, .45);
  box-sizing: border-box;
}

/* #filterType .active .circle{
  background-color: #0866df;
} */

#filterType .typeItem .circle:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #FFFFFF;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

#filterType .typeItem.active .circle {
  border: none;
}

#calendarMain .topContent {
  display: flex;
  justify-content: space-between;
  height: 80px;
  border-bottom: 1px solid #F4F4F4;
  align-items: center;
  padding: 0 25px;
  margin-top: -25px;
}

.topContent .chooseTypeBox {
  font-size: 0;
}

.topContent .chooseTypeBox span {
  width: 72px;
  height: 38px;
  background: #FFFFFF;
  border: 1px solid #CAD2F3;
  display: inline-block;
  text-align: center;
  line-height: 38px;
  font-size: 16px;
  color: #333333;
  cursor: pointer;
}

.topContent .chooseTypeBox span.active {
  background: #0866DF;
  border-color: #0866DF;
  color: #fff;
}

.topContent .chooseTypeBox span:nth-child(1) {
  border-radius: 6px 0 0 6px;
}

.topContent .chooseTypeBox span:nth-child(2) {
  border-radius: 0 6px 6px 0;
}

.topContent .chooseTypeBox span:nth-child(3) {
  margin-left: 20px;
  border-radius: 6px;
}

.topContent .chooseTypeBox span:hover {
  border-color: #0866DF;
}

.topContent .searchDayBox {
  color: #333333;
  font-size: 14px;
}

.topContent .searchDayBox .currentDay {
  vertical-align: middle;
  margin: 0 5px;
}

.topContent .searchDayBox button {
  width: 36px;
  height: 36px;
  background: #FFFFFF;
  border: 1px solid #CAD2F3;
  border-radius: 5px;
  vertical-align: middle;
}

.topContent .searchDayBox button:hover {
  border-color: #0866DF;
}

.topContent .searchDayBox button:hover i {
  color: #0866DF;
}

/* calendarWrapper */

.calendarWrapper .weekHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 70px;
  text-align: center;
}

.calendarWrapper .weekHeaderItem {
  color: #8F95B3;
  flex: 1;
}

.calendarWrapper .weekHeaderItem .isToday {
  color: #0866DF;
}

.calendarWrapper .weekHeaderItem .weekend {
  color: #FFB15E;
}

/* 日历事件 */

.calendarWrapper .weekBody {
  display: flex;
  justify-content: space-between;
  border-radius: 0 0 20px 20px;
}

.calendarWrapper .weekBody .weekBodyItem {
  flex: 1;
  padding-bottom: 100px;
}

.calendarWrapper .weekBody .weekBodyItem:nth-child(1){
  border-radius: 0 0 0 20px;
}

.calendarWrapper .weekBody .weekBodyItem:nth-child(7){
  border-radius: 0 0 20px 0;
}

.calendarWrapper .weekBodyItem {
  border: 1px solid #E1E3EB;
}

.calendarWrapper .weekBodyItem.today {
  background-color: #f6f6f6;
}

.calendarWrapper .monthNum {
  font-size: 12px;
  color: #666;
  line-height: 50px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
}

.calendarWrapper .monthNum span:first-child {
  font-size: 20px;
}

.calendarWrapper .today .monthNum {
  color: #0866df;
}

.calendarWrapper .caseItemBox {
  width: 156px;
  margin-bottom: 7px;
  padding: 5px 20px;
  font-size: 14px;
  position: relative;
  box-sizing: border-box;
  border-radius: 0 40px 40px 0;
  display: inline-block;
  font-weight: bold;
}

.calendarWrapper .caseItemBox .line {
  position: absolute;
  display: inline-block;
  height: 100%;
  width: 2px;
  border-radius: 2px;
  left: 0;
  top: 0;
}

/* 月日历 */

.dataBody .dataRow {
  display: flex;
  justify-content: space-between;
}

.dataBody .dataRow .rowItem {
  flex: 1;
  height: 230px;
  border: 1px solid #E1E3EB;
  position: relative;
}

.dataBody .dataRow:last-child .rowItem:nth-child(1){
  border-radius: 0 0 0 20px;
}

.dataBody .dataRow:last-child .rowItem:nth-child(7){
  border-radius: 0 0 20px 0;
}

.dataBody .dataRow .rowItem.today {
  background-color: #F6F6F6;
}

.calendarWrapper .dataRow .caseItemBox {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}

.dataBody .dataRow .showMore {
  text-align: center;
  color: #999999;
  font-size: 12px;
  line-height: 20px;
  cursor: pointer;
}

.dataBody .dataRow .allCaseBox {
  position: absolute;
  left: 0;
  right: 0;
  padding: 10px;
  padding-bottom: 0;
  top: 0;
  background: #FFFFFF;
  box-shadow: 0px 0px 6px 0px rgba(60, 60, 60, 0.4);
  display: none;
  border-radius: 10px;
  z-index: 10;
}

.calendarWrapper .allCaseBox .caseItemBox {
  text-overflow: unset;
  overflow: unset;
  white-space: unset;
}

.registerGift-box {
  width: 1200px;
  display: block;
  box-sizing: border-box;
  padding: 10px 10px 0 10px;
}

.registerGift-box img {
  width: 100%;
  border-radius: 10px;
}
