/********** NAVIGATION STYLES **********/
#nav {
    /*height: 100%;*/
    margin: auto;
    font-family: "Roboto", sans-serif;
    font-size: 11pt;
    /*increasing contrast, old bg color here for reference*/
    /*background-color: #212224;*/
    background-color: #1f1f21;
    line-height: 1.5em;
}

#nav ul, #nav ul li {
    list-style: none;
    margin: 0;
    padding: 0;
    /*display: block;*/
}

#top-nav-bar {
    background-color: #101011;
    color: #bfbfbf;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: right;
    min-height: 26px;
    /* only show on desktop sizes */
    display: none;
}

.site-link a {
    padding-right: 18px;
    background-size: 14px;
    background-position: 0 4px;
    background-repeat: no-repeat;
    font-weight: 400;
    height: 100%;
    color: #bfbfbf;
    min-width: 20px;
    min-height: 20px;
    margin-bottom: -4px;
}
.site-link a:hover {
    color: #fff;
}

li:last-child {
    margin-right: 0 !important;
}

.header-button-divider {
    border-left: 2px solid #1f1f21;
    margin: 0 18px;
}

.login-button {
    height: auto;
    border-radius: 2px;
    background-color: #5f5f67;
    color: #fff !important;
    padding: 0 12px !important;
    line-height: 1.75em;
    margin-bottom: 4px;
    margin-right: 4px;
    -webkit-transition: background 0.5s;
    transition: background 0.5s;
}
.login-button:hover {
    background-color: #f19615 !important;
}
.login-button:hover svg path {
    fill: #fff;
}
.login-button svg {
    display: block;
    float: left;
    height: 15px;
    width: 15px;
    margin-top: -3px;
}
.login-button svg path {
    fill: #9EA0A5;
    -webkit-transition: fill 0.2s ease;
    -moz-transition: fill 0.2s ease;
    -o-transition: fill 0.2s ease;
    transition: fill 0.2s ease;
}

.top-nav-link {
    font-weight: 400 !important;
}
.top-nav-link:hover, .top-nav-link:focus {
    color: #fff !important;
}

#navigation {
    /*width: 100%;*/
    width: 300px;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    /*left: -300px;*/
    z-index: 500;
    background-color: #005f8e;
    text-align: left;
    padding: 0;
    overflow-y: scroll;
}

.navigation-logos-wrapper {
    display: block;
    float: left;
    padding-top: 17px;
    padding-left: 20px;
    padding-bottom: 8px;
    text-align: left;
}

#talos-logo-wrapper {
    display: inline-block;
}
#talos-logo-wrapper svg#cisco_talos_logo {
    height: 40px;
    width: auto;
}
#talos-logo-wrapper svg#cisco_talos_logo path.cisco-fill {
    fill: #fff;
}
@media (min-width: 1000px) {
    #talos-logo-wrapper svg#cisco_talos_logo path.cisco-fill {
        fill: #8e8c8c;
    }
}
#talos-logo-wrapper svg#cisco_talos_logo path.talos-fill {
    fill: #fff;
}
@media (min-width: 1000px) {
    #talos-logo-wrapper svg#cisco_talos_logo path.talos-fill {
        fill: #056eb6;
    }
}

.navigation-links-wrapper {
    display: block;
}
@media (max-width: 999px) {
    .navigation-links-wrapper {
        width: fit-content;
    }
}

#nav ul.main-nav-list {
    margin: 0 auto;
    left: 0;
}

#vuln-report-tabs.nav-tabs {
    float: left;
    border-bottom: none;
}

.primary_nav_link {
    color: #fff;
    font-weight: 300;
    display: inline-block;
    height: 100%;
    width: 100%;
    padding: 2px 2px 4px 2px;
    -webkit-transition: color 0.2s ease, background-color 0.5s ease;
    -moz-transition: color 0.2s ease, background-color 0.5s ease;
    -o-transition: color 0.2s ease, background-color 0.5s ease;
    transition: color 0.2s ease, background-color 0.5s ease;
}
.primary_nav_link:hover {
    color: #fff;
    background-color: #393d43;
}
.primary_nav_link svg {
    padding-top: 3px;
    margin-top: 7px;
}
.primary_nav_link .mobile-nav-icon svg {
    margin-left: 8px;
    width: 20px;
    height: 20px;
    float: left;
}

