
* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}


.nav-bar { display: none; }

header nav {

  width: 60%;
  margin-left: 3%;
  float: left;
  margin-top: 10px;



}

header nav ul { list-style: none; }

header nav ul li {
  float: left;
  position: relative;
  z-index: 9999;
  text-decoration: none;
}

header nav:after {
  content: "";
  display: block;
  clear: both;
}

header nav ul li a {
  color: #737373;
  display: block;
  padding: 16px;
  text-decoration: none;
  font-size: 22px;
  font-family: 'Rubik', sans-serif;
  font-weight: 500;;
  background: #fff;
  text-decoration: none;
}

header nav ul li:hover  a {  color: #93c94c; text-decoration: none; }







header nav ul li .fa-angle-down {
  position: relative;
  top: 3px;
}

.nav-bar img {
  padding: 10px;
  height: 80px;

}

/*responsive nav style*/

@media all and (max-width: 980px) {

body { padding-top: 80px; }

.nav-bar {
  display: block;
  width: 100%;
  box-shadow: 0px 3px 5px rgba(68,68,68,0.3);
  position: fixed;
  top: 0;
  background: #fff;
}

.nav-bar span {
  float: left;
  font-size: 20px;
  padding: 20px;
  color: #3498db;
}

header nav {
      margin-left: 0%;

}

.nav-bar .fa-bars {
  display: block;
  padding: 35px;
  color: #4f5685;
  overflow: hidden;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  float: right;
}

header nav {
  width: 100%;
  height: auto;
  position: fixed;
  right: 100%;
  top : 80px;
  overflow: hidden;
  height: 100%;
}

header nav ul li {
  display: block;
  border-bottom: 1px solid rgba(255, 255, .5);
  width: 100%;
}

header ul li a { display: block; }

header nav ul li .children {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: none;
}

header nav ul li:hover .children { display: none; }

header nav ul li ul li:first-child { border-top: 1px solid #ffffff99; }

header nav ul li .children span {
  display: inline-block;
  margin-right: 10px;
}

header nav ul li .children a {
  margin-left: 10px;
  padding: 5px 0;
}

header nav ul li .fa-angle-down {
  position: relative;
  top: 3px;
}

header nav ul li a {
  width: 100%;
  color: #fff;

  background: #383f6d;
  border-bottom: 1px solid #4f5685;

}
}
