﻿header a:link,
header a:visited,
header a:active,
nav a,
.breadcrumbs a {
    text-decoration: none;
}

header a:link,
header a:visited,
header a:active {
    color: white;
}

header {
    color: white;
    position: relative;
    z-index: 2000;
    background: #445c7c;
    min-height: 85px;
}

    header .row,
    nav .row {
        margin-bottom: 0 !important;
    }

        nav .row [class*="col-"],
        header .row [class*="col-"] {
            margin: 0;
        }

.backdrop {
    background-image: url("images/header-background.jpg");
    opacity: 0.15;
    filter: grayscale(100%);
    width: 100%;
    height: 85px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% top;
}

.agency {
    padding-top: 12px;
    position: relative;
    z-index: 5;
}

    .agency .title {
        padding-left: 70px;
        min-height: 0;
        letter-spacing: -0.05rem;
    }

        .agency .title small {
            font-family: 'Permian Slab', serif;
            letter-spacing: -0.075em;
            font-size: 1.125rem;
            display: block;
            padding-left: 0;
            letter-spacing: -0.05rem;
            margin-top: 20px;
        }

        .agency .title span {
            font-size: 1.6rem;
            letter-spacing: -0.075rem;
            display: inline-block;
            line-height: 0.8em;
        }

.top-nav {
    position: relative;
}

    .top-nav a.logo {
        background-image: url("images/tn-logo.svg");
        background-repeat: no-repeat;
        background-position: 50% bottom;
        background-size: 100% !important;
        width: 60px;
        height: 70px;
        z-index: 500;
        position: absolute;
        top: 10px;
        left: 0;
        display: block;
    }

nav {
    background: white;
    border-bottom: 2px #eee solid;
    position: relative;
    z-index: 9500;
    min-height: 38px;
}

    nav [class^='icon-']::before,
    nav [class*=' icon-']::before {
        font-size: 100%;
    }

    nav a {
        color: #131E29;
    }

        nav a:hover {
            color: #6E7073;
        }

    nav .active a {
        color: #EE3524;
    }

    nav .mobile-hide {
        display: none;
    }

    nav ul.nav-items {
        display: inline-flex;
    }

    nav ul.nav-items li {
        display: block;
        position: relative;
        border-top-style: solid;
        border-top-color: transparent;
        border-top-width: 0px;
        color: inherit;
        font-family: 'Open Sans', sans-serif;
        font-size: 1rem;
        letter-spacing: -0.05rem;
        line-height: 1.125rem;
        padding: 6px 7px 10px 7px;
        margin: 0;
        cursor: pointer;
    }

    nav ul.nav-items > li:hover {
        color: #6e7073;
    }

    nav ul.nav-items > li.active {
        color: #EE3524;
    }

    nav ul.nav-items > li > div {
        display: none;
    }

    nav ul.nav-items > li > ul {
        padding-left: 0;
        display: none;
    }

    nav div.logo-small {
        position: absolute;
        left: 0;
        top: 0;
        overflow: hidden;
        z-index: 600;
        /*padding-left: 15px;*/
    }

        nav div.logo-small.tn-logo a {
            background-image: url("images/tn-logo.svg");
            background-repeat: no-repeat;
            background-position: 50% bottom;
            width: 38px;
            height: 40px;
            margin-top: -100px;
            display: block;
            background-size: 100% !important;
        }

    nav.fixed .mobile-menu {
        text-align: left;
        padding-left: 65px;
    }

    nav.fixed {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
    }

        nav.fixed .row {
            position: relative;
        }

        nav.fixed .nav-items > li.home {
            display: none;
        }

        nav.fixed .nav-items > li > a {
            /*font-size: 0.875rem;*/
            /*padding: 4px 6px 8px;*/
        }

        nav.fixed div.logo-small {
            top: 0;
            display: block;
            z-index: 9999;
        }

            nav.fixed div.logo-small a {
                margin-top: 0;
            }

    nav .columns {
        padding: 0 1rem;
    }

    nav .mobile-menu {
        display: block;
        width: 100%;
        padding: 10px 0 5px 10px;
        margin: 0 0 0 -15px;
        cursor: pointer;
    }


