
.flexdropdownmenu, .flexdropdownmenu ul { /*topmost and sub ULs, respectively*/
    font: normal 13px Verdana;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    top: 0;
    list-style-type: none;
    background: white;
    border: 1px solid black;
    border-bottom-width: 0;
    visibility: hidden;
    display: none; /*collapse all sub menus to begin with*/
    box-shadow: 3px 3px 8px #818181; /*shadow for CSS3 capable browsers.*/
    -webkit-box-shadow: 3px 3px 8px #818181;
    -moz-box-shadow: 3px 3px 8px #818181;
}


    .flexdropdownmenu li {
        position: relative;
    }

        .flexdropdownmenu li a {
            display: block;
            width: 160px; /*width of menu (not including side paddings)*/
            color: black;
            background: #9CDEF7;
            border-bottom: 1px solid black;
            text-decoration: none;
            padding: 4px 5px;
        }

    * html .flexdropdownmenu li { /*IE6 CSS hack*/
        display: inline-block;
        width: 170px; /*width of menu (include side paddings of LI A*/
    }

        .flexdropdownmenu li a:hover, .flexdropdownmenu li.selected > a {
            background: #F0CE7D;
        }

.rightarrowclass {
    position: absolute;
    top: 6px;
    right: 5px;
}


/* ######### CSS for shadow added to sub menus  ######### */

.ddshadow {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    background-color: #ccc; /* generally should be just a little lighter than the box-shadow color for CSS3 capable browsers */
}

.toplevelshadow {
    margin: 5px 0 0 5px; /* in NON CSS3 capable browsers gives the offset of the shadow */
    opacity: 0.8; /* shadow opacity mostly for NON CSS3 capable browsers. Doesn't work in IE */
}

.ddcss3support .ddshadow.toplevelshadow {
    margin: 0; /* in CSS3 capable browsers overrides offset from NON CSS3 capable browsers, allowing the box-shadow values in the next selector to govern that */
    /* opacity: 1; */ /* optionally uncomment this to remove partial opacity for browsers supporting a box-shadow property which has its own slight gradient opacity */
}

.ddcss3support .ddshadow {
    background-color: transparent;
    box-shadow: 5px 5px 5px #aaa; /* box-shadow color generally should be a little darker than that for the NON CSS3 capable browsers background-color */
    -moz-box-shadow: 5px 5px 5px #aaa;
    -webkit-box-shadow: 5px 5px 5px #aaa;
}

/* ######### Mobile menu container CSS ######### */

div.flexoverlay { /* overlay that covers page when mobile menu is shown */
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: fixed;
    background: black;
    -webkit-transform-style: preserve-3d;
    opacity: 0.7;
    z-index: 1000; /* z-index value should be smaller than 	mobilezindex: 1001 variable inside flexdropdown.js */
    display: none;
}

div.flexmenumobile { /* main mobile menu container */
    position: fixed;
    color: white;
    width: 250px; /* width of mobile menu */
    display: none;
}

    div.flexmenumobile a {
        color: white;
        text-decoration: none;
    }


    div.flexmenumobile ul { /* style for all ULs in general inside mobile menu */
        list-style: none;
        width: 100%;
        top: 0;
        left: 0;
        background: white;
        border: 1px solid black;
        margin: 0;
        padding: 0;
        position: absolute;
        opacity: 0;
        visibility: hidden;
    }



        div.flexmenumobile ul li {
            border-bottom: 1px solid gray;
            position: relative;
            font-weight: bold;
        }

            div.flexmenumobile ul li.breadcrumb { /* breadcrumb LI that's added to the top of every sub level UL */
                cursor: pointer;
                padding: 8px;
                padding-left: 5px;
                background: gray;
                font-size: 1.1em;
            }

            div.flexmenumobile ul li a {
                display: block;
                color: black;
                background: #fae7a9;
                border-bottom: 1px solid black;
                padding: 6px;
                font-size: 1.1em;
            }

                div.flexmenumobile ul li a:hover {
                    background: #F0CE7D;
                }

        div.flexmenumobile ul img.backarrow {
            margin-right: 5px;
        }

        div.flexmenumobile ul img.rightarrow {
            position: absolute;
            right: 5px;
            top: 10px;
        }
