﻿.flights-loader {
    width: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
    pointer-events: none
}

.results {
    position: relative
}

.flights-loader .elipsis-loader-wrap {
    vertical-align: middle;
    display: table;
    width: 100%;
    text-align: center;
    color: #4d4d4d;
    font-size: 35px;
    padding: 15px;
}

.flights-loader .elipsis-loader {
    position: relative;
    display: table-cell;
    vertical-align: middle;
    z-index: 12;
}

.elipsis-loader>span {
    width: .35em;
    height: .35em;
    border-radius: 50%;
    display: inline-block;
    -webkit-animation: bouncedelay 1.5s infinite ease-in-out;
    animation: bouncedelay 1.5s infinite ease-in-out;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    position: relative;
    left: -2px;
    background: #fff;
}

.flights-loader .elipsis-loader>span {
    background: #4d4d4d;
}

.elipsis-loader .dot1 {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}

.elipsis-loader .dot2 {
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s;
}

@keyframes bouncedelay {
    0%,
    80%,
    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
        opacity: 1;
    }
    40% {
        transform: scale(.5);
        -webkit-transform: scale(.5);
        opacity: 0;
    }
}

.results {
    position: relative
}

#flight-info .nav-pills>li>a {
    background-color: #dadada;
    padding: 20px 30px;
    font-size: 16px;
}

#flight-info .nav-pills>li.active>a,
#flight-info .nav-pills>li.active>a:focus,
#flight-info .nav-pills>li.active>a:hover {
    color: #272626;
    background-color: #f1f0f0;
    font-weight: bold;
}

#flight-info .tab-content {
    background-color: #f1f0f0;
    padding: 40px 25px 25px 25px;
}

#flight-info .form-group-lg.form-group {
    margin-bottom: 15px;
}

.results-heading {
    padding-bottom: 30px
}

.results-heading h3 {
    font-weight: 400;
    color: #272626;
    font-size: 25px;
}

.results-heading h3 span {
    color: #a4a4a5;
    font-size: 80%;
}

.results-data {
    -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.results-data-block-wrap {
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 4px -1px #c5c5c5;
    margin: 20px 0;
}

.results-data-block,
.results-data-block-nested {
    border-collapse: collapse;
    display: table;
    width: 100%;
    margin: 0;
}

.results-data-cell {
    border-bottom: 1px solid #e7e7e7;
    padding: 20px 0 20px 20px;
}

.results-data-more {
    clear: both;
    border-top: 1px solid #e7e7e7;
    padding: 8px 0;
    text-align: center;
    display: none
}

.results-data-title {
    clear: both;
    border-bottom: 1px solid #e7e7e7;
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    color: #272626;
}

.results-data-title .sub-title {
    margin-top: 5px;
    font-size: 14px;
    font-weight: 400;
    color: #696969;
}

.results-data-title .sub-title .status {
    font-weight: 700;
    font-size: 16px
}

.results-data-block dl {
    margin-bottom: 0
}

.results-data-block dt {
    float: left;
    width: 30%;
    font-size: 14px;
    line-height: 21px;
    font-weight: 300
}

.results-data-block dd {
    font-size: 14px;
    line-height: 21px;
    margin-bottom: 5px;
    font-weight: 700
}

.results-data-block dl dd:last-child {
    margin-bottom: 0
}

.cell-times span {
    text-align: center;
    font-size: 14px;
    line-height: 21px;
}

.cell-times span.times-actual,
.cell-fltInfo span.times-actual {
    font-size: 16px;
    line-height: 21px;
    font-weight: 700;
    display: block
}

.cell-times span {
    text-align: left;
}

#airport-results .cell-status {
    color: #696969;
    background: #fff;
    background-color: #fff;
}

.cell-status span {
    font-size: 14px;
    line-height: 21px;
}

.cell-status span.status,
.cell-fltInfo span.status {
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 700
}

.cell-status span.gate {
    font-size: 14px;
}

