/*  Generated by www.menucool.com/drop-down-menu  - Modified for nwmenu */


/* main menu
----------------------------*/
#nwmenu {
    display: block;
    font-family: inherit; /* Rely on nukeworker_header_w_sidebar.php's clean fonts */
    text-align: center;
    /*Specify the alignment of the whole UL if UL is not width:100%;*/
    letter-spacing: -0.12px;
}


#nwmenu ul {
    margin: 0 auto;
    padding: 0;
    text-align: center;
    /* Alignment of each top-level menu items within the UL */
    width: 100%;
    font-size: 0;
    background: #346699;
    /* 205081 */
    display: inline-block;
    list-style: none;
    position: relative;
    /*  z-index: 999999990;*/
    z-index: 999999;
    border: none;
    border-radius: 2px;
}

#nwmenu li {
    margin: 0;
    padding: 0;
    font-size: 17px;
    display: inline-block;
    *display: inline;
    zoom: 1;
    /*for IE6-7*/
    position: relative;
    color: #EEE;
    line-height: 50px;
    /*This determines the height of the menu*/
    vertical-align: middle;
    transition: background-color 0.2s;
    outline: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

#nwmenu .full-width {
    position: static;
}

#nwmenu .over {
    color: #FFF;
    background-color: rgba(255, 255, 255, 0.15);
    background-color: #999 \9;
    /*fallback for old IE*/
}

#nwmenu .over.no-sub {}

#nwmenu .top-heading {
    font-weight: bold;
    margin: 0 16px;
    color: inherit;
    text-decoration: none;
    display: inline-block;
    outline: 0;
    cursor: pointer;
}

/* links of top-heading */
#nwmenu a,
#nwmenu a:link,
#nwmenu a:hover {
    color: inherit;
}

#nwmenu a:hover {
    text-decoration: none;
}

#nwmenu a:focus {
    outline: 1px dotted #09F;
}

/* caret(arrow icon) */
#nwmenu .caret {
    color: inherit;
    left: -18px;
    width: 0;
    height: 0;
    overflow: hidden;
    /*for IE6*/
    vertical-align: middle;
    margin-bottom: 2px;
    border-top: 4px solid;
    /*caret size is 4px now*/
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    display: inline-block;
    position: relative;
}

/* sub-menu layout
----------------------------*/

#nwmenu .dropdown {
    width: auto;
    left: 0px;
    color: yellow;
    padding: 0;
    margin: 0;
    display: none;
    position: absolute;
    overflow: hidden;
    top: 100%;
    border: 1px solid #CCC;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.14);
}

#nwmenu .full-width .dropdown {
    width: 100%;
    padding: 0;
    margin: 0;
}

#nwmenu .offset300 {
    left: -300px;
    right: auto;
}

#nwmenu .right-aligned {
    left: auto;
    right: 0px;
}

#nwmenu .over .dropdown {
    display: block;
}

#nwmenu .dd-inner {
    text-align: center;
    padding: 12px;
    margin: 0px;
    background-color: #346699;
    /* #EEEEEE */
    white-space: nowrap;
    font-size: 15px;

}

#nwmenu ul ul {
    margin: 0;
    padding: 0;
    text-align: left;
    width: auto;
    background: none;
    border: none;
    display: block;
    position: static;
    z-index: 0;
    border-radius: 0;
}

#nwmenu ul ul li {
    font-size: 15px;
    padding: 6px 0;
    /*It determines the line height*/
    color: inherit;
    line-height: 1;
    margin: 0;
    display: block;
    position: static;
    background: none;
    border: none;
    transition: none;
    border-radius: 0;
}

/* links in sub menu
----------------------------*/

#nwmenu .dropdown a {
    color: white;
    line-height: 1;
    text-decoration: none;
    transition: color 0.4s;
}

#nwmenu .dropdown a:hover,
#nwmenu .dropdown a:focus {
    text-decoration: none;
    color: yellow;
}

/* blocks within the sub-menu
-----------------------------*/
#nwmenu .column {
    text-align: left;
    vertical-align: top;
    /*or middle*/
    display: inline-block;
    *display: inline;
    *zoom: 1;
    white-space: normal;
    width: auto;
    min-width: 220px;
    padding: 0 15px;
    border-right: 1px solid #999;
}

#nwmenu .dd-inner ul:last-child {
    border-right: none;
}

#nwmenu .column h3 {
    font-weight: 500;
    line-height: 1.1;
    margin-top: 12px;
    margin-bottom: 8px;
    font-size: 24px;
    color: yellow;
}

