header {
  background: #37105A;
  background: -moz-linear-gradient(top, #37105A 0%, #7A2195 200%);
  background: -webkit-linear-gradient(top, #37105A 0%, #7A2195 200%);
  background: linear-gradient(to bottom, #37105A 0%, #7A2195 200%);

  border-bottom: solid 4px #00FFFF;

  padding: 15px 0;

  position: fixed;
  z-index: 400;
  width: 100%;
  top: 0;
  left: 0;
}

header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

header .logo a:first-child img {
  width: 150px;
}

header .logo a:last-child img {
  height: 40px;
}

header .link {
  font-weight: bold;
  text-decoration: none;
}

header[data-role="index"] nav {
  display: flex;
}

header[data-role="dashboard"] nav {
  display: none;
}

header nav,
header nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
}

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

header nav ul.nav li .link {
  margin-right: 25px;
}

header nav ul.nav li:last-child .link {
  margin-right: 40px;
}

header nav ul.action li:not(:last-child) .btn {
  margin-right: 10px;
}

header .nav-toggle {
  color: #00FFFF;
}

header[data-role="index"] .nav-toggle {
  display: none;
}

header[data-role="dashboard"] .nav-toggle {
  display: block;
}

header nav.active {
  display: flex;
  position: fixed;
  z-index: 400;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;

  flex-direction: column;
  align-items: center;
  justify-content: center;
}

header nav .backdrop {
  display: none;

  position: absolute;
  z-index: 390;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;

  background: rgba(0, 0, 0, 0.95);
}

header nav.active .backdrop {
  display: block;
}

header nav.active ul {
  flex-direction: column;
  align-items: center;

  z-index: 400;
}

header nav.active ul li {
  padding: 10px 0;
}

header nav.active ul li a {
  color: #00FFFF;
}

header nav.active ul.nav li .link,
header nav.active ul.nav li:last-child .link,
header nav.active ul.action li:not(:last-child) .btn {
  margin-right: 0;
}

header[data-role="dashboard"] nav.active .link {
  z-index: 400;
}

header[data-role="index"] nav.active ul.action {
  flex-direction: row;
  justify-content: center;

  margin-top: 30px;
}

header[data-role="index"] nav.active ul.action li:first-child {
  margin-right: 10px;
}

header[data-role="dashboard"] .nav-toggle:after {
  content: "\e90d";
  font-family: icon;
  font-size: 10px;
  margin-left: 5px;
}

@media screen and (max-width: 991px) {
  header[data-role="index"] nav:not(.active) {
    display: none;
  }

  header[data-role="index"] .nav-toggle {
    display: block;
    padding: 0 15px;
  }

  header[data-role="index"] .nav-toggle:before {
    content: "\e9bd";
    font-family: icon;
    font-size: 24px;
  }
}