/* Header navigation */
header {
  height: 8vh;
}

header.header-menu.navbar {
  padding-top: 0;
  padding-bottom: 0;
  height: 64px;
}

.header-menu {
  height: 64px;
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 10;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}

.header-nav .header-menu-ul {
  padding-left: 6vw;
}

.header-menu .header-menu-ul .dropdown-toggle-split {
  padding: 6px 12px;
  border-radius: 8px;
}

.header-menu .button-collapse {
  cursor: pointer;
}

.header-nav .header-menu-ul>ul>li>div span,
.header-nav .header-menu-ul>ul>li>a span {
  font-size: 1rem !important;
  color: var(--secondary);
}

.header-nav>div>ul>li {
  display: flex;
  align-items: center;
  text-align: center;
  font-weight: 600;
}

.header-nav>div>ul>li>* {
  text-transform: capitalize;
}

.header-nav span {
  letter-spacing: 1px;
}

.header-nav>div>ul>li:hover,
.header-nav>div>ul>li.active {
  cursor: pointer;
}

.header-nav ul>li>div:first-child:hover>span:first-child span,
.header-nav ul>li>div:nth-child(2):hover>span:last-child i,
.header-nav ul>li.active>div:first-child>span:last-child i,
.header-nav ul>li:hover>a>span:first-child,
.header-nav ul>li:hover>a>span span,
.header-nav ul>li:hover>a>span:last-child i,
.header-nav ul>li.active>div:first-child>span:first-child,
.header-nav ul>li.active>a>span span,
.header-nav ul>li.active>a>span:first-child {
  color: var(--red-main) !important;
}

.header-nav .self-learning .nav-level-2 {
  padding-right: unset;
  padding-left: unset;
}

.header-nav .nav-level-2 {
  /* display: none; */
  padding-top: 8px;
  padding-bottom: 8px;
  width: 100%;
  position: absolute;
  background-color: #fff;
}

.header-nav .nav-level-3 {
  padding-top: 8px;
  padding-bottom: 8px;
  background-color: #fff;
}

.header-nav .nav-level-2 span {
  color: var(--light-copy-text-body);
}

.nav-level-2>ul>li {
  justify-content: center;
}

.nav-level-2>ul>li>div {
  padding-top: 4px;
  padding-bottom: 4px;
}

.nav-level-2>ul>li:hover>div span {
  color: var(--red-main);
}

.nav-level-2>ul>li.active>div>span i,
.nav-level-2>ul>li:hover>div>span i {
  color: var(--red-main) !important;
}

.nav-level-2>ul>li span {
  white-space: nowrap;
}

.nav-level-3 ul li {
  padding-left: 12px;
  padding-right: 20px;
}

/* .header-nav > div > ul > li:hover i.fa-chevron-down.nav-1,
.header-nav > div > ul > li.active i.fa-chevron-down.nav-1,
.header-nav > div > ul > li i.fa-chevron-up.nav-1 {
	display: none;
}

.header-nav > div > ul > li:hover i.fa-chevron-up.nav-1,
.header-nav > div > ul > li.active i.fa-chevron-up.nav-1,
.header-nav > div > ul > li i.fa-chevron-down.nav-1 {
	display: block;
} */

.header-nav>div>ul>li.active i {
  color: var(--red-main);
}

.header-nav>div>ul>li a span:first-child,
.header-nav>div>ul>li div span:first-child {
  max-width: 185px;
}

.header-nav>div>ul>li:nth-child(3) div {
  margin-bottom: 22px;
}

.header-nav>div>ul>li span:first-child {
  padding-left: 4px;
  padding-right: 4px;
}

.header-nav .nav-level-2 ul.right-nav>li.active .nav-level-3,
.header-nav .nav-level-2 ul.left-nav>li.active .nav-level-3 {
  display: block;
  left: 102%;
}

.header-nav .nav-level-2 .nav-level-3 {
  display: none;
  position: absolute;
  top: 0;
}

.header-nav .nav-level-2 .nav-level-3.dropdown-menu {
  border: none;
}

.nav-level-3 ul li {
  padding-top: 4px;
  padding-bottom: 4px;
}

.nav-level-3>ul>li:hover span {
  color: var(--red-main) !important;
}

.nav-level-3>ul>li:hover span svg path {
  fill: var(--red-main);
}

/* Header user */

header .header-user {
  padding: 8px 16px 8px 12px;
  margin: 4px 24px 4px 64px;
  border: 1px solid transparent;
  border-radius: 15px;
}

header .header-user:hover,
header .header-direct-contain:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

