.flightsWrapper {
    position: relative;
    display: block;
    width: 100%;
    margin: 15px 0px;
}

.flightsWrapper .pricePoint .brief::after,
.flightsWrapper .brief .segment::after,
.flightsWrapper .itinerary .segment .leg::after,
.flightsWrapper .itinerary .segment .segment_title::after {
    content: '';
    clear: both;
    display: table;
}

.flightsWrapper .pricePoint {
    position: relative;
    display: block;
    width: 100%;
    box-shadow: 5px 4px 7px -7px rgb(0 0 0 / 20%), 1px 3px 8px 0px rgb(0 0 0 / 10%);
    background: #fff;
    border-radius: 10px;
    border: 1px solid #747b99;
}

.flightsWrapper .pricePoint .brief {
    position: relative;
    display: block;
    width: 100%;
    padding: 10px;
    padding-bottom: 0;
    min-height: 140px;
}

.flightsWrapper .brief .segmentWrapper {
    position: relative;
    display: block;
    width: 100%;
    float: left;
}

.flightsWrapper .brief.hasPrice .segmentWrapper {
    width: 80%;
}

.flightsWrapper .brief .segmentWrapper .segment {
    position: relative;
    display: block;
    width: 100%;
    padding: 15px 0px;
}

.flightsWrapper .brief .airline {
    position: relative;
    display: block;
    width: 25%;
    float: left;
}

.flightsWrapper .brief .airline .brand {
    position: relative;
    display: block;
    float: left;
    width: 65px;
}

.flightsWrapper .brief .airline .brand .logo {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 3px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
}

.flightsWrapper .brief .airline .brand .name {
    font-size: 13px;
    color: #283a81;
    white-space: nowrap;
    font-weight: 500;
    line-height: 1em;
}

.flightsWrapper .brief .airline .info {
    position: relative;
    display: block;
    float: left;
}

.flightsWrapper .brief .airline .info .journey_time {
    font-size: 13px;
    color: #333;
}

.flightsWrapper .brief .airline .info .class {
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
    background: #ffebb8;
    padding: 2px 5px;
    border-radius: 4px;
    margin-top: 2px;
}

.flightsWrapper .segment_seperator {
    margin: 0;
    border-top: 1px dashed #ccc;
}


.flightsWrapper .brief .segmentWrapper .stops {
    position: relative;
    display: block;
    width: 75%;
    float: left;
    padding-top: 7px;
}

.flightsWrapper .stops .stop {
    position: relative;
    display: block;
    float: left;
    text-align: center;
    width: 32.5%;
}

.flightsWrapper .stops .stop .time {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #283a81;
}

.flightsWrapper .stops .stop .date {
    position: relative;
    display: block;
    text-align: center;
    font-size: 13px;
    color: #4d4d4d;
}

.flightsWrapper .stops .stop .airport_name {
    position: relative;
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
}


.flightsWrapper .stops .connection {
    position: relative;
    display: block;
    width: 35%;
    float: left;
    text-align: center;
}

.flightsWrapper .stops .connection .stop_count {
    padding: 5px 0;
    position: relative;
    display: block;
}


.flightsWrapper .brief .stops .connection .stop_codes {
    font-size: 12px;
    padding: 7px 0;
    display: block;
    text-align: center;
}


.flightsWrapper .stops .connection .connection_line {
    position: relative;
    display: flex;
    width: 100%;
    height: 2px;
    gap: 5px;
}

.flightsWrapper .stops .connection .connection_line::before {
    content: '';
    position: absolute;
    top: calc(50% - 3px);
    left: 0;
    width: 6px;
    height: 6px;
    background: #63829b;
    border-radius: 50%;
    z-index: 1;
}

.flightsWrapper .stops .connection .connection_line::after {
    content: '';
    position: absolute;
    top: calc(50% - 3px);
    right: 0;
    width: 6px;
    height: 6px;
    transform: rotate(45deg);
    border: 2px solid #63829b;
    border-left: 0;
    border-bottom: 0;
    z-index: 1;
}

.flightsWrapper .stops .connection .connection_line span {
    position: relative;
    width: 100%;
    height: 2px;
    background-color: #97b6cf;
    display: inline-block;
}


/* pricing */

.flightsWrapper .brief .pricing {
    position: absolute;
    left: 80%;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20%;
    float: left;
    padding: 0 15px;
    text-align: center;
    height: 100%;
    flex-direction: column;
    border-left: 1px dashed #ccc;
}

.flightsWrapper .brief .pricing h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 5px 0;
    white-space: nowrap;
    padding: 0 15px;
    width: 100%;
}

.flightsWrapper .brief .pricing .price_note {
    position: relative;
    display: inline-block;
    width: 80%;
    margin: 5px 0;
    font-size: 13px;
    text-transform: capitalize;
    color: #555;
}

.flightsWrapper .brief .pricing .button_wrapper {
    position: relative;
    display: inline-block;
    width: 80%;
}

.flightsWrapper .brief .pricing .button_wrapper .button {
    width: 100%;
    padding: 10px 5px;
    border-radius: 3px;
    border: none;
}

/* expand button */

