/* TABS */
.tp-tabs {
    border-top: 1px solid #c1c1bf;
    border-bottom: 1px solid #c1c1bf;
    display: flex;
    column-gap: 20px;
}
.nav.tp-tabs .nav-link {
    background-color: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    margin-bottom: 0;
    font-weight: 500;
    padding: 12px 0;
    font-size: 17px;
    color:var(--text-primary);

    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
}
.nav.tp-tabs .nav-link.active,
.nav.tp-tabs .nav-link:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.flights-checkout .fdm-content-wrap {
    max-height: 100%;
}

/* PURCHASE DETAILS */
.fpd-box-top {
    font-size: 17px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid #a7a5a4;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.table-flightseat strong {
    display: block;
    line-height: 1.2;
    margin-top: 10px;
}
.fpd-box-top span {
    color: var(--black-text);
}
.fpd-box .fpd-box-bottom {
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    overflow: hidden;
    max-height:0;
}
.fpd-box-bottom, .fpd-box-top i {
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
}
.fpd-box-bottom .tp-table {
    margin-bottom:10px;
}
.fpd-box.show .fpd-box-top i {
    transform: rotate(180deg);
}
.fpd-box.show .fpd-box-bottom {
    max-height:4000px;
}

/* ANCILLARY OPTIONS */
.filters-box.totalpurchase {
    font-size: 16px;
    font-weight: 600;
    display:flex;
    justify-content: space-between;
    align-items: center;
}
.summary-price {
    font-size:25px;
    font-weight: 700;
}
.tp-sidebar .filters-box .fb-bottom {
    font-size: 14px;
}

/* FLIGHTS MAIN */
.flights-main {
    background-color: #fff;
    border-radius: 4px;
    padding: 20px 25px 30px;
    border: 1px solid #f1f1ee;
}
.airline-image img {
    object-fit: contain;
    background-color:#fff;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.airline-image {
    height: 0;
    padding-top: 100%;
    overflow: hidden;
    position: relative;
    border: 1px solid #f0f0f0;
    border-radius: 5px;
}
.flight-description {
    font-weight: 600;
    color: #a09c9c;
    font-size:13px;
}
.flightbox-left h4 {
    font-weight:700;
    font-size:28px;
    color:var(--primary);
}
.flight-details {
    display: flex;
    flex-direction: column;
    line-height: 1.5;
    font-size: 13px;
    color: var(--black-text);
    margin-top: -5px;
}
.fb-inner-mid {
    color:var(--black-text);
}
.flightduration {
    font-size:14px;
}
.flighttime {
    font-size:19px;
    font-weight:600;
}
.fb-inner-mid {
    column-gap: 20px;
}
.flights-main {
    display:flex;
    flex-direction: column;
    gap:5px;
}
.fdmbox-wrap {
    display: flex;
    flex-direction: column;
    gap:30px;
}
.fdmbox, .fdm-right {
    display: flex;
    line-height:1.35;
    flex-direction: column;
}
.flightdetailsmore {
    font-size:14px;
}
.fdm-box-main {
    padding-left:55px;
    display:flex;
}
.loclines-wrap {
    width: 2px;
    background-color: var(--primary);
    height: 60%;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.loclines-wrap::before, 
.loclines-wrap::after {
    content: '';
    width: 12px;
    height: 12px;
    background-color: var(--primary);
    display: block;
    position: absolute;
    border-radius: 50%;
    left: -5px;
}
.loclines-wrap::before {
    top: -7px;
}
.loclines-wrap::after {
    bottom: -7px;
}
.fdm-content:before {
    content: '';
    width: 83.33333333%;
    height: 1px;
    position: absolute;
    top: -1px;
    background-color: #919191;
    right: 0;
}
.fdm-content, .flights-readmore-info {
    border-top: 1px solid #919191;
    padding: 20px 0 20px;
    margin-top: 20px;
}
.fdm-content {
    gap:20px;
    position:relative;
    border: 1px solid transparent;
}
.fdm-content-wrap {
    max-height:0;
    overflow:hidden;
    transition: max-height 0.15s ease-out;
}
.fdm-content-wrap.show {
    max-height:50000px;
    transition: max-height 0.25s ease-in;
}
.flights-rmore-btn i {
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
}
.flights-rmore-btn.change i {
    transform: rotate(180deg);
}
i.fa-chevron-* {
    font-size:13px;
}
.flights-rmore-btn {
    cursor: pointer;
    font-size: 15px;
}
.fdm-box {
    width:100%;
}
.flights-preview .fdm-box {
    width: auto;
}
.loadmoreboxes-flights .flights-main {
    margin-bottom: 15px;
}
.fdm-box-separator {
    background-color: #f7f6f3;
    padding: 10px 15px 9px 35px;
    border-radius: 7px;
    display: flex;
    column-gap: 30px;
}
.flightpurchase-box-left {
    display: flex;
    flex-direction: column;
}
.flightpurchase-box-right {
    font-weight: 600;
    color:#a09c9c;
}
.noborder-fdm .fdm-content {
    border-top: 0;
    padding-top: 20px;
}
.flightpurchase-box-left strong {
    margin-bottom: 3px;
    font-weight: 600;
}
.flightpurchase-box:first-child {
    border-top:0;
    margin-top: 0;
    padding-top:0;
}
.flightpurchase-box, .return-flight .flightpurchase-box:first-child  {
    border-top: 1px solid #e6e6e6;
    margin-top: 10px;
    padding-top: 10px;
}
.return-flight .flightpurchase-box:first-child {
    padding-top:15px;
}
.flightpurchase-box strong {
    font-weight: 600;
}
#flights-ancillary .flights-sidebarbtn, #flights-ancillary .seatbookings {
    display:none;
}
.flightsseatmap-top {
    border-bottom: 1px solid #ddd;
}
#tabs-flight {
    border-bottom:0;
}
.seatbookings {
    margin-top:15px;
}