header .avatar-header {
  max-width: 55px;
  max-height: 55px;
  border-radius: 50%;
  overflow: hidden;
}

header .header-direct-contain {
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 15px;
}

header .header-direct-contain .header-direct {
  max-width: 55px;
  max-height: 55px;
}

a.video-instruction-link,
a.register-button-link {
  padding: 8px 16px;
}

.video-instruction-link {
  border-radius: 50px;
  color: #757575;
  background: #F3F3F3;
  line-height: normal;
}

.video-instruction-link:hover {
  color: #fff;
  background: #cc3a3d;
  cursor: pointer;
}

.video-instruction-link:hover svg path {
  stroke: #fff;
}

.user-avatar {
  width: 32px;
  height: 32px;
}

.user-action .dropdown button.dropdown-toggle::after {
  display: none;
}

button.dropdown-toggle .dropdown-content {
  border-radius: 16px;
}

button.dropdown-toggle:hover .dropdown-content {
  background-color: #f0e4e4;
}

.user-action .dropdown .dropdown-menu.show {
  width: 190px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  top: 0 !important;
  right: 0 !important;
  left: unset !important;
}

.user-action .dropdown .dropdown-menu.show .dropdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.user-action .dropdown .dropdown-menu.show .dropdown-item:active {
  color: var(--red-main);
  background-color: #e9ecef;
}

.dropdown-divider {
  height: 0;
  margin: .5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown-item-title {
  color: var(--primary) !important;
  font-size: 13px !important;
  line-height: 16px;
}

span.dropdown-item {
  flex-direction: column;
  align-items: unset !important;
  color: var(--primary) !important;
  font-size: 14px !important;
  font-weight: 500;
  line-height: 16px;
  text-wrap: wrap;
}

span.dropdown-item span {
  text-transform: uppercase;
  font-weight: 700;
}

span.dropdown-item:hover {
  background-color: #ffffff !important;
}

.header-menu .dropdown-toggle::after {
  display: none;
}

.header-menu .dropdown-menu.show {
  border: none;
  /* transform: unset; */
}

.header-menu .dropdown-menu {
  min-width: 200px;
  max-width: 300px;
  border-radius: 8px;
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.25);
}

.header-menu .dropdown-menu a {
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 14px;
  color: var(--light-copy-text-body);
  white-space: normal;
}

.header-menu .dropdown-menu a:hover {
  color: var(--red-main);
  background-color: #fff;
}

.header-menu .header-nav .self-button {
  width: 100%;
  height: 100%;
}

.header-menu .dropdown-menu .dropdown-submenu {
  position: relative;
}

.header-menu .dropdown-menu .dropdown-submenu span {
  font-size: 0.875rem;
  font-weight: normal;
  color: var(--light-copy-text-body);
}

.header-menu .dropdown-menu .grade-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 24px;
  padding: 4px 16px;
  line-height: 14px;
}

.header-menu .dropdown-menu .grade-button span:first-child {
  padding-left: unset;
  padding-right: unset;
}

.header-menu .apcourse-menu .dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  column-gap: 8px;
  line-height: 14px;
}

.header-menu .apcourse-menu li:hover svg path {
  fill: var(--red-main);
}

.header-menu .grade-button .grade-subject {
  padding: 4px;
  border-radius: 8px;
}

.header-menu .grade-button:hover svg path,
.header-menu .grade-button:hover svg path {
  fill: var(--red-main);
}

.header-menu .grade-button:hover span {
  color: var(--red-main);
}

.dropNotify {
  width: 19.25rem;
  max-height: 80vh;
  overflow-y: auto;
  border: none;
  border-radius: 8px;
  padding: 1.5rem 1rem;
  left: -10rem !important;
}

.notifyHeader {
  font-size: 1.25rem;
  font-weight: 500;
  color: #000;
}

.notifyTitle {
  margin: 4px 0px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--Neutral04, #4D4D4D);
}

.notifyTime {
  margin: 4px 0px;
  color: var(--Neutral04, #4D4D4D);
  font-size: 0.75rem;
  font-weight: 400;
}

.notifyContent {
  margin: 4px 0px;
  color: var(--Neutral04, #4D4D4D);
  font-size: 0.875rem;
  font-weight: 400;
  cursor: pointer;
}

.notifyContent:hover {
  color: var(--Neutral04, #7f7a7a);
}

.totalNotify {
  min-width: 20px;
  height: 20px;
  padding: 6px;
  position: absolute;
  top: 0px;
  left: 30px;
}

.totalNotify span {
  font-size: 10px;
}

.content-wrapper {
  background-color: #FBFBFB;
}

.dropMenu {
  border: none;
}
