/* Header */
header {
  width: 100%;
  padding: 15px 35px;
  height: auto;
  background-color: #ffffff;
  display: -webkit-box; 
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex; 
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  justify-content: space-between;
  color: #4A2C78;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  z-index: 99;
  position: relative;
}
header.no-scroll {
  position: relative;
}

header.scroll {
  background-color: rgba(255, 255, 255, 1);
}
header.scroll nav a:hover.nav-link {
  background-color: #4A2C78;
  color: #ffffff;
}

header .brand-logo {
  width: 120px;
  margin-top: 5px;
}
header .brand-logo a h1 {
  height: 100%;
  margin: 0;
}
header .brand-logo a h1 .img-negative,
header .brand-logo a h1 .img-negative {
  width: 100%;
}
header .brand-logo a h1 .img-negative {
  display: none;  
}
header .brand-logo a h1 .img-positive {
  display: block;
}
header.scroll .brand-logo a h1 .img-negative {
  display: none;
}
header.scroll .brand-logo a h1 .img-positive {
  display: block;
}
header nav {
  height: auto;
  display: -webkit-box; 
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex; 
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
header nav a.nav-link {
  font-size: 12px;
  color: #4A2C78;
  padding: 10px 25px;
  display: block;
  font-weight: 700;
  border-radius: 50px;
  margin: 0 5px;
}
header nav a:hover.nav-link {
  background-color: #4A2C78;
  color: #ffffff;
}
header nav a.nav-link h2 {
  line-height: unset;
  font-weight: 100;
}
header nav a.cta {
  margin: 0;
}
header nav a.cta:hover {
  margin: 0;
}
header nav a.user-area {
  height: 45px;
  width: 45px;
}
header nav a.user-area img {
  height: 45px;
  width: 45px;
  padding: 5px; 
  border-radius: 50%;
  margin-left: 20px;
}
header nav a:hover img {
  background-color: #f1f1f1;
}

header .mobile {
  display: none;
}
header .desktop {
  display: block;
}

header .mobile-menu {
  width: 30px;
  height: 30px;
  margin: 0;
  display: none;
}
header .mobile-menu img {
  width: 100%;
}

@media (max-width: 900px) {
  header {
    background-color: #ffffff;
    padding: 10px 5%;
    position: relative;
  }
  header .brand-logo {
    width: 100px;
    margin-top: 20px;
  }
  header nav {
    display: none;
    width: 100%;
  }
  header nav a.nav-link {
    color: #4A2C78;
    text-align: center;
    padding: 30px;
    border-bottom: 1px solid #cccccc;
    border-radius: 0;
  }
  header nav a:hover.nav-link {
    background-color: transparent;
  }
  header .mobile-menu {
    display: block;
  }

  header .mobile {  
    display: -webkit-box; 
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex; 
    display: flex !important;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    justify-content: space-between;
  }
  header .mobile .cta-primary {
    padding: 10px 20px;
    font-size: 10px;
    margin: 0 10px 0 0;
  }
  header .desktop {
    display: none;
  }
}