/*** CSS OUTPUT LOCALLY FROM SCSS AND MODIFIED FOR CODEPEN ***/

/*** There are a lot of things about Superfish that I don't love;
     in particualar, I don't love the mobile application. Further
     modification would be needed to make the mobile-nav a click-
     based setup even in a touch-free environment. Anyway, this is
     the fastest solution to style but not necessearily the best
     responsive pattern. Still, it's functional enough for the
     purposes that the question asker needed. ***/

/*** Get Google font for menu ***/

@font-face
{
    font-family: 'mindshare';
    src: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/72900/mindshare.eot?95499031");
    src: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/72900/mindshare.eot?95499031#iefix") format("embedded-opentype"), url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/72900/mindshare.woff?95499031") format("woff"), url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/72900/mindshare.ttf?95499031") format("truetype"), url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/72900/mindshare.svg?95499031#mindshare") format("svg");
    font-weight: normal;
    font-style: normal;
}
[class^="icon-"]:before, [class*=" icon-"]:before
{
    font-family: "mindshare";
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
}

.icon-home:before
{
    content: '\e800';
}

.icon-menu:before
{
    content: '\e801';
}

/*** Core Superfish Menu Styles ***/
.sf-menu
{
    margin: 0;
    padding: 0;
    list-style: none;
}

    .sf-menu *
    {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .sf-menu ul
    {
        position: absolute;
        top: -999em;
        width: 10em;
        /* left offset of submenus need to match (see below) */
    }

        .sf-menu ul li
        {
            width: 100%;
        }

    .sf-menu li
    {
        float: right;
        position: relative;
    }

        .sf-menu li:hover
        {
            visibility: inherit;
            /* fixes IE7 'sticky bug' */
        }

    .sf-menu a
    {
        display: block;
        position: relative;
    }

    .sf-menu li:hover ul, .sf-menu li.sfHover ul
    {
        left: 0;
        top: 2.5em;
        /* match top ul list item height */
        z-index: 99;
    }

ul.sf-menu li:hover li ul, ul.sf-menu li.sfHover li ul
{
    top: -999em;
}

ul.sf-menu li li:hover ul, ul.sf-menu li li.sfHover ul
{
    left: 10em;
    /* match ul width */
    top: 0;
}

ul.sf-menu li li:hover li ul, ul.sf-menu li li.sfHover li ul
{
    top: -999em;
}

ul.sf-menu li li li:hover ul, ul.sf-menu li li li.sfHover ul
{
    left: 10em;
    /* match ul width */
    top: 0;
}


/*** Theme Styles **/


div.global
{
    /* Begin modifications to Superfish menu */
}

    div.global .date-search
    {
        height: 30px;
        background: #fcfcfc;
        border-top: 3px solid #c41e32;
    }

    div.global .branding
    {
        background: #606060;
        height: 137px;
        overflow: none;
    }

        div.global .branding h1
        {
            margin: 0;
        }

        div.global .branding img.logo
        {
            margin: 18px 0 0 16px;
            max-width: 80%;
        }

    div.global nav
    {
        background: #013E90;
        min-height: 40px;
    }

        div.global nav #hamburger
        {
            display: none;
            cursor: pointer;
            text-align: center;
            line-height: 46px;
            color: #dddddd;
        }
         div.global nav #hamburger ul li hover
        {
            display: block;
           
        }

@media screen and (max-width: 768px)
{
    div.global nav #hamburger
    {
        display: block;
    }
}

div.global nav ul
{
    margin: 0;
    padding: 0 0;
    display: block;
}

@media screen and (max-width: 768px)
{
    div.global nav ul
    {
        display: none;
        margin: 7px 0;
        padding: 0;
    }
}

div.global nav ul li
{
    display: inline-block;
    color: #dddddd;
    line-height: 44px;
    border-right: 1px solid white;
    border-left: 1px solid white;
}

@media screen and (max-width: 768px)
{
    div.global nav ul li
    {
        width: 100%;
        background: #606060;
        border-left: none;
        border-right: none;
        border-top: 1px solid #474747;
        border-bottom: 1px solid #141414;
    }

        div.global nav ul li:first-child
        {
            border-top: none;
        }

        div.global nav ul li:last-child
        {
            border-bottom: none;
        }
}

div.global nav ul li:first-child
{
    border-left: none;
}

div.global nav ul li:last-child
{
    border-right: none;
}

div.global nav ul li:hover
{
    background-color: #3162a4;
    color: #c41e32;
}

@media screen and (min-width: 768px)
{
    div.global nav ul li:hover > a
    {
        position: relative;
    }

        div.global nav ul li:hover > a:after
        {
            content: "";
            position: absolute;
            left: 20px;
            top: 40px;
            border-width: 0 8px 8px;
            border-style: solid;
            border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #ef3636;
            display: block;
            width: 0;
            z-index: 999;
        }
}

div.global nav ul li ul
{
    margin-top: 2px;
    background: #606060;
    border-top: 4px solid #474747;
    padding: 0;
}

@media screen and (max-width: 768px)
{
    div.global nav ul li ul
    {
        width: 100% !important;
    }
}

div.global nav ul li ul li
{
    border-top: 1px solid #474747;
    border-bottom: 1px solid #141414;
    border-right: none;
    border-left: none;
}

    div.global nav ul li ul li:first-child
    {
        border-top: none;
    }

    div.global nav ul li ul li:last-child
    {
        border-bottom: none;
    }

    div.global nav ul li ul li a
    {
        padding: 10px 15px;
        line-height: 1em;
    }

    div.global nav ul li ul li:hover
    {
        padding-left: 5px;
        -webkit-transition-property: all;
        -moz-transition-property: all;
        -o-transition-property: all;
        transition-property: all;
        -webkit-transition-duration: 0.5s;
        -moz-transition-duration: 0.5s;
        -o-transition-duration: 0.5s;
        transition-duration: 0.5s;
    }

@media screen and (min-width: 768px)
{
    div.global nav ul li ul li:hover a:after
    {
        border: none;
    }
}


div.global nav ul li a
{
    text-decoration: none;
    color: white;
    padding: 0 19px;
}

    div.global nav ul li a:hover
    {
        color: white;
    }

div.global nav ul li.home
{
    min-width: 46px;   
    border-right: none;
    text-align: center;
    border-right: 1px solid;
     color: #fff;
    background: #c41e32;
}

    div.global nav ul li.home span
    {
        display: none;
    }

div.global nav ul li .sub-indicator, div.global nav ul li .top-menu ul li a .sub-indicator
{
    right: 7px;
    top: 50%;
    margin-top: -2px;
    position: absolute;
    display: inline-block;
    content: '';
    width: 0;
    height: 0;
    border: 4px solid rgba(0, 0, 0, 0);
    border-top: 4px solid #dddddd;
}
