section {
    width: 100%
}

.container,
section .container {
    padding-right: 8px;
    padding-left: 8px;
}

section.demo {
    padding: 20px 0 20px;
    background: #ebedf1 url(../site_images/airport_fade_2.png);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

section.demo h3 {
    font-family: Promo, Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 25px;
    margin-bottom: 0;
    margin-top: 0;
    text-align: center;
}

section.demo h4 {
    font-weight: 300;
    font-size: 18px;
    margin: 0 auto;
    line-height: normal;
    margin-top: 10px;
    margin-bottom: 40px;
    text-align: center;
    max-width: 880px;
}

section.demo .tool form {
    text-align: left;
    /* border: 1px solid rgba(0,0,0,.15); */
    padding: 0;
    border-radius: 3px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08);
}

section.demo .tool form .inline_element {
    display: inline-block;
    width: auto;
    text-align: left;
    border-right: 1px solid rgba(0, 0, 0, .1);
    position: relative;
    padding-left: 35px;
}

section.demo .tool form .inline_element:not(.submit):before {
    font-family: Linearicons;
    display: inline-block;
    font-weight: 400;
    speak: none;
    content: "\e884";
    position: absolute;
    top: 13px;
    left: 14px;
    font-size: 20px;
    /* color: #7d7d7d; */
}

section.demo .tool form .inline_element.error {
    background: #fce3e4;
}

section.demo .tool form .inline_element.flight_no {
    margin-left: -4px;
}

section.demo .tool form .inline_element.date {
    border: 0;
}

section.demo .tool form .inline_element.airline:before {
    content: "\e60c";
}

section.demo .tool form .inline_element.flight_no:before {
    content: "\e83d";
}

section.demo .tool form .inline_element.date:before {
    content: "\e789";
}

section.demo .tool form .inline_element.date:after {
    font-family: Linearicons;
    display: inline-block;
    font-weight: 400;
    speak: none;
    content: "\e93d";
    position: absolute;
    top: 17px;
    right: 14px;
    font-size: 15px;
    font-weight: bold;
    color: #989898;
    z-index: 0;
}

section.demo .tool form .inline_element.submit {
    float: right;
    border: 0;
    padding: 0;
    width: 150px;
}

section.demo .tool form .inline_element label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
    display: none;
}

section.demo .tool form .inline_element input,
section.demo .tool form .inline_element select {
    border-radius: 0;
    border: 0;
    padding: 0 10px;
    width: 235px;
    height: 55px;
    background: transparent;
}

section.demo .tool form .inline_element select {
    position: relative;
    width: 138px;
    -webkit-appearance: none;
    z-index: 1;
}

section.demo .tool form .inline_element button {
    background: #6a7c93;
    padding: 0 0 1px 0;
    position: relative;
    border-radius: 0;
    margin: 0;
    height: 55px;
    width: 150px;
}

section.demo .tool.loading form .inline_element button {
    color: transparent;
    pointer-events: none;
    cursor: default;
    opacity: 0.5;
}

section.demo .tool.loading form .inline_element button:after {
    margin: 0 auto;
    position: relative;
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 .6s infinite linear;
    animation: load8 .6s infinite linear;
    border-top: 2px solid rgba(104, 129, 169, 0);
    border-right: 2px solid rgba(0, 0, 0, 0);
    border-bottom: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: block;
    content: '';
    top: 13px;
    left: 62px;
    position: absolute;
}

section.demo .tool {
    max-width: 875px;
    margin: 0 auto;
}

section.demo .tool.loading .result *,
section.demo .tool.error .result * {
    visibility: hidden;
}

section.demo .tool.loading .result:before {
    margin: 0 auto;
    position: relative;
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 .6s infinite linear;
    animation: load8 .6s infinite linear;
    border-top: 2px solid rgba(104, 129, 169, 0);
    border-right: 2px solid rgba(0, 0, 0, 0);
    border-bottom: 2px solid #656a71;
    border-left: 2px solid #656a71;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: block;
    content: '';
    top: 175px;
    left: 400px;
    position: absolute;
}

section.demo .tool.error .result:before {
    position: absolute;
    text-align: center;
    width: 100%;
    top: 205px;
    font-weight: 600;
    font-size: 16px;
    content: 'Sorry, we could not find your flight. Please try again.';
}

section.demo .tool.error .result:after {
    font-family: Linearicons;
    display: inline-block;
    font-weight: 400;
    speak: none;
    content: "\e89c";
    position: absolute;
    top: 135px;
    left: 410px;
    font-size: 40px;
    color: #444;
}

section.demo .tool.error.rate_limit .result:after {
    content: "\e898";
}

section.demo .tool.error.rate_limit .result:before {
    content: 'Rate limit exceeded, you may want to get a free account.';
}

section.demo .tool .center_info .show_more_less {
    position: absolute;
    bottom: 0;
    z-index: 1;
    left: 392px;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .1);
    border-bottom: 0;
    font-size: 12px;
    padding: 4px 11px;
    border-radius: 0;
    color: #989898;
    width: 89px;
    text-align: center;
}

