.top-menu {
    clear:both;
    height:40px;
    float:right;
    margin: 10px auto; /*make the menu center-aligned*/
    padding-top:5px;
}
nav.main-nav {
    clear: both;
    margin-top: -3px;
    position: absolute;
    z-index: 111111111;
}

.menu,
.menu ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.menu li {
    display: block;
    float: left;
    position: relative;
    z-index: 5;
    margin: 0;
    padding: 0;
    border: 0;
}

.menu li:hover {
    z-index: 10000;
    white-space: normal;

}

.menu li li {
    float: none;

}

.menu ul {
    visibility: hidden;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;

}

.menu li:hover > ul {
    visibility: visible;
    top: 100%;
}

.menu li li:hover > ul {
    top: 0;
    left: 100%;
}

.menu:after,
.menu ul:after {
    display: block;
    visibility: hidden;
    clear: both;
    overflow: hidden;
    height: 0;
    content: ".";
}

.menu,
.menu ul {
    min-height: 0;
}

.menu ul,
.menu ul ul {
    margin: 0;
    padding: 0;
}

.menu ul li a:hover,
.menu li li a:hover {
    color: #FFBB00;
    text-decoration: none;
}

.menu ul {
    width: auto;
    min-width: 15em;
    margin-top: 1px;

}

.menu a {
    border-left: 1px solid #a5a4a4;
    color: #000;
    font-size: 16px;
    height: 45px;
    margin: 0;
    padding: 0 18px;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}

.menu a:hover {
    color:#000;
}
.menu a.active {
    background-color: #000;
    color:#fff;
    padding:10px;
}
ul.menu > li:hover {
    color: #000;


}

.menu .current_page_item a, .menu .current-menu-item a {
    color:#EF5150;
}

.front-page .menu .current_page_item a {
    background: none;
    background-color: transparent;
    background-image: none;

    filter: none;
}

.menu li li {
    width: auto;
    margin: -1px 0 1px 0;
    background: #2f2f2f;
    border: 1px solid #fff;
    padding: 5px;
    filter: none;
}
.menu li li a {
    background: none repeat scroll 0 0 transparent;
    border:medium none;
    color:#fff;
    font-family:arial;
    font-size: 16px;
    font-weight: 100;
    height: 20px;
    line-height: 20px;
    padding: 5px 10px;
    text-shadow:none!important;
    white-space: nowrap;
}

.menu li li a:hover {
    border: none;
    color: #000;

    background-image: none;

    filter: none;
}

.menu li li:hover {
    background: #FFBB00 !important;

    filter: none;
}

.menu ul > li + li {
    border-top: 0;
}

.menu li li:hover > ul {
    top: 0;
    left: 100%;
}

.menu > li:first-child > a {
    border-left: none;
}

.menu a#responsive_menu_button {
    display: none;
}

.main-nav #responsive_current_menu_item {
    display: none;
}

/*.js .main-nav .menu {*/
/*display: block;*/
/*}*/

/* =Primary Main Menu IE Fixes
-------------------------------------------------------------- */
.ie7 .menu ul {
    background: url(/10005/../core/images/ie7-fix.gif) repeat;
}

.ie7 .menu li li a {
    min-width: 100%;
}

/* =Sub-Header Menu
-------------------------------------------------------------- */
.sub-header-menu {
    clear: both;
    margin: 0 auto;
    border: 1px solid #e5e5e5;
    border-top: none;
    background-color: #fff;
}

.sub-header-menu,
.sub-header-menu ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.sub-header-menu li {
    display: block;
    float: left;
    position: relative;
    z-index: 5;
    margin: 0;
    padding: 0;
    border: 0;
}

.sub-header-menu li:hover {
    z-index: 10000;
    white-space: normal;
}

.sub-header-menu li li {
    float: none;
}

.sub-header-menu ul {
    visibility: hidden;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
}

.sub-header-menu li:hover > ul {
    visibility: visible;
    top: 100%;
}

.sub-header-menu li li:hover > ul {
    top: 0;
    left: 100%;
}

.sub-header-menu:after,
.sub-header-menu ul:after {
    display: block;
    visibility: hidden;
    clear: both;
    overflow: hidden;
    height: 0;
    content: ".";
}

.sub-header-menu,
.sub-header-menu ul {
    min-height: 0;
}

.sub-header-menu ul,
.sub-header-menu ul ul {
    margin: 0;
    padding: 0;
}

.sub-header-menu ul li a:hover,
.sub-header-menu li li a:hover {
    color: #484848;
    text-decoration: none;
}

.sub-header-menu ul {
    width: auto;
    min-width: 15em;
    margin-top: 1px;
}

.sub-header-menu a {
    display: block;
    position: relative;
    height: 35px;
    margin: 0;
    padding: 0 0.9em;
    border-left: 1px solid #e5e5e5;
    color: #333;
    text-shadow: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 35px;
    text-decoration: none;
    cursor: pointer;
}

.sub-header-menu a:hover {
    background-color: #f9f9f9;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
}

.sub-header-menu .current_page_item a,
.sub-header-menu .current-menu-item a {
    background-color: #f9f9f9;
}

.sub-header-menu li li {
    width: auto;
    margin: -1px 0 1px 0;
    border: 1px solid #e5e5e5;
    color: #444;
    background: #fff;
    background-image: none;

    filter: none;
}

.sub-header-menu li li a {
    height: auto;
    height: 20px;
    padding: 5px 10px;
    border: none;
    color: #444;
    text-shadow: none;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    white-space: nowrap;
}

.sub-header-menu li li a:hover {
    border: none;
    color: #444;
    background: #f9f9f9;
    background-image: none;

    filter: none;
}

.sub-header-menu ul > li + li {
    border-top: 0;
}

.sub-header-menu li li:hover > ul {
    top: 0;
    left: 100%;
}

.sub-header-menu > li:first-child > a {
    border-left: none;
}

.sub-header-menu ul.children a,
.sub-header-menu .current_page_ancestor,
.sub-header-menu .current_page_ancestor ul a {
    background: none;
    background-image: none;

    filter: none;
}

/* =Sub Header Menu IE Fixes
-------------------------------------------------------------- */
.ie7 .sub-header-menu ul {
    background: url(/10005/../core/images/ie7-fix.gif) repeat;
}

.ie7 .sub-header-menu li li a {
    min-width: 100%;
}