.top-nav-link-text {
    display: inline-block;
    position: relative;
    top: 2px;
    padding-left: 17px;
    vertical-align: 5px; /* offsets span sitting at bottom of <a> tag on mobile nav */
}

.desktop-hide .login-button {
    max-width: 280px;
    padding: 4px 24px !important;
    font-weight: 400 !important;
    background-color: #fff;
    color: #25272a !important;
    text-align: center;
    font-size: 0.9em !important;
    display: inline-block;
    width: 100%;
}

.more-nav-link {
    color: #fff;
    font-weight: 300;
    display: inline-block;
    height: 100%;
    width: 100%;
    padding: 2px 2px 4px 2px;
}
.more-nav-link .mobile-nav-icon svg {
    margin-left: 8px;
    width: 18px;
    height: 22px;
    vertical-align: unset;
    padding-top: 4px;
}


.nav-trigger + label {
    left: 0
}
.nav-trigger ~ #navigation {
    left: -300px;
}
.nav-trigger:checked + label  {
    left: 300px;
}
.nav-trigger:checked ~ #navigation {
    left: 0;
}

.sub-nav-trigger ~ .sub-nav {
    opacity: 0;
    display: none;
    left: 300px;
}
.sub-nav-trigger:checked ~ .sub-nav {
    opacity: 1;
    display: block;
    left: 50px;
}


/* Mobile Shelf Styles */
.nav-trigger + label,
#site-main,
#nav-logo,
#footer,
#navigation,
.sub-nav-trigger,
.sub-nav {
    transition: left 0.2s;
    -webkit-transition: left 0.2s;
    -moz-transition: left 0.2s;
    -o-transition: left 0.2s;
}


.nav-trigger:checked ~ #nav-logo,
.nav-trigger:checked ~ #footer {
    left: 300px;
}

.nav-trigger:checked ~ #site-main {
    position: fixed;
}

.nav-trigger:checked ~ #footer {
    position: fixed;
    z-index: 299;
}


.sub-nav-trigger:checked ~ .subnav-overlay {
    visibility: visible;
    opacity: 1;
}

.nav-trigger:checked + label {
    border: 1px solid #005f8e;
    width: 54px;
    background-color: #005f8e;
    border-radius: 0 28px 28px 0;
    top: 0;
}

/* Mobile sub navigation styles */
.primary-link-wrapper {
    width: 243px;
    display: inline-block;
}

.subnav-overlay {
    width: 300px;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #005f8e;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.25s linear;
}
.subnav-overlay svg {
    opacity: 0.5;
    margin: 10px 0 0 10px;
}

.sub-nav {
    width: 250px;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 300px;
    z-index: 1;
    background: #393d43;
    text-align: left;
}


.sub-nav h1 {
    font-family: "Roboto", Helvetica, Arial, sans-serif;
    text-transform: none;
    font-weight: 300;
    font-size: 16pt;
    padding-top: 10px;
    margin-top: 20px;
    margin-bottom: 10px;
}
.sub-nav li {
    width: 100%;
}
.sub-nav a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    font-weight: 300;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
}
.sub-nav a:hover {
    background-color: #f19615;
    color: #212224;
}
.sub-nav .sub-nav-list-top-of-mobile {
    padding: 10px 15px;
}
.sub-nav .sub-nav-list-item-wrapper {
    padding-bottom: 28px;
}

.subnav-back-button {
    cursor: pointer;
    width: 100%;
    padding: 20px;
    background-color: #2d3035;
    font-weight: 300;
}
.subnav-back-button::before {
    border-style: solid;
    border-width: 3px 3px 0 0;
    content: "";
    display: inline-block;
    height: 12px;
    width: 12px;
    position: relative;
    vertical-align: top;
    transform: rotate(-135deg);
    margin-right: 30px;
    margin-top: 6px;
}

