/* Shared flight navigation tabs (Arrival / Departure / Airlines).
   Mirrors the ".page-tabs" component used by the Dine / Shop / Art Galleries navbar.
   Used by: flightArrival.cshtml, flightDeparture.cshtml, airlineList.cshtml */

.page-tabs2 {
    border-bottom: solid 1px rgba(151, 151, 151, 0.38);
}

.page-tabs2 ul {
    width: 100%;
    white-space: nowrap;
    flex-wrap: nowrap;
    overflow-y: hidden;
    overflow-x: auto;
    justify-content: center;
    padding: 0;
}

.page-tabs2 li {
    margin: 0 25px;
}

.page-tabs2 a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0;
    padding: 28px 0 30px 0;
    color: #000000;
    font-size: 16px;
    font-weight: bold;
    text-transform: none;
    letter-spacing: normal;
}

.page-tabs2 svg {
    margin-right: 10px;
    flex-shrink: 0;
}

.page-tabs2 .active a,
.page-tabs2 a:hover {
    color: #000000;
}

/* Red underline sized to the item, replaces the caret/triangle indicator */
.page-tabs2 a:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 0;
    height: 4px;
    margin: auto;
    margin-top: -4px;
    border-bottom: 4px solid #da291c;
    transition: all 0.5s;
}

.page-tabs2 a:hover:after,
.page-tabs2 .active a:after {
    width: 100%;
}

@media (max-width: 767px) {
    .page-tabs2 ul {
        display: block;
        text-align: center;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .page-tabs2 li {
        display: inline-block;
        margin: 0 12px;
    }

    .page-tabs2 a {
        display: inline-flex;
        padding: 20px 0 22px 0;
        margin-right: 0;
        margin-left: 0;
        font-size: 15px;
    }
}