/* search flights */
:root {
    --mainColor: #3F7FBC;
}

.row_site {
    max-width: 90vw !important;
}

.page-header {
    display: none !important;
}

.search-btn button {
    border-radius: 15px;
    background-color: var(--mainColor);
    color: white;
    border: 0;
}

.search-btn button:hover {
    border: 1px solid var(--mainColor) !important;
    background-color: white !important;
    color: var(--mainColor) !important;
}

.flex-row {
    position: relative;
}

.SearchDataWrapper {
    background-color: var(--mainColor) !important;
    border-radius: 15px !important;
}

/* flight list  */
* {
    text-decoration: none;
}

:root {
    --mainColor: #3F7FBC;
}

.flight-item {
    border-radius: 10px;
}

body {
    padding: 20px;
}

.mainFontSize {
    font-size: 1rem;
}

.AirWayParent {
    border-radius: 30px;
}

.flight-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* loader */

.loader {
    border: 8px solid #3F7FBC;
    border-left-color: transparent;
    border-radius: 50%;
}

.loader {
    border: 8px solid #3F7FBC;
    border-left-color: transparent;
    width: 45px;
    height: 45px;
    animation: spin89345 1s linear infinite;
}

.loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 99;
    transform: translate(-50%, -50%);
}

.loaderParent {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 9999;
    bottom: 0;
    background-color: rgba(25, 25, 25, 0.5)
}

@keyframes spin89345 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* flight off canvas */
* {
    text-decoration: none;
}

:root {
    --mainColor: #3F7FBC;
}

.flight-item {
    border-radius: 10px;
}

body {
    padding: 20px;
}

.mainFontSize {
    font-size: 1rem;
}

.AirWayParent {
    border-radius: 30px;
}

.searchWrapper .imgWrapper {
    height: 450px;
    margin: 50px 0 !important;
    overflow: hidden;
    border-radius: 25px
}

.searchWrapper .imgWrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
h4.airline-logo img {
	width: 25px;
}
@media(max-width:767px) {
    .searchWrapper {
        height: 100% !important;
    }
}

h2 {
    font-style: uppercase;
}

.flightimg {
    animation: movingFlight 10s infinite linear backwards;
    position: absolute;
    left: -50%;
}

@keyframes movingFlight {
    0% {
        left: -50%
    }

    50% {
        left: 120%;
    }

    100% {
        left: -50%;
    }
}

.search-box {
    transform: translatey(-80%) !important;
    border-radius: 25px !important;

}

@media(max-width:992px) {
    .flex-row {
        border: 1px solid lightgrey;
        border-radius: 10px;
        padding: 15px;
    }

    .search-box {
        transform: translatey(-50%) !important;
        padding: 0 !important;
        border-radius: 55px !important;

    }
}

.offcanvas {
    z-index: 9999;
}

.RefundMessageParent {
    position: relative;
}

.RefundMessange {
    position: absolute;
    top: 0;
    transform: translatey(-50%);
    right: 20px;
    z-index: 999;
    background-color: transparent;
}

