:root {
--tp-brand-blue-color: #0085ff;
--tp-hover-blue-color: #f5877d;
--tp-active-blue-color: #f5877d;
--tp-hover-pink-color: #f9f5f9;
--tp-border-color: #000;
--ffffff: #ffffff;
}
.table-wrapper {
overflow-y: auto;
max-height: 50vh;
position: relative;
padding-right: 8px;
}
.table-wrapper.with-gradient {
background: linear-gradient(white, white 85%, rgba(0,0,0,0.03) 97%, rgba(0,0,0,0.1) 100%); }
.table-wrapper::-webkit-scrollbar {
width: 4px;
height: 4px;
}
.table-wrapper::-webkit-scrollbar-thumb {
background-color: rgba(0,0,0,0.2);
border-radius: 10px;
}
.table-wrapper:hover::-webkit-scrollbar-thumb {
background-color: rgba(0,0,0,0.5);
}
.table-wrapper::-webkit-scrollbar-track {
background: transparent;
}
.table-wrapper {
scrollbar-width: thin;
scrollbar-color: rgba(0,0,0,0.5) transparent;
}
.table-wrapper {
-ms-overflow-style: -ms-autohiding-scrollbar;
}
.table-wrapper {
position: relative;
}
.main-flights thead {
position: sticky;
top: 0;
z-index: 10;
background: white; }
.main-flights th {
background: inherit; }
.main-flights {
width: 100%;
border-collapse: collapse;
table-layout: fixed;
}
.main-flights th, .main-flights td {
padding: 10px;
text-align: left;
font-family: 'Montserrat', sans-serif;
font-size: clamp(1rem, 1vw, 16px); border-bottom: none;
}
.main-flights th:nth-child(1), .main-flights td:nth-child(1) {
width: 30%;
}
.main-flights th:nth-child(2), .main-flights td:nth-child(2) {
width: 18%;
}
.main-flights th:nth-child(3), .main-flights td:nth-child(3) {
width: 18%;
}
.main-flights th:nth-child(4), .main-flights td:nth-child(4) {
width: 17%;
}
.main-flights th:nth-child(5), .main-flights td:nth-child(5) {
width: 15%;
}
.main-flights a, .flight-details a {
text-decoration: none !important;
}
.main-flights a:hover, .flight-details a:hover {
text-decoration: none !important;
}
.main-flights tr:hover {
background-color: var(--tp-hover-pink-color);
} .main-flights tr {
user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; }
.main-flights a, .details-block a, .flight-details a {
display: inline-block;
padding: 0.6rem;
text-decoration: none;
color: var(--tp-border-color);
background-color: var(--ffffff);
border: 1px solid #cccccc;
border-radius: 10px;
transition: background-color 0.3s, color 0.3s;
}
.main-flights a:hover, .details-block a:hover, .flight-details a:hover {
background-color: #f78da7;
color: var(--ffffff);
}
.main-flights a:active, .details-block a:active, .flight-details a:active {
background-color: #f78da7;
color: var(--ffffff);
}
.details-row {
display: none;
}
.details-block {
margin-top: 20px;
}
.details-block table.flight-details tr + tr {
border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.details-block table.flight-details tr + tr td {
padding-top: 12px;
}
.details-block table {
width: 100%;
border-collapse: collapse;
}
.details-block th, .details-block td {
padding: 12px;
text-align: left;
font-size: 16px;
}
.details-block tr:hover {
background-color: #f9f5f9;
}
.details-block table.flight-details {
width: 100%;
table-layout: fixed;
border-collapse: collapse;
}
.details-block table.flight-details th, .details-block table.flight-details td {
text-align: left;
padding: 8px;
}
.details-block table.flight-details td:nth-child(1) {
width: 19%;
font-size:0.93rem;
}
.details-block table.flight-details td:nth-child(2) {
width: 34%;
font-size:0.93rem;
}
.details-block table.flight-details td:nth-child(3) {
width: 15%;
font-size:0.93rem;
}
.details-block table.flight-details td:nth-child(4) {
width: 15%;
}
.details-block table.flight-details td:nth-child(5) {
width: 20%;
text-align: center;
font-size:0.9rem;
}
.details-block table.flight-details th, .details-block table.flight-details td {
min-width: 100px;
}
.flight-details .days-column {
font-family: monospace;
letter-spacing: 0.9rem;
text-align: center;
}
.day-symbol {
display: inline-block;
width: 0.7rem;
text-align: center;
}
.flight-details {
font-size: 0.7rem !important;
}
.flight-details td, .flight-details th {
padding: 8px;
}
.flight-details .day-symbol {
font-size: 14px;
}
.main-flights a.country-link {
display: inline;
padding: 0;
background: none;
border: none;
border-radius: 0;
text-decoration: underline;
color: #000000;
transition: none;
}
.main-flights a.country-link:hover {
text-decoration: underline;
color: var(--tp-hover-blue-color);
background: none;
}
@media (max-width: 700px) {
.table-wrapper {
overflow-y: auto;
max-height: 68vh;
}    
.main-flights td, .details-block td, .flight-details td {
padding: 4px 8px;
}
.main-flights th, .main-flights td {
display: block;
width: 100%;
box-sizing: border-box;
}
.main-flights a, .details-block a, .flight-details a {
display: block;
width: 100%;
padding: 10px;
text-align: center;
margin: 4px 0;
}
.link-col a {
display: block;
width: 100%;
padding: 0.6rem;
text-align: center;
border-radius: 12px;
}
.main-flights td {
display: inline-block;
box-sizing: border-box;
padding: 7px 4px;
vertical-align: top;
width: 100%;
}
.route-col {
float: left;
text-align: left;
width: 70%;
}
.day-col, .price-col {
float: left;
text-align: left;
width: 30%;
clear: none;
}
.link-col a {
display: block;
width: 100%;
padding: 8px 16px;
text-align: center;
}
}
@media (max-width: 700px) {
.flight-details tr {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin-bottom: 10px;
}
.flight-details tr td {
display: flex;
align-items: center;
justify-content: flex-start;
width: 100%;
padding: 5px 0;
}
.flight-details tr td:nth-child(1) {
flex: 1 0 50%;
justify-content: flex-start;
order: 1;
}
.flight-details tr td:nth-child(2) {
flex: 1 0 100%;
justify-content: flex-start;
text-align: center;
order: 3;
}
.flight-details tr td:nth-child(3) {
display: none;
}
.flight-details tr td:nth-child(4) {
text-align: right;
flex: 1 0 50%;
justify-content: flex-end;
order: 2;
}
.flight-details tr td:nth-child(5) {
flex: 1 0 100%;
justify-content: center;
order: 4;
}
.flight-details tr td:nth-child(6) {
flex: 1 0 100%;
justify-content: center;
order: 5;
margin-top: 10px;
}
} .toggle-more {
background: none;
border: none;
cursor: pointer;
display: flex;
flex-direction: column; justify-content: center;
align-items: center;
width: 100%;
padding: 10px;
outline: none;
position: relative;
z-index: 2;
}
.toggle-more .toggle-arrow {
display: inline-block;
width: 14px;
height: 14px;
border-right: 2px solid #333;
border-top: 2px solid #333;
transform: rotate(135deg); transform-origin: center;
transition: transform 0.3s ease-in-out, border-color 0.3s ease-in-out;
margin-top: 5px; }
.toggle-more.expanded .toggle-arrow {
transform: rotate(315deg); } .toggle-more:not(.expanded) .toggle-text {
order: 1; }
.toggle-more:not(.expanded) .toggle-arrow {
order: 2; }
.toggle-more.expanded .toggle-text {
order: 2; }
.toggle-more.expanded .toggle-arrow {
order: 1; } .toggle-more:hover .toggle-text {
color: #f35d4d;
transition: color 0.3s ease-in-out; }
.toggle-more:hover .toggle-arrow {
border-color: #f35d4d;
}
.flight-details {
position: relative;
}
.flight-details::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 40px;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
pointer-events: none;
transition: opacity 0.3s;
}
.no-gradient .flight-details::after {
display: none;
}
.extra-flight {
transition: all 0.3s ease-out;
}
.details-row {
display: none;
}
.extra-flight:nth-child(6) {
position: relative;
z-index: 1;
}
.main-flights th.sortable {
cursor: pointer;
position: relative;
padding-right: 20px; }
.main-flights th.sortable.sorted {
background-color: #f0f8ff; }
.main-flights th.sortable::after {
content: ''; 
position: absolute;
margin-left: 5px;
top: 50%;
width: 0;
height: 0;
border-style: solid;
transform: translateY(-50%);
display: inline-block; }
.main-flights th.sortable.ascending::after {
border-width: 0 6px 6px 6px;
border-color: transparent transparent #0085ff transparent; }
.main-flights th.sortable.descending::after {
border-width: 6px 6px 0 6px;
border-color: #0085ff transparent transparent transparent; } .main-flights td:first-child a {
display: inline; 
padding: 0; 
color: inherit; 
background-color: transparent; 
border: none; 
text-decoration: underline;
transition: none; 
}
.main-flights td:first-child a:hover {
background-color: transparent;
color: var(--tp-brand-blue-color); 
text-decoration: underline;
} .main-flights td:first-child {
padding: 10px;
text-align: left;
}
.main-flights td:first-child a {
text-decoration: none;
}
.main-flights td:first-child a:hover {
text-decoration: underline;
color: var(--tp-hover-blue-color);
} .table-scroll {
max-height: 30vh; overflow-y: auto; overflow-x: auto; }
.table-scroll table {
width: 100%;
table-layout: auto;
}
.table-scroll th, .table-scroll td {
padding: 8px 12px;
text-align: left;
border-bottom: 1px solid #ddd;
} .worldfly-tabs {
width: 100%;
padding-bottom: 1.5rem;
font-family: Arial, sans-serif; }
.worldfly-tabs .tab-links {
list-style: none;
padding: 0;
margin: 1.5rem 0;
display: flex;
flex-direction: row;
flex-wrap: nowrap; 
border-bottom: 2px solid #e0e0e0;
position: sticky;
top: 0;
z-index: 10;
background-color: #fff;
}
.worldfly-tabs .tab-links li {
flex: 1;
margin: 0;
}
.worldfly-tabs .tab-links a {
display: block;
padding: 15px;
text-align: center;
background: #fff;
color: #555;
text-decoration: none;
font-size: 16px;
transition: color 0.3s, border-bottom 0.3s;
border-bottom: 2px solid transparent;
}
.worldfly-tabs .tab-links a:hover {
color: #000;
}
.worldfly-tabs .tab-links .active a {
color: #f35d4d; border-bottom: 2px solid #f35d4d; font-weight: bold;
}
.worldfly-tabs .tab-content {
background: #fff;
border-top: none; }
.worldfly-tabs .tab {
display: none;
}
.worldfly-tabs .tab.active {
display: block;
} @media (max-width: 700px) {
.worldfly-tabs .tab-links a {
padding: 10px;
font-size: 14px;
}
}