#header{
  top: 0px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
    line-height: 1;
  }
  @media (min-width: 1200px) {
    .logo {
      width: 220px;
    }
  }
  .logo img {
    max-height: 26px;
    margin-right: 20px;
  }

  .logo i {
    font-size: 18px;
    margin-right: 20px;
    color: #ff5722;
  }

  #header .logo img {
    max-height: 40px;
  }

  .logo span {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-color-header);
    font-family: "Nunito", sans-serif;
  }
  
  .header {
    /* transition: all 0.5s; */
    z-index: 997;
    height: 60px;
    box-shadow: 0px 12px 20px 5px rgba(0, 0, 0, 0.2);
    background-color: var(--bg-color);
    padding-left: 20px;
    /* Toggle Sidebar Button */
    /* Search Bar */
  }
  .header .toggle-sidebar-btn {
    font-size: 1.4rem;
    padding-left: 10px;
    cursor: pointer;
    color: var(--ci-color-dark);
    margin: 0;
    margin-left: 20px;
    padding: 0;
  }
  .header .search-bar {
    min-width: 360px;
    padding: 0 20px;
  }
  @media (max-width: 1199px) {
    .header .search-bar {
      position: fixed;
      top: 50px;
      left: 0;
      right: 0;
      padding: 20px;
      box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
      background: white;
      z-index: 9999;
      transition: 0.3s;
      visibility: hidden;
      opacity: 0;
    }
    .header .search-bar-show {
      top: 60px;
      visibility: visible;
      opacity: 1;
    }
  }
  .header .search-form {
    width: 100%;
  }
  .header .search-form input {
    border: 0;
    font-size: 14px;
    color: #012970;
    border: 1px solid rgba(1, 41, 112, 0.2);
    padding: 7px 38px 7px 8px;
    border-radius: 3px;
    transition: 0.3s;
    width: 100%;
  }
  .header .search-form input:focus, .header .search-form input:hover {
    outline: none;
    box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
    border: 1px solid rgba(1, 41, 112, 0.3);
  }
  .header .search-form button {
    border: 0;
    padding: 0;
    margin-left: -30px;
    background: none;
  }
  .header .search-form button i {
    color: #012970;
  }
  
  /*--------------------------------------------------------------
  # Header Nav
  --------------------------------------------------------------*/
  .header-nav ul {
    list-style: none;
  }

  .header-nav > ul {
    margin: 0;
    margin-right:20px;
    padding: 0;
  }

  .header-nav .nav-item {
    padding: 0px 10px;
  }

  .header-nav .nav-icon,.header .toggle-sidebar-btn {
    font-size: 1.4rem;
    color: var(--ci-color-dark);
  }

  .header-nav .nav-icon:hover,.header .toggle-sidebar-btn:hover {
    color: var(--ci-color);
  }

  .header-nav .nav-profile {
    color: var(--ci-color-dark);
  }
  .header-nav .nav-profile img {
    max-height: 40px;
  }
  .header-nav .nav-profile span {
    font-size: 14px;
    font-weight: 600;
  }
  .header-nav .badge-number {
    position: absolute;
    inset: 4px 6px auto auto;
    font-weight: normal;
    font-size: 11px;
    padding: 3px 6px;
  }
  .header-nav .notifications .notification-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    transition: 0.3s;
  }
  .header-nav .notifications .notification-item i {
    margin: 0 20px 0 10px;
    font-size: 24px;
  }
  .header-nav .notifications .notification-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
  }
  .header-nav .notifications .notification-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
  }
  .header-nav .notifications .notification-item:hover {
    background-color: #f6f9ff;
  }
  .header-nav .messages .message-item {
    padding: 15px 10px;
    transition: 0.3s;
  }
  .header-nav .messages .message-item a {
    display: flex;
  }
  .header-nav .messages .message-item img {
    margin: 0 20px 0 10px;
    max-height: 40px;
  }
  .header-nav .messages .message-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444444;
  }
  .header-nav .messages .message-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
  }
  .header-nav .messages .message-item:hover {
    background-color: #f6f9ff;
  }
  .header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
  }
  .header-nav .profile .dropdown-header h6 {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 600;
    color: #444444;
  }
  .header-nav .profile .dropdown-header span {
    font-size: 14px;
  }
  .header-nav .profile .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
  }
  .header-nav .profile .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
  }
  .header-nav .profile .dropdown-item:hover {
    background-color: #f6f9ff;
  }

  /* Dropdown menus */
.dropdown-menu {
    border-radius: 4px;
    padding: 10px 0;
    -webkit-animation-name: dropdown-animate;
    animation-name: dropdown-animate;
    -webkit-animation-duration: 0.2s;
    animation-duration: 0.2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    border: 0;
    box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
  }
  .dropdown-menu .dropdown-header, .dropdown-menu .dropdown-footer {
    /* text-align: center; */
    font-size: 15px;
    padding: 10px 25px;
  }
  .dropdown-menu .dropdown-footer a {
    color: #444444;
    text-decoration: underline;
  }
  .dropdown-menu .dropdown-footer a:hover {
    text-decoration: none;
  }
  .dropdown-menu .dropdown-divider {
    color: #a5c5fe;
    margin: 0;
  }
  .dropdown-menu .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
  }
  .dropdown-menu .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
  }
  .dropdown-menu .dropdown-item:hover {
    background-color: #f6f9ff;
  }
  
  @media (min-width: 768px) {
    .dropdown-menu-arrow::before {
      content: "";
      width: 13px;
      height: 13px;
      background: #fff;
      position: absolute;
      top: -7px;
      right: 20px;
      transform: rotate(45deg);
      border-top: 1px solid #eaedf1;
      border-left: 1px solid #eaedf1;
    }
  }
  @-webkit-keyframes dropdown-animate {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
    0% {
      opacity: 0;
    }
  }
  @keyframes dropdown-animate {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
    0% {
      opacity: 0;
    }
  }