.sub-nav-trigger-label {
    cursor: pointer;
    padding: 0;
    margin: 0;
    text-align: center;
    display: inline-block;
    /*float: right;*/
    width: 50px;
    height: 40px;
    -webkit-transition: color 0.2s ease, background-color 0.5s ease;
    -moz-transition: color 0.2s ease, background-color 0.5s ease;
    -o-transition: color 0.2s ease, background-color 0.5s ease;
    transition: color 0.2s ease, background-color 0.5s ease;
}
.sub-nav-trigger-label:hover {
    background-color: #393d43;
}
.sub-nav-trigger-label:hover svg g circle {
    fill: #f19615;
}
.sub-nav-trigger-label svg {
    margin-top: 3px;
    padding: 0;
    width: 30px;
    position: relative;
    bottom: 8px;
}

/* Mobile shelf trigger styles */
/* hides the checkboxes */
.nav-trigger, .sub-nav-trigger {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    display: block;
    top: 0;
    left: 0;
}

label[for=nav-trigger] {
    position: fixed;
    padding: 15px 0 0 15px;
    z-index: 9900;
    height: 50px;
    width: 56px;
    cursor: pointer;
    display: block;
    top: 0;
}

.acct_links {
    color: #fff;
    font-weight: 300 !important;
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding-top: 5px;
    padding-left: 10px;
    height: auto !important;
}
@media (max-width: 640px) {
    .acct_links .acct_links {
        margin-left: 10px;
        width: 271px;
    }
}

.mobile-nav-icon {
    display: inline-block;
}

.desktop-nav-icon {
    display: none;
}

.more-link-wrapper {
    width: 243px;
    display: inline-block;
    padding: 3px;
}


.more-desktop-link {
    display: none;
}

.sub-nav-desktop-header {
    display: none;
}

