.nav-tabs {
    border: none;
}

a:active,
a.active {
    text-decoration: none;
}

.nav-tabs li a {
    border: none;
}

#tabsContent>.active {
    border-top: 1px solid #c8c8c8;
    margin-top: 30px;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
    color: #FFFFFF;
    background-color: white;
    border: none;
    border-bottom-color: transparent;
    cursor: default;
}

.nav-tabs>li.active:after {
    display: none;
}

.tab-content {
    padding-left: 30px;
}

.tab-pane .active:focus {
    outline: 1px dotted #5E9ED6;
}

.nav>li>a:hover,
.nav>li>a:focus {
    text-decoration: none;
    background-image: linear-gradient(to bottom, #faf9f8, #ffffff 106%) !important;
}

.ac-table-full-width {
    width: 100%;
    table-layout: fixed;
}

.nav-tabs {
    border: none;
    padding: 0px;
    background-image: linear-gradient(to bottom, #faf9f8, #ffffff 106%) !important;
}

.child-tab li {
    float: none;
    margin-bottom: 0px;
}

.child-tab li.active {
    background-color: #fff;
    background-image: none;
}

.child-tab li.active a,
.child-tab li.active a:hover,
.child-tab li.active a:focus {
    border-left: 4px solid #d8292f;
    mix-blend-mode: multiply;
    box-shadow: -2px 3px 7px 0 #e6e6e6;
    background-color: #fff;
    color: #2a2a2a;
    font-weight: 600;
}

.child-tab li a {
    padding: 25px 0px 25px 30px;
    border: none;
    font-size: 16px;
    background-color: transparent;
    border-left: 4px solid transparent;
    display: block;
    color: #2a2a2a;
}

.tab-container .tab-content h2 {
    margin-bottom: 15px;
}

.tab-container .tab-pane {
    margin-top: 0px;
    padding-top: 2em;
}

.tab-container .tab-pane table.ac-table {
    box-shadow: 0 4px 14px 0 rgba(200, 200, 200, 0.38);
    margin-bottom: 20px;
}

.appr-boxes {
    text-align: center;
}

.appr-boxes h4 {
    margin-top: 25px;
    color: #d8292f !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.31;
}

.appr_footer {
    background-color: #f9f9f9;
    padding: 25px 40px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.appr-spacer:after {
    width: 0.7px;
    height: 275px;
    content: "";
    position: absolute;
    background-color: #d4d4d4;
    right: 10px;
    top: 0;
}

.appr_footer p {
    margin-bottom: 10px;
}

.appr_footer h4 {
    font-weight: 500 !important;
}

.appr-checks {
    width: 30px;
    height: 31px;
    background-color: #00b100;
    color: white;
    border-radius: 27px;
    display: block;
    text-align: center;
    padding-top: 10%;
}

.fc-topNav a {
    width: 30%;
    display: inline-block;
}

.fc-topNav {
    margin-bottom: 30px;
    margin-top: 20px;
    font-size: 17px;
}

@media only screen and (min-width:992px) {
    /** tablet in potrait or bigger than 1025 need to display normal menu**/
    .dropdown {
        display: none !important;
    }
    .nav-tabs>li>a>img {
        max-width: none;
        width: 70%;
    }
}

@media (min-width:1025px) {
    /* big landscape tablets, laptops, and desktops */
    .dropdown {
        display: none !important;
    }
}

@media (min-width:1281px) {
    /* hi-res laptops and desktops */
    .dropdown {
        display: none !important;
    }
}

@media only screen and (max-width:991px) {
    /**
    * small mobile or any device that need dropdown
    * when making dropdown using jquery it sometimes does not show on first try because jquery make element with default of display none
    **/
    .dropdown {
        display: block !important;
    }
    .fc-topNav a {
        width: 30%;
        display: inline-flex;
    }
    .appr-checks {
        width: 30px;
        height: 31px;
        background-color: #00b100;
        color: white;
        border-radius: 27px;
        display: block;
        text-align: center;
        padding-top: 18%;
        right: 0em;
        position: absolute;
    }
     :lang(en) .atpdr-nav .tier-btn:before {
        content: 'Select category';
        position: absolute;
        top: 7px;
        color: #4a4f55;
        font-size: 12px;
        line-height: 1.75;
    }
    .show-menu li:hover {
        background-color: #f9f9f9;
        cursor: pointer;
        font-weight: 600;
    }
    .tier-menu li a {
        padding: 20px 14px;
        font-size: 14px;
    }
    .tier-menu li.selected:hover {
        cursor: context-menu;
    }
     :lang(fr) .atpdr-nav .tier-btn:before {
        content: 'Sélectionner une catégorie';
        position: absolute;
        top: 7px;
        color: #4a4f55;
        font-size: 11px;
        line-height: 1.75;
    }
    .display {
        font-weight: 600;
        line-height: 1.17;
        color: #2a2a2a;
        font-size: 16px;
    }
    .glyph.glyph-right.ac-icon.ac-1nx.arrow-thick-up {
        float: right;
        margin-top: -5px;
    }
    .tier-menu .selected {
        border-left: none;
        mix-blend-mode: multiply;
        box-shadow: none;
        background-color: #fff;
        color: #c8c8c8;
        font-weight: 600;
    }
    .tab-content {
        padding-left: 0px;
    }
    .nav-tabs>li>a>img {
        max-width: none;
        width: 100%;
    }
    .show-menu li:hover {
        background-color: #f9f9f9;
        cursor: pointer;
        box-shadow: -2px 3px 7px 0 #e6e6e6;
    }
    .show-menu li:focus {
        border-left: 4px solid #d8292f;
        mix-blend-mode: multiply;
        box-shadow: -2px 3px 7px 0 #e6e6e6;
        background-color: #fff;
        color: #2a2a2a;
        font-weight: 600;
    }
    .tier-menu {
        position: relative;
        display: none;
        margin-top: 5px;
        box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 6px 0px;
        z-index: 5;
        padding: 0px;
    }
    .tier-menu.show-menu {
        display: block;
        background: rgb(255, 255, 255);
        color: rgb(0, 0, 0);
        height: auto;
    }
    .tier-menu.show-menu li {
        list-style: none;
        font-size: 14px;
        padding: 20px 10px;
    }
    button.tier-btn {
        text-align: left;
        border-radius: 4px;
        border: solid 1px #737373;
        background-image: linear-gradient(to bottom, #ffffff 50%, #f9f9f9);
        padding: 30px 10px 15px;
        width: 100%;
    }
    #tabsContent>.active {
        border-top: none;
    }
    .tab-container {
        border-top: none;
        margin-top: 35px;
        padding: 0px 5px;
    }
    .tab-container .tab-content {
        margin: 0px 5px 15px;
    }
    .tab-container .tab-pane {
        padding-top: 30px;
    }
    .child-tab {
        display: none;
    }
    .child-tab li a {
        padding: 20px 10px;
    }
    .child-tab li.active a {
        border-left: none;
        mix-blend-mode: multiply;
        box-shadow: none;
        background-color: #fff;
        color: #c8c8c8;
        font-weight: 600;
    }
    .child-tab li.active a:after {
        background: url(/content/dam/aircanada/portal/images/atpdr/icon-check.svg);
        display: block;
        float: right;
        content: '';
        width: 12px;
        height: 12px;
        margin-top: 3px;
    }
    .child-tab li a:hover,
    .child-tab li.active a:hover,
    .child-tab li.active:hover a {
        border-left: none;
        background-color: #f9f9f9;
        font-weight: 600;
    }
    .child-tab li.active a:focus {
        outline: initial;
    }
    .with-icon p.col {
        overflow: hidden;
    }
    ol.steps li {
        min-height: 0px;
    }
    .tbody .with-icon p:nth-of-type(1):before {
        background: url(/content/dam/aircanada/portal/images/atpdr/icon-world-white.svg) no-repeat;
    }
    #questions-tab .bg-grey.flex .col {
        padding-right: 5px;
    }
    .appr-spacer:after {
        display: none;
    }
     :lang(zh) #box_delayed h4 {
        line-height: 0;
    }
}

@media (min-width:320px) {
    .dropdown {
        display: block !important;
    }
    .nav-tabs>li>a>img {
        max-width: none;
        width: 100%;
    }
}

@media (min-width:481px) {
    .dropdown {
        display: block !important;
    }
    .nav-tabs>li>a>img {
        max-width: none;
        width: 70%;
    }
}

@media (min-width:641px) {
    .dropdown {
        display: block !important;
    }
    .nav-tabs>li>a>img {
        max-width: none;
        width: 50%;
    }
}