@charset "UTF-8";
/**!
 * 达州市公共资源场地预约
 * author: wuzhou;
 * date:2023-05-22
 */
.appointment {
  height: auto;
  padding-bottom: 21px;
}

.appointment-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding: 20px 0;
  background-color: #3187d6;
  border-bottom: 1px solid #cedde9;
}

.appointment-top .appointment-name {
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  padding-left: 38px;
  margin-left: 23px;
  height: 30px;
  line-height: 30px;
  background: url("../images/appointment/calendar_ico.png") left center no-repeat;
}

.appointment-top .date-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 406px;
  height: 39px;
  border-radius: 20px;
  margin-right: 23px;
  background-color: #fff;
}

.appointment-top .date-btn {
  display: block;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding-left: 26px;
  width: 80px;
  height: 27px;
  line-height: 27px;
  color: #358bda;
  border-radius: 13px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-color: #e5f0fb;
}

.appointment-top .date-btn.prev-week {
  margin-left: 6px;
  background-position: 12px 50%;
  background-image: url("../images/appointment/prev_week.png");
}

.appointment-top .date-btn.next-week {
  margin-right: 6px;
  text-align: right;
  padding-left: 0;
  padding-right: 26px;
  background-position: 60px 50%;
  background-image: url("../images/appointment/next_week.png");
}

.appointment-top .date-range {
  margin: 0 6px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  text-align: center;
  padding-right: 10px;
  background: url("../images/appointment/date_arr.png") right center no-repeat;
}

/* 项目信息 */
.project-items {
  margin-left: 8px;
  margin-right: 24px;
  overflow: hidden;
  min-height: 478px;
}

.project-date-wrap {
  margin-top: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  height: 24px;
  line-height: 24px;
}

.project-date {
  margin-left: 16px;
  font-weight: 700;
  font-size: 16px;
}

.single-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.single-items .single-item {
  margin-top: 16px;
  width: calc(100% / 4 - 16px);
  margin-left: 16px;
  padding: 12px;
  height: 92px;
  color: #adadad;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border: 1px solid #dfdfdf;
  background: #fff;
}

.single-items .single-item.in-progress {
  color: #fff;
  cursor: pointer;
  border-color: #358bda;
  background: #358bda;
}

.single-items .single-item.in-progress:hover {
  border-color: #ffa42f;
  background: #ffa42f;
}

.single-items .single-item.not-started {
  cursor: pointer;
  border-color: #358bda;
}

.single-items .single-item.not-started:hover {
  border-color: #ffa42f;
}

.single-items .single-date {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  line-height: 18px;
  height: 18px;
}

.single-items .single-date > p {
  max-width: 50%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.single-items .single-info {
  margin-top: 8px;
  height: 42px;
  line-height: 21px;
  word-break: break-all;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.empty-info {
  margin-top: 111px;
  text-align: center;
  font-size: 16px;
  color: #666;
  display: block;
  padding-top: 194px;
  line-height: 24px;
  background: url("../images/appointment/empty_img.png") center top no-repeat;
}

.week-txt {
  margin-left: 10px;
}

.today {
  margin-left: 16px;
  padding: 0 10px;
  display: inline-block;
  color: #fff;
  vertical-align: top;
  font-size: 12px;
  font-weight: normal;
  background-color: #358BDA;
}

.today.not-today {
  display: none;
}

@media screen and (max-width: 979px) {
  .single-items .single-item {
    width: calc(100% / 2 - 16px);
  }
}

@media screen and (max-width: 650px) {
  .appointment-top .appointment-name {
    width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  .appointment-top .date-box {
    margin-top: 10px;
    margin-left: 10px;
    width: calc(100% - 20px);
    margin-right: 0;
  }
}

@media screen and (max-width: 450px) {
  .single-items .single-item {
    width: calc(100%  - 16px);
  }
}
