
headerp { width: 100%;}

.nav-bar { display: none; }

headerp nav {
  background-: #c0392b;
  z-index: 10;
  width: 100%;
  margin: auto;
}

headerp nav ul { list-style: none; }

headerp nav ul li {
  float: left;
  position: relative;
}

headerp nav:after {
  content: "";
  display: block;
  clear: both;color: #fff;
}

headerp nav ul li a {
  color: #fff;
  display: block;
  padding: 8px;
 margin-bottom:8px; margin-right:8px;border:1px solid #ccc; border-radius:5px; -moz-border-radius:5px; transition:all .3s;
  font-size: 15px;text-align:center

}

headerp nav ul li:hover { background0: #005BAC; font-weight:bold-}

headerp nav ul li:hover i { color: #005BAC;}

headerp nav ul li i { margin-right: 0px;}

headerp nav ul li:hover .children { display: block; font-size: 14px;text-align:left}

headerp nav ul li .children {
  display: none;text-align:left;
  background: #ededed;
  position: absolute;
  width: 150%;
  z-index: 10; 
}

headerp nav ul li .children span { display: none; text-align:left;}

headerp nav ul li .children li {
  display: block;
  width: 100%;
  border-bottom: 1px solid #ffffff;text-align:left;
}

headerp nav ul li .children li a { margin-left: 30px; }

headerp nav ul li .fa-angle-down {
  position: relative;
  top: 3px;
}

/*responsive nav style*/

@media all and (max-width: 800px) {


.nav-bar {
  display: block;
  width: 100%;
  position: fixed;
  top: 0;

}

.nav-bar span {
  float: left;
  font-size: 16px;
  padding: 20px;
  color: #fff;
}

.nav-bar .fa-bars {
  display: block;
  padding: 20px;
  color: #fff;
  overflow: hidden;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  float: right;
}

headerp nav {
  width: 80%;
  height: auto;

  right: 100%;

  overflow: hidden;
  height: 100%;
}

headerp nav ul li {
  display: block;
  border-bottom: #ccc;
  width: 100%;
}

headerp ul li a { display: block; }

headerp nav ul li .children {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: none;
}

headerp nav ul li:hover .children { display: none; }

headerp nav ul li ul li:first-child { border-top: 1px solid #ffffff99; }

headerp nav ul li .children span {
  display: inline-block;
  margin-right: 10px;
}

headerp nav ul li .children a {
  margin-left: 10px;
  padding: 5px 0;
}

headerp nav ul li .fa-angle-down {
  position: relative;
  top: 3px;
}
}