/* PASSENGER BOX */
.passengerbox {
    margin-bottom:20px;
}
.passengerbox-main select {
    font-size:14px;
    font-weight:500;
}
.passengerbox-main {
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #e2e2e2;
    padding: 25px;
}
.passengerbox-main label {
    font-weight:600;
    color:var(--black-text);
    margin-bottom:5px;
    display:block;
}

.discountvoucher p {
    width: 350px;
    max-width: 100%;
}

/* ADDITIONAL DETAILS */
.addtl-details-row {
    border-top: 1px solid #b8b5b7;
    padding-top: 10px;
    margin-top: 3px;
}

/* ANCILLARY */
.table-flight-ancillary td:first-child {
    width: 50px;
    text-align: center;
}
.table-flight-ancillary {
    border-radius:8px;
    margin-top:15px;
}
.table-flight-ancillary tbody {
    font-weight: 500;
    color: #9f9c9c;
}
.table-flight-ancillary thead th {
    font-weight: 600;
    color: var(--black-text);
}
.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.passengerbox-bottom {
    border-top: 1px solid #c3c1c1;
    padding-top: 20px;
    margin-top: 5px;
}

/* Create a custom checkbox design */
.custom-checkbox-ancillary {
    display: inline-block;
    position: relative;
    padding-left: 24px;
    cursor: pointer;
}

.custom-checkbox-ancillary .checkmark {
    position: absolute;
    top: -7px;
    left: 4px;
    height: 18px;
    width: 18px;
    border: 2px solid #232323;
    background-color: #fff;
    transition: background-color 0.2s ease;
}

