#centene-nav-main-wrapper {
    background-color: @white;
    font-family: "Roboto-Italic", sans-serif;
    font-weight: 700;
    position: relative;
    .navbar-brand-wrapper, .navbar-search-wrapper {
        background-color: @white;
        height: 71px;
        width: 100vw;
        max-width: 100%;
        top: 0;
        border-bottom: 1px solid @centenedotcom-light-grey;
        padding-top: 15px;
    }
    .navbar-search-wrapper {
        position: absolute;
        top: 0;
        -webkit-transform: translate(-100vw, 0);
        transform: translate(-100vw, 0);
        -webkit-transition: -webkit-transform 0.3s ease-in;
        transition: -webkit-transform 0.3s ease-in;
        transition: transform 0.3s ease-in;
        transition: transform 0.3s ease-in, -webkit-transform 0.3s ease-in;
        z-index: 1;
        .navbar-toggle {
            height: 24px;
        }
    }
    .navbar-header {
        max-width: 100%;
    }
    .navbar-brand {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        color: transparent;
        overflow: hidden;
        font-size: 0;
        text-indent: -100vw;
        width: 150px;
    }
    .navbar-toggle {
        padding: 0;
        border: none;
        margin-right: 0;
        display: block;
    }
    .icon-bar {
        background-color: @centenedotcom-navy;
        height: 4px;
        width: 24px;
    }
    .x-bar {
        display: block;
        background-color: @centenedotcom-navy;
        position: relative;
        left: 1px;
        height: 4px;
        width: 26px;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        &:last-of-type {
            -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
            top: -4px;
        }
    }
    input[type=search] {
        border-radius: 17px;
        display: inline-block;
        font-size: 12px;
        height: 36px;
        letter-spacing: 0.04em;
        text-indent: 10px;
        width: 100%;
    }
    form {
        display: inline-block;
        position: relative;
        color: @centenedotcom-medium-grey;
        width: 71.72%;
    }
    .button-search-centeneDotCom {
        position: absolute;
        right: 10px;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        height: 20px;
        width: 20px;
        color: transparent;
        overflow: hidden;
        font-size: 0;
        text-indent: -100vw;
        background-image: url(/etc.clientlibs/centene/clientlibs/clientlibs-main/resources/images/icon-search.svg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-color: transparent;
    }
    .navbar-open {
        position: absolute;
        background-color: @white;
        width: 100vw;
        max-width: 100%;
        min-height: calc(100vh - 70px);
        top: 70px;
        -webkit-transform: translate(-100vw, 0);
        transform: translate(-100vw, 0);
        -webkit-transition: -webkit-transform 0.3s ease-in;
        transition: -webkit-transform 0.3s ease-in;
        transition: transform 0.3s ease-in;
        transition: transform 0.3s ease-in, -webkit-transform 0.3s ease-in;
        z-index: 1;
    }
    &.open {
        .navbar-open, .navbar-search-wrapper {
            -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
        }
    }
    ul {
        .control-wrapper {
            position: relative;
        }
        a {
            display: inline-block;
            padding: 15px;
        }
    }
    .nav-dropdown-btn {
        -webkit-transition: -webkit-transform 0.2s ease-in;
        transition: -webkit-transform 0.2s ease-in;
        transition: transform 0.2s ease-in;
        transition: transform 0.2s ease-in, -webkit-transform 0.2s ease-in;
        display: block;
        &:focus {
            outline: thin dotted;
            outline: 5px auto -webkit-focus-ring-color;
            outline-offset: -2px;
        }
        &:active {
            outline: 0;
            -webkit-box-shadow: none;
            box-shadow: none;
        }
    }
    .nav-layer-first {
        margin: 0;
        a {
            color: @centenedotcom-medium-grey;
            border-bottom: 1px solid @centenedotcom-light-grey;
            position: relative;
            width: 100%;
            font-size: 16px;
        }
        .nav-dropdown-btn {
            position: absolute;
            right: 15px;
            width: 50px;
            background-image: url("/etc.clientlibs/centene/clientlibs/clientlibs-main/resources/images/icon-dropdown-gray.svg");
            background-size: 24px 24px;
            background-position: center;
            background-repeat: no-repeat;
            background-color: transparent;
            border: none;
            color: transparent;
            font-size: 0;
            height: 55px;
            top: 0 !important;
            &:not(.collapsed) {
                -webkit-transform: rotate(-180deg);
                transform: rotate(-180deg);
            }
        }
    }
    .nav-layer-second {
        background-color: @centenedotcom-navy;
        a {
            color: @white;
            border-bottom: 1px solid @black;
        }
        .nav-dropdown-btn {
            position: absolute;
            top: 0;
            right: 15px;
            width: 50px;
            height: 55px !important;
            background-image: url("/etc.clientlibs/centene/clientlibs/clientlibs-main/resources/images/icon-dropdown-white.svg");
            background-size: 24px 24px;
            background-position: center;
            background-repeat: no-repeat;
            background-color: transparent;
            border: none;
            color: transparent;
            font-size: 0;
        }
    }
    .nav-layer-third {
        background-color: @centenedotcom-light-grey;
        a {
            color: @centenedotcom-navy !important;
            border-bottom: 1px solid @centenedotcom-medium-grey;
        }
    }
    .link-wrapper {
        background-color: @white;
        a {
            padding-bottom: 0;
            color: @centenedotcom-medium-grey;
            font-family: "Roboto", sans-serif;
            font-size: 12px;
            text-transform: uppercase;
        }
        &.upper {
            display: none;
        }
    }
    #navbar {
        z-index: 10 !important;
        .nav-layer-first {
            background-color: @white !important;
        }
    }
    &>div:first-child {
        border-bottom: 1px solid @centenedotcom-light-grey;
    }
}