@media (max-width: 576px) {
    .SearchDataWrapper {
        padding: 1rem;
    }

    .SearchDataWrapper .input-row {
        flex-direction: column;
        align-items: stretch;
    }

    .SearchDataWrapper .input-group {
        width: 100%;
    }

    .SearchDataWrapper .arrows {
        display: none;
        /* Hide arrows on small screens to save space */
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .SearchDataWrapper {
        padding: 2rem;
    }

    .SearchDataWrapper .input-row {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .SearchDataWrapper .input-group {
        flex: 1 1 calc(50% - 1rem);
        /* Adjusts width for two inputs per row */
    }

    .SearchDataWrapper .arrows {
        margin: 0 auto;
        /* Center the arrows on medium screens */
    }
}

@media (min-width: 769px) {
    .SearchDataWrapper {
        padding: 2rem 3rem;
    }

    .SearchDataWrapper .input-row {
        flex-direction: row;
        gap: 1.5rem;
    }

    .SearchDataWrapper .input-group {
        width: auto;
    }

    .SearchDataWrapper .arrows {
        display: block;
    }
}



.FlightDetailsModal {
    width: 90vw !important;
    max-width: 90vw !important;
}




.pb-4,
.py-4 {
    padding-bottom: 1.5rem !important;
}

h2 {
    font-size: 2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #222222;
    margin: 0 0 15px;
    font-family: "Poppins", sans-serif;
    line-height: 1.75rem;
}

.lis-light {
    color: #707070;
}

.font-weight-normal {
    font-weight: 400 !important;
}

h5 {
    font-size: 1.25rem;
}

.price-table {
    -webkit-transition: 0.3s ease;
}

.lis-brd-light {
    border-color: #dadada !important;
}

.lis-rounded-top {
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}

.lis-bg-light {
    padding: 50px;
}

.pb-4,
.py-4 {
    padding-bottom: 1.5rem !important;
}

.lis-latter-spacing-2 {
    letter-spacing: 2px;
}

.text-uppercase {
    text-transform: uppercase !important;
}

.lis-font-weight-500 {
    font-weight: 500;
}

.display-4 {
    font-size: 3.5rem;
}

.price-table sup {
    top: -1.5em;
}

.price-table sup,
.price-table small {
    font-size: 1.25rem;
}

.price-table small {
    font-size: 1.25rem;
}

.mb-0,
.my-0 {
    margin-bottom: 0 !important;
}

sup {
    position: relative;
    font-size: 75%;
    line-height: 0;
}

.lis-brd-light {
    border-color: #dadada !important;
}

.bg-white {
    background-color: #fff !important;
}

.py-5 {
    padding-bottom: 3rem !important;
}

.lis-line-height-3 {
    line-height: 3 !important;
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
}

.lis-line-height-3 {
    line-height: 3 !important;
}

.btn-primary-outline {
    background-color: transparent;
    color: #ff214f !important;
    border-color: #ff214f;
}

.btn {
    padding: .5rem 1.3rem;
    font-size: 1rem;
    word-wrap: break-word;
}

.lis-rounded-circle-50 {
    border-radius: 50px;
}

.pl-2,
.px-2 {
    padding-right: .5rem !important;
}

.btn-primary-outline:hover,
.btn-primary-outline:focus {
    background-color: #ff214f;
    border-color: #ff214f;
    color: #fff !important;
}

.lis-bg-primary {
    background-color: #ff214f;
}

.btn-primary {
    background-color: #ff214f;
    border-color: #ff214f;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #ff214f;
    border-color: #ff214f;
}

.price-table.active {
    transform: scale(1.045);
    -webkit-transform: scale(1.045);
}

.price-table {
    -webkit-transition: 0.3s ease;
}

.lis-rounded-bottom {
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

#flight-info-container {
    /*background-color: #3F7FBC;*/
    color: white;
    border-radius: 15px !important;
    border: 0 !important;
}

#flight-info-container .flight-info {
    background-color: #3F7FBC;
}

#flight-info-container>div>div>div.flightTimes.airline-logo-parent.d-flex.align-items-center.flex-column>span.duration.text-center.text-secondary {
    color: white !important;
}

#offcanvasRight>div.offcanvas-body.d-flex.flex-column.gap-3>div:nth-child(3)>div,
#offcanvasRight>div.offcanvas-body.d-flex.flex-column.gap-3>div:nth-child(2)>div {
    background-color: #3F7FBC;
}

#offcanvasRight>div.offcanvas-body.d-flex.flex-column.gap-3>div:nth-child(3)>div h4,
#offcanvasRight>div.offcanvas-body.d-flex.flex-column.gap-3>div:nth-child(2)>div h4 {
    color: white !important;
}

#flight-info-container>div {
    border: 0 !important;
}

.flight-info {
    border-radius: 15px !important;
}

.BaggageHeader {
    background-image: url('https://omdrgate.com/wp-content/uploads/2024/12/2149030573.jpg');
    background-position: center;
    background-size: cover;
}

.modal-dialog-baggage {
    width: 700px !important;
    min-width: 700px !important;
    max-width: 95vw !important;
}

