header {
    width: 100%;
    position: fixed;
    z-index: 9999;
}

#util-nav-row {
    box-sizing: border-box;
    background-position: bottom;
    background-size: 120%;
    background-image: url('https://www.ntst.com/images/homepage/web-nav-top-banner2.svg');
    color: #fff;
    z-index: 5001;
}

#util-nav-c ul {
    list-style-type: none;
}

#util-nav-c a {
    text-decoration: none;
    color: inherit;
}

#util-nav-c ul li {
    font-weight: bold;
    font-size: .7em;
    text-transform: uppercase;
    padding: 0 15px;
}


#search-box {
	display: inline-block;
    vertical-align: middle;
	height: 18px;
	width: 200px;
	border-radius: 4px 4px 4px 4px;
	-moz-border-radius: 4px 4px 4px 4px;
	-webkit-border-radius: 4px 4px 4px 4px;
	border: 0px solid #000000;
}

#main-nav-row {
    width: 100%;
    position: fixed;
    background-color: #fff;
    text-align: center;
}

.normalNav {
    top: 30px;
    height: 90px;
}

.smallerNav {
    top: 0;
    height: 90px;
}

svg:not (:root ) {
    width:100%;
    height: auto;
}

#main-nav-c {
    display: inline-block;
    background-color: #ffffff;
    vertical-align: middle;
    text-align: left;
    width: 100%;
    max-width: 1300px;
    height: 100%;
}

#main-logo-c {
    display: inline-block;
    width: 20%;
    margin-left: 7em;
}

#main-logo-c img {
    width: 100%;
    vertical-align: middle;
}


#nav-links-c > ul {
    box-sizing: border-box;
    width: 100%;
    line-height: 1em;
    list-style-type: none;
}

#nav-links-c > ul > li {
    list-style-type: none;
}


#nav-links-c > ul > li > span {
    font-size: 1.2em;
    color: #0b3b5c;
}

#main-nav-bottom-shadow {
    background-image: url('https://www.ntst.com/images/homepage/main-nav-bottom2.svg');
    background-size: 120%;
    background-position: top;
    position: relative;
}

#main-nav-bottom-shadow > div {
    background-image: url('https://www.ntst.com/images/homepage/menu-tiny-bar-gradient.svg');
    background-size: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 100%;
    z-index: 1;
}

.navMenuDropdown {
    display: none;
}

#toggle-resp-nav {
    display: none;
    margin: 7px 1em 0 0;
    padding: 0;
    width: 45px;
    height: 45px;
    text-align: center;
    background-color: #fff;
}

#toggle-resp-nav img {
    width: 100%;
}


.menuContent ul {
    list-style-type: none;
}

.menuContent ul li {
    list-style-type: none;
    padding-bottom: .5em;
}

.menuContent a {
    text-decoration: none;
    color: inherit;
}

.menuContent h2 {
    line-height: 1em;
}

@media screen and (max-width: 1275px){
    #nav-links-c > ul > li > span {
        font-size: .89em;
    }
}

