
div[ng-if="segment.carrier !== 'Air Canada'"] {
    display: none;
}
span[ng-if="segment.mealsBusiness === 'No Menu Available'"] {
    color: darkgrey;
}
.tabs-magnet>.tabs-container .container-fluid .row.secondary-section-container .col-sm-6, .tabs-magnet > .tabs-container .container-fluid .row .col-sm-6 {
    padding:5px 15px;
}

.tabs-magnet > .tabs-container .container-fluid .row, .tabs-magnet > .tabs-container .container-fluid .row + .row {
    margin: 0px;
}
div#RFtoggleMeals {
    margin: 0px 20px;
}
.tabs-magnet>.tabs-container .container-fluid .supplementary-wrapper {
    margin-top: 0px;
}
div#returnDateButton {
    padding: 0px !important;
}
.segOperCarrier {
    margin: 7px;
}
div.btnTimetableSearch {
    padding: 0px 5px;
}
#btnStatusByNumberSearch {
    width: 100%;
}
.iconFlight .ac-icon, .iconFlight span {
    display: table-cell;
    vertical-align: middle;
    padding-right: 5px;
}
div.glyph-holder span.default {
    margin-top: 5px;
}

/* FLIGHT-SCHEDULES CSS */

.time-table {color: #c8c8c8;background: #4A4F55;padding: 40px;}

.time-table .glyph-input-wrapper i {color: #4a4f55;}

.REDMAPLE{color:#D8292F; font-size: 26px;}
.REDROUGE{color: #a30034; font-size: 26px;}
.BLACKMAPLE {color:#4A4F55; font-size: 26px;}
.STARALLIANCE {background: url('/content/dam/aircanada/portal/images/logos/ac_star_rondelle.png') no-repeat 0 center; width: 26px; height:26px;}
.OAL {color:#0092AF; font-size: 26px;}

i.ac-icon.ac-roundel-rouge {
    font-size: 22px;
	text-align: center;
}

time abbr { border-bottom:none !important; cursor: default !important;}
.time-table-results { width:100%;}

.time-table-results .candyStrip-dark{
	background-color: #f7f7f7;
}

.form-container-standard [type="checkbox"] + .form-label-text, .form-container-standard [type="radio"] + .form-label-text{
    color: #fff;
}

.time-table-search-results .carrierlist{
    margin-left: 10px;
}
.time-table-results .op sup{
    top: -0.8em;
    left: 0.2em;
}

.time-table-title{
    font-size: 24px;
}
.tabs-magnet > .tabs-container .container-fluid .row.checkbox-gutter{
    margin-left: 0;
}
.tabs-magnet > .tabs-container .container-fluid .row .col-sm-6{
    padding-left: 5px;
}
.container-time-table{
    position: relative;
}
.container-time-table.time-table-min-height-spinner{
	min-height: 180px;
}
#container-time-table-spinner div{
    position: absolute;
    z-index: 1000;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255,255,255,0.7);
}
.flight-status-section .form-container-standard label{
    margin-top: 0;
}
.flight-status-section .form-container-standard .form-control{
    margin-bottom: 0;
}


.form-container-standard [type="checkbox"] + label > .form-label-text,
.form-container-standard [type="radio"] + label > .form-label-text{
    color: #fff;
}
.tabs-magnet>.tabs-container .container-fluid .supplementary-wrapper .col-sm-4{
	padding-left: 5px;
}

.ac-icon.BLACKMAPLE.ac-roundel-aircanada:before{
	color: #4A4F55;
}
[data-ng-show="tabService.isSet(1)"] .glyph-input-wrapper .ac-icon.glyph.glyph-left {
    left: .357em;
    margin-top: 2px;
}
[data-ng-show="tabService.isSet(2)"] .glyph-input-wrapper .ac-icon.glyph.glyph-left {
    left: .357em;
    margin-top: 4px;
}
@media (max-width: 1024px) {

    [data-ng-show="tabService.isSet(1)"] .glyph-input-wrapper .ac-icon.glyph.glyph-left {
        left: .357em;
        margin-top: -2px;
    }
    [data-ng-show="tabService.isSet(1)"] #returnDateButtonFN .glyph-holder span.default, [data-ng-show="tabService.isSet(1)"] #returnDateButtonFN .glyph-holder span.value {
        padding-bottom: 15px;
    }
    [data-ng-show="tabService.isSet(2)"] #returnDateButton .glyph-input-wrapper .ac-icon.glyph.glyph-left {
        margin-top: -2px;
    }
    [data-ng-show="tabService.isSet(2)"] #returnDateButton .glyph-holder span.default, [data-ng-show="tabService.isSet(2)"] #returnDateButton .glyph-holder span.value {
        padding-bottom: 14px;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .flight-status-section .form-container-standard .form-control {
        margin-bottom: 15px;
    }
}
@media (min-width: 768px) and (max-width: 1200px){
    /*Forcing base css to look as the mockup*/
    #pageMain.ac-base-template .content-wrapper { padding:0;}
    .time-table { padding:40px 20px;}
    .time-table .checkbox label { color:#ffffff;}
    /*END: Forcing base css to look as the mockup*/
}

@media (min-width: 768px){
    .time-table-search-results h2 { padding:10px;}
    .time-table-search-results p { padding:10px 20px 0; font-size:87%;}
    .time-table-noresult p{
        padding-left: 0;
        font-size: 100%;
    }

    h2 .origin { margin-left:20px; font-size: 24px; font-weight: 400;}
    h2 .destination { margin-right:20px; font-size: 24px; font-weight: 400;}
    h2 time { font-size:16px; font-weight: 400;}
    h2 time b { font-weight:normal;}

    .time-table-results thead th { background-color:#e6e6e6; border-left:1px solid #ffffff; font-weight:600; padding:10px 0;}
    .time-table-results thead th:first-child { border-left:none;}

    .time-table-results tr .op { width:7%;}
    .time-table-results tr .duration,
    .time-table-results tr .aircraft { width:11%;}

    /*.time-table-results tr .departure,
    .time-table-results tr .arrival { width:8%;}*/
    .time-table-results tr .departure .bold,
    .time-table-results tr .arrival .bold { padding-right: 10px;}

    .time-table-results tr .flight { width:34.5%;}
    /*.time-table-results tr .connections,*/
    .time-table-results tr .meals,
    .time-table-results tr .wifi { width:34.5%;}

    .time-table-results tbody td { padding:13px 2px 13px 5px; border-left:1px solid #e6e6e6; border-bottom:1px solid #e6e6e6;}
    .time-table-results tbody td:first-child { border-left:none;}

    .time-table-results tr.first-segment td,
    .time-table-results tr.connection td {border-bottom:none;}
    .time-table-results tr.last-segment td {border-bottom:1px solid #e6e6e6;}

    .time-table-results tr.first-segment td{
        padding-top: 13px;
    }
    .time-table-results tr.connection td{
        padding-top: 7px;
        padding-bottom: 7px;
    }
    /*.time-table-results tr.last-segment td{
        padding-bottom: 13px;
    }*/

    .time-table-results tr .op span { display:inline-block; margin:0 0 -5px 31%; padding:0; width:19px; height:18px;}

    .time-table-note{
	    font-size: 87%;
	    margin-left: 20px;
	}
}

@media (max-width: 767px) {
    /*Forcing base css to look as the mockup*/
    #pageMain.ac-base-template .content-wrapper { padding:0;}
    .time-table { padding:40px 20px;}
    .time-table .checkbox label { color:#ffffff;}
    /*END: Forcing base css to look as the mockup*/

    h1.page-heading span { display:block;}

    h2 time { display:block; background: #4A4F55; color:#ffffff; padding:10px; margin-top:10px; font-weight:normal;}
    h2 time b { font-weight:normal;}
    h2 time abbr { font-weight:bold;}
    h2 time abbr.month { font-weight:normal;}

    .time-table-search-results { margin-top:10px; margin-bottom:30px; padding-bottom:30px; border-bottom:1px #e6e6e6 solid;}
    .time-table-search-results h2 { margin-bottom: 0}
    .time-table-search-results h2 i { margin-left:10px;}
    .time-table-search-results p { padding:0 10px 30px;}
    .time-table-noresult p{ font-size: 100%; }

    .time-table-results { margin-bottom:20px; }

    /* Force table to not be like tables anymore */
    .time-table-results, .time-table-results thead, .time-table-results tbody, .time-table-results th, .time-table-results td, .time-table-results tr {
        display: block;
    }
    .time-table-results{
        border:0;
    }
    .time-table-results thead {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .time-table-results tbody{
        margin-top: 20px;
        border: 1px solid #e6e6e6;
        background-color: #f9f9f9;
    }
    .time-table-results tr td{
        border: 0 solid transparent;
    }

    .time-table-results tr .op {width:19%;text-align:center;}
    .time-table-results tr .departure,
    .time-table-results tr .arrival,
    .time-table-results tr .duration {width:50%;text-align:left;border-top: 2px dotted #e6e6e6 !important;}
    .time-table-results tr .arrival {width:50%;text-align:right;padding-right: 15px; border-top: 2px dotted #e6e6e6 !important;}
    .time-table-results tr .op,
    .time-table-results tr .departure,
    .time-table-results tr .arrival,
    .time-table-results tr .duration {
        float:left;
        padding-top:30px;
        position: relative;
        padding-bottom:10px;
        font-weight:bold;
    }

    .time-table-results tr .departure time, .time-table-results tr .arrival time {
        font-weight: normal;
    }

    .time-table-results tr.connection .op,
    .time-table-results tr.connection .departure,
    .time-table-results tr.connection .arrival,
    .time-table-results tr.connection .duration {padding-top:10px;}

    .time-table-results tr.connection .op:before,
    .time-table-results tr.connection .departure:before,
    .time-table-results tr.connection .arrival:before,
    .time-table-results tr.connection .duration:before,
    .time-table-results tr .op:before,
    .time-table-results tr .departure:before,
    .time-table-results tr .arrival:before,
    .time-table-results tr .duration:before {
        display:inline-block;
        text-transform:uppercase;
        content:attr(data-label);
        top:10px;
        font-weight:600;
    }

    .time-table-results tr .op:before { left:19px;}
    .time-table-results tr .op span { display:inline-block; margin:0 auto -5px auto; padding:0; width:19px; height:18px;}

    .time-table-results tr .flight {padding-top:7px;}

    .time-table-results tr .aircraft,
    .time-table-results tr .flight,
    .time-table-results tr .connections,
    .time-table-results tr .meals,
    .time-table-results tr .wifi {
        position: relative;
        text-align:left;
        padding-left:140px;
        padding-top:7px; padding-bottom:7px;
        clear:both;
        font-weight:bold;

    }
    .time-table-results tr .connections,
    .time-table-results tr .aircraft{ height: 22px; }
    .time-table-results tr .flight,
    .time-table-results tr .departure{
        padding-left: 15px;
    }

    .time-table-results tr .meals,
    .time-table-results tr .wifi {
        top: -78px;
        width: 50%;
        left: 50%;
        text-align: right;
        margin: 0px;
        padding: 10px 14px 15px 0px;
        font-weight: normal;
    }
    tr.connection {
        max-height: 80px;
    }
    tr.connection:nth-child(odd){
        background-color: #f7f7f7;
    }
    tr.connection:nth-child(even){
        background-color: #FFF;
    }
    /*tr.first-segment.last-segment.connection, tr.first-segment.connection {
        max-height: 80px;
        background-color: #f7f7f7;
    }
    tr.last-segment.connection {
        max-height: 80px;
        background-color: #FFF;
    }*/


    .time-table-results tr .aircraft:before,
    .time-table-results tr .connections:before{
        position: relative;
        display:inline-block;
        width: 140px;
        margin-left: -135px;
        text-transform:uppercase;
        content:attr(data-label);
        text-align:left;
        float:left;
        font-weight:normal;
    }
}

@media (max-width: 462px) {
    div.bookTripType {
        padding-bottom:15px;
    }
    #departureDateLabel div.glyph-holder {
    display: inline-block !important;
    visibility: visible !important;
    }
}