@media(max-width:767px) {
    .modal-dialog-baggage {
        width: 700px !important;

    }
}

.fare-group {
    overflow: hidden;
    position: relative;
    border-radius: 15px;
}

.cardBadge {
    position: absolute;
    width: 100%;
    height: 80px;
    top: 0;
    left: 70%;
    transform: rotate(45deg);
}

.cardBadgeTwo {
    bottom: 0%;
    left: -70%;
    top: unset !important;

}

.lis-bg-light {
    padding: 0 !important;
}

.badge-0 {
    background-color: green;
}

.badge-1 {
    background-color: blue;
}

.badge-2 {
    background-color: gold;
}

.badge-3 {
    background-color: red;
}
p{
	margin:0!important;
}
.bag-item{
	display:flex;
	border: 1px solid lightgray;
	border-radius:15px;
	align-items:center;
	justify-content:space-between;
	padding:10px;
	margin-bottom:10px;}
	
	
	
	
@media screen and (max-width: 576px){
    body .search-box.search-box-main {
        box-shadow: none !important;
        transform: unset !important;
    }
    
    .search-btn.d-flex.justify-content-end {
        justify-content: stretch !important;
    }
    
    .search-btn.d-flex.justify-content-end button.btn.btn-primary.p-2.search-flights {
        width: 100%;
        border-radius: 4px;
    }
    
    .search-box-main .tabs.d-flex.mb-3 {
        display: none !important;
    }
    
    .trip-type label {
        box-shadow: 0 0 6px 1px rgba(0,0,0,0.1);
        padding: 10px 15px;
        border-radius: 6px;
        border: solid 1px transparent;
    }
    
    .trip-type label input {
        display: none;
    }
    
    .trip-type.gap-4.d-flex.justify-content-start {
        justify-content: center !important;
        gap: 15px !important;
        
    }
    
    
    #flightsContent .input-group {
		border-bottom: solid 1px #e9e9e9 !important;
        padding-bottom: 10px !important;
        border-right: none !important;
    }
    #flightsContent .input-group input {
        background: transparent;
        padding: .375rem .75rem;
    }
    #flightsContent .input-group select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background: transparent;
        color: #000;
        padding: .375rem .75rem;
    }
    
    #flightsContent .input-group {
        position: relative;
    }
	
    div#flightsContent {
		padding-top: 30px;
	}
	
    #flightsContent .input-group select {
        padding-right: 30px;
    }
    
    #flightsContent .input-group:has(select)::after {
        content: "▼";
        font-size: 12px;
        color: #000;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
    }
    #flightsContent .input-group select::-ms-expand {
        display: none;
    }
    

    .trip-type label:has(input[type="radio"]:checked) {
        color: #4fbbc7;
        border-color: #4fbbc7;
        background: #e6eff1;
    }

}












/*******************/


