.course_page {
  margin: 1rem 0px 10rem;
}
.course_page .box_title {
  display: inline-flex;
  width: 100%;
  justify-content: space-between;
}
.course_page .box_title h1 {
  font-weight: 600;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #333;
}
.course_page .box_title .counter_item span {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0058b6;
}
.course_page .box_sort {
  background-color: #fff;
  filter: drop-shadow(0px 0px 4px rgba(0 0 0 /20%));
  margin: 0px 0px 2rem;
  padding: 12px 0;
  border-radius: 5px;
}
.course_page .box_sort ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
}
.course_page .box_sort ul li {
  display: inline-block;
  padding: 0px 15px;
}
.course_page .box_sort ul li i {
  font-size: 1.4rem;
  color: #0058b6;
}
.course_page .box_sort ul li a {
  color: #333;
  font-weight: 500;
  font-size: 1.1rem;
}
.course_page .box_sort ul li a:hover {
  color: #004aa5;
}
.course_page .item {
  background-color: #fff;
  border-radius: 25px 0px 25px 0px;
  overflow: hidden;
  margin-bottom: 2rem;
  filter: drop-shadow(0px 0px 4px rgba(0 0 0 /20%));
}
.course_page .item .boxImg {
  background-position: center;
  background-size: cover;
  height: 180px;
}
.course_page.is_combo .item .boxImg {
  height: 190px;
}
.course_page .item h3 {
  margin: 10px;
  font-size: 1.1rem;
  font-weight: 600;
}
.course_page .item a {
  color: #333;
}
.course_page .item a:hover {
  color: #ffa600;
}
.course_page .item .boxPrice {
  width: 92%;
  display: inline-flex;
  justify-content: flex-start;
  margin: 0px 10px;
}
.course_page .item .boxPrice .price {
  color: #013a93;
  font-weight: 600;
  font-size: 1.2rem;
}
.course_page .item .boxPrice .price.sale {
  color: #a3a8af;
  font-size: 0.9rem;
  text-decoration: line-through;
  margin: 4px 0px 0px 15px;
}
.course_page .item .boxLink {
  border-top: 1px solid #f5f5f5;
  padding: 10px;
}
.course_page .item .boxLink .btn_register {
  background: linear-gradient(
    349.47deg,
    #ffeb01 -49326.76%,
    #ffa600 -38337.84%
  );
  border-radius: 50px;
  width: 130px;
  text-align: center;
  height: 30px;
  color: #fff;
  line-height: 30px;
  float: left;
}
.course_page .item .boxLink .btn_register:hover {
  background: #0050ad;
}
.course_page .item .boxLink .view_detail {
  float: right;
  width: 85px;
  background-image: url("/assets/images/mailam/icArrow.png");
  background-position: 48px 5px;
  background-size: 26px 10px;
  background-repeat: no-repeat;
  font-weight: 500;
  font-style: italic;
  color: #013a93;
  margin-top: 5px;
}
/*------------------ detail -------------------------*/
.course_detail_page .box_detail {
  border-radius: 5px;
  background: #fff;
  padding: 20px;
  position: relative;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgb(0 0 0 / 8%), 0 4px 12px rgb(0 0 0 / 8%);
  position: -webkit-sticky;
  position: -moz-sticky;
  position: -ms-sticky;
  position: -o-sticky;
  position: sticky;
  top: 100px;
  bottom: auto;
}
.course_detail_page h1 {
  font-size: 1.8rem;
  line-height: 40px;
  font-weight: 700;
  margin: 10px 0;
}
.course_detail_page .box_detail .box_price {
  width: 100%;
  display: inline-flex;
  justify-content: space-between;
}
.course_detail_page .box_detail .box_price .price {
  font-size: 1.3rem;
  font-weight: 600;
  color: #f00;
}
.course_detail_page .box_detail .box_price .price.sale {
  font-size: 1rem;
  color: #a3a8af;
  text-decoration: line-through;
  margin: 4px 0px 0px 15px;
}
.course_detail_page .box_detail .box_price .promotion {
  line-height: 28px;
}
.course_detail_page .box_detail .buy {
  background: linear-gradient(
    349.47deg,
    #ffeb01 -49326.76%,
    #ffa600 -38337.84%
  );
  border-radius: 30px;
  width: 100%;
  margin: 1rem auto;
  display: table;
  text-align: center;
  height: 40px;
  color: #fff;
  line-height: 40px;
  font-weight: 500;
  font-size: 1.1rem;
}
.course_detail_page .box_detail ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
}
.course_detail_page .box_detail ul li {
  padding: 5px 0px;
  border-bottom: 1px dashed #ddd;
  width: 100%;
  display: inline-flex;
  justify-content: space-between;
}
.course_detail_page .box_detail ul li:last-child {
  border: none;
}
.course_detail_page .box_detail .share_like {
  width: 100%;
  display: inline-flex;
  justify-content: space-between;
}
.course_detail_page .box_detail .share_like a {
  color: #333;
  font-weight: 500;
}
.course_detail_page .box_detail .share_like a:hover {
  color: #f00;
}
.course_detail_page .box_detail .share_like a i {
  font-size: 1.4rem;
  color: #0057b5;
}
.course_detail_page .contents .nav {
  border-bottom: 2px solid #ddd;
}
.course_detail_page .contents .nav-pills .nav-link {
  color: #333;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  font-size: 1.1rem;
  padding: 0.5rem 2.5rem;
}
.course_detail_page .contents .nav-pills .nav-link.active,
.course_detail_page .contents .nav-pills .show > .nav-link {
  color: #333;
  background-color: transparent !important;
  font-weight: 700;
}
.course_detail_page .contents .nav-pills .nav-link.active:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0px;
  width: 100%;
  height: 3px;
  background-color: #f3aa4b;
}
.course_detail_page .contents .about_tab {
  text-align: justify;
}
.course_detail_page .contents .about_tab table{
  max-width: 100%;
}
/* == Giảm giá === */
.course_detail_page .discount_code{
  width: 100%;
}
.course_detail_page .discount_code .input_group{
  width: 100%;
  display: inline-flex;
  justify-content: space-between;
}
.course_detail_page .discount_code_result{
  width: 100%;
  display: inline-flex;
  justify-content: space-between;
  margin-top: 1rem;
}
.course_detail_page .discount_code .input_group button{
  background-color: #eee;
  border: none;
  outline: none;
  padding: 3px 10px;
  border-radius: 4px;
}
.course_detail_page .discount_code .input_group button:hover{
  background-color: #ccc;
}
.course_detail_page .discount_code .input_group input{
  outline: none;
  border: 1px solid #cccccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  padding-left: 10px;
}
/* == Image display=== */
.box_review .image_box {
  width: 100%;
}
.box_review .image_box img {
  width: 100%;
  height: auto !important;
  border-radius: 10px;
  border: 1px solid #f5f5f5;
}
/*  */
.lessonlister {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    360deg,
    #c8e1ff 0%,
    rgba(206, 224, 245, 0.192708) 61.35%
  );
  border-radius: 0px;
  transform: rotate(-180deg);
  z-index: -1;
  opacity: 0.5;
}
.lessonlistitle {
  font-weight: 700;
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 30px;
}
.lessonlist img {
  max-width: 100%;
}
.lessonlist .item {
  padding: 15px;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  filter: drop-shadow(1px 0px 4px rgba(0 0 0 / 15%));
  margin-bottom: 15px;
}
.lessonlist .item .title {
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 500;
}
.lessonlist .linetop .title .text {
  color: #0061c1;
}
.lessonlist .item .icon {
  color: #a3a8af;
}
.lessonlist .item .content {
  margin-top: 12px;
  line-height: 28px;
  display: none;
}
/* lesson and trial study */
.lessonlist .item .content ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
}
.lessonlist .item .content ul li {
  padding: 5px 0px;
  cursor: pointer;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.lessonlist .item .content ul li div {
  flex-basis: 33.333333%;
  flex: 1;
}
.lessonlist .item .content ul li div:nth-child(2) {
  text-align: right;
}
.lessonlist .item .content ul li div:nth-child(2) a.trial_study {
  padding: 5px 15px;
  color: #fff;
  background: rgb(0, 190, 0);
  border-radius: 3px;
}
.lessonlist .item .content ul li div:nth-child(2) a.trial_study:hover {
  background: rgb(33, 2, 107);
}
.lessonlist .item .content ul li div:nth-child(3) {
  text-align: right;
}
/* ================ overlay Loading =============== */
.box_review {
  position: relative;
}
.box_review .overlay_video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 75px;
  height: 75px;
  transform: translate(-50%, -50%);
  display: none;
}
.box_review .overlay_video span {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(calc(24deg * var(--i)));
  top: 0;
  left: 0;
}
.box_review .overlay_video span::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff1100;
  box-shadow: 0 0 20px #ff1100, 0 0 40px #ff1100, 0 0 60px #ff1100,
    0 0 120px #ff1100, 0 0 240px #ff1100, 0 0 480px #ff1100;
  animation: ani 2s linear infinite;
  animation-delay: calc(0.1s * var(--i));
}
.box_review .overlay_video b {
  color: red;
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 16px;
  transform: translate(-50%, -50%);
  letter-spacing: 1px;
}
@keyframes ani {
  0% {
    transform: scale(1);
  }
  20%,
  80% {
    transform: scale(0);
  }
}
/* =================================================== */
/*======================== for resposive screen ========================*/
/* Medium devices (tablets, 768px and up)*/
@media screen and (max-width: 768px) {
  .course_page .item .boxImg {
    height: 160px;
  }
}
/* Small devices (landscape phones, 667px and up)*/
@media screen and (max-width: 668px) {
  #player video {
    height: 220px !important;
  }
  .course_detail_page h1 {
    font-size: 1.4rem;
    line-height: 25px;
    font-weight: 500;
  }
  .breadrum_section {
    display: none;
  }
  .course_page .item .boxImg {
    height: 125px;
  }
}
/* Small devices (landscape phones, 576px and up)*/
@media screen and (max-width: 576px) {
  .scroll_mobile ul{
    overflow-x: scroll;
    white-space: nowrap;
    flex-direction: row;
    flex-wrap: nowrap;
  }
}
