/* 检索框 */
.flights-searcher {
  position: relative;
}

.flights-searcher-box {
  width: 100%;
  padding-top: 0;
  border-radius: 0;
  background-color: #f7f7f7;
  margin-top: 20px;
  margin-bottom: 20px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
}

.flights-searcher-box-form {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 20px 20px;
}

/* 条件 + 结果 */
.flights-content {
  width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  position: relative;
}

/* 结果列表 */
.flights-content-result {
  float: right;
  border: none;
  width: 700px;
  min-height: 100vh;
  margin-bottom: 20px;
}

.flights-content-result-tab {
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 0px;
  width: 100%;
}

.flights-content-result-tab-card {
  background: #fff;
  color: black;
  border: 1px solid #ddd;
  padding: 8px;
  width: 33.3333333333%;
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari */
  user-select: none;
}

.flights-content-result-tab-card ul li {
  list-style: none;
  font-size: 14px;
  word-break: break-all;
}

.flights-content-result-tab-card ul li:nth-child(2) {
  font-size: 24px;
  font-weight: 500;
  padding: 4px 0 4px 16px;
  color: #1ba1ff;
  font-weight: bold;
}

/* 选中状态背景色 */
.flights-content-result-tab-card.active {
  background-color: #095f70;
  color: white;
  border: 3px solid #ffc11c;
}

.flights-content-result-tab-card.active ul li:nth-child(2) {
  color: #ffc11c;
}

/*结果列表*/

.flights-content-result-lists {
  border-top: none;
  width: 100%;
  border-collapse: separate;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.flights-content-result-list {
  background: #fff;
  border: 1px solid #ddd;
  width: 100%;
  border-top: 4px solid #095f70;
}

.flights-content-result-list-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
}

.flights-content-result-list-title-airline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 14px;
}

.flights-content-result-list-title-airline-logo {
  margin-right: 10px;
}

.flights-content-result-list-title-airline-logo-mini {
  margin-right: 10px;
  height: 20px;
}

.flights-content-result-list-title-airline-icon{
  margin-left: 6px;
  height: 20px;
}