section.demo .tool .center_info .show_more_less span {
    display: none;
}

section.demo .tool.less .center_info .show_more_less span.more {
    display: initial;
}

section.demo .tool.more .center_info .show_more_less span.less {
    display: initial;
}

section.demo .tool .center_info .show_more_less:hover {
    text-decoration: none;
    background: #fbfbfb;
}

section.demo .tool .result {
    display: block;
    width: 100%;
    background: #ffffff;
    min-height: 60px;
    margin-top: 20px;
    text-align: left;
    /* border: 1px solid rgba(0,0,0,.15); */
    padding: 0;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08);
    position: relative;
}

section.demo .tool .result .top_info {
    display: block;
    background: rgb(235, 237, 241);
    padding: 0;
}

section.demo .tool .result .top_info .flight_no_airline {
    display: inline-block;
    height: 75px;
    vertical-align: top;
    padding-top: 7px;
    width: 58%;
    padding-left: 8px;
	text-align: left;
}

section.demo .tool .result .top_info .flight_no_airline .flight_no {
    display: block;
    font-size: 22px;
    font-weight: 600;
}

section.demo .tool .result .top_info .flight_no_airline .airline {
    display: inline-block;
}

section.demo .tool .result .top_info .route {
    display: inline-block;
    height: 75px;
    vertical-align: top;
    position: relative;
    padding-top: 12px;
	width: 100%;
}

section.demo .tool .result .top_info .route .origin,
section.demo .tool .result .top_info .route .destination {
    display: inline-block;
    width: 175px;
    text-align: center;
}



section.demo .tool .result .top_info .route .origin .code,
section.demo .tool .result .top_info .route .destination .code {
    display: block;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
}

section.demo .tool .result .top_info .route .origin .name,
section.demo .tool .result .top_info .route .destination .name {
    width: 115px;
    text-overflow: ellipsis;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
}

section.demo .tool .result .top_info .status {
    display: inline-block;
    height: 75px;
    vertical-align: top;
    float: none;
    width: 39%;
    1px 1px 0 4px;
    background: #66c6bb;
    color: #ffffff;
}

section.demo .tool .result .top_info .status.active {
    background: #2fbd4f;
}

section.demo .tool .result .top_info .status.landed {
    background: #34353e;
}

section.demo .tool .result .top_info .status .status_name {
    font-size: 15px;
    font-weight: 700;
    text-transform: capitalize;
}

section.demo .tool .result .top_info .status .status_rel {
    font-size: 14px;
    font-weight: 600;
}

section.demo .tool .result .center_info {
    display: block;
    width: 100%;
    text-align: left;
    position: relative;
}

section.demo .tool .result .center_info .left {
    display: inline-block;
    float: none;
    width: 50%;
    border-right: 1px solid rgba(0, 0, 0, .1);
    text-align: center;
    padding-bottom: 25px;
}

section.demo .tool .result .center_info .right {
    display: inline-block;
    float: none;
    width: 49.5%;
    text-align: center;
}

section.demo .tool .result .center_info .terminal_gate {
    display: block;
    margin: 0 auto;
    font-size: 14px;
    font-weight: 600;
}

section.demo .tool .result .center_info .terminal_gate span:before {
    content: 'Terminal/Gate';
    float: left;
    background: #6a7c93;
    color: #ffffff;
   padding: 2px 2px 2px 0px;
    font-size: 10px;
    text-align: center;
}

section.demo .tool .result .center_info .terminal_gate span.gate:before {
    content: 'Gate';
    width: 45px;
}

section.demo .tool .result .center_info .terminal_gate .terminal {
    float: left;
    border: 2px solid #6a7c93;
    padding: 0;
    border-radius: 3px;
    height: 27px;
    text-align: center;
    position: relative;
}

section.demo .tool .result .center_info .terminal_gate .gate {
    float: right;
    border: 2px solid #6a7c93;
    padding: 0;
    border-radius: 3px;
    text-align: center;
    position: relative;
    left: -9px;
}

section.demo .tool .result .center_info .terminal_gate span i {
    font-style: unset;
    width: 51px;
    padding-top: 1px;
}

section.demo .tool .result .center_info .terminal_gate span.gate i {}

section.demo .tool .result .center_info .location .l_tag {
    display: block;
    background: #66c6bb;
    margin: 0 auto;
    margin-top: 20px;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 5px 6px 5px;
    border-radius: 50px;
    margin-bottom: 8px;
}

section.demo .tool .result .center_info .location .airport {
    font-size: 18px;
    font-weight: 600;
    display: block;
}

section.demo .tool .result .center_info .location .iata {
    font-size: 12px;
    font-weight: 600;
    color: #777;
}

section.demo .tool .result .center_info .location .icao {
    font-size: 12px;
    font-weight: 600;
    color: #777;
}

section.demo .tool .result .center_info .location .circle {
    font-size: 8px;
    color: #777;
    margin-left: 4px;
    margin-right: 4px;
    position: relative;
    top: -2px;
}

