input#responsive-nav,
label.responsive-nav-label {
  display: none;
}

body header img.logo {
  position: fixed;
  left: 50px;
  top: 10px;
  height: 40px;
  visibility: visible;
  z-index: 200;
}

div.nav-wrapper {
  position: fixed;
  width:100%;
  border-bottom: 1px solid #BCBCBC;
  box-shadow: 0 0px 4px 0 rgba(0,0,0,0.86) !important;
  height: 60px;
  z-index: 100;
  background: white !important;
}

nav {
  margin-left: auto;
  margin-right: auto;
  height: 65px;
}
nav ul {
  margin: 0em auto 0em auto;
  padding: 0;
  clear: left;
  float: left;
  position: relative;
  left: 50%;
}
nav a {
  display: block;
  color: black;
  font-weight: 300;
  font-size: 80%;
}
nav ul li {
  position: relative;
  float: left;
  list-style: none;
  color: #fff;
  transition: 0.5s;
  right: 50%;
}
nav ul li a {
  padding: 20px;
}

nav ul > li.submenu > a:after {
  position: relative;
  float: right;
  content: '';
  margin-left: 10px;
  margin-top: 5px;
}

nav ul ul li.submenu > a:after {
  margin-left: auto;
  margin-right: -10px;
}


nav ul ul {
  position: absolute;
  top: -9999px;
  left: -9999px;
  background: white;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

nav ul ul li {
  float: none;
  width: 200px;
  text-align: left;
  right: 0%;
}

nav ul ul li a {
  padding: 10px 20px;
  font-weight: 300;
}

nav ul ul li:last-child {
  border-bottom: none;
}

nav ul li:hover > ul {
  top: 100%;
  left: 0;
}

nav ul ul li:hover > ul {
  top: 0;
  left: 200px;
}

nav ul li a {
  font-weight: 300;
}

nav ul li.current-menu-item > a
{
  font-weight: 600;
}

/**
 * responsive mobile mode
 */

 @media screen and (max-width: 1024px) {

   div.nav-wrapper {
     position: relative;
   }
   nav.nav {
     z-index: 100;
   }
   body header img.logo {
     visibility: hidden;
   }

   label.responsive-nav-label {
     position: relative;
     display: block;
     padding: 13px;
     cursor: pointer;
     background: white;
   }
   label.responsive-nav-label span {
   margin-right: 10px;
   }
   nav {
     position: absolute;
     top: -9999px;
     padding: 10px;
   }
   input#responsive-nav[type=checkbox]:checked ~ nav {
     position: relative;
     top: 0;
   }
   nav a:after {
     display: none;
   }
   nav li {
     float: none !important;
     width: 100% !important;
     border-bottom: none !important;
   }
   nav li a {
     margin-bottom: 10px !important;
     padding: 10px 20px !important;
   }
   nav ul {
     background-color: white !important;
     box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
     left: 0px !important;
     float: inherit !important;
   }
   nav ul li {
     right: 0px !important;
   }
   nav ul li:hover {
     background: none;
   }
   nav ul li a:hover {
     background: #4096ee;
     color: white;
   }
   nav ul ul {
     position: relative !important;
     width: 100%;
     left: 0 !important;
     top: 0 !important;
     background: #F0F5F5 !important;
     box-shadow: none !important;
   }
   nav ul ul li {
     padding-left: 20px;
   }

 }

/**
 * print mode
 */

@media print {

  div.nav-wrapper,
  img.logo {
    visibility: hidden;
    display: none;
  }
}
