/* $Id: nice_menus_default.css,v 1.6 2007/10/29 16:38:28 add1sun Exp $ */
/*
  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.)

  To help understand the CSS, the HTML looks like this, where
    x is a number;
    TYPE is down/left/right;
    PATH is the menu path such as node/343;
    MID is the menu id such as 33):
  <ul id='nice-menu-x' class='nice-menu nice-menu-TYPE'>
    <li id='menu-MID' class='menu-path-PATH'><a href='#'>This is a menu item</a></li>
    <li class='menuparent menu-path-PATH'><a href='#'>A submenu</a>
      <ul...><li...>...</li>
      </ul>
    </li>
    ...
  </ul>

  If you have more than one nice-menu and want to target a particular one,
  use its id (e.g. ul#nice-menu-2).

  See README.txt and the handbook page (http://drupal.org/node/185543)
  for some CSS customization examples.
*/

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

#block-nice_menus-1 {
  overflow: visible;
  padding: 0;
  margin: 0;
}

.block-nice_menus {
  z-index: 1000;
}

ul.nice-menu,
ul.nice-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.nice-menu li {
  border: 0;
  float: left;
  background-color: #0f1c49;
  /* Additional overrides to deal with Garland theme. */
  margin: 0;
  padding-left: 0;
  background-image: none;
  text-align: center;
  margin-right: 20px;
}

ul.nice-menu li li {
  text-align: left;
  margin: 0;
}

/* Overrides for Garland header. */
#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: #0f1c49;
}

ul.nice-menu a {
  font-size: 1em;
  width: auto;
  padding: 6px 8px 6px 8px;
  color: #fff;
  text-decoration: none;
}

ul.nice-menu a:hover, ul.nice-menu a.active, ul.nice-menu li.active-trail>a {
  background: #1B326F;
}

ul.nice-menu ul a {
  /* width:175px; */
  display: block;
  box-sizing: border-box;
}


ul.nice-menu ul,
/* Repeat for Garland header. */
#header-region ul.nice-menu ul {
  top: 1.75rem;
  left: 0px;
  border: 0;
  border-bottom: 1px solid #000;
  margin-right: 0;
}

#nice-menu-1.nice-menu ul a {
  font-size: 0.925rem;
  line-height: 1rem;
  font-weight: normal;
  padding: 0.75rem;
}




/* these will be overridden in the responsive css */
#nice-menu-1 {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  float: none;
  justify-content: space-between;
  width: 100%;
  overflow: visible;
  box-sizing: border-box;
}

#nice-menu-1::after {
  display: none;
}

#nice-menu-1 li,
#nice-menu-1 a {
  box-sizing: border-box;
  /* padding-left: 2px; */
  /* padding-right: 2px; */
  padding: 0;
  margin-left: 0;
  margin-right: 0;
}
#nice-menu-1 a {
  padding: 5px;
}


/* This is the secondary layer of navigation, for mobile only, that we stuff at the top of the content-top */
/* Inside responsive.css we'll show this when the screen narrows */
/* #block-menu_block-2 {
  display: none;
} */




/**********************************************************/
/*  http://responsive-nav.com/  */

#block-nice_menus-1 div.content {
  position: relative;
}

.nav-toggle {
  text-align: center;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  width: 100%;
  line-height: 40px;
  height: 40px;
  vertical-align: middle;
  color: #fff;
}

.nav-toggle:hover {
  color: #fff;
}

.nav-toggle::after {
  /*color: #ef2c38;*/
  color: #fff;
  content: "≡";
  font-size: 36px;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  margin: -7px 0 0 5px;
  line-height: 40px;
  vertical-align: middle;
  display: inline-block;
}

.nav-toggle.active::after {
  content: "x";
  vertical-align: middle;
  font-size: 28px;
}












/* Override for Garland header. */
#header-region ul.nice-menu ul {
  top: 1.7em;
}

ul.nice-menu ul li {}

/******************************
 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: #0f1c49;
  /* url(images/arrow-right.png) right center no-repeat; */
}

ul.nice-menu-right li.menuparent:hover,
ul.nice-menu-right li.over,
ul.nice-menu-right li li.menuparent:hover,
ul.nice-menu-right li li.over {
  background: #0f1c49;
  /* 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: #0f1c49;
  /* url(images/arrow-left.png) left center no-repeat; */
}

ul.nice-menu-left li.menuparent:hover,
ul.nice-menu-left li.over,
ul.nice-menu-left li li.menuparent:hover,
ul.nice-menu-left li li.over {
  background: #0f1c49;
  /* 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;
  border: 0;
}

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

ul.nice-menu-down li li {
  border-top: 1px dotted #003777;
}

ul.nice-menu-down ul {
  left: 0;
  width: 190px;
}

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

ul.nice-menu-down li ul li ul,
/* Repeat for Garland header. */
#header-region ul.nice-menu-down li ul li ul {
  left: 190px;
  /* ul.nice-menu ul a (line 86) plus the padding on both sides (ul.nice-menu a) */
  top: -1px;
}

ul.nice-menu-down .menuparent a {}

ul.nice-menu-down li.menuparent,
/* Repeat for Garland header. */
#header-region ul.nice-menu-down li.menuparent {
  background: #0f1c49;
  /* url(images/arrow-down.png) right center no-repeat; */
}

ul.nice-menu-down li.menuparent:hover,
ul.nice-menu-down li.over,
/* Repeat for Garland header. */
#header-region ul.nice-menu-down li.menuparent:hover,
#header-region ul.nice-menu-down li.over {
  background: #0f1c49;
  /* url(images/arrow-down.png) right center no-repeat; */
}

ul.nice-menu-down li li.menuparent,
/* Repeat for Garland header. */
#header-region ul.nice-menu-down li li.menuparent {
  background: #0f1c49;
  /* url(images/arrow-right.png) right center no-repeat; */
}

ul.nice-menu-down li li.menuparent:hover,
ul.nice-menu-down li li.over,
/* Repeat for Garland header. */
#header-region ul.nice-menu-down li li.menuparent:hover,
#header-region ul.nice-menu-down li li.over {
  background: #0f1c49;
  /* url(images/arrow-right.png) right center no-repeat; */
}