.fts-topbar {
    padding: 20px;
    background-color: #005baa;
}
.fts-tab-data .fts-topbar {
    padding-top: 5px;
}
.fts-tab ul {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}
.fts-tab ul li{    
    display: inline-block;
    list-style: none;
    margin: 0 5px;
    color: #fff; 
    padding: 5px 25px;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
    cursor: pointer;
}
.fts-tab ul li.active, .fts-tab ul li:hover {
    border-bottom: 1px solid #fff;
}
.fts-select {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.fts-find-select select{
    width: 300px;
}
.fts-days-select select{
    width: 120px;
}
.select2-results__option--group:first-child > ul > li:first-child {
    display: none;
}
.fts-select .select2-selection{
    display: flex !important; 
    align-items: center;
    height: 40px !important;
}
.fts-select .select2-selection__arrow{
    height: 100% !important;
}
.fts-find-select {
    margin-right: 15px;
}
.no-search .select2-search {
    display: none;
}
.fts-select .fts-select-title {
    display: inline-block;
    color: #fff;
    margin-right: 15px;
}
.fts-results {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-left: -10px;
    margin-right: -10px;
    padding: 30px 0;
}
.fts-results .fts-res, .fts-results .fts-time, .fts-results .fts-delay {
    padding: 0 10px;
}
.fts-table-mobile {
    display: none;
}
.fts-table-mobile .fts-arrow-wrap{
    background-color: transparent;
}
.fts-table-mobile .fts-arrow:before {
    border-right: 2px solid #005baa;
    border-bottom: 2px solid #005baa;
}
.fts-actual, .fts-remark, .fts-origin, .fts-name-flight {
    color: #005baa;
    line-height: 1.25;
    margin: 5px 0;
}
.fts-actual, .fts-remark {
    font-size: 14px;
}
.fts-origin {
    font-size: 18px;
    font-weight: 700;
}
.fts-table table { 
    border-collapse: collapse;
}
.fts-table th{
    padding: 8px 15px;
    border-bottom: 2px solid #ccc;
    text-align: left; 
}
.fts-table td{
    padding: 5px 15px;
}
.fts-table tr {
    border-bottom: 1px solid #ddd;
}
.fts-table tr:first-child{
    background-color: transparent;
}
.fts-table tr:nth-of-type(2n+1){
    background-color: #eee;
}
.fts-arrow-wrap{
    background-color: #005baa;
    cursor: pointer;
    transition: 0.3s;
}
.fts-arrow-wrap:hover{
    background-color: #0d82e9;
}
.fts-arrow{
    display: flex;
    align-items: center;
    justify-content: center;
}
.fts-arrow:before{
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}
.ftsc-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}
.ftsc-checkbox{
    opacity: 0;
    width: 0;
    height: 0;
}
.ftsc-checkbox:checked + .ftsc-slider {
    background-color: #005baa;
}
.ftsc-checkbox:checked + .ftsc-slider:before {
    -webkit-transform: translateX(33px);
    -ms-transform: translateX(33px);
    transform: translateX(33px);
}
.ftsc-slider{
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 8px;
    -webkit-transition: .4s;
    transition: .4s;
}
.ftsc-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 13px;
    left: 2px;
    bottom: 1px;
    background-color: #fff;
    border-radius: 10px;
    -webkit-transition: .4s;
    transition: .4s;
}
.fts-tab-data{
    display: none;
}

/* flight detail popup */
.ftsd-detail-header {
    position: relative;
    background-color: #efefef;
    padding: 15px 15px 15px 65px;
    cursor: pointer;
    text-align: center;
}
.ftsd-detail-header .ftsd-airline-name {
    color: #005baa;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 20px; 
}
.ftsd-detail-header:hover .ftsd-arrow-wrap{
    background-color: #0d82e9;
}
.ftsd-detail-header .ftsd-city {
    color: #005baa;
    font-weight: bold;
    font-size: 18px;
}
.ftsd-arrow-wrap{
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    background-color: #005baa;
    height: 100%;
    transition: 0.3s;
}
.ftsd-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}
.ftsd-arrow:before{
    content: "";
    width: 10px;
    height: 10px;
    border-left: 2px solid #fff;
    border-top: 2px solid #fff;
    transform: rotate(-45deg);
 }
.ftsd-search-detail .ftsd-last-updated {
    padding: 15px 0;
    text-align: center;
}
.ftsd-last-updated .btn {
    color: #000 !important;
    font-size: 14px;
    font-weight: normal;
    text-transform: capitalize;
    border-radius: 9px;
    box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
    border: 1px solid #ccc;
    background-color: transparent;
}
.ftsd-last-updated .btn:hover {
    background-color: #e6e6e6;
    border-color: #adadad;
}
.ftsd-detail-body {
    padding: 15px 10px;
}
.ftsd-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 25px;
}
.ftsd-details > div {
    padding: 10px 0;
    border-bottom: 1px dashed lightgray;
    flex: 0 0 45%;
    margin: 5px 0;
}
.ftsd-details > div > div {
    font-size: 18px;
    font-weight: bold;
}
.ftsd-details .ftsd-label {
    color: black;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.2;
}

/* range-slider */
.fts-range-wrap{
    padding: 50px 0;
    max-width: 80%;
    margin: 0 auto; 
}
.fts-range-wrap .irs--flat .irs-min, .fts-range-wrap .irs--flat .irs-max {
    display: none;
}
.fts-range-wrap .irs{
    font-family: "Libre Franklin", sans-serif;
}
.fts-range-wrap .irs--flat .irs-from, .fts-range-wrap .irs--flat .irs-to, .fts-range-wrap .irs--flat .irs-single {
    background-color: #005baa; 
    font-size: 16px;
    padding: 3px 7px; 
}
.fts-range-wrap .irs--flat .irs-handle>i:first-child {
    background-color: #0f77d1; 
    top: 9px;
    left: 0;
    width: 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}
.fts-range-wrap .irs--flat .irs-handle.state_hover>i:first-child, .fts-range-wrap .irs--flat .irs-handle:hover>i:first-child {
    background-color: #005baa; 
}
.fts-range-wrap .irs--flat .irs-bar {
    background-color: rgba(0, 91, 170, 0.5); 
}
.fts-range-wrap .irs--flat .irs-from:before, .fts-range-wrap .irs--flat .irs-to:before, .fts-range-wrap .irs--flat .irs-single:before {
    border-top-color: #005baa;
}
.fts-range-wrap .irs--flat .irs-line, .fts-range-wrap .irs--flat .irs-bar {
    top: 34px; 
}
.fts-range-wrap .irs-grid {
    bottom: -8px;
}


/* responsive */
@media (max-width: 1024px) {
    .fts-results{
        margin-left: 0;
        margin-right: 0;
    }
    .fts-results .fts-res, .fts-results .fts-time, .fts-results .fts-delay {
        padding: 0;
        width: 100%;        
    }
    .fts-results {
        justify-content: center;
        text-align: center;
    }
}
@media (max-width: 768px) {
    .fts-table-desktop {
        display: none;
    }
    .fts-table-mobile {
        display: table;
    }
    .fts-select {
        justify-content: center;        
        text-align: center;
    }
    .fts-select-title, .fts-find-select {
        width: 100%;
        margin-right: 0;
        margin-bottom: 4px;
    }
    .fts-days-select{
        width: 100%;
    }
}
@media (max-width: 480px) {
    .fts-find-select select{
        width: 200px; 
    }
}