﻿/*Logo Divisions*/

/*Desktop*/
#abovemenu {
    max-width: 1280px;
    margin: auto;
}
.desktop-header-logo > a > img {
    margin-top: 12px;
    margin-bottom: 1vw;
    width: 20vw;
    margin-left: 0;
    max-width: 257px;
}

@media screen and (max-width: 939px) {
    #abovemenu {
        /*display: none;*/
    }
}


/* MAIN NAVIGATION MENU*/
#main-menu-wrapper {
    max-width: 1280px;
    background-color: #ececec;
    text-align: center;
    height: 72px;
    z-index: 99999;
    margin: auto;
    margin-top: -1em;
}
@media screen and (max-width: 939px) {
    #main-menu-wrapper {
        display: none;
    }
}

/* FONTS for when Google Fonts don't load */
@font-face {
    font-family: 'regularOpenSans';
    src: url('../fonts/FontOpenSans/OpenSans-Regular.ttf');
}
@font-face {
    font-family: 'semiboldOpenSans';
    src: url('../fonts/FontOpenSans/OpenSans-SemiBold.ttf');
}
@font-face {
    font-family: 'boldOpenSans';
    src: url('../fonts/FontOpenSans/OpenSans-Bold.ttf');
}

.megamenu {
    display: block;
    width: 100%;
    height: 72px;
    margin: auto;
    background-color: #ececec;
    z-index: 99999;
    font-family: 'Open Sans', 'regularOpenSans', Arial, Helvetica, sans-serif !important;
    font-size: 16px;
    font-weight: normal;
}
@media screen and (max-width: 939px) {
    .megamenu {
        display: none;
    }
}

.megamenu a, .megamenu a:visited {
    cursor: pointer;
    font-family: 'Open Sans', 'regularOpenSans', Arial, Helvetica, sans-serif !important;
    font-size: 16px;
    color: #000;
    font-weight: normal;
}

    .megamenu a:hover {
        text-decoration: underline;
    }


/*MAIN MENU ITEMS / LINKS */
    .megamenu > ul {
        width: 100%;
        display: flex;
        list-style: none;
        justify-content: space-between;
        flex-wrap: nowrap;
        padding-left: 0;
    }

        .megamenu > ul > li {
            flex: 1 1 auto;
            text-align: center;
            height: 72px;
        }

    .hidearrow {
        display: none;
    }

    .rightarrow, .leftarrow {
        color: #000;
        margin-left: 1em;
        font-size: 14px;
    }

    .showarrow {
        display: inline;
    }

    .downarrow, .uparrow {
        margin-left: 0.5em;
        font-size: 14px;
    }


.activeitem {
    /*background-color: #fff;
    border: solid 1px #ececec;*/
}

    .activeitem > h2 > a {
        font-weight: bold;
        /*border-bottom: solid 2px #00205C;*/
        border-bottom: solid 4px #0071BB;
    }

.menupageitembutton:hover {
    text-decoration: none !important;
    /*border-bottom: solid 2px #00205C;*/
    border-bottom: solid 4px #0071BB;
}


/*MEGAMENU PANEL*/

/*show/hide per mainmenunew.js*/
.hidetoppanel {
    display: none;
}

.showtoppanel {
    display: block;
    z-index: 99999;
}

/*top panel dimensions and columns*/
.toppanel {
    position: absolute;
    /*width: 900px; 
    height: 450px;*/
    width: 1080px;
    height: 525px;
    background-color: #fff;
    /*box-shadow: 0px 1px 11px #ececec;*/
    box-shadow: 4px 5px 10px -6px #000;
    text-align: left;
    padding: 0;
    margin-top: 4px;
    /*border-left: solid 1px #ececec;*/
}

.panel-column-1 {
    display: inline-block;
    /*width: 34%;*/
    width: 411px;
    height: 100%;
    vertical-align: top;
    border-right: 1px solid #ececec;
    overflow: hidden;
}

.panel-column-2 {
    display: inline-block;
    /*width: 35%;*/
    width: 335px;
    height: 100%;
    overflow: hidden;
}

.panel-column-3 {
    display: inline-block;
    /*width: 278px;*/
    width: 333px;
    height: 100%;
    overflow: hidden;
}


/* COLUMN 1 - CHILD LINKS */

/* name / link for the topmost page in this hierarchy */
.toppagetoggle {
    cursor: pointer;
    padding-left: 30px !important;
    padding-top: 20px;
    width: 100%;
    margin-top: 0.5em;
    font-size: 16px;
    padding-left: 8px;
}

    .toppagetoggle > a {
        font-weight: bold;
        font-family: 'Open Sans', boldOpenSans, Arial, Helvetica, sans-serif !important;
        color: #000;
    }

