/* CSS for major navigation elements such as menus, pager, superfish etc */
a {
  text-decoration: none;
}

/* Menus */
ul.menu {
  list-style-position: inside;
  margin: 4px 0;
  padding: 0;
}
ul.menu li {
  margin: 2px 0;
  padding: 0;
}
ul.menu ul {
  margin-left: 15px;
}
.block .menu li.content {
  padding: 0; /* extra class can equal a standard class */
}

/* Pager */
.item-list ul.pager {
  margin: 15px 0 2px 0;
  text-align: right;
}
.item-list ul.pager li {
  margin: 0 6px;
  padding: 0;
  text-transform: capitalize;
}
ul.pager li:first-child {
  margin: 0 6px 0 0; /* LTR */
}
ul.pager li.pager-previous {
  padding-right: 8px;
}
ul.pager li.pager-next {
  padding-left: 8px;
}
ul.pager li.pager-ellipsis {
  margin: 0;
}
ul.pager li.pager-first,
ul.pager li.pager-last {
  display: none;
}


/* Menu bar / superfish */
#menu-bar-wrapper {
  background: none;
  position: absolute;
  top: 82px;
  right: 0;
  width: 100%;
}
#menu-bar {
  background: none;
  float: right;
}
#menu-bar .block {
  position: static;
}
#menu-bar ul.menu {
  margin: 0;
}
#menu-bar ul.menu li {
  margin: 0;
  border-right: 1px solid #6D6E70;
  padding: 0 12px;
  position: static;
}
#menu-bar ul.menu li.last {
  border-right: 0;
  padding-right: 0;
}
#menu-bar ul.menu li a.sf-depth-1 {
  color: #6D6E70;
  height: 14px;
  line-height: 14px;
  font-size: 1.1em;
  z-index: 2;
}
/*
#menu-bar ul.menu li a.sf-depth-1:after {
  position: fixed;
  top: 122px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: -1;
  pointer-events: none;
}
body.admin-menu #menu-bar ul.menu li a.sf-depth-1:after {
  top: 151px;
}
#menu-bar ul.menu li a.sf-depth-1:hover:after {
  content: "";
  z-index: 1;
  background: rgba(0,0,0,0.75);
}*/
#menu-bar ul.menu li a .sf-sub-indicator {
  display: none;
}
#menu-bar ul.menu li.sf-depth-1 a.sf-depth-1:hover,
#menu-bar ul.menu li.sf-depth-1:hover a.sf-depth-1 {
  color: #0095D9;
  height: 40px;
  margin-bottom: -26px;
  border-bottom: 1px solid #0095D9;
}
#menu-bar ul.menu li a.sf-depth-1.active {
  color: #0095D9;
  height: 40px;
  margin-bottom: -26px;
  border-bottom: 1px solid #0095D9;
}
/* For when you hover over the menu, takes away the active state */
#menu-bar ul.menu:hover li a.sf-depth-1.active {
  color: #6D6E70;
  border-bottom: 0;
}
#menu-bar ul.menu:hover li.active-trail:hover a.sf-depth-1.active {
  color: #0095D9;
  border-bottom: 1px solid #0095D9;
}
#menu-bar ul.menu ul {
  width: 1140px;
  background: #fff;
  padding: 30px 150px 60px !important;
  left: -50px;
  top: 40px;
  border-radius: 0;
  box-shadow: 0px 0px 6px rgba(90, 90, 90, 0.44);
  display: none;
}
#menu-bar ul.menu ul:before,
#menu-bar ul.menu ul:after {
  content: "";
  position: absolute;
  background: #fff;  /* Match the background */
  top: 0;
  bottom: 0;
  width: 9999px;   /* some huge width */
}
#menu-bar ul.menu ul:before {
  right: 100%;
  box-shadow: -5px 0px 6px rgba(90, 90, 90, 0.44);
}
#menu-bar ul.menu ul:after {
  left: 100%;
  box-shadow: 5px 0px 6px rgba(90, 90, 90, 0.44);
}
#menu-bar ul.menu ul li {
  padding: 0;
  border: 0;
}
#menu-bar ul.menu ul li a.sf-depth-2:hover,
#menu-bar ul.menu ul li.sf-depth-2:hover a.sf-depth-2 {
  color: #0095D9;
}