/* Flight Card Styling */
.flight-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.flight-item {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

/* Flight Info Section */
.flight-info-section {
    display: flex;
    align-items: center;
    flex: 3;
}

.flight-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.airline-section {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 130px;
}

.airline-logo img {
    width: 30px;
    height: auto;
}

.flight-number {
    color: #666;
    font-size: 14px;
}

.time-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.departure-info, .arrival-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.time {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.location {
    color: #666;
    font-size: 12px;
}

.departure-info, .arrival-info {
    width: 200px;
    max-width: 100%;
    align-self: self-start;
}

.cabin-info {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

.cabin-info span {
    font-size: 12px;
    background: #4d7eba;
    padding: 4px 15px;
    line-height: normal;
    color: #fff;
    border-radius: 50px;
}

h4.fare-class.fareClass {
    background: #d33f49;
    text-align: center;
    font-size: 12px;
    border-radius: 50px;
    color: #FFFF;
    font-weight: 400;
    display: inline-block;
    padding: 4px 12px;
    line-height: normal;
}

.terminal {
    font-size: 14px;
}

.duration-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: relative;
    min-width: 110px;
}

.duration-line {
    width: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.plane-line {
    background-color: #ddd;
    width: 70px;
    border-top: dotted 2px;
}

.duration-line i {
    color: #666;
    font-size: 14px;
    background: white;
    position: relative;
    padding: 0 5px;
    transform: rotate(90deg);
}
.action-buttons button.btn.btn-outline-primary {
    padding: 0;
    border: none;
    font-size: 14px;
    outline: none;
    box-shadow: none;
}

.action-buttons button.btn.btn-outline-primary:hover {
    border: none;
    background: transparent;
    color: #0d6efd;
}

.action-buttons {
    flex-direction: column;
}
.duration-text {
    font-size: 12px;
    color: #666;
    text-align: center;
    font-family: sans-serif;
}
.cabin-info span span {
    padding: 0;
    background: transparent;
    border-radius: unset;
}
.duration-section .text-muted {
    font-size: 12px;
    font-family: sans-serif;
    font-weight: 500;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.flight-details-side {
    flex-direction: column;
}

.price-info {
    text-align: right;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
}

.current-price {
    font-size: 22px;
    font-weight: bold;
    color: #333;
}

.atfly-points {
    font-size: 12px;
    color: #4CAF50;
}

.seats-left {
    color: #dc3545;
    font-size: 12px;
    text-align: center;
}

.action-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.view-fare-btn {
    background: #dc3545;
    color: white !important;
    text-decoration: none !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
}

.view-fare-btn:hover {
    background: #c82333;
}

.flight-details-link {
    color: #666;
    text-decoration: underline;
    font-size: 14px;
}

/* Best Value Badge */
.best-value-badge {
    background: #2196F3;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 10px;
    display: inline-block;
}

/* Pay with tabby badge */
.tabby-badge {
    background: #e8f5e9;
    color: #4CAF50;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
}



/* Price range CSS */

/* Price Filter Container */
.price-filter {
    padding: 24px;
    background-color: #ffffff;
    border-radius: 16px;
    transition: all 0.3s ease;
}

/* Range Slider Container */
.price-range-container {
    position: relative;
    padding-top: 25px;
    margin-bottom: 10px;
}

/* Value Pin */
.price-range-value {
    position: absolute;
    top: 0;
    left: 100%;
    transform: translateX(-50%);
    background: #dc3545;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

/* Pin Triangle */
.price-range-value::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #dc3545;
}

/* Show pin when slider is active or hovered */
.price-range-container.is-active .price-range-value,
.form-range:hover + .price-range-value,
.form-range:hover ~ .price-range-value,
.price-range-container:hover .price-range-value {
    opacity: 1;
    visibility: visible;
}

/* Range Slider Base */
.form-range {
    width: 100%;
    height: 16px;
    background: transparent;
    appearance: none;
    cursor: pointer;
    --range-progress: 100%;
}

/* Range Track */
.form-range::-webkit-slider-runnable-track {
    height: 2px;
    background: #e9ecef;
    border-radius: 1px;
}

.form-range::-moz-range-track {
    height: 2px;
    background: #e9ecef;
    border-radius: 1px;
}

/* Active Track (left side of thumb) */
.form-range::-webkit-slider-runnable-track {
    background: linear-gradient(to right, #dc3545 var(--range-progress), #e9ecef var(--range-progress));
}

.form-range::-moz-range-track {
    background: linear-gradient(to right, #dc3545 var(--range-progress), #e9ecef var(--range-progress));
}

/* Range Thumb */
.form-range::-webkit-slider-thumb {
    appearance: none;
    height: 16px;
    width: 16px;
    background: #dc3545;
    border: none;
    border-radius: 50%;
    margin-top: -7px;
    transition: all 0.2s ease;
    opacity: 1;
}

.form-range::-moz-range-thumb {
    height: 16px;
    width: 16px;
    background: #dc3545;
    border: none;
    border-radius: 50%;
    transition: all 0.2s ease;
    opacity: 1;
}

/* Hide thumb when slider is active or hovered */
.price-range-container.is-active .form-range::-webkit-slider-thumb,
.form-range:hover::-webkit-slider-thumb,
.price-range-container:hover .form-range::-webkit-slider-thumb {
    opacity: 0;
}

.price-range-container.is-active .form-range::-moz-range-thumb,
.form-range:hover::-moz-range-thumb,
.price-range-container:hover .form-range::-moz-range-thumb {
    opacity: 0;
}

/* Min/Max Labels */
.price-range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    color: #666;
    font-size: 14px;
}

/* Remove arrows from number inputs */
.price-inputs input[type="number"]::-webkit-inner-spin-button,
.price-inputs input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price-inputs input[type="number"] {
    -moz-appearance: textfield;
}

.airline-name {
    font-weight: 500;
    color: #333;
}


.duration-line img {
    width: 15px;
    transform: rotate(45deg);
}
.location {
    line-height: normal;
}

#menu-new-menu li.menu-item:last-child a {
    background: #577db8;
    color: #fff;
    padding: 8px 20px;
}


.elementor-section.header_sticky {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 9;
    box-shadow: none !important;
}

.header_sticky img.logo_desktop {
    filter: invert(1) brightness(100);
}

#menu-new-menu li.menu-item a {
    padding: 8px 15px 8px 6px;
    border-radius: 4px;
    background: #0000003b;
    color: #ffff;
}

ul#menu-new-menu {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}


.return-badge {
    font-size: 12px;
    background: #4d7eba;
    padding: 4px 15px;
    line-height: normal;
    color: #fff;
    border-radius: 50px;
}



/* Responsive adjustments */

@media screen and (max-width: 1550px){
    .price-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .flight-card {
        align-items: center;
    }
}
@media screen and (max-width: 1366px){
.time-section {
    gap: 20px;
}

.airline-section {
    min-width: 110px;
}

.current-price {font-size: 20px;}
    .departure-info, .arrival-info {
    width: 150px;
}
}



@media screen and (max-width: 1199px){
    .flight-card {
        flex-direction: column;
    }
    
    .price-section.fare-options {align-self: end;flex-direction: unset;gap: 30px;width: 100%;}
    
    .current-price {
        font-size: 24px;
    }
    
    .d-flex.justify-content-between.flight-details-side {
        width: 100%;
    }
}



@media (max-width: 768px) {
    .flight-item {
        flex-direction: column;
    }
    
    .flight-info-section {
        margin-bottom: 15px;
    }
    
    .price-section {
        border-left: none;
        border-top: 1px solid #eee;
        padding-left: 0;
        padding-top: 15px;
        align-items: center;
    }
    
    .price-container {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .action-buttons {
        align-items: center;
    }
    
    
    .flight-info-section {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}


.flight-card {
    flex-direction: column;
}

.price-section {
    justify-content: space-between;
    gap: 15px;
}

.departure-info, .arrival-info {
    align-items: center;
}

.flight-info-section:last-child {
    border: none;
    padding-bottom: 0px;
}

}


@media screen and (max-width: 768px){
.flight-info-section {
    flex-wrap: wrap;
    justify-content: center;
}

.airline-section {
    margin-bottom: 20px;
}
}
@media screen and (max-width: 575px){
.departure-info, .arrival-info {
    width: 120px;
}

.duration-section {
    min-width: 50px;
}

.plane-line {
    width: 40px;
}

.time-section {
    gap: 15px;
}

.time {
    font-size: 20px;
}

.row_site {
    max-width: 98vw !important;
}

.time-section {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.departure-info, .arrival-info {
    width: 100%;
}
}


.tabby-tag-wrapper {
	display: flex;
    justify-content: flex-start;
    position: absolute;
    top: 0;
	gap: 10px;
}
.tabby-tag {
    background: #d6ffea;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px 7px;
    gap: 6px;
    overflow: hidden;
}

.flight-card {
    position: relative;
    padding-top: 40px !important;
}

.tabby-tag p {
    white-space: nowrap;
    color: #000;
    font-size: 12px;
}

.tabby-tag img {
    height: 17px !important;
}
.tamara-tag {
    background: #ffd9b7;
}