/*nav {
    font-family: var(--fast-menu-font-family);
    background: var(--fast-menu-background-color);
    border-bottom: 2px var(--fast-color-border-light) solid;
    color: var(--fast-menu-font-color);
    display: inline-flex;
    position: fixed;
    top: 0;
    left: 0;
    height: calc(var(--fast-menu-height) + 2px);
    min-height: calc(var(--fast-menu-height) + 2px);
    padding-left: var(--fast-padding-x);
    width: 100%;
    max-width: 100%;
    z-index: var(--fast-menu-z-index);
    font-size: var(--fast-menu-font-size);
}

.sub-menu {
    position: relative;
    display: block;
}

    nav [class^='icon-']::before,
    nav [class*=' icon-']::before {
        font-size: var(--fast-font-size) !important;
        margin: 0;
    }

    nav > h2 {
        line-height: calc(var(--fast-spacing-y) * 2.75);
        margin-left: var(--fast-margin-x);
    }

    nav .mobile-hide {
        display: none;
    }

    nav > div, 
    nav > div div > a, 
    nav > a,
    nav > div div > span {
        display: block;
        position: relative;
        border-top-style: solid;
        border-top-color: transparent;
        border-top-width: 0px;
        padding: var(--fast-menu-padding);
        color: var(--fast-menu-font-color);
        margin: 0;
        cursor: pointer;
        white-space: nowrap;
    }

    nav > div div > a, .sub-menu {
    	border-bottom: 1px solid #eeeeee !important;
    }

        nav > div div {
            padding-left: 0;
            display: none;
        }

        nav > div > aside div {
            display: block !important;
        }

aside:hover {
    color: var(--fast-menu-font-color);
}

nav > .logo-small.tn-logo a {
    background-image: var(--fast-image-logo-small);
    background-repeat: no-repeat;
    background-position: bottom;
    width: 47.5px;
    height: 50px;
    margin: 0 .5rem 0 0;
    display: block;
    background-size: 100%;
}

    nav .mobile-menu {
        display: block;
        width: auto;
        padding: 10px 0 5px 10px;
        margin-left: -15px;
        cursor: pointer;
        text-align: left;
    }

nav a:hover,
.current-parent:hover,
nav .sub-menu span:hover,
nav p:hover,
nav .sub-menu.hover span {
    color: var(--fast-color-hover) !important;
}

    nav > div > div,
    nav .sub-menu > div {
        box-shadow: var(--fast-box-shadow);
        border: 1px solid var(--fast-color-border-light) !important;
        border-radius: var(--fast-border-radius);
    }

nav > div.active {
    color: var(--fast-color-active);
}

.current-parent,
.sub-menu.current-parent span,
a.current {
    color: var(--fast-color-secondary);
}

a.current {
    border-color: var(--fast-color-hover);
}*/

/* Wide display (desktop) */
/*@media only screen and (min-width: 641px) {
    nav > div:hover,
    nav > a:hover {
        border-top-color: var(--fast-color-active);
        color: var(--fast-color-hover);
    }

    a:not([href]):not([class]), a:not([href]):not([class]):hover {
        color: var(--fast-menu-font-color);
    }

    nav > div,
    nav > a {
        border-top-width: 4px;
    }

    nav .mobile-hide {
        display: inline-flex;
    }

    nav .mobile-menu {
        display: none;
    }

    nav > div > div {
        position: absolute;
        background: var(--fast-menu-background-color);
        margin-top: 1rem;
        border: 1px solid var(--fast-color-border-light);
        display: none;
    }

    .sub-menu.hover > div {
        position: absolute;
        top: 0;
        left: 100%;
        background-color: var(--fast-menu-background-color);
        border: 2px solid var(--fast-color-border-light);
        margin-top: -1px;
    }

    nav div.hover > div {
        animation: show-menu var(--fast-animation-time-quick);
        display: block;
        margin-top: 1rem;
    }

    nav > div > i:before {
        display: none;
    }

    nav > div > span:after {
        content: '\e800';
        font-family: 'tngov-icons';
        font-size: 120%;
        display: inline-block;
        width: 1em;
        text-align: center;
        line-height: 1em;
        margin-left: .2em;
    }

    nav > div div > span:after {
        content: '\e823' !important;
        font-family: 'tngov-icons';
        font-size: 120%;
        font-style: normal;
        font-weight: normal;
        speak: none;
        display: inline-block;
        text-decoration: inherit;
        float: right;
        text-align: right;
        font-variant: normal;
        text-transform: none;
        line-height: 1em;
    }

    nav div > span {
        white-space: nowrap;
    }

    .mobile-show {
        display: none;
    }
}

@keyframes show-menu {
    from {
        transform-origin: top left;
        transform: scale(0);
    }

    to {
        transform-origin: top left;
        transform: scale(1);
    }
}

*/