#nwmenu li {
    border-left: 1px solid #2e6fb2;
    border-right: 1px solid #14314f;
}

#nwmenu li:first-child {
    border-left: none;
}

#nwmenu li:last-child {
    border-right: none;
}

/* useful when http://www.menucool.com/ddmenu/one-menu-for-all-pages */
#nwmenuLink {
    display: none;
}


/*######## add additional styles for mobile-friendly responsive menu ########*/

#nwmenu .menu-icon {
    display: none;
    /* hide menu icon initially */
}


/*styles for responsive menu*/
@media only screen and (min-width: 481px) and (max-width: 900px) {
    #nwmenu .column.mayHide {
        display: none;
    }

    #nwmenu ul {
        width: 100%;
    }

    #nwmenu li {
        width: 33.33%;
        box-sizing: border-box;
        text-align: left;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        border-left: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 0;
    }

    #nwmenu .column li {
        width: 200px;
    }

    #nwmenu .full-width {
        position: relative;
    }

    #nwmenu .full-width .dropdown {
        width: auto;
    }

    #nwmenu .column {
        border: none;
        padding: 0;
    }
}

/*styles for mobile*/
@media only screen and (max-width: 480px) {
    #nwmenu .column.mayHide {
        display: none;
    }

    /*override the original settings*/
    #nwmenu ul {
        width: 100%;
        display: none;
        border-radius: 0;

    }

    #nwmenu li {
        position: relative;
        display: block;
        font-size: 20px;
        text-align: left;
        border-bottom: 1px solid rgba(200, 200, 200, 0.2);
        border-radius: 0;
    }

    #nwmenu .full-width {
        position: relative;
    }

    #nwmenu .dropdown {
        position: relative;
        *top: auto;
        /*for IE7*/
        border: none;
        border-radius: 0;
        background-color: #346699;
    }

    #nwmenu .offset300 {
        left: 0;
    }

    #nwmenu .full-width .dropdown {
        width: auto;
    }

    #nwmenu .dd-inner {
        margin: 0;
        background: none;
        text-align: left;
    }

    /*turn each column to list vertically instead of horizontally */
    #nwmenu .column {
        width: auto;
        padding: 0;
        border: none;
        display: block;
    }

    /*move the arrow icon to right*/
    #nwmenu .caret {
        position: absolute;
        left: auto;
        right: 14px;
        top: 22px;
        border-width: 5px;
    }

    /* All the following are for the .menu-icon (pure CSS) */
    #nwmenu .menu-icon {
        font-size: 32px;
        /*icon size*/
        display: block;
        position: relative;
        width: 40px;
        height: 36px;
        text-align: center;
        cursor: pointer;
        -moz-user-select: none;
        -webkit-user-select: none;
        background-color: #EEE;
        border-radius: 3px;

        margin-bottom: 6px;
        margin-top: 3px;

        /*align the icon to the left*/
        margin-left: 12px;
        margin-right: auto;
    }

    #nwmenu .menu-icon::after {
        content: "Menu";
        font-size: 16px;
        font-weight: bold;
        color: #FFFFFF;
        position: absolute;
        left: 48px;
        top: 50%;
        transform: translateY(-50%);
        white-space: nowrap;
    }

    #nwmenu .menu-icon::before {
        content: "";
        position: absolute;
        top: 0.25em;
        left: 4px;
        width: 1em;
        height: 0.125em;
        border-top: 0.375em double #205081;
        border-bottom: 0.125em solid #205081;
        box-sizing: content-box;
    }

    #nwmenu .menu-icon-active {
        background-color: #205081;
    }

    #nwmenu .menu-icon-active::before {
        border-color: #EEE;
    }
}

/* All the following are for the .menu-more(pure CSS) */
#nwmenu .menu-more {
    font-size: 32px;
    /*icon size*/
    display: block;
    position: absolute;
    width: 40px;
    height: 36px;
    text-align: center;
    cursor: pointer;
    -moz-user-select: none;
    -webkit-user-select: none;

    border-radius: 3px;

    margin-bottom: 6px;
    margin-top: 1px;
    /*align the icon to the left*/
    margin-left: 60px;
    margin-right: auto;
}

#nwmenu .menu-promo-icon {
    font-size: 64px !important;
    color: #FFD700; /* Gold */
    display: block;
    margin: 10px auto;
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

#nwmenu .menu-promo-icon:hover {
    transform: scale(1.1);
    color: #FFF;
}