/* When the checkbox is checked, add a background */
.custom-checkbox-ancillary input:checked ~ .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Create the checkmark inside the checkbox */
.custom-checkbox-ancillary .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when the checkbox is checked */
.custom-checkbox-ancillary input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark (tick) */
.custom-checkbox-ancillary .checkmark:after {
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* CHECKOUT BOXES MAIN */
.checkoutbox-main .select {
    margin-bottom:0;
}
.checkoutbox-main {
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #e2e2e2;
    padding: 25px;
}
.carddetails-images {
    column-gap: 11px;
}


/* NEED HELP */
.needbox a {
    color:var(--black-text);
    font-weight: 500;
}
.needbox .fb-bottom {
    color:var(--text-gray);
}


/* YELLOW BOXES */
.fpb-top, .fpb-bottom {
    justify-content: space-between;
}
.flights-wrap {
    display:flex;
    flex-direction: column;
    gap:20px;
}
.flightprice-box {
    background-color: #fffbd3;
    padding: 20px;
    border-radius: 7px;
    color:var(--black-text)
}
.fpb-bottom a {
    color:var(--black-text);
    text-decoration: underline !important;
}
.flightlinks {
    display: flex;
    column-gap:15px;
}
.breakdownlink {
    background: transparent;
    border: 0;
    padding: 0;
    text-decoration: underline;
    cursor: pointer;
}
.fpb-bottom {
    border-top: 1px solid #b8b4aa;
    margin-top: 7px;
    padding-top: 7px;
    font-size: 14px;
}
.flightprice span {
    font-size: 13px;
    display: block;
}
.flightprice-main {
    font-size: 30px;
    font-weight: 700;
    display: block;
    margin-top: -8px;
}
.fpb-top {
    align-items: center;
}
.flightsprice-wrap {
    margin-top: -10px;
}
.bdb-left-price {
    font-size: 13px;
}
.bdb-left-price-main {
    font-size: 28px;
    font-weight: bold;
    margin-top: -10px;
}

/* SEAT MAP */
.seatmap-legend-box strong {
    font-weight: 400;
    font-size: 13px;
    color:#323232;
}
.seatmap-legend-box {
    display: flex;
    align-items: center;
    line-height: 1.3;
    gap: 8px;
}

.price{   
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(126, 9, 126); 
    padding: 1px; 
    color: white; 
    font-weight: bold;
    border-radius: 3px; 
    width: 45px;
}
#tabs-passengers li button, #tabs-flight li button {
    font-weight: 600;
}
.seatmap-table {
    margin: 0 auto;
}
.price-2{
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(15, 60, 156); 
    padding: 1px; 
    color: white; 
    font-weight: bold;
    border-radius: 3px;
    width: 45px;
 
}
.seat-price{
    position: relative;
     width: 50px;
     height: 50px
}
#seat-modal .modal-header {
    background-color: var(--primary) !important;
}
.seat:hover, .pax-block:hover {
	cursor 				: pointer;
}

.width {
	width 				: 60px;
}

.pax-block {
	border 				: 1px solid #D5D8DC;
}

.hide-field {
	border 				: 0;
	background-color 	: #fff;
}

.selected-pax {
	border 				: 1px solid #E74C3C;

}
.breakdown-popup .btn-close {
    color: var(--tp-blue) !important;
    opacity: 1;
    position: absolute;
    right: 20px;
    top: 20px;
}

.seatmap-table td {
    position:relative;
}
.seatmap-legend {
    padding: 10px 0 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #9f9c9c;
}
.seatmap-table td img{
    width: 70px;
    height: 70px;
    max-width: none;
}

.seatmap-column-title span {
    color:#323232;
}

.flightprice-option .btn {
    padding: 7px 15px;
    font-size: 15px;
}

@media (max-width: 1399px) {
    .flightprice-box {
        padding: 15px;
    }
    .flightprice-option .btn {
        padding: 7px 9px;
        font-size: 13px;
    }
    .flightprice-main {
        font-size: 24px;
    }
    .fpb-bottom {
        font-size: 13px;
    }
}


@media (min-width: 992px) {
    .fdm-right {
        width: 29%;
    }
    .fb-inner-left, .fb-inner-right {
        width: 22%;
    }
    .fb-inner-mid {
        column-gap: 30px;
        width: 41%;
    }
}