/* Navigation needs to be behind page wrapper for mobile but in front of it for desktop */
@media (min-width: 1000px) {
    #nav {
        /*hide My Account nav link outside of mobile view*/
    }
    #nav .mobile-hide {
        display: block;
    }
    #nav .mobile-nav-icon {
        display: none;
    }
    #nav #my-account-nav-item {
        display: none;
    }
    #nav .more-link-wrapper-mobile {
        display: none;
    }
    #nav #top-nav-bar {
        display: block;
        min-height: 25px;
        padding-top: 2px;
    }
    #nav #navigation {
        z-index: 500;
        background-color: transparent;
        position: relative;
        text-align: right;
        height: 77px;
        overflow: visible;
        width: 100%;
        left: 0;
    }
    #nav #top-navigation-logos-links {
        z-index: 9000;
        position: relative;
        display: flex;
        height: 100%;
        align-items: center;
        padding-right: 8px;
    }
    #nav .navigation-logos-wrapper {
        height: 100%;
        position: absolute;
        z-index: 9999;
        padding-bottom: 0;
    }
    #nav #talos-logo-wrapper {
        height: 40px;
    }
    #nav #talos-logo-wrapper svg path.st1 {
        fill: #0077BE;
    }
    #nav .navigation-links-wrapper {
        position: relative;
        height: 100%;
    }
    #nav .nav-item {
        border: none;
        width: auto;
        position: relative;
        margin: 0;
    }
    #nav .nav-item:hover {
        border: none;
    }
    #nav .nav-item svg {
        padding: 0;
        margin: 0;
    }
    #nav .primary-link-wrapper {
        width: auto;
        display: flex;
        position: relative;
        cursor: pointer;
        align-items: center;
        height: 100%;
    }
    #nav .primary_nav_link {
        color: #fff;
        font-size: 16px;
        display: flex;
        font-weight: 400;
        align-items: center;
        height: 100%;
        padding: 0 14px;
    }
    #nav .primary_nav_link:focus {
        color: #fff;
    }
    #nav .sub-nav {
        display: none;
        opacity: 1;
        height: 0;
        top: 77px;
        z-index: 5000;
        white-space: nowrap;
        left: auto;
        right: auto;
        bottom: auto;
        width: fit-content;
        position: absolute;
        background-color: transparent;
        -webkit-transition: height 200ms ease-in;
        -moz-transition: height 200ms ease-in;
        -o-transition: height 200ms ease-in;
        transition: height 200ms ease-in;
    }
    #nav .sub-nav li {
        display: block;
        margin: 0;
    }
    #nav .sub-nav li.desktop-hide {
        display: none;
    }
    #nav .sub-nav li:hover {
        background-color: transparent;
    }
    #nav .sub-nav li:last-of-type a {
        border-radius: 0 0 4px 4px;
    }
    #nav .sub-nav a {
        padding: 15px 24px;
        font-size: 15px;
        font-weight: 400;
        color: #fff;
        background-color: #393d43;
        -webkit-transition: background-color 0.3s ease;
        -moz-transition: background-color 0.3s ease;
        -o-transition: background-color 0.3s ease;
        transition: background-color 0.3s ease;
    }
    #nav .sub-nav a:hover {
        color: #212224;
        background-color: #f19615;
    }
    #nav .sub-nav .sub-nav-list-header {
        display: none;
    }
    #nav .sub-nav .sub-nav-multiple-list {
        display: none;
    }
    #nav .nav-item:hover .primary_nav_link {
        background-color: #28292c;
    }
    #nav .nav-item:hover .primary_nav_link .top-nav-link-text {
        box-shadow: 0 2px 0 0 #0076be;
    }
    #nav .nav-item:hover .sub-nav {
        display: block;
        height: fit-content;
    }
    #nav .sub-nav-single-list {
        white-space: nowrap;
    }
    #nav ul > li:hover > .sub-nav-single-list li {
        min-height: 34px;
    }
    #nav .more-desktop-link {
        display: block;
    }
    #nav ul.secondary-nav-list:hover .top-nav-link-text {
        color: #fff;
    }
    #nav ul.secondary-nav-list:hover .more-desktop-link {
        background-color: #28292c;
    }
    #nav ul.secondary-nav-list:hover .sub-nav-list li {
        height: 34px;
    }
    #nav ul.secondary-nav-list:hover .sub-nav-desktop-header {
        display: block;
        color: #9ea0a5;
        font-size: 14px;
        font-weight: 500;
        padding-bottom: 5px;
        padding-left: 10px;
    }
    #nav ul.secondary-nav-list:hover .sub-nav-multiple-wrapper {
        display: flex;
    }
    #nav ul.secondary-nav-list:hover .sub-nav-multiple-list {
        height: 235px;
        padding-top: 23px;
        padding-left: 12px;
        left: unset;
        display: block;
        background-color: #393d43;
    }
    #nav ul.secondary-nav-list:hover .sub-nav-multiple-list .sub-nav-list a {
        padding: 5px 9px 6px 11px;
        background-color: #393d43;
        color: #fff;
    }
    #nav ul.secondary-nav-list:hover .sub-nav-multiple-list .sub-nav-list a:hover span {
        box-shadow: 0 2px 0 0 #0076be;
    }
    #nav ul.secondary-nav-list:hover .sub-nav-multiple-list-left {
        right: 314px;
        border-radius: 0 0 0 4px;
    }
    #nav ul.secondary-nav-list:hover .sub-nav-multiple-list-middle {
        right: 116px;
    }
    #nav ul.secondary-nav-list:hover .sub-nav-multiple-list-right {
        right: 0;
        padding-right: 10px;
        padding-left: 10px;
        border-radius: 0 0 4px 0;
    }
    .top-nav-link-text {
        display: block;
        padding-left: 0;
        vertical-align: baseline;
        font-size: 14px;
        font-weight: 400;
        top: 0;
    }
    .top-nav-links-wrapper li {
        display: inline-block;
    }
    .secondary_nav_link:focus {
        color: #000;
    }
    #nav ul.main-nav-list {
        width: fit-content;
        display: flex;
        flex-direction: row;
        height: 100%;
    }
    .secondary-nav-list {
        position: absolute;
        right: 105px;
        top: 0;
        height: 100%;
        display: flex;
    }
    .top-nav-list-buttons {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
    }
    .more-link-wrapper {
        cursor: pointer;
        width: fit-content;
        padding: 0;
        height: 100%;
    }
    .more-nav-link {
        display: flex;
        float: left;
        padding: 0 15px 0 30px;
        align-items: center;
        height: 100%;
        -webkit-transition: background-color 0.3s ease;
        -moz-transition: background-color 0.3s ease;
        -o-transition: background-color 0.3s ease;
        transition: background-color 0.3s ease;
    }
    .top-nav-more-text {
        padding-right: 10px;
    }
    .more-menu-icon svg {
        height: 10px;
    }
    .sub-nav-multiple-list {
        background-color: #fff;
    }
    .sub-nav-multiple-list .sub-nav-list-item-wrapper {
        padding-bottom: 0;
    }
    .sub-nav-multiple-list .sub-nav-list li a {
        padding: 5px 9px 6px 11px;
    }
    .sub-nav-multiple-list .sub-nav-list-top-of-mobile-wrapper {
        display: none;
    }
    .sub-nav-trigger-label,
    .sub-nav-trigger,
    .nav-trigger,
    label[for=nav-trigger],
    .desktop-hide {
        display: none;
    }
    .nav-trigger:checked + label,
    .nav-trigger:checked ~ #site-main,
    .nav-trigger:checked ~ #nav-logo,
    .nav-trigger:checked ~ #footer,
    .sub-nav-trigger:checked ~ .sub-nav {
        left: 0;
    }
    .sub-nav-multiple-list-list-item {
        width: 100%;
    }
    .desktop-nav-icon {
        display: block;
        padding-bottom: 3px;
        position: relative;
    }

}
@media (min-width: 1100px) {
    .top-nav-link-text {
        font-size: 15px;
    }
}
@media (min-width: 1200px) {
    .desktop-nav-icon {
        left: -10px;
    }
    #nav ul.main-nav-list {
        margin: auto;
        float: none;
    }
    .top-nav-link-text {
        font-size: 16px;
    }
}


