﻿.header {
  background: #522d62;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  min-height: 125px; }
  .header .container {
    display: flex;
    align-items: center;
    justify-content: space-between; }

.validate-page .header .container {
  justify-content: center; }
  .validate-page .header .container .header-slogan {
    margin-left: 20px; }

.validate-page .title {
  font-size: 24px; }

.header-logo svg {
  fill: #fff;
  max-width: 65px; }

.header-logo span {
  padding-left: 10px;
  font-weight: 700;
  color: #fff; }

.header-slogan {
  color: #fff;
  text-align: center; }

@media (max-width: 420px) {
  .header-slogan h1 {
    margin: 15px; } }

@media (max-width: 575px) {
  .header-slogan h1 {
    font-size: 18px; } }

@media (min-width: 840px) {
  .header-logo svg {
    max-width: 60px; }
  .header-logo a {
    display: flex;
    align-items: center; } }

/* #region .nav */
.nav {
  display: block;
  position: relative;
  overflow: auto; }
  .nav ul {
    margin: 0;
    padding: 0;
    list-style: none; }
    .nav ul ul {
      display: none; }
    .nav ul ul li {
      position: relative;
      display: block; }
    .nav ul a {
      font-size: 15px;
      line-height: 22px;
      text-transform: uppercase;
      text-decoration: none; }
    .nav ul a span {
      display: inline-block;
      width: 20px;
      height: 20px;
      cursor: pointer; }
    .nav ul a span::after {
      content: '';
      display: inline-block;
      border: solid #522d62;
      border-width: 0 1px 1px 0;
      margin: 4px;
      padding: 4px;
      transform: rotate(45deg);
      -webkit-transform: rotate(45deg); }
    .nav ul li:last-of-type {
      padding-right: 33px; }

.nav-overlay,
.btn-nav-open,
.btn-nav-close {
  display: none; }

@media (max-width: 575px) {
  .header .nav {
    right: -100% !important;
    width: 100% !important; } }

body.nav-active {
  overflow: hidden; }

.header .nav {
  z-index: 999;
  position: fixed;
  top: 0;
  right: -80vw;
  padding: 40px 0;
  width: 80vw;
  height: 100%;
  background: #f9f9f9;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.16);
  transition: right .4s; }
  .header .nav ul a {
    color: #522d62;
    text-transform: none; }
  .header .nav svg {
    display: block;
    margin: 0 20px 15px;
    height: 50px;
    fill: #522d62; }

.nav.active {
  right: 0 !important; }
  .nav.active + .nav-overlay {
    z-index: 998;
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    content: ""; }

.nav ul.static {
  overflow: auto;
  padding: 0 20px;
  column-count: 2;
  column-rule: 1px solid rgba(82, 45, 98, 0.3); }
  .nav ul.static > li {
    padding: 10px; }
    .nav ul.static > li strong {
      padding: 5px 10px;
      color: #fff;
      background: #522d62;
      border-radius: 10px; }

/* Submenu */
.nav ul.dynamic {
  margin: 3px 0 0 3px;
  padding: 0 0 0 15px; }

.nav ul.dynamic.active {
  display: block; }

.nav ul.dynamic > li {
  padding: 8px 0; }

.nav ul a.selected,
.nav ul a.selected > span::after {
  font-weight: 700; }

.btn-nav-open {
  z-index: 901;
  position: relative;
  top: 50%;
  display: block;
  border: none;
  float: right;
  width: 36px;
  height: 36px;
  background: none;
  text-indent: -9999px;
  transition: background linear .2s; }

.btn-nav-open:hover,
.btn-nav-open:focus {
  outline: none; }

.btn-nav-open::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 25px;
  height: 3px;
  background: #fff;
  box-shadow: 0 8px 0 0 #fff, 0 16px 0 0 #fff;
  border-radius: 10px; }

.btn-nav-open:hover::before {
  background: #333;
  box-shadow: 0 8px 0 0 #333, 0 16px 0 0 #333; }

.btn-nav-open.sticky {
  position: fixed;
  top: 15px;
  right: 15px;
  background: #522d62;
  box-shadow: 2px 1px 4px 1px rgba(0, 0, 0, 0.25);
  border-radius: 5px; }

.header .btn-nav-close {
  position: absolute;
  top: 15px;
  right: 10px;
  display: block;
  border: none;
  border-radius: 3px;
  background: none;
  width: 36px;
  height: 36px;
  text-indent: -9999px; }

.header .btn-nav-close:hover,
.header .btn-nav-close:focus {
  outline: none; }

.header .btn-nav-close::before,
.header .btn-nav-close::after {
  position: absolute;
  top: 16px;
  left: 3px;
  content: '';
  width: 30px;
  height: 4px;
  background: #522d62;
  border-radius: 2px; }

.header .btn-nav-close::before {
  transform: rotate(45deg); }

.header .btn-nav-close::after {
  transform: rotate(-45deg); }

.header .btn-nav-close:hover::before,
.header .btn-nav-close:hover::after {
  background: #fff; }

/* #endregion*/
