@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
  padding: 0;
  margin: 0;
  font-size: 13px;
}
:root {
  --primary: #007583;
  --bg_hover: #07a9bd;
  --primary_hover: #12ffff;
}

#header {
    background: #fff;
    background-size: auto 100%;
    display: flex;
    min-height: 80px;
    font-family: "Be Vietnam Pro", sans-serif;
    z-index: 2;
    position: relative;
    padding: 0 5% 0 10%;
}

#header p {
  margin: 0;
}

#header .mid {
  flex: 1;
}

    #header .left {
        width: 290px;
        padding-right: 40px;
        box-sizing: border-box;
        font-size: 18px;
        line-height: 25px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-transform: uppercase;
        color: #12ffff;
        margin-right: 20px;
        font-weight: 700;
        background: url('admincontent/assets/images/bannerleft.png') right center no-repeat;
    }

#header .mid {
  display: flex;
  align-items: center;
  flex: 1;
}

#header .logo img {
  width: 70px;
  height: auto;
  display: block;
  margin-right: 20px;
}

#header .nameProduct {
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}

    #header .nameProduct p:nth-child(1) {
        color: #191c51;
        font-weight: 800;
    }
    #header .nameProduct p:nth-child(2) {
        color: #191c51;
        font-weight: 700;
    }

#header a {
  color: inherit;
  text-decoration: none;
}
#header .userInfo {
  margin-left: 10px;
  position: relative;
  cursor: pointer;
}
#header .userInfo:hover .mnSub {
  display: block;
}
#header .mnSub {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 230px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0px 2px 4px 0px #00000033;
}

#header .right {
  display: flex;
  align-items: center;
  padding-right: 40px;
}

#header .userInfo .top {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#header .userInfo .imageUser {
  display: flex;
  align-items: center;
  gap: 3px;
}
#header .userInfo .top {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
#header .userInfo .userName {
  color: black;
  font-weight: 700;
  font-size: 13px;
}

#header .mnSub ul {
  padding: 7px 0;
  margin: 0;
  list-style: none;
}

#header .mnSub ul a {
  padding: 6px 20px 7px 20px;
  display: flex;
  gap: 6px;
  align-items: center;
  transition: 0.3s all ease-in-out;
}
#header .mnSub ul a span {
  margin-top: 2px;
}
#header .mnSub ul a:hover {
  background: #f4f4f4;
}

.header-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin-right: 8px;
  padding: 0 12px;
  background: none;
  border: 0;
  cursor: pointer;
}
.header-hamburger .hamburger-icon span {
  background-color: #183f7a;
}

@media (max-width: 1024px) {
  .header-hamburger {
    display: inline-flex;
  }
  #header {
    padding: 0 12px;
  }
  #header .mid {
    min-width: 0;
  }
  #header .right {
    padding-right: 0;
  }
  #header .nameProduct {
    font-size: 14px;
    line-height: 20px;
  }
  [data-layout=horizontal] .page-content {
    padding-top: calc(80px + 1.5rem);
  }
}

@media (max-width: 767.98px) {
  #header .logo img {
    width: 48px;
    margin-right: 10px;
  }
  #header .nameProduct {
    font-size: 12px;
    line-height: 16px;
  }
}

@media (max-width: 575.98px) {
  #header {
    padding: 0 8px 0 0;
  }
  #header .header-hamburger {
    margin-right: 0;
  }
  #header .nameProduct p:nth-child(2) {
    display: none;
  }
  #header .userInfo .userName {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
