nav {
  position: fixed;
  z-index: 1000;
  top: 0;
  width: 100%;
  margin-left: -10px;
  height: 55px;
  background-color: #2b415a;
}

nav ul {
  margin: 0;
  padding: 10px;
  list-style: none;
}

.nav a {
  display: block;
  background: #2b415a;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: .8em 1.8em;
  text-transform: uppercase;
  font-size: 90%;
  letter-spacing: 2px;
  position: relative;
}

.nav {
  vertical-align: top;
  display: inline-block;
}

.nav li {
  position: relative;
}

.nav>li {
  float: left;
  margin-right: 1px;
}

.nav>li:hover>a {
  border-bottom-color: orange;
}

.nav li:hover>a {
  color: orange;
}

.nav>li:first-child {
  border-radius: 4px 0 0 4px;
}

.nav>li:first-child>a {
  border-radius: 4px 0 0 0;
}

.nav>li:last-child {
  border-radius: 0 0 4px 0;
  margin-right: 0;
}

.nav>li:last-child>a {
  border-radius: 0 4px 0 0;
}

.nav li li a {
  margin-top: 1px
}

.nav li a:first-child:nth-last-child(2):before {
  content: "";
  position: absolute;
  height: 0;
  width: 0;
  /*border: 5px solid transparent; */
  top: 50%;
  right: 5px;
}

/* submenu positioning*/
.nav ul {
  position: absolute;
  white-space: nowrap;
  z-index: 1;
  left: -99999em;
}

.nav>li:hover>ul {
  left: auto;
  padding-top: 5px;
  min-width: 100%;
}


.nav>li li:hover>ul {
  left: 100%;
  top: -1px;
}

/* arrow hover styling */
.nav>li:hover>a:first-child:nth-last-child(2):before {
  border: 5px solid transparent;
  border-bottom-color: orange;
  margin-top: -5px
}

.nav li li>a:first-child:nth-last-child(2):before {
  border-left-color: #aaa;
  margin-top: -5px
}

.nav li li:hover>a:first-child:nth-last-child(2):before {
  border: 5px solid transparent;
  border-right-color: orange;
  right: 10px;
}

.nav>li>a:hover {
  background: transparent;
}


/* tooltip css */
.tooltip-container {
  display: flex;
  flex-direction: row;
  position: relative;
  border-radius: 5%;
}

.tooltip-container .tip-content {
  background-color: #2b415a;
  padding: 0.5rem;
  position: absolute;
  left: 30%;
  bottom: 25px;
  width: 15rem;
  height: 10rem;
  color: white;
}

.tooltip-container table tr {
  font-weight: normal !important;
}

.tooltip-container table tr:last-child {
  font-weight: bold !important;
}

.tooltip-container table tr:last-child td {
  border-top: 0.05rem solid white;
  margin: 0.5rem;
}

.tooltip-container table tr td:first-child {
  width: 7rem;
  text-align: start;
}

.tooltip-container table tr td:last-child {
  width: 5rem;
  text-align: end;
}