/*
  This is the default layout template for nice menus, and will provide
  a starting point for the look of your menus. To customize, it's
  recommended to create a custom CSS file using this file as a template,
  then configure the module to use your custom CSS file
  (this is done in the global settings tab of the theme administration.)

  See README.txt and the handbook page (http://drupal.org/node/185543)
  for more information on using the CSS.
*/

/******************************
 Global CSS for ALL menu types
******************************/

ul.nice-menu,
ul.nice-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #ccc;
}

ul.nice-menu li {
    /*border: 1px solid #ccc;*/
    border-top: 0;
    float: left; /* LTR */
    background-color: #efefef;
}

ul.nice-menu a {
    padding: 5px 20px;
    color: #000;
    font-family: Arial,sans-serif;
    font-size: 1.077em;
    font-weight: bold;
    text-decoration: none;
}
ul.nice-menu a:hover{
    text-decoration: underline;
    /*background-color: #efefef;*/
}

ul.nice-menu ul {
    top: 30px;
    left: -1px; /* LTR */
    border: 0;
    border-top: 1px solid #ccc;
    margin-right: 0; /* LTR */
}

ul.nice-menu ul li {
    width: 15.5em;
}

/******************************
 VERTICAL (left/right) menus
******************************/

/* This is the default width of all vertical menus. */
ul.nice-menu-right,
ul.nice-menu-left,
ul.nice-menu-right li,
ul.nice-menu-left li {
    width: 12.5em;
}

/* VERTICAL menus where submenus pop RIGHT (default). */
ul.nice-menu-right ul {
    width: 12.5em;
    left: 12.5em;
    top: -1px;
}

ul.nice-menu-right ul ul {
    width: 12.5em;
    left: 12.5em;
    top: -1px;
}

ul.nice-menu-right li.menuparent,
ul.nice-menu-right li li.menuparent {
    background: #eee url("../images/arrow-right.png") right center no-repeat;
}

ul.nice-menu-right li.menuparent:hover,
ul.nice-menu-right li li.menuparent:hover {
    background: #ccc url("../images/arrow-right.png") right center no-repeat;
}

/* VERTICAL menus where submenus pop LEFT. */
ul.nice-menu-left li ul {
    width: 12.5em;
    left: -12.65em;
    top: -1px;
}

ul.nice-menu-left li ul li ul {
    width: 12.5em;
    left: -12.65em;
    top: -1px;
}

ul.nice-menu-left li.menuparent,
ul.nice-menu-left li li.menuparent {
    background: #eee url("../images/arrow-left.png") left center no-repeat;
}

ul.nice-menu-left li.menuparent:hover,
ul.nice-menu-left li li.menuparent:hover {
    background: #ccc url("../images/arrow-left.png") left center no-repeat;
}

ul.nice-menu-left a,
ul.nice-menu-left ul a {
    padding-left: 14px;
}

/******************************
 HORIZONTAL (down) menus
******************************/

ul.nice-menu-down {
    float: left; /* LTR */
    border: 0;
}

ul.nice-menu-down li {
    /*border-top: 1px solid #ccc;*/
}

ul.nice-menu-down li li {
    border-top: 0;
}

ul.nice-menu-down ul {
    left: -1px; /* LTR */
}

ul.nice-menu-down ul li {
    clear: both;
}

ul.nice-menu-down li ul li ul {
    left: 12.5em; /* LTR */
    top: -1px;
}

ul.nice-menu-down .menuparent a {
    /*padding-right: 15px;  LTR */
}
ul.nice-menu-down .menuparent a:hover {
    text-decoration: underline;
}

ul.nice-menu-down .menuparent ul a{
    padding: 5px 19px;
    border-bottom: 1px solid #ccc;
}
ul.nice-menu-down li.menuparent {
    /*background: #eee url("../images/arrow-down.png") right center no-repeat;  LTR */
    background: #fff url("../images/arrow-down.png") right center no-repeat!important; /* LTR */
    border: 1px solid #ddd;
    float: left; /* LTR */
    text-decoration: none;
    text-shadow: 0 1px #eee;
    -khtml-border-radius-topleft: 8px;
    -khtml-border-radius-topright: 8px;
    -moz-border-radius-topleft: 8px;
    -moz-border-radius-topright: 8px;
    -webkit-border-top-left-radius: 8px;
    -webkit-border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

ul.nice-menu-down .menuparent ul li.last{
    -khtml-border-radius-bottomleft: 8px;
    -khtml-border-radius-bottomright: 8px;
    -moz-border-radius-bottomleft: 8px;
    -moz-border-radius-bottomright: 8px;
    -webkit-border-bottom-left-radius: 8px;
    -webkit-border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;   

}

ul.nice-menu-down .menuparent ul li.last a{
    border-bottom: none!important;
}

ul.nice-menu-down li.menuparent:hover {
    background: #efefef url("../images/arrow-down.png") right center no-repeat!important; /* LTR */
}

ul.nice-menu-down li li.menuparent {
    background: #eee url("../images/arrow-right.png") right center no-repeat; /* LTR */
}

ul.nice-menu-down li li.menuparent:hover {
    background: #ccc url("../images/arrow-right.png") right center no-repeat; /* LTR */
}

/******************************
 Garland-specific CSS
******************************/

/**
 * Global CSS for ALL menu types
 */
ul.nice-menu li {
    margin: 0 1px;
    padding: 0 1px;  
}


ul.nice-menu-main-menu li {

    background: #fff;
    float: left; 
    text-decoration: none;
    text-shadow: 0 1px #eee;
    -khtml-border-radius-topleft: 8px;
    -khtml-border-radius-topright: 8px;
    -moz-border-radius-topleft: 8px;
    -moz-border-radius-topright: 8px;
    -webkit-border-top-left-radius: 8px;
    -webkit-border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border: 1px solid #ddd;
}

ul.nice-menu-main-menu li.first a{
    padding: 4px 24px;
    height: 22px
}
ul.nice-menu-main-menu li:hover{
    background-color: #efefef;
}

#header-region ul.nice-menu li {
    margin: 0;
    /* Padding rules are needed to deal with Garland's header line-height. */
    padding-top: 0.1em;
    padding-bottom: 0.1em;
    background: #eee;
}

#header-region ul.nice-menu ul {
    top: 1.8em;
    left: -1px; /* LTR */
    border: 0;
    border-top: 1px solid #ccc;
    margin-right: 0; /* LTR */
}

#header-region ul.nice-menu ul {
    top: 1.7em;
}

/**
 * HORIZONTAL (down) menus
 */
#header-region ul.nice-menu-down li ul li ul {
    left: 12.5em; /* LTR */
    top: -1px;
}

#header-region ul.nice-menu-down li.menuparent {
    background: #eee url("../images/arrow-down.png") right center no-repeat; /* LTR */
}

#header-region ul.nice-menu-down li.menuparent:hover {
    background: #ccc url("../images/arrow-down.png") right center no-repeat; /* LTR */
}

#header-region ul.nice-menu-down li li.menuparent {
    background: #eee url("../images/arrow-right.png") right center no-repeat; /* LTR */
}

#header-region ul.nice-menu-down li li.menuparent:hover {
    background: #ccc url("../images/arrow-right.png") right center no-repeat; /* LTR */
}
