/*
  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.
*/

/* Controls the dimensions of the top navigation menu */
#nice-menu-1 {
    width: 100%;
    height: 1.5em;
    z-index: 100;
}

ul#nice-menu-2 li a {
  z-index: 10;
}

.block-nice-menus {
  z-index: 100;
}

#block-nice-menus-2.block-nice-menus {
    z-index: 10;
}
nav#block-nice-menu-2 {
  max-width: 12.5em;
  float: left;
  z-index: 0;
  background-color: #990000;
}
/******************************
 Global CSS for ALL menu types
******************************/

/* Formatting for the top line of menu items */
ul.nice-menu,
ul.nice-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
/*  font-family: 'Lato', sans-serif; */
    font-family: 'Helvetica', 'Arial', sans-serif;
/*  font-family: 'Pontano Sans', sans-serif; */
  font-size: 0.9em;
 /* border-top: 1px solid #ccc; */
}

/* A top level menu element with no submenu */
ul.nice-menu li {
  /* border: 1px solid #ccc; */
  border-top: 1px;
  float: left; /* LTR */
/*  background-color: #000000; */
  background-color: transparent;
  min-width: 4em;
  width: 14%;
}

/* Formatting for the Top Line of a Menu */
ul.nice-menu a {
  padding: 0.5em 5px 0.3em 5px;
  color: #000000;
  text-decoration: none;
  font-size: 1.2em;
  background: transparent;
}

ul.nice-menu ul {
  top: 1.8em;
  left: -1px; /* LTR */
  border: 0;
  margin-right: 0; /* LTR */
/*  z-index: 150;
  background-color: #990000; */
}

/* Vertical Menu flyout to the right */
ul.nice-menu ul li {
  width: 100%;
  z-index: 150;
  background-color: #ffffff;
  min-width: 12.5em; 
}

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

/* This is the default settings for the vertical menu main bar */
ul.nice-menu-right, ul.nice-menu-left,
ul.nice-menu-right li, ul.nice-menu-left li {
  min-width: 12.5em;
  font-size: 0.9em;
/*  font-family: 'Lato', sans-serif; */
  font-family: 'Helvetica', 'Arial', sans-serif;
  left: -0.9em;
  background-color: #ffffff;
  z-index: 10;
  position: relative;
}

/* VERTICAL menus where submenus pop RIGHT (default). */
ul.nice-menu-right ul {
  width: 12.5em;
  left: 12.5em;
  top: -1px;
  border-right-color: #009955;
  border-right-style: solid;
  border-right-width: 1px;
  background-color: #ffffff;
}

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: #ffffff url(arrow-right.png) right center no-repeat;
  z-index: 15;
}

ul.nice-menu-right li.menuparent:hover,
ul.nice-menu-right li li.menuparent:hover {
  background: #ffffff url(arrow-right.png) right center no-repeat;
  z-index:15;
}

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

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

ul.nice-menu-left li.menuparent,
ul.nice-menu-left li li.menuparent {
  background: #ffffff url(arrow-left.png) left center no-repeat;
  z-index: 15;
}

ul.nice-menu-left li.menuparent:hover,
ul.nice-menu-left li li.menuparent:hover {
  background: #ffffff url(arrow-left.png) left center no-repeat;
  z-index: 15;
}

ul.nice-menu-left a, ul.nice-menu-left ul a {
  padding-left: 14px;
  color: #008888;
  font-weight: bold;
  font-size: 1em;
  z-index: 15;
}

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

/* Any Horizontal menu top item with a drop down menu */
ul.nice-menu-down {
  float: left; /* LTR */
  border: 0;   
}

/* I have no idea what this does */
ul.nice-menu-down li {
/* position: relative; */
}

ul.nice-menu-down li li {
  border-top: 0;
  border-bottom: 0px solid #00dddd; 
}

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

}

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

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

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

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

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

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

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

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

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

#menu-bar {
  padding-bottom: 20px;
  border-bottom: 1px solid #008888;
}

#menu-bar a:hover {
  color:#00bbbb;
}
ul.nice-menu li {
  margin: 0;
  padding-left: 0; /* LTR */
  background-image: none;
}

#menu-bar 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: #ffffff;
}

#menu-bar ul.nice-menu ul {
  top: 1.8em;
  left: -1px; /* LTR */
  border: 0;
  border-bottom: 1px solid #44aaaa;
  margin-right: 0; /* LTR */
}

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

/**
 * HORIZONTAL (down) menus
 */
/* Top of submenu for a horizontal/submenu (ie programs/education) */
#menu-bar ul.nice-menu-down li ul li ul {
  left: 12.5em; /* LTR */
  top: -1px;
  background: transparent;
}


#menu-bar ul.nice-menu-down li.menuparent {
  background: transparent url(arrow-down.png) left center no-repeat; /* LTR */
}

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

/* Horizontal Menu subitem parent of a submenu (ie Programs/education) */
#menu-bar ul.nice-menu-down li li.menuparent {
  background: #ffffff url(arrow-right.png) left center no-repeat; /* LTR */
}

#menu-bar ul.nice-menu-down li li.menuparent ul li {
background-color: #ffffff;
left: 5em;
}
/*
#menu-bar ul.nice-menu-down li li.menuparent:hover {
  background: #dddddd url(arrow-right.png) right center no-repeat; 
} */

@media only screen and (max-width: 480px)
{
ul.nice-menu li {
	width: 33%;
	display: table;
	font-size: 0.9em;
	}
	
ul.nice-menu li ul {
	display: none;
	}

#nice-menu-1 {
	height: auto;
	}

}