@media (min-width: 992px) and (max-width: 1199px) {
    .flights-main {
        padding: 20px 15px 30px;
    }

    .fdm-right {
        width: 35%;
    }
    .fb-inner-mid {
        column-gap: 28px;
        width: 46%;
    }
}

/* TABLE AREA */

  .seatmap-table {
    display: flex;
    justify-content: center;
  }
  tr.seatmap-column-title span {
    margin-top: 10px;
    display: block;
}
  .price,
  .price-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1px;
    font-weight: bold;
    border-radius: 3px;
  }
  .price, .price-2 {
    font-size: 14px;
    height: 24px;
    width: 50px;
}
tr.exit-arrows th {
    padding: 15px 10px !important;
    font-size: 19px;
    color: #9968C1;
}
  .seat-price {
    width: 40px !important;
  }
  .last-seats-row {
        border-top:5px solid #fff;
  }
    
  @media screen and (max-width: 992px) {
    .seatmap-column-title span {
        margin-top:5px;
        display: block;
        color:#323232;
        font-size:15px;
    }
    .seatmap-row-number {
        font-size:15px;
    }
    .price, .price-2 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 0 !important;
        font-weight: bold;
        border-radius: 3px;
        font-size: 13px !important;
        width: 41px !important;
        height: 21px;
        line-height: 1.6;
    }
    .seatmap-table td img {
      width: 50px;
      height: 50px;
      max-width: none;
    }
    .exit {
      color: rgb(157, 115, 197);
      font-size: 20px;
      padding: 10px 0;
      display: block;
    }
  }
  /* SEARCH FLIGHT */
  
  .flighttime-2,
  .flighttime-b {
    display: none;
  }
  @media screen and (max-width: 767px) {
    .flighttime-2 {
      display: flex;
    }
    .flighttime-b {
      display: flex;
      justify-content: end;
    }
  
    .flighttime-1 {
      display: none;
    }
  
    br {
      display: flex;
    }

    .fdm-right-new {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #919191;
    }
  }
  
  /* Hotel page css */
  
  @media (max-width: 991px) {
    .search-listing-room {
      margin-top: 15px;
    }
  
    .fdm-content:before {
        width: 100%;
    }
    .search-per-night {
      min-width: 121.42px;
    }
  
    .btn-search-select {
      width: 125px;
    }
  
    .popup-rate {
      color: #2ca5d0;
      margin-top: 1rem !important;
      font-size: 15px;
      font-weight: 600;
      gap: 4px;
      line-height: 1.1;
    }
  }
  
  @media (max-width: 575px) {

    .seatmap-column-title span {
        color: #323232;
        display: block;
        margin-top: 8px;
        font-size: 13px;
    }
    .exit {
        color: rgb(157, 115, 197);
        font-size: 17px;
        padding: 5px 0;
        display: block;
    }
  }
  
  @media (max-width: 479px) {
    .hotel-individual .tp-table td {
      padding: 10px !important;
      font-size: 11px;
    }
  }


  @media screen and (max-width: 450px) {
    .seatmap-legend {
        padding: 10px 0 10px;
        margin-bottom: 10px;
        border-bottom: 1px solid #9f9c9c;
    }
    tr.exit-arrows th {
        padding: 5px 10px !important;
    }
    .seatmap-row-number {
        font-size: 13px;
    }
    .seatmap-table td img {
        width: 46px !important;
        height: 46px !important;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .seatmap-table .last-seats-row td img {
        width: 40px !important;
        height: 40px !important;
    }
    .price, .price-2 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 0 !important;
        font-weight: bold;
        border-radius: 3px;
        font-size: 12px !important;
        width: 38px !important;
        height: 19px;
    }
    .flights-main {
      padding: 15px;
    }
    .seatmap-table {
      display: flex;
      justify-content: center;
    }
    img {
      display: block;
    }
    .legend-img {
      width: 25px;
      height: auto;
      display: flex;
    }
    .seat-price {
        width: 48px !important;
    }
  }