/*
 *                Horizontal, top-2-bottom menu
 *                Copyright Aleksandar Vacic, www.aplus.co.yu, some rights reserved https://creativecommons.org/licenses/by/2.0/
 */


/* - - - ADxMenu: BASIC styles - - - */

/* remove all list stylings */
.menu, .menu ul {
        margin: 0;
        padding: 0;
        border: 0;
        list-style-type: none;
        display: block;
}

/* move all list items into one row, by floating them */
.menu li {
        margin: 0;
        padding: 0;
        border: 0;
        display: block;
        float: left;
}

/* define new starting point for the nested UL, thus making positioning it a piece of cake */
.menu li:hover {
        position: relative;
}

/* force the submenu items into separate rows, while still keeping float:left (which resolves IE6 white-gap problem) */
.menu li li {
        width: 100%;
}

/* fix the position for 2nd level submenus.
        first make sure no horizontal scrollbars are visible on initial page load by sliding them all into top-left corner  */
.menu li li div {
        top: 0;
        left: 0;
}

/* ...and then place the submenu where it should be when shown */
.menu li li:hover div {
        left: 100%;
}

/* initialy hide all sub menus */
.menu div {
        display: none;
        position: absolute;
        z-index: 10;
}

/* display them on hover */
.menu li:hover>div {
        display: block;
}

/* -- float.clear -- force containment of floated LIs inside of UL */
.menu:after, .menu ul:after {
        content: ".";
        height: 0;
         display: block;
        visibility: hidden;
        overflow: hidden;
        clear: both;
}
/* IE7 float clear: */
.menu, .menu ul {
        min-height: 0;
}
/* -- float.clear.END --  */

/* sticky submenu: it should not disappear when your mouse moves a bit outside the submenu
        YOU SHOULD NOT STYLE the background of the ".menu div" or this feature may not work properly!
        if you do it, make sure you 110% know what you do */

.menu div {
        padding: 10px 30px 30px 30px;
        margin: -10px 0 0 -30px;
        /*background: #f00;*/                /* uncomment this if you want to see the "safe" area. you can also use to adjust the safe area to your requirement */
}

/* - - - ADxMenu: DESIGN styles - - - */

.menu {                /* navigation background style */
        font-size: 18px;
        font-style: normal;
        position:relative;
        z-index:2000;
        top: -6px;
        color: #000;
        background: transparent;         /* uncomment this if you want to use a color instead of background image */
        border: 0px solid #ccc;
        margin-top: 8px;
}

.menu ul {        /* drop down menu style */
        width: 150px;
        background: #fff;
        border:1px solid #ccc;
}

.menu li li:hover>div {        /* inset 2nd+ submenus, to show off overlapping */
        top: 5px;
        left: 90%;
}

.menu ul a:hover { /* drop down hover style (IE6 included) */
        background: #eee;
        font-weight:normal;
}

.menu li:hover>a {         /* first level hover button style (IE6 excluded) */
        color: #000;
        background: url(../images/nav2.gif) 100% 0 no-repeat;
        /*background: #eee;*/         /* uncomment this if you want to use a color instead of background image */
}

.hover2 li:hover>a {        /* drop down hover style (IE6 excluded) */
        color: #000;
        background: #eee;
}

.blass {        /* drop down hover style (IE6 excluded) */
        /*content: "|";   */
        color: #d2d2d2;
        background: #ffffff;
}

.menu a {        /* first level button style (IE6 included) */
        font-family: Georgia;
        color: #00007F;
        padding-left: 8px;
        padding-right: 8px;
        padding-bottom: 8px;
        display: block;
        text-decoration:underline;

}

.menu a:hover {                /* first level button hover style (IE6 included) */
        color: #00007F;
        background: url(../images/nav2.gif) 100% 0 no-repeat;
        /*background: #eee;*/         /* uncomment this if you want to use a color instead of background image */
        text-decoration:underline;

}

.menu ul a {        /* remove inheritance from submenus (IE6 included)*/
        color: #00007F;
        background: #fff;
        font-weight:normal;
        text-decoration:underline;
}

.active a {        /* first level menu active state style (IE6 included) */
        color: #00007F;
        background: url(../images/nav2.gif) 100% 0 no-repeat;
        text-decoration: none;
}


/* Fix for IE5/Mac \*//*/
.menu a {
        float: left;
}
.menu {
        display: inline-block;
}
/* End Fix */

/*]]>*/