section.demo .tool .result .center_info .timing>div {
    display: inline-block;
    width: 125px;
    padding-bottom: 10px;
    border-color: rgba(0, 0, 0, .1) !important;
    border-width: 2px !important;
    background: #ebedf1;
    position: relative;
}

section.demo .tool .result .center_info .timing>div:nth-child(1) {
    border-right: 1px solid;
    border-bottom: 1px solid;
    margin-right: -10px;
    z-index: 1;
    padding-top: 10px;
    border-top-left-radius: 0;
}

section.demo .tool .result .center_info .timing>div:nth-child(2) {
    border-bottom: 1px solid;
    padding-top: 10px;
    border-top-right-radius: 0;
}

section.demo .tool .result .center_info .timing>div:nth-child(3) {
    border-right: 1px solid;
    margin-right: -10px;
    padding-top: 7px;
    z-index: 1;
    border-bottom-left-radius: 0;
}

section.demo .tool .result .center_info .timing>div:nth-child(4) {
    padding-top: 7px;
    border-bottom-right-radius: 0;
}

section.demo .tool .result .center_info .timing>div .key {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

section.demo .tool .result .center_info .timing>div .value {
    font-size: 13px;
}

section.demo .tool .result .lower_info {
    display: block;
    width: 100%;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, .1);
    text-align: center;
    background: #ebedf1;
}

section.demo .tool.less .result .lower_info {
    display: none;
}

section.demo .tool.more .result .lower_info {
    display: block;
}

section.demo .tool .result .lower_info .location {
    display: inline-block;
    width: 135px;
    text-align: left;
}

section.demo .tool .result .lower_info .speed {
    display: inline-block;
    width: 135px;
    vertical-align: top;
    text-align: left;
}

section.demo .tool .result .lower_info .aircraft {
    display: inline-block;
    vertical-align: top;
    width: 135px;
    text-align: left;
}

section.demo .tool .result .lower_info .airline {
    display: inline-block;
    vertical-align: top;
    width: 135px;
    text-align: left;
}

section.demo .tool .result .lower_info .aircraft .registration {}

section.demo .tool .result .lower_info .aircraft .iata {}

section.demo .tool .result .lower_info .aircraft .icao {}

section.demo .tool .result .lower_info .aircraft .icao24 {}

section.demo .tool .result .lower_info .l_tag {
    display: block;
    width: 120px;
    font-size: 13px;
    font-weight: 600;
    padding: 3px 0px 4px 0px;
    border-radius: 3px;
    margin-bottom: 12px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, .1);
    background: rgb(227, 229, 232);
}

section.demo .tool .result .lower_info span:not(.l_tag):not(.no_style) {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
}

section.demo .tool .result .lower_info span:not(.l_tag) strong {
    font-weight: 600;
}

section.demo .tool .result .bottom_info {
    display: block;
    width: 100%;
    background: #ebedf1;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, .1);
    height: 30px;
    color: rgba(0, 0, 0, .5);
    padding: 3px 15px 0 15px;
    text-align: left;
}

section.demo .tool .result .bottom_info span {
    font-size: 12px;
    position: relative;
}

section.demo .tool .result .bottom_info span.timestamp {
    float: right;
    position: relative;
    top: 3px;
}

section.demo .tool .result .bottom_info span.circle {
    font-size: 8px;
    color: #777;
    margin-left: 5px;
    margin-right: 5px;
    position: relative;
    top: -2px;
}

section.demo .tool .result .bottom_info span strong {
    font-weight: 600;
}

.inline {
    display: inline-block;
    position: relative;
    z-index: 1;
}

.right {
    float: right
}

section.demo .tool form {}
    section.demo .tool form .inline_element {
        display: block;
        border: 0;
    }
    section.demo .tool form .inline_element button {
        width: 100%;
    }
    section.demo .tool form .inline_element.submit {
        float: none;
        width: 100%;
    }
    
    section.demo .tool .result .top_info .route .origin,
    section.demo .tool .result .top_info .route .destination {
        width: 49%;
    }
    section.demo .tool .result .top_info .route .origin:after {
        display: block;
        position: relative;
        margin: unset;
        top: unset;
        left: unset;
        width: 100%;
        text-align: center;
        background-position: center;
    }
    section.demo .tool .result .top_info {
        height: auto;
    }
    section.demo .tool .result .center_info .left {
       display: inline-block;
float: none;
width: 49%;
border-right: 1px solid rgba(0, 0, 0, .1);
text-align: center;
padding-bottom: 25px;
    }
    section.demo .tool .result .center_info .right {
        display: inline-block;
float: none;
width: 49%;
text-align: center;
padding-bottom: 25px;
    }
    section.demo .tool .center_info .show_more_less {
        display: none;
    }
    section.demo .tool .result .bottom_info {
        height: auto;
        padding-bottom: 15px;
    }
    section.demo .tool .result .bottom_info span {
        display: inline-block;
        width: 100%;
        text-align: left;
        position: relative;
        float: none !important;
    }
    section.demo .tool .result .bottom_info span.circle {
        display: none;
    }