.cell-times span.times-actual {
    font-size: 16px;
    color: #272626;
}

.cell-times span.times-scheduled,
.cell-fltInfo span.times-scheduled {
    text-decoration: line-through;
}

#airport-results .landed .cell-status,
#airport-results .fltNo .landed.results-data-cell {
    box-shadow: inset 5px 0 0 0 #5cb85c;
    background: #f4f9f0;
}

#airport-results .landed .cell-times span.times-actual,
#airport-results .landed .cell-status span.status,
#airport-results .landed .cell-fltInfo span.times-actual,
#airport-results .landed .cell-fltInfo span.status,
#airport-results .results-data-title.landed .status,
#airport-results .landed.cell-status .status {
    color: #5cb85c;
}

#airport-results .delayed .cell-status,
#airport-results .fltNo .delayed.results-data-cell {
    box-shadow: inset 5px 0 0 0 #db4b55;
    background: #f9ebed;
}

@media (max-width:767px) {
    #airport-results .results-data-title.delayed {
        box-shadow: inset 5px 0 0 0 #db4b55;
        background: #f9ebed;
    }
    #airport-results .results-data-title.landed {
        box-shadow: inset 5px 0 0 0 #5cb85c;
        background: #f4f9f0;
    }
    #airport-results .results-data-title.cancelled,
    .results-data-title.cancelled .sub-title {
        background: #fff;
    }
    .results-data-block dt {
        float: none;
        width: 100%;
    }
}

#airport-results .delayed .cell-times span.times-actual,
#airport-results .delayed .cell-status span.status,
#airport-results .delayed .cell-fltInfo span.times-actual,
#airport-results .delayed .cell-fltInfo span.status,
#airport-results .results-data-title.delayed .status,
#airport-results .delayed.cell-status .status {
    color: #db4b55
}

.cell-fltInfo {
    font-size: 14px;
    line-height: 21px;
    display: block;
    margin-bottom: 10px;
}

@media (min-width: 481px) {
    .results-data-cell {
        border-bottom: 0;
        border-right: 1px solid #e7e7e7;
        display: table-cell;
        float: none;
        padding: 20px 0 20px 20px;
        vertical-align: middle;
    }
    .fltNo .results-data-cell {
        vertical-align: top;
    }
    .results-data-cell.forty {
        width: 35%
    }
    .results-data-cell.twenty {
        width: 30%
    }
    .cell-times span {
        text-align: center;
        display: block;
        margin-left: -20px
    }
    .results-data-block dd {
        margin-bottom: 10px;
    }
    .cell-status span {
        display: block;
    }
}

@media (min-width: 769px) {
    .results-data-cell.forty {
        width: 40%
    }
    .results-data-cell.twenty {
        width: 20%
    }
    .results-data-cell.eighty {
        width: 80%
    }
}

#airport-results .results-data-block-wrap.cancelled {
    color: #a9a8a7;
    background: #ecebeb;
}

#airport-results .cancelled .cell-times span.times-actual {
    color: #a9a8a7;
}

#airport-results .text-canceled {
    color: #dc3545!important;
}

.results-data-block-nested .results-data-cell:first-child .cell-fltInfo .times-actual:before {
    content: "\e901";
    font-family: 'tf-portal' !important;
    font-weight: normal;
    font-size: 150%
}

.results-data-block-nested .results-data-cell:last-child .cell-fltInfo .times-actual:before {
    content: "\e902";
    font-family: 'tf-portal' !important;
    font-weight: normal;
    font-size: 150%
}

#single-flight-status-result .results-data-block-wrap.cancelled .results-data-block-nested .results-data-cell:last-child .cell-fltInfo {
    display: none;
}

#single-flight-status-result .results-data-cell.cancelled .status.mt-10,
#single-flight-status-result .cancelled .status.visible-xs,
#flight-status-results .results-data-block-wrap.cancelled .cell-status .status {
    color: #db4b55;
}