.flights-content-result-list-title-price {
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.flights-content-result-list-title-price span {
  color: #ff1d1c;
  font-weight: 700;
  font-size: 20px;
  margin-left: 10px;
}

.flights-content-result-list-line {
  height: 1px;
  width: calc(100% - 24px);
  margin: 0 auto;
  background-color: #d8d8d8;
}

.flights-content-result-list-flight {
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flights-content-result-list-flight-left {
  width: 70%;
}

.flights-content-result-list-flight-right {
  width: 30%;
  height: 210px;
  padding: 0 0 0 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  border-left: 1px solid #d8d8d8;
}

.flights-content-result-list-flight-left-airline-title {
  font-weight: bold;
  color: black;
  font-size: 16px;
  margin-bottom: 4px;
}

.flights-content-result-list-flight-left-airline-title span {
  font-weight: normal;
  color: black;
  font-size: 14px;
}

.flights-content-result-list-flight-left-airline-journey {
  display: flex;
}

.flights-content-result-list-flight-left-airline-journey-airport {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgb(115, 115, 115);
  width: 30%;
  line-height: 20px;
}

.flights-content-result-list-flight-left-airline-journey-airport span {
  font-size: 22px;
  font-weight: bold;
  color: black;
  margin-bottom: 2px;
}

.flights-content-result-list-flight-left-airline-journey-airport-time_arrow {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40%;
  font-size: 14px;
  color: rgb(115, 115, 115);
  line-height: 30px;
  padding: 10px;
}

.flights-content-result-list-flight-left-airline-journey-airport-time_arrow_line {
  height: 1px;
  width: 100%;
  background-color: #858585;
  position: relative;
}

.flights-content-result-list-flight-left-airline-journey-airport-time_arrow_line-transferNum{
  position: absolute;
  top:90%;
  left: 50%;
  transform: translate(-50%,-90%);
  white-space: nowrap;
}

.flights-content-result-list-flight-left-airline-journey-airport-time_arrow_line svg {
  position: absolute;
  top: -2px;
  right: -4px;
}

.flights-content-result-list-flight-right-seat {
  width: 100%;
  border-radius: 30px;
  border: 1px solid #1ba1ff;
  color: #1ba1ff;
  font-size: 14px;
  text-align: center;
  margin-bottom: 17px;
  -webkit-user-select: none; /* Safari */
  user-select: none;
}

.flights-content-result-list-flight-right-price {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 0px;
}

.flights-content-result-list-flight-right-headcount {
  font-size: 14px;
  margin-bottom: 10px;
}

.flights-content-result-list-flight-right-btn {
  width: 100%;
  height: auto;
  background: #ffc11c;
  color: #222;
  padding: 12px 16px;
  border: none;
  display: inline-block;
  text-align: center;
  font-size: 16px !important;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  margin-bottom: 10px;
  cursor: pointer;
}

.flights-content-result-list-flight-right-btn:hover{
  background-color: #d6a10f;
}

.flights-content-result-list-flight-right-down {
  color: #1ba1ff;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  padding-top: 4px;
  margin-bottom: 7px;
}

.flights-content-result-list-details {
  background-color: #f7f7f7;
}

.flights-content-result-list-details-airline{
  border-top: 1px dotted #d8d8d8;
  padding: 20px;
}

.flights-content-result-list-details-airline-title{
  width: 100%;
  display: flex;
  align-items: center;
  align-content: center;
}

.flights-content-result-list-details-airline-title div:nth-child(1){
  font-size: 10pt;
  font-weight: 700;
  color: #1faaff;
  margin-right: 50px;
}

.flights-content-result-list-details-airline-title div:nth-child(2){
  font-size: 10pt;
  margin-right: 20px;
}

.flights-content-result-list-details-airline-title div:nth-child(3){
  font-size: 10pt;
  margin-right: 20px;
}

.flights-content-result-list-details-airline-title div:nth-child(4){
  font-size: 10pt;
  color: #666;
}

.flights-content-result-list-details-airline-cabin{
  width: 100%;
  padding: 10px 0 4px 76px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.flights-content-result-list-details-airline-cabin div:nth-child(2){
  margin-left: 4px;
}

.flights-content-result-list-details-airline-cabin div:nth-child(3){
  margin-left: 8px;
  color: #666;
}

.flights-content-result-list-details-airline-journey{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  width: 100%;
  padding: 10px 0 10px 76px;
}

.flights-content-result-list-details-airline-journey-date{
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 12px;
  width: 24%;
  line-height: 16px;
}

.flights-content-result-list-details-airline-journey-date div span{
  font-size: 16px;
  line-height: 16px;
  margin-left: 12px;
}

.flights-content-result-list-details-airline-journey-arrow{
  height: 100%;
  width: 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.flights-content-result-list-details-airline-journey-arrow img{
  width: 12px;
}

.flights-content-result-list-details-airline-journey-arrow div{
  width: 2px;
  height: 40px;
  background-color: #1faaff;
}

.flights-content-result-list-details-airline-journey-airport{
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 12px;
  width: 50%;
}

.flights-content-result-list-details-airline-journey-time{
  font-size: 12px;
  line-height: 16px;
  width: 16%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.flights-content-result-list-details-airline-journey-time img{
  width: 12px;
  margin-right: 4px;
}

/* 筛选条件 */
.flights-content-refine {
  width: 244px;
  float: left;
}

.flights-content-refine-box {
  width: 100%;
  background: #fff;
  border-right: 1px solid #d8d8d8;
  border-left: 1px solid #d8d8d8;
  border-bottom: 1px solid #d8d8d8;
}

.flights-content-refine-box-title {
  padding: 8px 10px;
  font-size: 14px;
  border-top: 1px solid #d8d8d8;
  line-height: 14px;
  background-color: #f7f7f7;
}

.flights-content-refine-box-title-option{
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.flights-content-refine-box-title-option-btn{
  font-size: 14px;
  margin-right: 10px;
  color: #1ba1ff;
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari */
  user-select: none;
}

.flights-content-refine-box-node-time{
  background: #f4f4f4;
  border-radius: 52px;
  width: 85%;
  margin: 8px auto;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  padding: 8px;
}

.flights-content-refine-box-node-title{
  width: 85%;
  margin: 14px auto;
  font-size: 12px;
  font-weight: bold;
}

.flights-content-refine-box-node-select{
  width: 85%;
  margin: 8px auto;
}

.flights-content-refine-box-node-select-location{
  display: flex;
  font-size: 12px;
  font-weight: bold;
}

.flights-content-refine-box-node-select-location img{
  width: 18px;
  height: 16px;
  margin-right: 2px;
}

.flights-content-refine-box-node-time-btn{
  color: black;
  background: none;
  border-radius: 36px;
  font-family: HiraginoSans-W6;
  width: 48%;
  height: 36px;
  line-height: 36px;
  -webkit-user-select: none; /* Safari */
  user-select: none;
}

.flights-content-refine-box-node-time-btn.active{
  color: white;
  background: none;
  border-radius: 36px;
  font-family: HiraginoSans-W6;
  width: 48%;
  height: 36px;
  line-height: 36px;
  background: #095f70;
}

.flights-content-refine-box-node-time-btn:not(.active):hover {
  background: #fff;
  cursor: pointer;
}

.flights-content-refine-box-node-transfer{
  width: 85%;
  margin: 8px auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 14px;
}

.checkbox-label-transfer{
  display: flex;
  margin-top: 4px;
  cursor: pointer;
}

.checkbox-label-transfer input{
  margin-right: 4px;
  cursor: pointer;
}

.checkbox-label-transfer:hover{
  opacity: 0.6;
}

.checkbox-label-airline{
  display: flex;
  margin-top: 4px;
  cursor: pointer;
}

.checkbox-label-airline input{
  margin-right: 4px;
  cursor: pointer;
}

.checkbox-label-airline:hover{
  opacity: 0.6;
}





.flights-content-refine-box-node-select-datepicker{
  display: flex;
  gap: 2px;
  width: 100%;
  margin-top: 16px;
  margin-bottom: 18px;
}

.flights-content-card-radio {
  cursor: pointer;
  width: 20%;
}

.flights-content-card-radio input[type="radio"] {
  display: none; /* 隐藏原生radio的小圆点 */
}

.flights-content-card-radio .flights-content-card {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 3px;
  text-align: center;
  font-size: 10px;
  background: #ffffff;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #000000;
  -webkit-user-select: none; /* Safari */
  user-select: none;
}

.flights-content-card-radio input[type="radio"]:checked + .flights-content-card {
  background: #095f70;
  color: #ffc11c;
  border: 1px solid #ffc11c;
}

/* 手机用筛选菜单栏 */
.flights-smart-refine{
  display: none;
}

.flights-smart-refine-close{
  display: none;
}

/* 手机用检索航程一览 */
.flights-searcher-smart-flight{
  display: none;
  -webkit-user-select: none; /* Safari */
  user-select: none;
}

@media screen and (max-width: 767px){
    /* 筛选条件 */
  .flights-content-refine {
    width: 100%;
  }

  /* 条件 + 结果 */
  .flights-content {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 !important;
    position: relative;
  }

  /* 结果列表 */
  .flights-content-result {
    border: none;
    width: 100%;
    min-height: 100vh;
    margin-bottom: 20px;
    margin-top: 10px;
  }

  .flights-content-result-tab-card ul li:nth-child(2) {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 0 4px 16px;
    color: #1ba1ff;
    font-weight: bold;
  }

  .flights-content-result-list-title{
    flex-direction: column;
    padding: 2px 12px;
    display: flex;
    align-items: flex-start;
  }

  .flights-content-result-list-flight-left-airline-journey-airport span{
    font-size: 14px;
  }

  .flights-content-result-list-flight-right{
    padding: 6px 0 0 6px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    border-left: 1px solid #d8d8d8;
    height: auto;
    min-height: 210px;
  }

  .flights-content-result-list-flight-right-btn{
    font-size: 12px !important;
    padding: 8px 6px;
  }

  .flights-content-result-list-flight-right-price{
    font-size: 14px;
  }

  .flights-content-result-list-flight-right-down{
    font-size: 12px;
  }

  .flights-content-result-list-title-price{
    display: none;
  }
  
  .flights-content-result-list-flight-right-seat{
    font-size: 10px;
    margin-bottom:7px
  }

  .flights-content-result-list-details-airline{
    padding: 10px;
  }

  .flights-content-result-list-details-airline-journey-time{
    display: none;
  }

  .flights-content-result-list-flight-left-airline-title{
    font-size: 14px;
  }

  .flights-content-result-list-details-airline-journey-date div span{
    font-size: 12px;
    margin-left: 0;
  }

  .flights-content-result-list-flight-right-headcount{
    font-size: 12px;
  }

  .flights-content-result-list-details-airline-title div:nth-child(1){
    margin-right:10px
  }

  .flights-content-result-list-details-airline-cabin{
    width: 100%;
    padding: 10px 0 4px 36px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .flights-content-result-list-details-airline-journey{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0 10px 36px;
    min-height: 90px;
  }

  .flights-content-result-list-flight-left-airline-journey-airport-time_arrow{
    font-size: 12px;
  }
  
  .flights-content-result-list-title-airline-logo{
    height: 30px;
  }

  .flights-content-result-list-title-airline{
    font-size: 12px;
  }

  .flights-smart-refine{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
  }

  .flights-smart-refine-node{
    text-align: center;
    width: 33.33%;
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    -webkit-user-select: none; /* Safari */
    user-select: none;
    color: black;
  }

  .flights-smart-refine-node.active{
    text-align: center;
    width: 33.33%;
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    -webkit-user-select: none; /* Safari */
    user-select: none;
    color: #1ba1ff;
    border-bottom: 2px solid #1ba1ff;
    font-weight: bold;
  }

  .flights-content-refine-box{
    border-bottom: none;
  }

  #flights-content-refine-box-node-time-smart{
    display: none;
  }

  #flights-content-refine-box-node-trans-smart{
    display: none;
  }

  #flights-content-refine-box-node-airline-smart{
    display: none;
  }

  .flights-content-refine-box-title{
    border-top: none;
  }

  .flights-smart-refine-close{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    color:#444444;
    border-top: 1px solid #ddd;
    padding: 5px 30px;
    font-size: 16px;
    font-weight: bold;
  }

  .flights-smart-refine-close-icon{
    width: 18px;
    margin-right: 4px;
  }

  #flights-searcher-box{
    display: none;
  }

  .flights-content-refine-box-title{
    display: none;
  }

  .flights-searcher-smart-flight{
    width: calc(100% - 20px);
    margin-left: auto;
    margin-right: auto;
    display: block;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    border-radius: 3px;
    padding: 12px 6px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    background-color: #f7f7f7;
  }

  .flights-searcher-smart-flight-left{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 65%;
    border-right: 1px solid #ddd;
  }

  .flights-searcher-smart-flight-left-outbound{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 45%;
  }

   .flights-searcher-smart-flight-left-outbound div:nth-child(2){
    font-weight: bold;
   }

  .flights-searcher-smart-flight-left-inbound{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 45%;
  }

  .flights-searcher-smart-flight-left-inbound div:nth-child(2){
    font-weight: bold;
   }

  .flights-searcher-smart-flight-left-arrow{
    width: 10%;
  }

  .flights-searcher-smart-flight-left-arrow div{
    background-color: #ddd;
    width: 100%;
    height: 3px;
  }

  .flights-searcher-smart-flight-middle{
    width: 20%;
    text-align: center;
    border-right: 1px solid #ddd;
  }

  .flights-searcher-smart-flight-middle-num{
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .flights-searcher-smart-flight-middle-icon{
    width: 16px;
  }

  .flights-searcher-smart-flight-right{
    width: 15%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .flights-searcher-smart-flight-right-icon{
    height: 18px;
  }

  .flights-content-result-lists{
    padding: 10px;
  }
}