/* Bootstrap Sm Only */

@media (max-width: 991px) {
    #centene-nav-main-wrapper {
        .link-wrapper {
            &.lower {
                ul {
                    list-style-type: none;
                    padding-left: 0px;
                }
            }
        }
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #centene-nav-main-wrapper {
        .nav-layer-first {
            a {
                width: 100% !important;
            }
        }
    }
}

@media (min-width: 768px) {
    #centene-nav-main-wrapper {
        .navbar-toggle {
            display: block;
        }
    }
    .mobile-nav-button {
        display: none;
    }
}

@media (min-width: 992px) {
    #centene-nav-main-wrapper {
        overflow: hidden;
        .nav-layer-first {
            display: -webkit-inline-box;
            display: -ms-inline-flexbox;
            display: inline-flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center;
            width: 100%;
            a {
                width: auto;
            }
            li {
                -webkit-box-flex: 1;
                -ms-flex-positive: 1;
                flex-grow: 1;
            }
            li:first-child {
                .control-wrapper {
                    a.first-lvl-link {
                        padding-left: 0px;
                    }
                }
            }
        }
        #centene-nav-main {
            padding-right: 15px;
            padding-left: 15px;
            margin-right: auto;
            margin-left: auto;
            width: 970px;
        }
        .navbar-brand-wrapper, .navbar-search-wrapper {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            -webkit-box-flex: 1;
            -ms-flex-positive: 1;
            flex-grow: 1;
            padding: 0;
            height: 90px;
            border: none;
            border-right: 1px solid @centenedotcom-light-grey;
        }
        .navbar-brand-wrapper {
            width: 32%;
            max-width: 32%;
        }
        .navbar-search-wrapper {
            -ms-flex-pack: distribute;
            justify-content: space-around;
            width: 45.41%;
            position: relative;
            -webkit-transform: none;
            transform: none;
        }
        .navbar-header {
            width: 100%;
            display: -webkit-inline-box;
            display: -ms-inline-flexbox;
            display: inline-flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center;
        }
        .navbar-brand {
            width: 69%;
        }
        .navbar-toggle {
            display: none;
        }
        .navbar-open {
            position: relative;
            padding-right: 15px;
            padding-left: 15px;
            margin-right: auto;
            margin-left: auto;
            min-height: 0;
            top: auto;
            -webkit-transform: none;
            transform: none;
            width: 970px;
        }
        .nav-dropdown-btn {
            display: none;
        }
        .link-wrapper {
            width: 25%;
            max-width: 25%;
            &.lower {
                display: none;
            }
            &.upper {
                display: -webkit-box;
                display: -ms-flexbox;
                display: flex;
                -webkit-box-flex: 1;
                -ms-flex-positive: 1;
                flex-grow: 1;
                -webkit-box-align: center;
                -ms-flex-align: center;
                align-items: center;
                -ms-flex-pack: distribute;
                justify-content: space-around;
                ul {
                    display: -webkit-inline-box;
                    display: -ms-inline-flexbox;
                    display: inline-flex;
                    list-style-type: none; 
                }
            }
        }
    }    
    #navbar {
        -webkit-transition: height 0.3s;
        transition: height 0.3s;
        .control-wrapper {
            position: static !important;
        }
        .active-page {
            &.has-children:after {
                bottom: -1px;
                border: solid transparent;
                content: " ";
                height: 0;
                width: 0;
                position: absolute;
                pointer-events: none;
                border-color: rgba(136, 183, 213, 0);
                border-bottom-color: #88b7d5;
                border-width: 8px;
                -webkit-transform: translateX(-50%);
                transform: translateX(-50%);
                left: 50%;
            }
        }
        .nav-layer-first>li>a:first-child {
            padding-left: 0;
        }
        .nav-layer-first {
            .active-page {
                &.has-children:after {
                    border-bottom-color: @centenedotcom-navy;
                }
            }
        }
        .nav-layer-second {
            .active-page {
                &.has-children:after {
                    border-bottom-color: @centenedotcom-light-grey !important;
                    margin-left: 0px;
                }
            }
        }
        .active-page~ul {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -ms-flex-wrap: wrap;
            flex-wrap: wrap;
            position: absolute;
            left: 0;
            right: 0;
            li {
                -webkit-box-sizing: border-box;
                box-sizing: border-box;
                -webkit-box-flex: 1;
                -ms-flex: 1 0 25%;
                flex: 1 0 25%;
                max-width: 25%;
                a {
                    border-bottom: 0;
                    position: static;
                }
            }
            &.nav-layer-second {
                li {
                    position: initial;
                    a {
                        position: relative;
                    }
                }
                &::before {
                    background-color: @centenedotcom-navy;   
                }
            }
            &.nav-layer-third {
                top: 100%;
                position:absolute;
                left: 0;
                right: 0;
                li {
                    position: initial;
                    a {
                        position: relative;
                    }
                }
                &::before {
                    background-color: @centenedotcom-light-grey;
                }
            }
            &:before {
                content: '';
                position: absolute;
                left: -100vw;
                right: -100vw;
                height: 100%;
                width: 300vw;
                z-index: -1;
            }
        }
    }
    .nav-layer-first {
        .nav-layer-second {
            .active-page {
                text-decoration: underline;
                color: @white !important;
            }
        }
        .active-page {
            color: @centenedotcom-navy !important;
        }
    }
    .control-wrapper {
        ul.in {
            display: none !important;
        }
    }
}

@media (min-width: 1200px) {
    #centene-nav-main-wrapper {
        #centene-nav-main {
            width: 1170px;
        }
        .navbar-open {
            width: 1170px;
        }
    }
}