﻿.template_main_menu_area {
    padding: 0px;
    margin: 0px;
}

ul {
    padding-top: 4px;
    /*margin-top: 4px;*/
}

.template_menu_item a:hover, .template_main_menu_area a:hover {
    border-bottom:0;
}

.cssmenu {
    font-size: 11px;
    font-weight: bold;
    display: block;
    float:left;
    padding: 0px;
    margin: 2px;
    margin-left: 0;
    width: auto;
    background-color: #eee;
    border: solid 0px;
    border-color:#ffffff;
}

    .cssmenu ul {
        z-index: 100;
        list-style-type: none;
        padding: 0px;
    }
        /*Top level list items*/
        .cssmenu ul li {
            position: relative;
            list-style-type: none;
            display: block;
            float: left;
            width: 100%;
            padding: 0px;
            margin-left: 0em;
            padding-left: 0em;
            margin-bottom: 0em;
            /*border-right:1px solid #000;*/
            border-top: 1px solid #ccc;
            border-bottom: 1px solid #000;
        }
            /*Top level menu link items style*/
            .cssmenu ul li a {
                font-size: 11px;
                font-weight: bold;
                display: block;
                color: #000062;
                text-decoration: none;
                padding-left: 6px;
            }

            * html .cssmenu ul li a {
                /*IE6 hack to get sub menu links to behave correctly*/
                display: inline-block;
                font-weight: bold;
                font-size: 11px;
            }

                .cssmenu ul li a:link, .cssmenu ul li a:visited {
                    color: #000062;
                    line-height: 2;
                }

                .cssmenu ul li a.selected {
                    /*CSS class that's dynamically added to the currently active menu items' LI A element*/
                    background: #ccc;
                    line-height: 2;
                    color: #000;
                }

                .cssmenu ul li a:hover {
                    background: #ccc; /*background of menu items during onmouseover (hover state)*/
                    /*display: block;*/
                    line-height: 2;
                    color: #000;
                    text-decoration: underline;
                }

            /*1st sub level menu*/
            .cssmenu ul li ul {
                position: absolute;
                display: none; /*collapse all sub menus to begin with*/
                visibility: hidden;
                background: #ccc;
                left:181px;
            }

                /*Sub level menu list items (undo style from Top level List Items)*/
                .cssmenu ul li ul li {
                    display: list-item;
                    position:relative;
                    min-width:180px;
                    width: 100%;
                    float: none;
                }

                    /*All subsequent sub menu levels vertical offset after 1st level sub menu */
                    .cssmenu ul li ul li ul {
                        top: 0;
                    }

                    /* Sub level menu links style */
                    .cssmenu ul li ul li a {
                        font-size: 11px;
                        color: #337776;
                        line-height: 2;
                        background: #ccc;
                        vertical-align: bottom;
                        border-spacing: 0px;
                        border-left: 1px solid #000;
                        border-right: 1px solid #000;
                    }

/* Holly Hack for IE \*/
* html .cssmenu {
    height: 1%;
}

/*Holly Hack for IE7 and below*/
/* ######### CSS classes applied to down and right arrow images  ######### */
.downarrowclass {
    position: absolute;
    top: 12px;
    right: 12px;
}

.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: silver;
}

.toplevelshadow {
    /*shadow opacity. Doesn't work in IE*/
    opacity: 0.8;
}
