﻿/* COLORS */
:root {
    --black: #000000;
    --gray: #545456;
    --gray-text: #545456;
    --dimgray: #828487;
    --darkgray: #b6b8ba;
    --gainsboro: #dedfe0;
    --white: #ffffff;
    --tricaredarkblue: #14377d;
    --tricaremediumblue: #006bb6;
    --tricarelightblue: #009dde;
    --tricareweblightblue: #e4f5fc;
    --tricareteal: #6dac88;
    --tricarered: #bc243d;
    --tricareorange: #ea7425;
    --tricareyellow: #ffd600;
}



/* Mobile Menu Burger Icon Button */
.tricare-burger-wrapper {
    display: none;
}

/* ---------------------------------- */
/* MOBILE SMALL <830px */
    @media screen and (max-width: 830px) {
        .tricare-burger-wrapper {
            display: flex;
            justify-content: space-between;
            border-top: solid 2px var(--dimgray);
            border-bottom: solid 2px var(--dimgray);
            padding: 10px 20px;
        }

        .tricare-burger-button {
            font-weight: 700;
            font-size: 20px;
            margin-top: 10px;
            padding-top: 10px;
        }
    }



.tricare-mainmenu {
    display: block;
    width: 90%;
    margin: auto;
    z-index: 99999;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    height: 60px;
    color: var(--gray-text);
}

/* ---------------------------------- */
/* MOBILE SMALL <830px */
        @media screen and (max-width: 830px) {
            .tricare-mainmenu {
               margin: 0;
               width: 99%;
               height: auto;
               position: relative;
               z-index: 9999;
            }
        }

    .tricare-homepageitem-button, .tricare-homepageitem-link {
        cursor: pointer;
        font-size: 16px;
        color: var(--gray-text);
        font-weight: 400;
        text-decoration: none;
        padding-bottom: 18px;
    }


        .tricare-homepageitem-button:hover, .tricare-homepageitem-button:focus, .tricare-homepageitem-link:hover, .tricare-homepageitem-link:focus {
            border-bottom: 3px solid var(--tricaredarkblue);
            color: var(--tricaredarkblue);
            font-weight: 700;
        }


/* ---------------------------------- */
/* MOBILE SMALL <830px */
            @media screen and (max-width: 830px) {
                .tricare-homepageitem-button, .tricare-homepageitem-link {
                    padding-bottom: 8px;
                }

                    .tricare-homepageitem-button:hover, .tricare-homepageitem-button:focus, .tricare-homepageitem-link:hover, .tricare-homepageitem-link:focus {
                        border-bottom: none;
                        color: var(--tricaredarkblue);
                        font-weight: 700;
                        text-decoration: underline;
                        text-underline-offset: 8px;
                    }

            }

    /*MAIN MENU ITEMS / LINKS */
    .tricare-mainmenu > ul {
        width: 100%;
        display: flex;
        list-style: none;
        justify-content: space-around;
        flex-wrap: nowrap;
        padding-left: 0;
        margin-left: 5%;
        margin-top: 0;
        margin-bottom: 0;
    }

    .tricare-mainmenu-top-nav-item {
        flex: 1 1 auto;
        text-align: left;
        padding: 0 2em;
    }


    .tricare-mainmenu > ul > li > h2 {
        font-size: 16px;
        line-height: 28px;
        margin-top: 16px;
        margin-bottom: 0;
    }

/* ---------------------------------- */
/* MOBILE SMALL <830px */
@media screen and (max-width: 830px) {
    .tricare-mainmenu > ul {
        display: block;
        margin-left: 0;
        margin-top: 0;
        padding-left: 0;
        background-color: var(--white);
        position: relative;
        padding-bottom: 8px;
        padding-top: 1px;
        border-left: solid 2px var(--dimgray);
        border-right: solid 2px var(--dimgray);
        border-bottom: solid 2px var(--dimgray);
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
    }

    .tricare-mainmenu-top-nav-item {
        display: block;
        padding: 0 0 8px 5%;
        border-bottom: 2px solid var(--dimgray);
    }

        .tricare-mainmenu-top-nav-item:last-of-type {
            border-bottom: none;
            padding-bottom: 0;
        }

    .tricare-mainmenu > ul > li > h2 {
        margin-top: 12px;
    }
}

    /*mainmenu PANEL*/
    .tricare-mainmenu-panel {
        background-color: var(--white);
        text-align: left;
        margin-top: 14px;
        border: 1px solid var(--dimgray);
        border-bottom-right-radius: 8px;
        border-bottom-left-radius: 8px;
        position: absolute;
        min-width: 275px;
    }

