.ug-pg-nav {
  overflow: hidden;
  background-color: transparent;
  position: absolute;
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 8vh;
  right: 2%;
  margin-top: -15px;
  z-index: 11;
}

.ug-pg-nav li {
  list-style: none;
}

.ug-pg-nav #ug-pg-links {
  display: none;
  bottom: 0;
  right: 0;
  min-width: 420px;
}

.ug-pg-nav a {
  color: white;
  padding: 14px 0px 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: inline-block;
  position: relative;
  z-index: 11;
}

.burger {
  cursor: pointer;
  position: absolute;
  left: 95%;
  z-index: 12;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  height: 35px;
  width: 35px;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #0d57a6;
  margin: 5px;
  transition: all 0.3s ease;
}

.ug-pg-nav a:hover {
  background-color: #0d57a6;
  color: white;
}

.ug-pg-page {
  display: block;
  position: relative;
  background: #1663b5;
  color: white;
}

.ug-pg-page:first-child {
  border: #0e57a6 1px solid;
  border-bottom: none;
  background-color: #0e57a6;
  pointer-events: none;
  min-height: 50px;
}

.ug-pg-page:not(:first-child) {
  border-top: #0e57a6 1px solid;
  border-bottom: #0e57a6 1px solid;
}

.ug-pg-subpage {
  display: none;
  position: relative;
  padding-left: 10px;
  background: #2a81de;
  color: white;
  border-bottom: white 1px solid;
}

li > .ug-pg-subpage:last-child {
  border-bottom: none;
}

.burger-toggle {
  background-color: transparent;
}
.burger-toggle .line1 {
  transform: rotate(-45deg) translate(-1px, 5px);
  background-color: white;
}
.burger-toggle .line2 {
  opacity: 0;
  background-color: white;
}
.burger-toggle .line3 {
  transform: rotate(45deg) translate(-6px, -10px);
  background-color: white;
}

.ug-pg-show-children {
  cursor: pointer;
  color: white;
  width: 20px;
  height: 20px;
  text-align: center;
  margin: 10px 20px 10px 10px;
  -moz-transition: transform 0.5s;
  -webkit-transition: transform 0.5s;
  transition: transform 0.5s;
}

@media screen and (max-width: 768px) {
  .burger {
    right: 0;
    left: 90%;
    margin-top: -5px;
  }
  .ug-pg-nav {
    left: 0;
    right: 0;
    border-color: #0d57a6;
  }
  .ug-pg-page {
    border: #0e57a6 1px solid;
  }
  .ug-pg-nav #ug-pg-links {
    min-width: 100vw;
  }
}

.flip {
  transform: rotate(-180deg);
}
