.cd-secondary-nav {
    position: relative;
    z-index: 1;
    clear: both;
    width: 100%;
    height: 50px;
    background-color: #25283D;
    /* Force Hardware Acceleration */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
    -webkit-transition: -webkit-transform .5s;
    transition: -webkit-transform .5s;
    transition: transform .5s;
    transition: transform .5s, -webkit-transform .5s;
}
.cd-secondary-nav::after {
    /* gradient on the right - to indicate it's possible to scroll */
    content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    height: 100%;
    width: 35px;
    background: transparent;
    background: -webkit-linear-gradient(right, #25283D, rgba(37, 40, 61, 0));
    background: linear-gradient(to left, #25283D, rgba(37, 40, 61, 0));
    pointer-events: none;
    -webkit-transition: opacity .2s;
    transition: opacity .2s;
}
.cd-secondary-nav.nav-end::after {
    opacity: 0;
}
.cd-secondary-nav ul, .cd-secondary-nav li, .cd-secondary-nav a {
    height: 100%;
}
.cd-secondary-nav ul {
    /* enables a flex context for all its direct children */
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding: 0 5%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.cd-secondary-nav ul::after {
    clear: both;
    content: "";
    display: block;
}
.cd-secondary-nav li {
    display: inline-block;
    float: left;
    /* do not shrink - elements float on the right of the element */
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
.cd-secondary-nav li:last-of-type {
    padding-right: 20px;
}
.cd-secondary-nav a {
    display: block;
    color: #ffffff;
    opacity: .6;
    line-height: 50px;
    padding: 0 1em;
}
.cd-secondary-nav a:hover, .cd-secondary-nav a.active {
    opacity: 1;
}
@media only screen and (min-width: 1024px) {
    .cd-secondary-nav {
        height: 70px;
        overflow: visible;
    }
    .cd-secondary-nav ul {
        /* reset mobile style */
        display: block;
        text-align: center;
    }
    .cd-secondary-nav li {
        /* reset mobile style */
        float: none;
        -webkit-flex-shrink: 1;
        -ms-flex-negative: 1;
        flex-shrink: 1;
    }
    .cd-secondary-nav a {
        line-height: 70px;
    }
    .cd-secondary-nav a.active {
        box-shadow: inset 0 -3px #8F3985;
    }
}