* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: 'Lato';
  background-color: #f7f7f7
}

.logocls {
  width: 100%;
  max-width: 400px;
  height: auto;
}

header {
  width: 100%;
}

.nav-bar {
  display: none;
}

header nav {
  /** background: #c0392b; **/
  background: #004DFF;
  z-index: 1000;
  width: 100%;
  margin: auto;
}

header nav ul {
  list-style: none;
}

header nav ul li {
  float: left;
  position: relative;
}

header nav:after {
  content: "";
  display: block;
  clear: both;
}

header nav ul li a {
  color: white;
  display: block;
  padding: 20px;
  font-size: 20px;
  font-family: tahoma;
}

/* Remove underline from parent menu in ALL states */
header nav ul li > a,
header nav ul li > a:hover,
header nav ul li > a:focus,
header nav ul li > a:active,
header nav ul li > a:visited {
    text-decoration: none !important;
    color:white;
    outline: none;
}

/** header nav ul li:hover { background: #34495e; } **/
header nav ul li:hover {
  background: black;
  color: white;
}

header nav ul li:hover i {
  color: white;
  background:black;
}

header nav ul li i {
  margin-right: 10px;
}

header nav ul li:hover .children {
  display: block;
  color:white;
  /* background:black;*/
}

header nav ul li .children {
  display: none;
  background: #8e44ad;
  position: absolute;
  width: 150%;
  z-index: 1000;
}

header nav ul li .children span {
  display: none;
}

header nav ul li .children li {
  display: block;
  width: 100%;
  border-bottom: 1px solid #ffffff99;
}

header nav ul li .children li a {
  margin-left: 30px;
  color:white;
}

header nav ul li .fa-angle-down {
  position: relative;
  top: 3px;
}

.logo-li img {
  display: block;
  margin: 5px;
}
/*responsive nav style*/

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

  body {
    padding-top: 80px;
  }

  .nav-bar {
    display: block;
    width: 100%;
    position: fixed;
    top: 0;
    background: #3498db;
  }

  .nav-bar span {
    float: left;
    font-size: 20px;
    padding: 20px;
    color: #fff;
  }

  .nav-bar .fa-bars {
    display: block;
    padding: 20px;
    color: #fff;
    overflow: hidden;
    font-size: 20px;
    font-weight: bold;
    float: right;
  }

  header nav {
    width: 80%;
    height: auto;
    position: fixed;
    right: 100%;
    top: 63px;
    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;
    color:white;
  }

  header nav ul li .children {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: none;
  }

  header nav ul li:hover .children {
    display: none;
    color:white;
  }

  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;
  }
}
/** added ***/
/* 🔧 FIX: remove extra bottom space in nav */
/* ===== FINAL NAV HEIGHT FIX ===== */

/* ===== NAV GAP FIX (SAFE) ===== */

header nav ul {
  margin: 0;
  padding: 0;
}

header nav ul li {
  list-style: none;
}

.logo-item img {
  display: block;      /* removes inline image baseline gap */
}

/* normalize anchor height */
header nav ul li > a {
  line-height: 1.2;
}