.flightsWrapper .pricePoint .expandBtn {
    position: relative;
    display: block;
    text-align: center;
    padding: 10px;
    padding-bottom: 14px;
    background: #f9f9f9;
    font-size: 14px;
    text-transform: capitalize;
    font-weight: 500;
    color: #283a81;
    cursor: pointer;
    transition: all 0.2s ease-in;
    z-index: 1;
    user-select: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.flightsWrapper .pricePoint .expandBtn {
    position: relative;
    display: block;
    text-align: center;
    padding: 10px;
    padding-bottom: 14px;
    background: #f9f9f9;
    font-size: 14px;
    text-transform: capitalize;
    font-weight: 500;
    color: #283a81;
    cursor: pointer;
    transition: all 0.2s ease-in;
    z-index: 1;
    user-select: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.flightsWrapper .pricePoint .expandBtn .icon {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    top: 4px;
    left: 4px;
    font-size: 17px;
    transition: all 0.2s linear;
}

.flightsWrapper.expanded .pricePoint .expandBtn .icon {
    transform: rotate(180deg);
}

.flightsWrapper .pricePoint .expandBtn:hover {
    background-color: #e5eafb;
}


/* itinerary */

.flightsWrapper .itinerary {
    position: relative;
    display: block;
    width: calc(100% - 20px);
    left: 10px;
    display: none;
    background: #f1f1f1;
    border: 1px solid #ccc;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top: none;
    min-height: 150px;
}

.flightsWrapper.expanded .itinerary {
    display: block;
}

.flightsWrapper .itinerary .segment {
    position: relative;
    display: block;
    width: 100%;
    background: #efefef;
}

.flightsWrapper .itinerary .segment .segment_title {
    text-align: center;
    display: block;
    width: 100%;
    padding: 10px;
    background: #3c4569;
    color: #e6e9f3;
    z-index: 3;
    position: relative;
}

.flightsWrapper .itinerary .segment .segment_title span {
    position: relative;
    padding: 0 10px;
    font-weight: 400;
    font-size: 13px;
}

.flightsWrapper .itinerary .segment .leg {
    position: relative;
    display: block;
    width: 100%;
    padding: 17px 10px;
}

.flightsWrapper .itinerary .segment .leg .flight {
    position: relative;
    display: block;
    width: 20%;
    float: left;
}

.flightsWrapper .itinerary .segment .leg .flight .brand {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    float: left;
    width: 35px;
}

.flightsWrapper .itinerary .segment .leg .flight .info {
    position: relative;
    display: block;
    width: 100%;
    padding-left: 35px;
}

.flightsWrapper .itinerary .segment .leg .flight .brand .logo {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.flightsWrapper .itinerary .segment .leg .flight .info .name {
    text-transform: capitalize;
    font-size: 15px;
    display: block;
    color: #283a81;
    font-weight: 500;
    margin-bottom: 4px;
}

.flightsWrapper .itinerary .segment .leg .flight .info .flight_number {
    font-size: 13px;
    color: #666;
    display: block;
}

.flightsWrapper .itinerary .segment .leg .flight .info .equipment {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    display: block;
}

.flightsWrapper .itinerary .segment .leg .stops {
    position: relative;
    display: block;
    width: 60%;
    float: left;
    padding: 0px 10px;
}

.flightsWrapper .itinerary .segment .leg .stops .stop {
    width: 42.5%;
}

.flightsWrapper .stops .connection.small {
    width: 15%;
    top: 28px;
}

.flightsWrapper .stops .connection.small .connection_line span {
    border-top: 2px dotted #9bb0c1;
    background-color: transparent;
}

.flightsWrapper .itinerary .segment .leg .leginfo {
    width: 20%;
    float: left;
    padding: 10px;
}

.flightsWrapper .itinerary .segment .leg .leginfo .class {
    font-size: 13px;
}

.flightsWrapper .itinerary .segment .leg .leginfo .baggage {
    font-size: 12px;
}

.flightsWrapper .layover_step {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    border-top: 1px dashed #97b6cf;
    margin: 0;
}

.flightsWrapper .layover_step .layover_title {
    position: absolute;
    top: 5%;
    left: 50%;
    text-align: center;
    background: #c0cdd7;
    padding: 3px 5px;
    font-size: 13px;
    transform: translate(-50%, -50%);
}

.flightsWrapper .layover_step .layover_title::after {
    content: '';
    position: absolute;
    top: 0px;
    right: -11px;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 12px 0px 12px 12px;
    border-color: transparent transparent transparent #c0cdd7;
}

.flightsWrapper .layover_step .layover_title::before {
    content: '';
    position: absolute;
    top: 0px;
    left: -11px;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 12px 12px 12px 0;
    border-color: transparent #c0cdd7 transparent transparent;
}


#itinerary .flightsWrapper {
    margin-top: 0;
}



#stripe_popup .button {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 15px;
    border-radius: 9px;
    background: #2196F3;
    color: #fff;
    padding: 12px;
    border: none;
}

#stripe_popup .header {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 20px;
}

#stripe_popup .header .title {
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

#stripe_popup .header .rate {
    font-size: 25px;
    font-weight: 400;
    color: #4c5275;
}

#stripe_popup {
    position: relative;
    padding: 50px;
    background: white;
    display: none;
    border-radius: 2px;
}

#stripe_popup.active {
    display: block;
}