#header {
  padding-top: 15px;
  padding-bottom: 15px;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  background-color: rgba(29, 29, 29, 0);
}

#header.fixed {
  background-color: rgba(29, 29, 29, 1);
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 99;
}

#header .brand {
  display: block;
}

@media (max-width: 991px) {
  #header {
    position: fixed;
    max-width: 100%;
    z-index: 999;
    background-color: rgba(23, 23, 23, 1);
    box-shadow: rgba(0, 0, 0, 1) 0px 5px 10px -4px
  }

  #header .menu-responsive {
    position: absolute;
    left: 0;
    top: 73px;
    height: calc(100vh - 73px);
    background-color: rgba(23, 23, 23, 1);
    width: 75%;
    z-index: 1;
    padding-top: 30px;
    transition: all .2s ease-in-out;
    transform: translateX(-100%);
    opacity: 0;
  }

  #header .menu-responsive.show {
    transform: translateX(0);
    opacity: 1;
  }

  #header .menu-responsive::after {
    position: absolute;
    width: 50%;
    z-index: -1;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(23, 23, 23, 1);
    box-shadow: rgba(0, 0, 0, 1) 0px 5px 10px 0px;
    transform: skewX(174deg);
  }

  #header .nav-main > li {
    width: 100%;
    margin-bottom: 15px;
  }

  #header .nav-main > li a {
    width: 100%;
    display: block;
  }

  #header .logout-container {
    padding: 0 15px !important;
  }

  #header .logout-container .btn-logout {
    width: 100%;
  }
}

#header .nav-main > li {
  display: inline-block;
}

#header .nav-main > li a {
  font-size: 16px;
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 15px;
}

#header .btn-ghost {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0 10px;
  font-size: 28px;
  color: #FFF;
  cursor: pointer;
  height: 28px;
}

#header .nav-toggle {
  display: none;
  height: 40px;
  width: 40px;
  border: none;
  position: relative;
  cursor: pointer;
  border-radius: 0;
  background-color: transparent;
  padding: 0;
}

#header .nav-toggle .nav-icon {
  width: 20px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border: 0;
  position: relative;
  height: 22px;
  display: block;
  top: 0px;
  margin: 0 auto;  
  margin-bottom: 2px;
}

#header .nav-toggle .nav-icon .nav-icon__bar {
  position: absolute;
  display: block;
  top: 10px;
  width: 20px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: 0.25s;
}



#header .nav-toggle .nav-icon .nav-icon__bar::before,
#header .nav-toggle .nav-icon .nav-icon__bar::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: inherit;
  border-radius: 3px;
  transition: 0.25s;
}

#header .nav-toggle .nav-icon .nav-icon__bar::before {
  transform: translatey(-6px);
}

#header .nav-toggle .nav-icon .nav-icon__bar::after {
  transform: translatey(6px);
}

#header .nav-toggle .nav-text {
  margin-top: 0px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.4px;
  width: 100%;
  display: block;
  color: var(--white);
  text-align: center;
  font-size: 10px;
}


@media (max-width: 991px) {
  #header .user-container {
    margin-right: 30px;
  }
  #header .nav-toggle {
    display: block;
  }

  #header .nav-toggle.open .nav-icon .nav-icon__bar{
    background-color: transparent;
  }

  #header .nav-toggle.open .nav-icon .nav-icon__bar::before {
    transform: rotate(45deg);
    background: var(--white);
  }

  #header .nav-toggle.open .nav-icon .nav-icon__bar::after {
    transform: rotate(-45deg);
    background: var(--white);
  }
}

#header .user-container {
  display: flex;
}

#header .user-container > .btn-profile {
  flex: 0 0 auto;
  width: 26px;
}

#header .user-container > .inner-user-content {
  flex: 0 0 auto;
  width: calc(100% - 26px);
}

#header .user-container > .inner-user-content > span,
#header .user-container > .inner-user-content > a {
  display: inline-block;
  width: 100%;
  font-size: 12px;
}

#header .user-container > .inner-user-content > span {
  color: #FFF;
  font-weight: 600;
}

#header .user-container > .inner-user-content > a {
  font-weight: 800;
  color: var(--brand);
  text-decoration: none;
}

#header .logout-container {
  padding-left: 30px;
}

#header .logout-container .btn-logout {
  border-radius: 8px;
  padding: 8px 15px;
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  border: 2px solid var(--brand);
  color: var(--brand);
}