#menu-bar ul.menu ul ol li.sf-depth-2 {
  float: left;
  width: 30%;
  margin-right: 3%;
  margin-bottom: 3%;
}
#menu-bar ul.menu ul ol li.last.sf-depth-2 {
  margin-right: 0;
}
#menu-bar ul.menu ul ol a.menuparent,
#menu-bar ul.menu ul ol span.menuparent.nolink {
  margin: 20px 0 10px;
  display: block;
  min-height: 40px;
  font-size: 1em;
  color: #6D6E70;
  position: relative;
  font-family: 'Signika Semibold';
}
#menu-bar ul.menu ul ol a.menuparent:after,
#menu-bar ul.menu ul ol span.menuparent.nolink:after {
  content: "";
  border-bottom: 2px solid #e4e4e4;
  display: block;
  padding: 0 0 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 40px;
}
#menu-bar ul.menu ul ol a.column-2-wide.menuparent:after,
#menu-bar ul.menu ul ol span.column-2-wide.menuparent.nolink:after {
  width: 210%;
}
#menu-bar ul.menu ul ol .column-hide {
  visibility: hidden;
}
#menu-bar ul.menu li ol a.active {
  border-bottom: 0;
}
#menu-bar ul.menu ul ol ol {
  float: none;
  width: auto;
}
#menu-bar ul.menu ul ol li.sf-depth-3 > a {
  color: #6D6E70;
  margin-bottom: 8px;
}
#menu-bar ul.menu ul ol li.sf-depth-3 > a:hover {
  color: #0095D9;
}

/* Region header Superfish */
.region-header ul {
  text-transform: uppercase;
}
.region-header .block-menu,
.region-header .block-menu ul,
.region-header .block-menu ul li {
  list-style: none;
  padding: 0;
  margin: 0;
}
.region-header .block-menu ul li,
.region-header .block-menu ul {
  float: left;
}
.region-header .block-menu ul ul {
  display: none; /* If the user does not slice the menu hide the children */
}
.region-header .block-menu ul a {
  padding: 0.75em 1em;
  text-decoration: none;
  float: left;
}
.region-header .block-menu ul li:hover,
.region-header .block-menu ul li.sfHover,
.region-header .block-menu ul a:focus,
.region-header .block-menu ul a:hover,
.region-header .block-menu ul a:active {
  outline: 0;
}


/* Skip link */
#skip-link {
  left: 50%;
  margin-left: -6.5em;
  margin-top: 0;
  padding: 0 0.5em;
  position: absolute;
  width: 12em;
  z-index: 50;
}
#skip-link a,
#skip-link a:link,
#skip-link a:visited {
  background: #444;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: block;
  line-height: 2;
  padding: 0;
  text-align: center;
  text-decoration: none;
  -khtml-border-radius: 0 0 10px 10px;
  -moz-border-radius: 0 0 10px 10px;
  -webkit-border-top-left-radius: 0;
  -webkit-border-top-right-radius: 0;
  -webkit-border-bottom-left-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  border-radius: 0 0 10px 10px;
}
#skip-link a:hover,
#skip-link a:active,
#skip-link a:focus {
  outline: 0;
}

/* Tasks - Primary/Secondary/Action links */
#tasks {
  margin: 0 20px -1px;
}
ul.primary {
  border-bottom-color: none;
  margin: 0;
  padding: 0 0 .2em;
}
ul.primary li a {
  background-color: #f5f5f5;
  margin-right: .08em;
  border-color: #e1e1e1;
  line-height: 1.7;
  padding: 0.4em 1em 0.43em;
  -moz-border-radius: 6px 6px 0 0;
  border-radius: 6px 6px 0 0;
}
.local-tasks ul.primary li a:hover {
  background-color: #f7f7f7;
  border-color: #ccc;
}
ul.primary li.active a {
  border-color: #e1e1e1 #e1e1e1 #fff;
}
ul.secondary {
  border-bottom: 1px solid #e1e1e1;
  margin: 0;
  padding: 0 .3em 1em;
}
ul.secondary li {
  border-right: 0;
  list-style: none;
  padding: 0 2em 0 0;
}
ul.secondary li a:hover,
ul.secondary li a.active {
  border-bottom: none;
  text-decoration: underline;
}
ul.action-links {
  margin: 10px 0;
}
ul.action-links li {
  list-style: none;
  display: inline;
  padding: 0 14px 0 1px;
}
ul.action-links li a {
  padding-left: 15px;
  background: url(images/action-link.png) no-repeat left center;
}

/*
* Admin Menu fixes
*/
#admin-menu .dropdown .admin-menu-tab {
  background-color: #4b5059;
  margin-top: -5px !important;
  padding-bottom: 0;
}
#admin-menu .dropdown .admin-menu-tab a {
  margin-bottom: 0;
  padding: 7px 10px;
}
#admin-menu .dropdown .admin-menu-tab a:hover {
  background-color: #6b7177;
}