@layer components {
  .divmenu {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
  }

  .divnav-top {
    background-color: var(--primary);
    padding-top: 31px;
    padding-bottom: 31px;
  }
  .divnav-menu {
    background-color: var(--default);
    padding-top: 17px;
  }
  .divnav-menu ul {
    display: flex;
    justify-content: center;
    gap: 50px;
    position: relative;
  }
  .divnav-menu ul li {
    padding-bottom: 17px;
    line-height: 1;
  }
  .divnav-menu ul li a {
    font-family: var(--font-default);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
  }
  .divnav-menu ul li a:hover,
  .divnav-menu ul li a.active {
    color: var(--blue-hover);
  }

  .divnav-menu ul li.subb {
    position: relative;
  }
  .divnav-menu ul li.subb > ul {
    display: none;
    position: absolute;
    background-color: #333; /*background-color: #E7E8EB;*/
    top: 33px;
    padding: 20px 15px;
    width: 170px;
  }
  .divnav-menu ul li.subb:hover > ul {
    display: block;
    z-index: 9;
  }
  .divnav-menu ul li.subb > ul li {
    display: block;
    float: none;
    padding: 0;
    margin-bottom: 15px;
  }
  .divnav-menu ul li.subb > ul li:last-of-type {
    margin-bottom: 0;
  }
  .divnav-menu ul li.subb > ul li a {
    display: block;
    font-size: 13px;
    line-height: 1.3; /*color: #080A2F;*/
    color: var(--white);
  }
  .divnav-menu ul li.subb > ul li a.active,
  .divnav-menu ul li.subb > ul li a:hover {
    /*color: var(--primary);*/
    text-decoration: underline;
  }

  a.newmenu {
    position: relative;
  }
  a.newmenu::after {
    content: "NEW";
    position: absolute;
    font-size: 10px;
    color: #f00;
    margin-left: 5px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-animation: liveAnimation 1s infinite;
    -moz-animation: liveAnimation 1s infinite;
    -o-animation: liveAnimation 1s infinite;
    animation: liveAnimation 1s infinite;
  }
  a.newmenu:hover::after {
    text-decoration: none;
  }

  .logo-bkp {
    line-height: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .logo-bkp img {
    width: 300px;
    transition: all 0.3s ease;
  }
  .logo-bkp span {
    text-indent: -9999px;
    display: block;
  }

  .divnav-top.h-sticky {
    padding-top: 23px;
    padding-bottom: 23px;
  }
  .divnav-top.h-sticky .logo-bkp img {
    width: 197px;
    transition: all 0.3s ease;
  }

  .boxnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }
  .boxnav-left {
    display: flex;
    gap: 13px;
    align-items: center;
  }
  .boxnav-right {
    display: flex;
    gap: 30px;
    align-items: center;
  }

  .boxnav-user {
    line-height: 0;
  }
  .boxnav-user a {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .boxnav-user i img {
    filter: var(--filter-white);
    width: 24px;
    height: auto;
  }

  .boxnav--social ul {
    display: flex;
    align-items: center;
    gap: 20px;
    line-height: 0;
  }
  .boxnav--search a i img {
    height: 21px;
  }
  .boxnav--social ul li a:hover i img,
  .boxnav--search a:hover i img,
  .boxnav-user a:hover i img {
    filter: var(--filter-svg-hover);
  }

  .boxnav--social li.ic-youtube img {
    max-height: 16px;
  }

  .btn-live {
    display: none;
  }
  .boxnav-left.has-live .btn-live {
    font-size: 13px;
    color: #fff;
    width: 60px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 6px;
    background-color: #c60000;
  }
  .btn-live span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #fff;
    margin-bottom: 2px;
    -webkit-animation: liveAnimation 1s infinite;
    -moz-animation: liveAnimation 1s infinite;
    -o-animation: liveAnimation 1s infinite;
    animation: liveAnimation 1s infinite;
  }

  @keyframes liveAnimation {
    0% {
      opacity: 1;
    }
    50% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  @-o-keyframes liveAnimation {
    0% {
      opacity: 1;
    }
    50% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  @-moz-keyframes liveAnimation {
    0% {
      opacity: 1;
    }
    50% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  @-webkit-keyframes liveAnimation {
    0% {
      opacity: 1;
    }
    50% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  #ham-menu {
    width: 20px;
    height: 15px;
    /* position: absolute;
  margin: 0;
  top: 50px;
  right: 0; */
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    cursor: pointer;
    z-index: 90;
  }
  .close-menu {
    width: 20px;
    height: 20px;
    position: absolute;
    margin: 0;
    top: 6px;
    right: 15px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    cursor: pointer;
    z-index: 99;
  }
  #ham-menu span,
  .close-menu span {
    display: block;
    position: absolute;
    height: 2px;
    width: 20px;
    background: var(--white);
    border-radius: 50px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
  }
  #ham-menu span:nth-child(1),
  .close-menu span:nth-child(1) {
    top: 0px;
  }
  #ham-menu span:nth-child(2),
  .close-menu span:nth-child(2) {
    top: 7px;
  }
  #ham-menu span:nth-child(3),
  .close-menu span:nth-child(3) {
    top: 14px;
  }

  /* .close-menu.open{ position: fixed; } */
  .close-menu.open span:nth-child(1) {
    top: 7px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
    background: var(--white);
  }
  .close-menu.open span:nth-child(2) {
    opacity: 0;
    left: -20px;
  }
  .close-menu.open span:nth-child(3) {
    top: 7px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
    background: var(--white);
  }

  #ham-menu:hover span,
  .close-menu.open:hover span {
    background: #56bed5;
  }

  .scrolDisabled {
    overflow: hidden;
    position: fixed;
  }

  .divnavmenu {
    height: 0;
    width: 100%;
    position: fixed;
    /* z-index: -9; */
    z-index: 999;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 1);
    overflow-x: hidden;
    /* transition: 0.5s; */
    display: none;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .divnavmenu.navOpen {
    height: 100vh;
    z-index: 999;
    top: 0;
  }

  .divnavmenu-bar {
    background-color: var(--c_new);
    padding: 12px 0;
  }
  .divnavmenu-bar .container {
    position: relative;
  }
  .divnavmenu-logo {
    width: 143px;
  }

  .content-pd {
    padding-top: 114px;
  }

  @media (max-width: 1199px) {
    .boxnav-right {
      gap: 20px;
    }
    .boxnav--social ul {
      gap: 15px;
    }
    .divnav-menu ul {
      gap: 40px;
    }
  }
  @media (max-width: 991px) {
    .divnav-top {
      padding-top: 15px;
      padding-bottom: 15px;
    }
    .logo-bkp {
      width: 140px;
    }
    .divnav-menu ul {
      gap: 20px;
    }

    .divnav-top.h-sticky {
      padding-top: 15px;
      padding-bottom: 15px;
    }
    .logo-bkp img,
    .divnav-top.h-sticky .logo-bkp img {
      width: 100%;
    }
  }
  @media (max-width: 767px) {
    .content-pd {
      padding-top: 60px;
    }

    .divmenu .container {
      max-width: 100%;
    }

    .divnav-menu,
    .boxnav--social {
      display: none;
    }
    .boxnav-left {
      gap: 5px;
      position: relative;
    }
    .boxnav-user i img {
      width: 20px;
    }
    .boxnav-left.has-live .btn-live {
      font-size: 10px;
      width: 45px;
      height: 20px;
      border-radius: 4px;
    }
    .btn-live span {
      width: 5px;
      height: 5px;
    }
    .boxnav--search a i img {
      height: 18px;
    }

    .boxnav-right {
      gap: 15px;
    }
  }

  /* menu open */

  .navmenu--list {
    display: flex;
    justify-content: space-between;
    padding-bottom: 30px;
  }
  .box-navmenu-left {
    width: calc(100% - 280px);
    display: flex;
    justify-content: space-between;
    gap: 100px;
    padding-right: 50px;
  }
  .box-navmenu-right {
    width: 280px;
    border-left: 1px solid var(--lightgray2);
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .navmenu-link {
    width: 100%;
  }
  .navmenu-link--box {
    margin-bottom: 40px;
  }
  .navmenu-link .navmenu-link--box:last-of-type {
    margin-bottom: 0;
  }

  .navmenu--list h3 {
    font-size: 20px;
    border-bottom: 1px solid var(--primary);
    margin-bottom: 12px;
    padding-bottom: 5px;
  }
  .navmenu--list h4 {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .navmenu--list ul.ul-news li {
    margin-bottom: 30px;
  }
  .navmenu--list ul.ul-news li:last-of-type {
    margin-bottom: 0;
  }
  .navmenu--list ul.ul-news li > ul li {
    font-family: var(--font-article);
    font-size: 14px;
    font-weight: 400;
    color: var(--gray);
    margin-bottom: 12px;
  }

  /* .navmenu--list a:hover{ color: var(--primary); } */

  .navmenu--top {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
  }

  .divnav--btn {
    display: flex;
    gap: 15px;
    align-items: center;
  }
  .divnav--btn .btn {
    width: 195px;
    height: 37px;
    border-radius: 23px;
  }
  .divnav--btn .btn-border {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .divnav--search {
    width: 100%;
  }
  .divnav--search .btn-outline-secondary {
    line-height: 0;
    border-color: #e3e3e3;
    border-left: 0;
    background-color: #f7f7f7;
    border-radius: 10px;
    padding: 0.375rem 0.75rem;
  }
  .divnav--search .form-control {
    border-color: #e3e3e3;
    border-right: 0;
    background-color: #f7f7f7;
    border-radius: 10px;
    font-size: 18px;
  }

  .divnav--search .input--search {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    margin-bottom: 0;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    border: 1px solid #e3e3e3;
    border-right: 0;
    background-color: #f7f7f7;
    border-radius: 10px;
    font-size: 18px;
  }
  .input-group > .input--search {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  .navmenu--social ul {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .navmenu--social a i img {
    filter: var(--filter-primary);
  }
  .navmenu--social ul li a:hover i img {
    filter: none;
  }

  .navmenu--social li.ic-youtube img {
    max-height: 22px;
  }

  .divnavmenu .navmenu-link--box h3.navmobi,
  .divnavmenu
    .box-navmenu-left
    .navmenu-link--box
    h3.navmobi
    + ul
    > li:first-of-type {
    display: none;
  }

  @media (max-width: 1199px) {
    .box-navmenu-left {
      gap: 50px;
    }

    .navmenu--social ul {
      gap: 16px;
    }
    .navmenu--social li img,
    .navmenu--social li.ic-youtube img {
      max-height: 18px;
    }
  }
  @media (max-width: 991px) {
    .divnav--btn .btn {
      width: 150px;
    }

    .navmenu--list {
      flex-direction: column;
      gap: 30px;
    }

    .box-navmenu-left {
      width: 100%;
      gap: 35px;
      padding-right: 0;
    }
    .box-navmenu-right {
      width: 100%;
      border-left: 0;
      border-top: 1px solid var(--lightgray2);
      padding-left: 0;
      padding-top: 30px;
    }
    .box-navmenu-right .navmenu-link {
      display: flex;
      justify-content: space-between;
      gap: 35px;
    }
    .navmenu-link--box {
      width: 100%;
    }

    /* .navmenu--list h3{ font-size: 16px; }
  .navmenu--list h4{ font-size: 13px; } */
    .navmenu--list ul.ul-news li {
      margin-bottom: 20px;
    }
    /* .navmenu--list ul.ul-news li > ul li{ font-size: 13px; } */

    .navmenu--social ul {
      justify-content: center;
    }
  }
  @media (max-width: 767px) {
    .navmenu--top {
      flex-direction: column;
      margin: 30px 0;
    }

    .navmenu--list {
      gap: 0;
    }

    .box-navmenu-left {
      gap: 0 25px;
      flex-wrap: wrap;
    }
    .box-navmenu-left .navmenu-link {
      width: 100%;
    }
    .box-navmenu-right {
      border-top: 0;
      padding-top: 0;
    }
    .box-navmenu-right .navmenu-link {
      flex-direction: column;
      gap: 0;
      display: block;
    }
    .navmenu-link--box {
      margin-bottom: 30px;
    }

    .navmenu-link .navmenu-link--box:last-of-type {
      margin-bottom: 30px;
    }

    /* mobile */
    .divnavmenu .navmenu-link--box h3.navpc {
      display: none;
    }
    .divnavmenu .navmenu-link--box h3.navmobi {
      display: flex;
    }

    .divnavmenu .navmenu-link--box h3 {
      align-items: center;
      justify-content: space-between;
    }
    .divnavmenu .navmenu-link--box h3 i {
      width: 20px;
      line-height: 0;
    }
    .divnavmenu .navmenu-link--box h3 i img {
      transform: rotate(90deg);
    }
    .divnavmenu .navmenu-link--box h3 + ul {
      display: none;
    }
    .divnavmenu .navmenu-link--box h3.active + ul {
      display: block;
    }
    .divnavmenu .navmenu-link--box h3.active i img {
      transform: rotate(-90deg);
    }

    .divnavmenu
      .box-navmenu-left
      .navmenu-link--box
      h3.navmobi
      + ul
      li:first-of-type {
      display: block;
    }
  }
  @media (max-width: 576px) {
    .divnav--btn {
      flex-wrap: wrap;
      width: 100%;
      gap: 10px;
    }
    .divnav--btn .btn,
    .divnav--btn > span {
      width: 100%;
    }
  }

  /* -- btn subscribe -- */
  .btn-subscribe {
    background-color: rgba(0, 0, 0, 1);
    font-size: 12px;
    color: #fff;
    padding: 4px 15px;
    border-radius: 30px;
  }
  .btn-subscribe:hover {
    color: #fff;
  }
  @media (max-width: 576px) {
    .btn-subscribe {
      padding: 4px 6px;
      font-size: 11px;
      display: none;
    }
    .btn-subscribe.show {
      display: block;
    }
  }

  .box-user_subscribe {
    display: none;
  }
  .box-user_subscribe .link_top,
  .box-user_subscribe .link_btn {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    padding: 6px;
    background-color: var(--white);
    border-radius: 30px;
    margin: 0 5px;
    width: 100px;
    text-align: center;
  }

  .box-user_subscribe .link_top {
    color: #000;
    border: 1px solid #999;
  }
  .box-user_subscribe .link_btn {
    color: #fff;
    background-color: var(--black);
    border: 1px solid var(--black);
  }

  @media (max-width: 576px) {
    .box-user_subscribe {
      background-color: #fff;
      padding: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }

  /* btn link newsletter, subscribe */
  .link--newsletter_subscribe a {
    font-size: 12px;
    color: var(--white);
    margin: 0 3px;
  }
  .link--newsletter_subscribe a:hover {
    color: #5caef4;
    text-decoration: underline;
  }

  .btn-newsletter_subscribe {
    display: flex;
    gap: 15px;
  }
  .btn-newsletter_subscribe .b-newsletter {
    display: none;
  }

  @media (max-width: 767px) {
    .link--newsletter_subscribe {
      display: none;
    }
    .btn-newsletter_subscribe .b-newsletter {
      display: block;
    }
  }
  @media (max-width: 576px) {
    .btn-newsletter_subscribe {
      width: 100%;
      gap: 10px;
    }
  }

  /* login logout */
  .boxnav-user.user_login {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .boxnav-user.user_login span {
    font-size: 13px;
    line-height: 1em;
    font-weight: bold;
    color: var(--white);
  }
  .boxnav-user.user_login a:hover span {
    color: #5caef4;
    text-decoration: underline;
  }

  .boxnav-user.user_login a.link_logout {
    font-size: 12px;
    color: var(--white);
  }
  .boxnav-user.user_login a.link_logout:hover {
    color: #5caef4;
    text-decoration: underline;
  }

  .signout {
    background-color: #e4edf9;
    font-size: 13px;
    font-weight: bold;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 235px;
    padding: 10px 14px 9px;
    border-radius: 10px;
  }
  .signout .user_login {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .signout .user_login i {
    margin-top: -2px;
  }
  .signout a:hover {
    color: var(--black);
  }

  @media (max-width: 767px) {
    .boxnav-user.user_login a:not(.link_logout) {
      display: none;
    }
    /* .boxnav-user.user_login a.link_logout{ display: none; } */
  }
  @media (max-width: 576px) {
    .signout {
      width: 100%;
    }
  }
}
