/*header { width: 100%; }*/
.nav-bar {
  display: none;
}

header nav {
  float: right;
  z-index: 1000;
  width: auto;
  margin: 30px 0;
  padding: 0;
}
header nav ul {
  list-style: none;
  padding-left: 0;
}
header nav ul li {
  float: left;
  position: relative;
}
header nav:after {
  content: "";
  display: block;
  clear: both;
}

header nav ul li a {
  color: #333;
  display: block;
  padding: 15px 10px;
  margin: 0 0 0 1px;
  line-height: 20px;
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}
header nav ul li a:hover,
header nav ul li a.active {
  color: #fff;
  background: #00487a;
  text-decoration: none;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

header nav ul li.active a {
  color: #fff;
  background: #00487a;
  text-decoration: none;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}
header nav ul li.current-menu-ancestor.menu-item-has-children a {
  color: #fff;
  background: #00487a;
  text-decoration: none;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

header nav ul li i {
  margin-right: 5px;
}
header nav ul li:hover .children {
  display: block;
}
header nav ul li .children {
  display: none;
  background: #00487a;
  position: absolute;
  width: 230px;
  z-index: 1000;
  border: 1px solid #0f004a;
}
header nav ul li .children span {
  display: none;
}
header nav ul li .children li {
  display: block;
  width: 100%;
  border-bottom: 1px solid #0f004a;
}
header nav ul li .children li:last-child {
  border-bottom: none !important;
}

header nav ul li .children li a {
  margin-left: 0;
  line-height: 20px;
  font-size: 13px;
  padding: 8px 15px;
  margin: 0;
  text-transform: none;
  color: #fff !important;
  font-weight: 400;
  text-transform: capitalize;
  background: none !important;
}
header nav ul li .children li a:hover {
  background: #023f6a !important;
  color: #fff !important;
  border-radius: 0px;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
}

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

header nav ul li .faicon {
  display: none;
  position: relative;
  top: 1px;
  left: 5px;
}

@media only screen and (min-width: 1299px) and (max-width: 2399px) {
  header nav {
    margin: 35px 0;
  }

  header nav ul li a {
    padding: 15px 20px;
    line-height: 20px;
    font-size: 14px;
  }

  header nav ul li .children {
    width: 240px;
    padding-left: 0;
  }

  header nav ul li .children li a {
    line-height: 20px;
    font-size: 13px;
    padding: 9px 15px;
  }

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

  header nav ul li .faicon {
    display: none;
    position: relative;
    top: 1px;
    left: 5px;
  }
}

/*responsive nav style*/

@media only screen and (min-width: 768px) and (max-width: 980px) {
  header nav {
    margin: 15px 0;
  }
  header nav ul li a {
    padding: 10px;
    line-height: 20px;
    font-size: 11px;
  }

  header nav ul li .children {
    width: 240px;
  }

  header nav ul li .children li a {
    line-height: 20px;
    font-size: 13px;
    padding: 9px 15px;
  }

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

  header nav ul li .faicon {
    display: none;
    position: relative;
    top: 1px;
    left: 5px;
  }
}

@media only screen and (min-width: 320px) and (max-width: 767px) {
  .nav-bar {
    display: block;
    width: 100%;
    position: fixed;
    top: 0;
    background: #023f6a;
    border-bottom: 1px solid #d50d2b;
    z-index: 1000;
  }
  .nav-bar span {
    float: left;
    font-size: 16px;
    font-weight: 700;
    line-height: 25px;
    text-transform: uppercase;
    padding: 10px 20px;
    color: #fff;
  }

  .nav-bar .fa-ellipsis-v {
    display: block;
    padding: 10px 20px;
    color: #fff;
    overflow: hidden;
    font-size: 20px;
    line-height: 25px;
    font-weight: bold;
    text-decoration: none;
    float: right;
  }
  header nav {
    width: 80%;
    height: auto;
    position: fixed;
    right: 100%;
    top: 45px;
    overflow: hidden;
    overflow-y: auto;
    height: 100%;
    background: #00487a;
    margin: 0;
  }
  header nav ul li {
    display: block;
    border-bottom: 1px solid #0f004a;
    width: 100%;
  }
  header nav ul li:last-child {
    margin-bottom: 60px !important;
  }
  header nav ul li .children li:last-child {
    border-bottom: none !important;
    margin-bottom: 0px !important;
  }
  header nav ul li a {
    color: #fff;
    display: block;
    padding: 10px 15px;
    margin: 0;
    line-height: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
  }
  header nav ul li a:hover,
  header nav ul li a.active {
    background: #023f6a;
    color: #fff !important;
    text-decoration: none;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
  }

  header nav ul li.active a {
    background: #023f6a;
    color: #fff !important;
    text-decoration: none;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
  }
  header nav ul li.current-menu-ancestor.menu-item-has-children a {
    background: #023f6a;
    color: #fff !important;
    text-decoration: none;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
  }

  /*header ul li a { display: block; font-size:14px; line-height:20px; margin:0; padding:0; border:1px solid #C93 }*/
  header nav ul li .children {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: none;
    border-left: none;
    border: none;
  }
  header nav ul li:hover .children {
    display: none;
  }
  header nav ul li ul li:first-child {
    border-top: 1px solid #0f004a;
  }

  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 .children li {
    display: block;
    width: 100%;
    border-bottom: 1px solid #0f004a;
  }
  header nav ul li .children li a {
    margin-left: 0;
    line-height: 20px;
    font-size: 13px;
    padding: 8px 15px 8px 20px;
    text-transform: capitalize;
    background: #00487a !important;
    color: #fff !important;
    font-weight: 500;
  }
  header nav ul li .children li a:hover {
    background: #023f6a !important;
    color: #fff !important;
  }

  header nav ul li .faicon {
    position: relative;
    display: block;
    top: 3px;
    right: 0;
    float: right;
  }
}
