
.mbd-toggle-menu {
    display: block;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    padding-bottom: 10px;
}

/* Styles applied to both desktop and mobile menus */
a.nav-link.active {
  color: #262626;
}

a.nav-link {
  display: block;
  margin: 0px 16px;
  padding: 6px 11px;
  line-height: 1em;

  font-family: Helvetica;
  font-size: 14px;
  color: #b8b8b8;
  text-transform: uppercase;

  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  border-color: transparent;
}

a.dropdown-item {
  color: black;
  font-size: 0.95em;
}

a.nav-link:focus,
a.nav-link:hover {
  color: black;
}

/* Remove the bootstrap responsive border on the toggle button */
.navbar-toggler:focus {
  box-shadow: none;
}

@media all and (max-width: 991px) {

/* Change the padding on the responsive dropdown to inset a bit */
.dropdown-menu {
  padding: 0 0 0 10px;
  border: none;
}

}

/* Create a hover over dropdown
  https://bootstrap-menu.com/detail-basic-hover.html
  TODO: implement only for desktop...
 */

/* Apply this only for the desktop */
@media all and (min-width: 992px) {

/*
  Set the li to relative to enable line positions in
  the a to be positioned absolutely within the li.
 */
li.nav-item {
	margin-left: 16px;
	margin-right: 16px;
	position: relative;
}

/* Create the line within the anchor to then reposition */
a.nav-anim::before, a.nav-anim::after {
	top: 50%;
	height: 1px;
	background: #ddd;
	content: '';
	position: absolute;
	margin: auto;
	pointer-events: none;
	width: auto;
	left: 0px;
	right: 0px;

  /* Make sure the lines are behind the text */
  z-index: -1;

  -webkit-transition: -webkit-transform 0.3s, opacity 0.3s, width 0.3s, height 0.3s;
  -moz-transition: -moz-transform 0.3s, opacity 0.3s, width 0.3s, height 0.3s;
  transition: transform 0.3s, opacity 0.3s, width 0.3s, height 0.3s;
}

/* Reposition the line above */
a.nav-anim::before {
    -webkit-transform: translateY(-14px);
    -moz-transform: translateY(-14px);
    transform: translateY(-14px);
}

/* Reposition the line below */
a.nav-anim::after {
    -webkit-transform: translateY(13px);
    -moz-transform: translateY(13px);
    transform: translateY(13px);
}

/* Transition to cross over */
a.nav-anim:hover::after, a.nav-anim:focus::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 55px;
    left: 0;
}

/* Transition to cross over */
a.nav-anim:hover::before, a.nav-anim:focus::before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 55px;
    left: 0;
}

/* Enable hover over on the dropdown menus */
.navbar .nav-item .dropdown-menu { display: none; }
.navbar .nav-item:hover .nav-link {   }
.navbar .nav-item:hover .dropdown-menu{ display: block; }
.navbar .nav-item .dropdown-menu{ margin-top:0; }

/* Customise the dropdown menu */
ul.dropdown-menu {
  padding: 0px;
  border: none;

  /* Uncertain hack to center the menu */
  /*
  margin: auto auto auto -90px;
  left: 50%;
  */

  /*
  display: none;
  */
  position: absolute;
  background: #fff url('/images/dropdown.png') no-repeat center 12px;

  /*
  Width removed to avoid standard menu sizes
  width: 180px;
  */

  z-index: 999;
  /*
  margin: 0px 0px 0px -45px;
  */
  padding-top: 20px;
  border-bottom: 0px solid #ddd;
}



ul.dropdown-menu li {
  background-color: red;
  margin: 0;
/*  padding-left: 10px;
  padding-right: 10px;
  */

}

ul.dropdown-menu li a {
  display: block;

  border-bottom: 1px solid #ddd;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-top: 0px solid #ddd;

  background: #fff;
  text-align: center;

  width: 100%;
  margin: 0px;
  padding: 10px 10px;

  text-transform: none;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #262626;
}

}