/* This is not technically part of navigation, but this is the best place to put it currently */
/* shows on pages below 1k px width */
.mobile-page-header {
    background-color: #000;
    width: 100%;
    height: 60px;
    display: flex;
}
.mobile-nav-home-link {
    display: flex;
    margin: auto;
    padding-left: 56px;
}
.mobile-logo-wrapper {
    height: 60px;
    width: 110px;
    background-image: url("../images/cisco_Talos_onblack.svg");
    background-repeat: no-repeat;
    background-size: 110px auto;
    background-position: center;
}
.mobile-home-title {
    font-size: 30px;
    font-weight: 300;
    text-transform: uppercase;
    padding-top: 15px;
    padding-left: 15px;
}
.mobile-nav-home-link:hover .mobile-home-title {
    color: #fff;
}


.navbar-brand {
    padding: 0 !important;
    display: block !important;
    background-image: url('../images/cisco_Talos_white.svg');
    background-repeat: no-repeat;
    height: 40px !important;
    width: 116px;
    margin-top: 3px;
}

@media (min-width: 1000px) {
    .navbar-brand {
        background-image: url('../images/cisco_Talos_onblack.svg');
    }
}


#nav_page_layer {
    padding: 0;
    margin: 0;
    content: "";
    background-color: #060606;
    display: block;
    width: 100%;
    height: 300px;
    position: fixed;
    bottom: 0;
    z-index: 1;
}

.nav-trigger:checked ~ #nav_page_layer {
    display: none;
}

.uppercase {
    text-transform: uppercase;
}

.search-button {
    background-color: transparent;
    border: none;
    color: #fff;
    width: 100%;
    -webkit-transition: color 0.2s ease, background-color 0.5s ease;
    -moz-transition: color 0.2s ease, background-color 0.5s ease;
    -o-transition: color 0.2s ease, background-color 0.5s ease;
    transition: color 0.2s ease, background-color 0.5s ease;
}
.search-button:hover {
    background-color: #393d43;
}

.mobile-search-wrapper {
    position: absolute;
    top: 0;
    right: 0;
}
.mobile-search-button {
    height: 60px;
    padding: 0 15px;
}
.mobile-search-button svg{
    width: 26px;
    height: 26px;
}

/* Desktop display only*/
.nav-search-wrapper {
    position: absolute;
    right: 0;
    top: 0;
    height: 77px;
    width: 70px;
}
.desktop-search-button {
    width: 100%;
    height: 100%;
    padding: 0;
    text-align: center;
}
.desktop-search-button:hover {
    background-color: #28292c;
}
.desktop-search-button svg {
    width: 24px;
    height: 24px;
}

#desktop-search-wrapper {
    display: none;
}

@media (min-width: 1000px) {
    #desktop-search-wrapper {
        display:block;
    }
}

#site-main {
    z-index: 300;
    position: relative;
    background-color: #26282A;
}

#mobile-page-header h1 {
    text-align: center;
}

@media (min-width: 1000px) {
    .mobile-page-header {
        display: none;
    }
}