.yui3-menu ul {
    position: absolute;
    visibility: hidden;
}

.yui3-menu.yui3-menu-open {
    visibility: visible;
    z-index: 2;
    width: 100%;
}

.yui3-menu ul {
    left: -10000px;
    list-style: none;
    margin: 0;
    padding: 0;
    top: -10000px;
    z-index: 1;
}

.yui3-menu > ul { position: relative; }

.yui3-menu-open > ul {
    left: 0;
    top: 0;
    visibility: visible;
}

.yui3-menu li { position: relative; }

.yui3-menu a, .yui3-menu .yui3-menu-heading {
    display: block;
    color: inherit;
    line-height: 1.5em;
    padding: 5px 20px;
    text-decoration: none;
    white-space: nowrap;
}

.yui3-menu.yui3-menu-horizontal > .yui3-menu-heading {
    display: inline-block;
    margin: 0;
    zoom: 1;
    *display: inline;
    vertical-align: middle;
}
.yui3-menu.yui3-menu-horizontal > ul {
    display: inline-block;
    zoom: 1;
    *display: inline;
    vertical-align: middle;
}

.yui3-menu li a { padding: 5px 20px; }

.yui3-menu-can-have-children > .yui3-menu-label:after {
    content: '\25B8';
    float: right;
    font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'DejaVu Sans', sans-serif; /* These specific fonts have the Unicode char we need. */
    margin-right: -20px;
    margin-top: -1px;
}

.yui3-menu-can-have-children > .yui3-menu-label {
    padding-right:30px;
}

.yui3-menu-separator {
    background-color: #dfdfdf;
    display: block;
    height: 1px;
    font-size: 0;
    margin: 7px 2px;
    overflow: hidden;
}

.yui3-menu-hidden { display: none; }

/* FIXED MENU */
.yui3-menu-fixed {
    position: fixed;
    top:0;
    left:0;
    width: 100%;
}


/* HORIZONTAL MENU CODE */

/* Initial menus should be inline-block so that they are horizontal */
.yui3-menu-horizontal li {
    display: inline-block;
    zoom: 1;
    *display: inline;
    vertical-align: middle;
}

/* Submenus should still be display:block; */
.yui3-menu-horizontal li li {
    display: block;
}

/* Content after should be down arrow */
.yui3-menu-horizontal > .yui3-menu-children > .yui3-menu-can-have-children > .yui3-menu-label:after {
    content: "\25BE";
}
/*Add extra padding to elements that have the arrow so that the hover looks nice */
.yui3-menu-horizontal > .yui3-menu-children > .yui3-menu-can-have-children > .yui3-menu-label {
    padding-right:30px;
}

/* MAIN MENU STYLING */

.yui3-menu.yui3-menu-open,
.yui3-menu.yui3-menu-horizontal li .yui3-menu-children {
    background: #ffffff; /* Old browsers */    
    border-radius: 3px;
    border: 1px solid #b7b7b7;
}

/* remove borders for horizontal menus */
.yui3-menu.yui3-menu-horizontal, .yui3-menu.yui3-menu-horizontal .yui3-menu-heading {
    border: none;
}



/* LINK STYLES */

.yui3-menu a {
    border: 1px solid transparent;
    border-left: none;
    border-right: none;

}

.yui3-menu a,
.yui3-menu .yui3-menu-can-have-children > li:after {
    color: #777;
}

.yui3-menu .yui3-menu-can-have-children > li:hover:after {
    color: #fff;
}



/* HOVER STATES */
.yui3-menu li a:hover {
    background: #46b9e3;
    color: #fff;

}

/* DISABLED STATES */
.yui3-menu li.yui3-menu-disabled a:hover {
    background: #fff;
    color: #bfbfbf;
}

.yui3-menu .yui3-menu-disabled > a {
    background-image: none;
    border-color: transparent;
    cursor: default;
}

.yui3-menu .yui3-menu-disabled > a,
.yui3-menu .yui3-menu-can-have-children.yui3-menu-disabled > a:after {
    color: #bfbfbf;
}

/* HEADINGS */
.yui3-menu .yui3-menu-heading {
    color: #565d64;
    text-transform: uppercase;
    font-size:90%;
    margin-top:0.5em;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #dfdfdf;
}

/* ACTIVE MENU ITEM */
.yui3-menu .yui3-menu-selected a {
    font-weight: bold;
    color: #000;
}

/* FIXED MENU */
.yui3-menu.yui3-menu-open.yui3-menu-fixed {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #b7b7b7;
}
/* RESPONSIVE */

@media (max-width: 480px) {

    .yui3-menu-horizontal {
        width:100%;
    }

    .yui3-menu-children li {
        display: block;
        border-bottom:1px solid block;
    }

}
.yui3-paginator {
    list-style: none;
    margin: 0;
    padding: 0;
}
.yui3-paginator li {
    display: inline-block;
    *display: inline;
    /* IE 7 inline-block hack */
    *zoom: 1;
    margin: 0 -0.35em 0 0;    
}
.yui3-paginator .yui3-button {
    border-radius: 0;
    padding: 0.8em 1.4em;
    vertical-align: top;
    height: 1.1em;
}
.yui3-paginator .yui3-button:focus {
    outline-style: none;
}
.yui3-paginator .prev, .yui3-paginator .next {
    color: #C0C1C3;
    text-shadow: 0px -1px 0px rgba(0,0,0, 0.45);
}
.yui3-paginator .prev {
    border-radius: 2px 0 0 2px;
}
.yui3-paginator .next {
    border-radius: 0 2px 2px 0;
}

/* YUI CSS Detection Stamp */
#yui3-css-stamp.gallerycss-csslist { display: none; }