/* ---------------------------------- */
/* MOBILE SMALL <830px */
            @media screen and (max-width: 830px) {
                .tricare-mainmenu-panel {
                    margin-top: 3px;
                    margin-left: -18px;
                    position: relative;
                    border: none;
                }
            }

    .tricare-mainmenu-panel > h2, .tricare-mainmenu-panel > h2 > a {
        font-size: 16px;
        font-weight: 700;
        line-height: 36px;
        padding-top: 6px;
        margin-top: 0;
        margin-bottom: 0;
        padding-left: 1em;
        text-decoration: none;
    }

    .tricare-mainmenu-panel > h2 {
        border-bottom: 1px solid var(--dimgray);
    }

        .tricare-mainmenu-panel > h2:hover, .tricare-mainmenu-panel > h2:focus {
            background-color: var(--tricareweblightblue);
        }

    .tricare-homepageitem-panel-link:hover, .tricare-homepageitem-panel-link:focus, .tricare-homepageitem-panel-link > a:hover, .tricare-homepageitem-panel-link > a:focus {
        text-decoration: underline;
        color: var(--tricaremediumblue);
    }


    /* CHILDREN PANEL */
    .tricare-listblock {
        display: block;
        vertical-align: top;
        overflow: hidden;
    }

        .tricare-listblock > ul {
            list-style-type: none;
            padding-left: 0;
        }

    .tricare-lisblock > ul > li {
        padding-top: 8px;
    }

    .toppanellistitem {
        border-bottom: solid 1px var(--dimgray);
        padding-bottom: 0;
    }

        .toppanellistitem:last-of-type {
            border-bottom: none;
            padding-bottom: 0.5em !important;
        }

        .toppanellistitem:hover, .toppanellistitem:focus {
            background-color: var(--tricareweblightblue);
        }

        .toppanellistitem:last-of-type:hover, .toppanellistitem:last-of-type:focus {
            border-bottom-left-radius: 8px;
            border-bottom-right-radius: 8px;
        }

    .tricare-listblock > ul > li > h3 {
        font-size: 16px;
        line-height: 24px;
        color: var(--gray-text);
        text-align: left;
        font-weight: 400;
        margin: 0 12px;
        padding-left: 0.5em;
        text-decoration: none;
    }

    .grandchildlesslink {
        font-size: 16px;
        line-height: 24px;
        color: var(--gray-text);
        text-align: left;
        font-weight: 400;
        margin: 0 12px;
        text-decoration: none;
    }




    .childpageitembutton {
        margin-left: 1.5em !important;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .tricare-listblock > ul > li > h3:hover, .tricare-listblock > ul > li > h3:focus, .grandchildlesslink:hover, .grandchildlesslink:focus {
        font-weight: 700;
        color: var(--tricaremediumblue);
        cursor: pointer;
    }

    .grandchildlesslink:hover, .grandchildlesslink:focus {
        text-decoration: underline;
    }

    .grandchildlesslinkh3 {
        padding-top: 12px;
        padding-bottom: 12px;
    }


    /* GRANDCHILDREN PANEL */
    .tricare-grandchildren-panel {
        vertical-align: top;
        margin-top: 0;
        border: none;
        border-bottom-left-radius: 0;
        position: relative;
    }


        .tricare-grandchildren-panel ul {
            list-style-type: none;
            text-align: left;
            padding-left: 0;
        }

            .tricare-grandchildren-panel ul li {
                padding-left: 2em;
                padding-bottom: 0;
            }

                .tricare-grandchildren-panel ul li:last-of-type {
                    padding-bottom: 0.5em !important;
                }

        .tricare-grandchildren-panel a {
            font-size: 16px;
            line-height: 24px;
            color: var(--gray-text);
            text-align: center;
            font-weight: 400;
            margin: 12px;
            text-decoration: none;
        }

        .tricare-grandchildren-panel > h3 {
            font-size: 16px;
            margin-bottom: 0;
            margin-top: 4px;
            text-align: left;
            padding-left: 2.5em;
        }

            .tricare-grandchildren-panel > h3 > a {
                font-weight: 700;
            }

        .tricare-grandchildren-panel a:hover, .tricare-grandchildren-panel a:focus {
            color: var(--tricaremediumblue);
            text-decoration: underline;
            font-weight: 700;
        }

        .tricare-grandchildren-panel > h3:hover, .tricare-grandchildren-panel ul li:hover {
            background-color: var(--tricareweblightblue);
        }


/* ---------------------------------- */
/* MOBILE SMALL <830px */
@media screen and (max-width: 830px) {
    .tricare-grandchildren-panel ul li {
        padding-left: 3em;
    }
    .tricare-grandchildren-panel > h3 {
        padding-left: 3.5em;
    }
}


    /* SHOW + HIDE MENU PANELS */
    .hidewholemenu {
        display: none;
    }

    .showwholemenu {
        display: block !important;
        z-index: 99998;
    }

    .hidetoppanel {
        display: none;
    }

    .showtoppanel {
        display: block;
        z-index: 99999;
    }

    .hidechildpanel {
        display: none;
    }

    .showchildpanel {
        display: block;
        z-index: 99999;
    }

    /* SHOW + HIDE DOWN/UP ARROW FOR MENUS*/
    .tricare-arrow-visible {
        display: inline-block;
    }

    .tricare-arrow-hidden {
        display: none;
    }