/* child link list */
    .listblock {
        display: inline-block;
        vertical-align: top;
    }

        .listblock a {
            font-weight: normal;
        }


        .listblock > ul {
            list-style-type: none;
        }

    .toppanellistblock {
        width: 100%;
    }

    .toppanellistitem {
        padding: 1px 0;
        border-left: solid 6px #fff;
    }

    .toppanellistitem > h3 > a {
        color: #000;
        overflow-wrap: normal;
    }

        /*.toppanellistitem > h3 > a[aria-expanded="true"] {
    border-left: solid 3px #0071BB;
}*/

        .toppanellistitem > h3 > a:hover {
            text-decoration: none;
        }

    .toppanellistblock > ul {
        padding-left: 0;
    }

        .toppanellistblock > ul > li > h3 {
            padding: 0 5px 0 24px;
        }

    .activelistitem {
        border-left: solid 6px #0071BB;
        text-decoration: none;
        display: block;
        background-color: #ececec;
        font-weight: bold;
        font-family: 'Open Sans', boldOpenSans, Arial, Helvetica, sans-serif !important;

    }

        .activelistitem > h3 > a {
            font-weight: bold;
        }

    .h3hoverstyle {
        border-left: solid 6px #0071BB;
        text-decoration: none;
        display: block;
        background-color: #ececec;
        font-weight: 700;
        font-family: 'Open Sans', boldOpenSans, Arial, Helvetica, sans-serif !important;
    }

/* COLUMN 2 - BLURB FOR TOP PAGE IN HIERARCHY */


    .toppageblurb {
        display: inline-block;
        /*width: 225px;*/
        overflow: hidden;
        vertical-align: top;
        height: 100%; 
        text-align: left;
    }

        .toppageblurb > a, .toppageblurb > a:visited {
            /*color: #00205C;*/
            color: #0071BB;
            padding-left: 20px;
            padding-top: 20px;
            font-family: 'Open Sans', semiboldOpenSans, Arial, Helvetica, sans-serif !important;
            font-weight: 600;
        }

    .blurbtext {
        max-height: 73%;
        overflow: hidden;
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 24px;
        padding: 16px 64px 0 20px;
    }

        .blurbtext a {
            color: #0071bb;
            font-family: 'Open Sans', 'regularOpenSans', Arial, Helvetica, sans-serif !important;
            /*font-weight: 400 !important;*/
            font-weight: normal;
            text-decoration: underline;
            font-size: 14px;
            line-height: 22px;
        }

        .blurbtext a:visited {
            color: #0071bb;
        }


/* COLUMN 3 - SPOTLIGHT FOR TOP PAGE IN HIERARCHY */


    .spotlightpanel {
        display: inline-block;
        height: 100%;          
        background-color: #ececec;
    }

        .spotlightpanel > h2 {
            margin: 0;
            padding: 12px 30px;
        }

            .spotlightpanel > h2 > a, .spotlightpanel > h2 > a:visited, .spotlightpanel > h2 > a:hover {
                font-family: 'Open Sans', 'semiboldOpenSans', Arial, Helvetica, sans-serif !important;
                font-weight: 600 !important;
                color: #000 !important;
                text-decoration: underline;
            }


    .spotlightimage {
        width: 100%;
        height: 46%;
        overflow: hidden;
    }

    .spotlighttext {
        width: 79%;
        height: 34%;
        overflow: hidden;
        padding: 0 40px 16px 30px;
        font-size: 14px;
    }

        .spotlighttext > p {
            margin: 0;
        }

 

/* COLUMN 2 - CHILD PANEL - SHOWS GRANDCHILD LINKS */

/* childpanel covers the blurb when child list item clicked per mainmenunew.js */
    .hidechildpanel {
        display: none;
    }

    .showchildpanel {
        display: block;
        z-index: 99999;
    }

/* child panel dimensions */
.childpanel {
    position: absolute;
    width: 335px; /* equals the width of panel-column-2 */
    height: 100%;
    background-color: #fff;
    text-align: left;
    margin-left: 406px; /* equals the width of panel-column-1 minus width of activeitem left border */
    bottom: 0;
}

/* clicked child list item name and link */
        .childpanel > h3 {
            padding-left: 20px;
            padding-right: 20px;
            padding-top: 8px;
        }

            .childpanel > h3 > a {
                font-weight: bold;
                font-family: 'Open Sans', boldOpenSans, Arial, Helvetica, sans-serif !important;
            }

        .childpanel a {
            color: #000;
        }


    /* GRANDCHILDREN */
    .childpanellistblock {
        width: 100%;
    }

        .childpanellistblock > ul {
            padding-left: 0;
        }

            .childpanellistblock > ul > li {
                /*line-height: 36px;*/
            }

            .childpanellistblock > ul > li > a {
                padding: 13px 5px 13px 20px;
                display: block;
            }

                .childpanellistblock > ul > li > a:hover {
                    text-decoration: none;
                    border-left: solid 6px #0071BB;
                    background-color: #ececec;
                    font-weight: bold;
                    font-family: 'Open Sans', boldOpenSans, Arial, Helvetica, sans-serif !important;
                }



/* MOBILE MENU */
    .accessible-megamenu-toggle {
        display: none;
    }
