.flight {
  margin: 0 auto;
}

body {
  background: #f5f5f5;
}

.main-title {
  font-size: 0.2083rem;
  font-weight: bold;
  margin: 0.3125rem auto;
}

.notice {
  display: flex;
  margin: 0 auto;
  align-items: center;
  box-sizing: border-box;
  margin-top: 0.2083rem;
  padding: 0.0521rem;
  background: #FFFFFF;
  border-radius: 6px;
}

.notice-icon {
  width: 0.1771rem;
  height: auto;
  margin-right: 0.1042rem;
}

.notice-link {
  display: block;
  font-size: 0.0833rem;
  color: #666;
}

.search-form {
  margin: 0.1563rem 0;
}

.search-form .input-item {
  width: 3.0208rem;
}

.search-form .input-item select {
  width: 100%;
}

.search-form span {
  white-space: nowrap;
}

.search-form .input-item select {
  text-align: center;
}

.search-form input[type="date"] {
  width: 100%;
}

.price {
  margin-left: auto;
}

.price .normal {
  font-size: 0.0625rem;
  color: #333;
  margin-left: 0.0521rem;
}

.type {
  font-size: 0.0729rem;
  padding-bottom: 0.2083rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.type span {
  color: #00C5DD;
}

.date-list {
  position: relative;
  overflow: hidden;
}

.play-left-wrap,
.play-right-wrap {
  position: absolute;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  width: 0.0833rem;
  height: 0.0833rem;
}

.play-left-wrap .play-icon,
.play-right-wrap .play-icon {
  display: block;
  width: 100%;
  height: 100%;
}

.play-left-wrap.disabled,
.play-right-wrap.disabled {
  cursor: not-allowed;
}

.play-left-wrap .play-left-active,
.play-right-wrap .play-left-active,
.play-left-wrap .play-right-active,
.play-right-wrap .play-right-active {
  display: none;
}

.play-left-wrap {
  left: 1%;
}

.play-right-wrap {
  right: 1%;
}

.date-list-wrap {
  padding: 0.0417rem;
  background: #fff;
  overflow: hidden;
  position: relative;
}

.date-list-scroll {
  display: flex;
  transition: transform 0.3s ease;
}

.date-item {
  padding: 0.0333rem 0;
  cursor: pointer;
  font-size: 0.0833rem;
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  min-width: 1.2rem;
  flex-shrink: 0;
}
.date-item:last-child {
  border-right: none;
}

.date-item span {
  display: block;
  color: #999;
  margin-top: 0.0521rem;
  font-size: 0.0729rem;
}

.date-item.active {
  background: #00C5DD;
  border-radius: 10px;
  color: #fff;
}

.date-item.active span {
  color: #fff;
}

.switch-icon {
  cursor: pointer;
}

.flight-item {
  position: relative;
  display: flex;
  margin-top: 0.1563rem;
  align-items: center;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 0.1563rem;
  justify-content: space-between;
}

.flight-item .name {
  width: 15%;
  padding: 0.1042rem 0;
  font-size: 0.0729rem;
  border-right: 1px dashed rgba(0, 0, 0, 0.1);
}

.flight-item .departure {
  text-align: center;
}

.flight-item .departure span {
  display: block;
}

.flight-item .departure .time {
  font-size: 0.125rem;
  font-weight: bold;
}

.flight-item .departure .port {
  margin-top: 0.1302rem;
  font-size: 0.0729rem;
}

.flight-item .total-time {
  width: 1rem;
  text-align: center;
  position: relative;
  font-size: 0.0729rem;
  color: #fff;
}

.flight-item .total-time .time-bg {
  width: 100%;
}

.flight-item .total-time .time {
  position: absolute;
  top: 43%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.flight-item .price-wrap {
  width: 30%;
  text-align: center;
  font-size: 0.0729rem;
  color: #999;
  border-left: 1px dashed rgba(0, 0, 0, 0.1);
}

.flight-item .submit-btn {
  width: 0.8333rem;
  font-size: 0.0833rem;
  color: #fff;
  text-align: center;
  padding: 0.0885rem 0;
  cursor: pointer;
  background: #00C5DD;
  border-radius: 6px;
}

.flight-item.disabled .price {
  color: #999999;
}

.flight-item.disabled .submit-btn {
  background-color: #ccc;
  cursor: not-allowed;
}

.choices {
  text-align: center;
  margin-bottom: 0 !important;
}

.choices[data-type*=select-one]::after {
  display: none;
}

.search-form span {
  transform: none;
}
.info-ercode {
  bottom: .6rem;
}

@media screen and (max-width: 1024px) {
  .main-title {
    font-size: 0.64rem;
    padding: 0 0.5333rem;
  }

  .search-form {
    padding: 0 0.5333rem;
  }

  .search-form .input-item {
    width: 100%;
  }

  .price {
    width: 100%;
  }

  .price .normal {
    font-size: 0.2667rem;
  }

  .type {
    font-size: 0.32rem;
    margin-bottom: 0.5333rem;
    padding-bottom: 0.5333rem;
  }

  .more-btn {
    margin: 0.5333rem auto 0;
  }

  .notice {
    margin: 15px 0;
    padding: 15px;
    border-radius: 0;
  }

  .notice-icon {
    width: 0.64rem;
  }

  .notice-link {
    font-size: 0.32rem;
  }

  .date-list-wrap {
    padding: 0.1333rem;
  }

  .play-left-wrap,
  .play-right-wrap {
    width: 0.5333rem;
    height: 0.5333rem;
  }

  .date-list-wrap .date-item {
    padding: 0.4rem 1.1rem;
    font-size: 0.3733rem; 
  }

  .date-list-wrap .date-item span {
    font-size: 0.2667rem;
  }

  .flight-item {
    flex-wrap: wrap;
    margin-top: 0.8rem;
    padding: 0.5333rem 0;
  }
  .info-ercode {
    bottom: 2.5rem;
  }

  .flight-item .name {
    font-size: 0.4267rem;
    padding: 0.2667rem 0;
    width: 100%;
    text-align: center;
  }

  .flight-item .departure {
    width: 33%;
  }

  .flight-item .departure .time {
    font-size: 0.4267rem;
  }

  .flight-item .departure .port {
    font-size: 0.32rem;
    margin-top: 0.1333rem;
  }

  .flight-item .total-time {
    width: 33%;
    font-size: 0.2667rem;
  }

  .flight-item .price-wrap {
    width: 100%;
    font-size: 0.32rem;
  }

  .flight-item .submit-btn {
    width: 40%;
    margin: 0.5333rem auto;
    padding: 0.2667rem 0;
    font-size: 0.3733rem;
  }
}
.play-left-wrap .play-left,
.play-right-wrap .play-right {
  display: none;
}
.play-left-wrap .play-left-active,
.play-right-wrap .play-right-active {
  display: block;
}
.play-left-wrap.disabled, .play-right-wrap.disabled {
  cursor: auto;
}
.play-left-wrap.disabled .play-left, 
.play-right-wrap.disabled .play-right {
  display: block;
}
.play-left-wrap.disabled .play-icon.play-left-active,
.play-right-wrap.disabled  .play-icon.play-right-active {
  display: none !important;
}