/* Full nav */
@media screen and (min-width: 1025px) {
    #util-nav-row {
        text-align: right;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 30px;
        padding: 0 5em;
    }

    #util-nav-c ul li {
        line-height: 30px;
        display: inline;
        border-right: 1px solid #fff;
    }

    #util-nav-c ul li:last-child {
        border-right: 0;
    }

    #nav-links-c {
        width: 62%;
        display: inline-block;
        vertical-align: middle;
        position: relative;
        height: 100%;
        z-index: 99;
    }


    #nav-links-c > ul {
        display: inline-block;
        position: absolute;
        height: 55px;
        top: 47px;
        right: 0;
        text-align: right;
    }

    #nav-links-c > ul > li {
        display: inline-block;
        padding: 0 19px 30px 19px;
        height: 100%;
    }

    #nav-links-c > ul > li:first-child {
        margin-left: 40px;
    }

    #nav-links-c > ul > li:last-child {
        padding-right: 0;
    }

    #nav-links-c > ul > li:hover > span {
        cursor: pointer;
    }

    #nav-links-c > ul > li:hover .navMenuDropdown {
        display: inline-block;
    }

    #main-nav-bottom-shadow {
        height: 20px;
    }

    .nav-footer-img {
        height: 15px;
        background-image: url('https://www.ntst.com/images/homepage/web-nav-top-banner2.svg');
        background-size: 120%;
        background-position: top;
    }

    #demoButton {
        width: 90%;
        position: absolute;
        top: 73%;
        left: 5%;
        margin-top: 1em;
        padding: 1.5em 30%;
        text-align: center;
        border-top: 2px solid #d7d7d7;
    }
    
    #demoButton > div > a > div {
        height: 50px;
        width: 50px;
        float: left;
        background-image: url('https://www.ntst.com/images/demo-icon-blue.png');
        background-position: top right;
        background-size: contain;
    }

    #demoButton > div > a > h2 {
        float: left;
        font-size: 1.3em;
        margin: .7em;
    }

    .navMenuDropdown {
        position: absolute;
        top: 38px;
        left: -200px;
        width: 1025px;
        line-height: 1.5em;
        margin: 0;
        padding: 0;
        text-align: left; 
    }

    .navMenuDropdown .menuContent {
        box-sizing: border-box;
        display: table;
        padding: 2em;
        background-color: #f4f4f4;
        width: 100%;
        font-size: 15px;
    }

    .navMenuDropdown .greenLine {
        display: block;
        height: 5px;
        background-color: #84BD00;        
    }

    .menuContent .stdCol {
        display: table-cell;
        padding: 0 1.5em;
    }

    .menuContent .colEl {
        display: table-cell;
    }

    .menuContent h2 {
        color: #0076A8;
        font-size: 1.3em;
        margin-bottom: 3px;
        font-weight: 500;
    }

    .menuContent ul {
        padding-left: 15px;
    }

    .menuContent ul li a {
        color: #808286;
        font-weight: 500;
    }

    .stdCol .menuGrp {
        margin-bottom: 15px;
    }

    .menuContent .navFeature {
        vertical-align: top;
        width: 40%;
        text-align: center;
        font-size: 19px;
    }

    .menuContent .navFeature:last-child {
        padding-left: 50px;
        border-left: 2px solid #d7d7d7;
    }

    .menuContent .navFeature:first-child {
        padding-right: 50px;
        border-right: 2px solid #d7d7d7;
    }

    .menuContent .navFeature .caption {
        font-style: italic;
        font-size: 16px;
        margin: 0.5em 2em;
        color: #0e7dac;
    }

    .menuContent .navFeature a {
        text-transform: uppercase;
    }

    .menuContent blockquote footer {
        color: #7fbc42;
        font-size: 16px;
        font-style: normal;
        font-weight: 100;
        text-align: right;
        margin-top: 10px;
        line-height: 1em;
    }

    .menuContent blockquote {
        font-weight: bold;
        font-style: italic;
        font-size: 18px;
        text-align: left;
    }
}


/* mobile nav */
@media screen and (max-width: 1024px) {
    #util-nav-row {
        background-size: cover;
    }

    #nav-links-c {
        display: none;
        position: fixed;
        top: 60px;
        right: 0;
        width: 85vw;
        max-width: 25em;
        max-height: 85vh;
        overflow-y: scroll;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        background-color: #d2dbe4;
    }

    .mobileNavShow {
        display: block !important;
    }

    #nav-links-c > ul > li {
        cursor: pointer;
    }

    #nav-links-c > ul > li > span {
        font-size: .9em;
        display: block;
        padding: 1em;
    }

    #nav-links-c > ul > li > span { 
        border-bottom: 2px solid #9abccc;
    }

    #toggle-resp-nav {
        display: inline-block;
        float: right;
    }

    #main-logo-c {
        width: 220px;
        padding-left: 0.5em;
        margin-left: 5%;
    }

    #demoButton > div {
        display: inline-flex;
        width: 100%;
        background-color: #1975a8;
        border-bottom: 2px solid white;
    }

    #demoButton > div > a > div {
        height: 60px;
        width: 70px;
        float: left;
        background-size: 40px;
        background-repeat: no-repeat;
        background-position: 17px 9px;
        background-image: url('https://www.ntst.com/images/demo-icon-white.png');
    }

    #demoButton > div > a > h2 {
        border: none;
        padding: 1.3em;
    }

    #demoButton > div > a {
        width: 100%;
    }

    .normalNav {
        top: 0;
        height: 60px;
        line-height: 60px;
    }

    .menuContent h2 {
        font-size: 1.15em;
        padding: 1em;
        margin: 0;
        background-color: #1975a8;
        color: #fff;
    }

    .menuContent h2, .menuContent .menuGrp > ul > li:last-child {
        border-bottom: 2px solid #fff;
    }

    .menuContent .menuGrp ul, .menuContent .navFeature {
        display: none;
    }

    img.navBottom {
        display: none;
    }

    #util-nav-c ul li {
        display: inline-block;
        width: 49%;
        text-align: center;
        font-size: 1.15em;
        padding: 1em 1em;
    }

    .menuContent .menuGrp > ul {
        background-color: #6ba1b8;
        color: #003b5c;
    }

    .menuContent .menuGrp > ul > li {
        padding: 0.75em;
        border-bottom: 2px solid #003b5c;
    }

    .menuContent .menuGrp > ul a {
        display: block;
        width: 100%;
        height: 100%;
        font-weight: bold;
        font-size: 1.1em;
        padding-left: 0.75em;
    }
}
