.masterstudy-course-player-quiz__start-quiz {
  opacity: 0;
  height: 0px;
  margin: 0 !important;
  padding: 0;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background: #f9a375;
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #ddd;
  background-color: #eee;
  border-radius: 10px;
}

.masterstudy-course-player-quiz__result-retake {
  opacity: 0;
  height: 0px;
  margin: 0 !important;
  padding: 0;
}

.masterstudy-course-player-quiz__form_hide {
  display: none;
}

.navigate-title {
  width: 700px;
  font-weight: bold;
  color: #005186;
  font-size: 27px;
  text-transform: uppercase;
  margin: auto;
}

.part>strong>h4 {
  font-weight: bold;
  color: #005186;
  font-size: 27px;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.extra-content>strong {
  display: block;
  width: 100%;
}

.masterstudy-online-testing__wrapper>h1 {
  font-weight: bold;
  color: #005186;
  font-size: 27px;
  margin-bottom: 5px;
  text-transform: uppercase;
  text-align: center;
  padding: 15px !important;
}

.body_exercise {
  background: #ffffff;
  padding: 20px;
}

.page_exercise {
  padding: 15px;
  background: #f9f9f9;
  border: 1px solid #e4e4e4;
  user-select: none;
}

.page_exercise h1 {
  font-weight: bold;
  color: #005186;
  font-size: 27px;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.page_exercise .description {
  font-size: 12px;
  margin-bottom: 15px;
}

.page_exercise .title-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
}

.page_exercise .btn-test {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 20px;
}

.page_exercise .btn-test .result {
  background: #f97630;
  padding: 14px 50px;
  border: none;
}

.page_exercise .btn-test .result span {
  font-size: 18px;
}

.page_exercise .btn-test .result::before {
  background: #ee5b0b;
}

.page_exercise .exe-pro {
  padding: 15px 30px;
  background: #ffffff;
}

.page_exercise .exe-pro h3 {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}

.page_exercise .exe-pro .title-top p {
  margin-bottom: 0;
  font-size: 20px !important;
}

.page_exercise .exe-pro .content {
  margin-bottom: 30px;
}

.select_part_action,
.page_exercise .exe-pro .content .tabling {
  width: 100%;
  max-width: 800px;
  margin: auto;
}

.page_exercise .exe-pro .content .tabling .tab-travelers {
  width: 100%;
  margin-bottom: 16px;
  border: 1px solid #ffc288;
  border-spacing: 0;
}

.page_exercise .exe-pro .content .tabling .tab-travelers tr {
  width: 100%;
}

.page_exercise .exe-pro .content .tabling .tab-travelers tr th {
  min-width: 50px;
  max-width: 50px;
  height: 50px;
  border-bottom: 1px solid #ffc288;
  text-align: center;
  font-size: 18px;
  background: #fcd5b1;
  padding: 0;
}

.page_exercise .exe-pro .content .tabling .tab-travelers tr td {
  width: 60%;
  text-transform: uppercase;
  text-align: left;
  height: 50px;
  border-bottom: 1px solid #fcd5b1;
  font-size: 18px;
  border-right: 1px solid #fcd5b1;
  padding: 0 15px;
}

.page_exercise .exe-pro .content .tabling .tab-travelers tr td:last-child {
  border-right: none;
  width: 30%;
  text-transform: none;
  text-align: center;
}

.page_exercise .exe-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin: 0 -15px;
  height: 100%;
}

.page_exercise .exe-flex .item-flex {
  width: 50%;
  margin-bottom: 40px;
  padding: 0 15px;
}

.page_exercise .exe-flex .exe-pro {
  height: 600px;
  max-height: 600px;
  overflow: hidden;
  overflow-y: auto;
  font-size: 16px;
  line-height: 150%;
}

.page_exercise .exe-flex .exe-pro .productsing {
  border: 1px solid #4f4f4f;
  padding: 8px;
}

.page_exercise .exe-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.page_exercise .exe-group .lv-1 {
  font-size: 18px;
  color: #828282;
}

.page_exercise .exe-group .lv-1.title-lv {
  color: #4f4f4f;
  font-weight: 500;
}

.page_exercise .exe-group .product {
  width: 100%;
  padding: 0 50px;
}

.page_exercise .exe-group .product img {
  margin-bottom: 26px;
}

.page_exercise .exe-group .product audio {
  width: 100%;
}

.page_exercise .flags {
  min-width: 50px;
}

.page_exercise .flags svg {
  color: #828282;
}

.page_exercise .flags.complete svg {
  color: #0c8ade;
}

.page_exercise .flags.slacking svg {
  color: #f3b34b;
}

.page_exercise .form-option label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
  margin-bottom: 16px;
}

.page_exercise .form-option label input {
  display: none;
}

.page_exercise .form-option label p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #4f4f4f;
  position: relative;
}

.page_exercise .form-option label p::before {
  content: "";
  min-width: 20px;
  max-width: 20px;
  height: 20px;
  margin-right: 13px;
  border: 1px solid #bdbdbd;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--white);
  -webkit-transition: all 0.275s;
  transition: all 0.275s;
}

.page_exercise .form-option label input[type="radio"]:checked+p::before {
  border: 1px solid #000;
  background: #000;
}

.page_exercise audio {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: auto;
  margin-bottom: 16px;
}

.page_exercise .exe-parting h3 {
  text-transform: none;
  margin-bottom: 0px;
}

.page_exercise .exe-parting .product h2 {
  font-size: 21px;
  margin-bottom: 16px;
  color: #000;
}

.page_exercise .exe-parting .product audio {
  width: 80%;
}

.page_exercise .exe-parting .form-option {
  position: relative;
  margin-bottom: 15px;
  padding-right: 50px;
}

.page_exercise .exe-parting .form-option h3 {
  margin-bottom: 0px;
}

.page_exercise .exe-parting .form-option .flags {
  position: absolute;
  top: 0;
  right: 0;
}

.page_exercise img {
  width: 90%;
  overflow: hidden;
  -o-object-fit: cover;
  object-fit: cover;
  margin-bottom: 12px;
}

.click-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 20px;
  position: absolute;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  left: 50%;
}

.click-btn .butt {
  background-color: #bdbdbd;
  border: 1px solid #bdbdbd;
  min-width: 150px;
  max-width: 150px;
  height: 52px;
  padding: 0;
  margin: 0 15px;
}

.click-btn .butt span {
  text-transform: none;
}

.click-btn .butt::before {
  background: #adadad;
}

.click-btn .butt.active {
  background-color: #043555;
}

.click-btn .butt.active::before {
  background-color: #005186;
}

.click-btn .butt.active:hover {
  border: 1px solid #005186;
}

.butt {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: #bf882d;
  border: 1px solid #bf882d;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 1;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: auto;
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
}

.butt span {
  position: relative;
  font-weight: 600;
  z-index: 2;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  color: #ffffff;
  font-size: 18px;
  text-transform: uppercase;
}

.butt svg {
  z-index: 1;
  margin: 0 10px;
  color: #ffffff;
}

.butt::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #ffbe54;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
  -webkit-transform-origin: center right;
  transform-origin: center right;
  z-index: -1;
}

.butt:hover {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: none;
}

.butt:hover span,
.butt:hover svg {
  color: #ffffff;
}

.butt:hover::before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
  z-index: 1;
  -webkit-transform-origin: center left;
  transform-origin: center left;
}

.butt.active {
  background-color: #bf882d;
  border: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.butt.active span,
.butt.active svg {
  color: #ffffff;
}

.butt.active::before {
  background-color: #ffbe54;
}

.butt.active::before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
  -webkit-transform-origin: center left;
  transform-origin: center left;
}

.butt.active:hover {
  border: 1px solid #bf882d;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.butt.active:hover::before {
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
  -webkit-transform-origin: center right;
  transform-origin: center right;
}

p {
  color: #4f4f4f;
  font-size: 18px;
}

p span {
  font-weight: bold;
}

.popup-page {
  width: 800px;
  border-radius: 15.9184px;
  -webkit-box-shadow: 0px 7.95918px 47.7551px rgba(38, 45, 118, 0.08);
  box-shadow: 0px 7.95918px 47.7551px rgba(38, 45, 118, 0.08);
  background: #ffffff;
  overflow: hidden;
  padding: 0;
}

.popup-page .fancybox-button {
  visibility: hidden;
  opacity: 0;
}

.popup-page .content h3 {
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 30px;
  color: #ee5b0b;
}

.popup-page .content .box-text {
  background-color: #f9f9f9;
  padding: 20px;
  padding-bottom: 40px;
  margin-bottom: 25px;
}

.popup-page .content .btn-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.popup-page .content .btn-box .butt {
  background: #ffffff;
  border: 1px solid #bdbdbd;
  padding: 16px 50px;
  margin: 8px;
}

.popup-page .content .btn-box .butt span {
  color: #4f4f4f;
}

.product-result {
  padding: 60px 0 100px 0;
  background-color: #005186;
}

@media (max-width: 1460px) {
  .page_exercise .flags {
    min-width: 36px;
  }
}

@media (max-width: 1299px) {
  .header .logo {
    width: 120px;
  }

  .header .head-col h1 {
    font-size: 22px;
  }

  .header .head-col.right {
    zoom: 0.8;
  }

  .page_exercise .exe-group .product {
    padding: 0 26px;
  }
}

@media (max-width: 1199px) {
  .page_exercise .exe-pro {
    padding: 20px;
  }
}

@media (max-width: 991px) {
  .header .logo {
    width: 100px;
  }

  .header .head-col h1 {
    font-size: 18px;
  }

  .header .head-col.right {
    zoom: 0.7;
  }

  .page_exercise h1 {
    font-size: 32px;
  }

  .page_exercise .btn-test .result {
    zoom: 0.9;
  }

  .page_exercise .exe-flex {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .page_exercise .exe-flex .item-flex {
    width: 100%;
    margin-bottom: 30px;
  }

  .page_exercise .exe-flex .exe-pro {
    height: auto;
    max-height: none;
  }

  .click-btn .butt {
    zoom: 0.9;
  }
}

@media screen and (max-width: 840px) {
  .header {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .header .head-col {
    width: 100%;
  }

  .header .head-col.left {
    margin-bottom: 15px;
  }

  .page_exercise .btn-test .result {
    zoom: 0.8;
  }

  .click-btn .butt {
    zoom: 0.8;
  }
}

@media screen and (max-width: 700px) {
  .page_exercise h1 {
    font-size: 28px;
  }

  .page_exercise .btn-test .result {
    zoom: 0.7;
  }

  .click-btn .butt {
    zoom: 0.7;
  }
}

@media screen and (max-width: 575px) {
  .page_exercise {
    padding: 18px;
  }

  .page_exercise audio {
    width: 100%;
  }

  .page_exercise h1 {
    font-size: 24px;
  }

  .page_exercise .title-flex {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .page_exercise .exe-pro {
    padding: 20px;
  }

  .page_exercise .exe-pro .content .tabling .tab-travelers tr th {
    min-width: 42px;
    max-width: 42px;
  }

  .page_exercise .exe-pro .content .tabling .tab-travelers tr th,
  .page_exercise .exe-pro .content .tabling .tab-travelers tr td {
    font-size: 16px;
    height: 42px;
  }

  .page_exercise .exe-flex .item-flex {
    margin-bottom: 20px;
  }

  .page_exercise .form-option {
    zoom: 0.9;
  }

  .page_exercise .exe-parting .product h2 {
    font-size: 18px;
  }

  .page_exercise .exe-parting .product audio {
    width: 100%;
  }

  .click-btn {
    position: relative;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    left: 0;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
  }
}

@media screen and (max-width: 500px) {
  .header .head-col h1 {
    font-size: 16px;
  }

  .header .head-col.right {
    zoom: 0.6;
  }

  p {
    font-size: 17px;
  }

  .butt {
    zoom: 0.9;
  }

  .header .head-col .summit span,
  .header .head-col .time,
  .click-btn .butt span {
    font-size: 14px !important;
  }

  .bi.bi-arrow-left-circle {
    margin-left: 0;
  }

  .bi.bi-arrow-right-circle {
    margin-right: 0;
  }
}

@media screen and (max-width: 460px) {
  .page_exercise .exe-group .product {
    padding: 0 15px;
  }

  .page_exercise .exe-group .product audio {
    zoom: 0.8;
  }

  .page_exercise .flags {
    min-width: 26px;
  }

  .page_exercise .exe-parting .product h2 {
    font-size: 16px;
  }
}

@media screen and (max-width: 400px) {
  .header {
    padding: 10px;
  }

  .header .head-col h1 {
    font-size: 14px;
  }

  .header .head-col.right {
    zoom: 0.5;
  }

  .header .head-col.left {
    margin-bottom: 8px;
  }

  p {
    font-size: 16px;
  }

  .butt {
    zoom: 0.8;
  }

  .body_exercise {
    padding: 10px;
  }

  .page_exercise .exe-pro {
    padding: 16px;
    margin: 0 -15px;
  }

  .page_exercise .exe-pro h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .page_exercise .exe-pro .content .tabling .tab-travelers tr th {
    min-width: 42px;
    max-width: 42px;
  }

  .page_exercise .exe-pro .content .tabling .tab-travelers tr th,
  .page_exercise .exe-pro .content .tabling .tab-travelers tr td {
    font-size: 14px;
    height: 42px;
  }

  .page_exercise .form-option {
    zoom: 0.8;
  }
}

.ng-test-online-controller {
  position: relative;
  min-height: 100vh;
}

.ng-test-online-controller .question_loader {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 100;
  background-color: #696969c2;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 48px;
  color: #fff;
  opacity: 1;
}

.submitPopup-header {
  background-color: #043555;
  padding: 10px;
  color: #fff;
}

.submitPopup-header h6 {
  color: #fff;
  font-size: 18px;
  line-height: 150%;
  font-weight: 500;
}

.submitPopup-body {
  padding: 10px;
  font-size: 16px;
}

.submitPopup-footer {
  text-align: right;
  padding: 10px;
  border-top: 1px solid #043555;
}

.submitPopup-header h6,
.submitPopup-footer .btn {
  letter-spacing: 1px;
}

.submitPopup-footer .btn-submit {
  background-color: #043555;
  color: #fff;
}

.submitPopup-footer .btn-submit:hover {
  opacity: 0.8;
}

[ng\:cloak],
[ng-cloak],
[data-ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng-cloak {
  display: none !important;
}

.result-table .table-header,
.result-table .table-body .table-question {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color: #043555;
  border-bottom: 1px solid #999;
  color: #fff;
}

.result-table.scrollable .table-header {
  padding-right: 6px;
}

.result-table .table-body {
  max-height: 330px;
  overflow: auto;
  padding-right: 0 !important;
}

.result-table .table-body::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.result-table .table-body::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.result-table .table-body::-webkit-scrollbar-thumb {
  background: #888;
}

.result-table .table-body::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.result-table .table-body .table-question {
  background-color: #fff;
  color: #fff;
}

.result-table .table-body .table-question div,
.result-table .table-header div {
  flex-basis: 25%;
  padding: 5px 10px;
  height: 32px;
}

.result-table .table-body .table-question div+div,
.result-table .table-header div+div {
  border-left: 1px solid #999;
}

.result-table .table-body .table-question.true {
  color: green;
}

.result-table .table-body .table-question.false {
  color: red;
}

.send-result-form .input-group {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border: 1px solid #043555;
  margin-top: 15px;
}

.send-result-form .input-group [type="text"],
.send-result-form .input-group [type="email"] {
  width: 100%;
}

.send-result-form .input-group button {
  width: 45px;
  height: 45px;
  background-color: #043555;
  margin: 0;
  color: #fff;
}

/* .body_exercise.has-table .page_exercise .exe-flex .product br + br {
      display: none;
    } */

/* .tab-travelers .switch {
    position: relative;
    cursor: pointer;
    width: 44px;
    height: 20px;
    display: block;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 10%);
    background: #141414;
    border-radius: 100rem;
    transition: background-color 0.25s linear;
    }
    
    .tab-travelers .switch:after {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 40px;
    background-color: #fff;
    top: 50%;
    left: 2px;
    transform: translateY(-50%);
    transition: background-color 0.25s linear, transform 0.25s linear;
    }
    
    .tab-travelers .switch-input {
    display: none;
    }
    
    .tab-travelers .switch-input:checked + .switch {
    background-color: var(--primary-color);
    }
    
    .tab-travelers .switch-input:checked + .switch:after {
    transform: translateX(25px) translateY(-50%);
    background-color: white;
    }
    
    .tab-travelers .switch:before {
    content: "off";
    position: absolute;
    top: 50%;
    right: 3px;
    transform: translateY(-50%);
    font-size: 10px;
    color: #fff;
    }
    
    .tab-travelers .switch-input:checked + .switch:before {
    content: "on";
    right: unset;
    left: 3px;
    } */

.test-result .col .col-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  padding: 15px;
  box-shadow: 1px 1px 10px #ddd;
  height: 100%;
}

.test-result .col.first .col-inner {
  background-color: #eee;
  align-items: flex-start;
  margin-bottom: 10px;
}

.test-result .col .icon {
  margin-bottom: 10px;
}

.test-result .green {
  color: green;
}

.test-result .red {
  color: red;
}

.test-result .icon-box {
  display: flex;
  align-content: center;
  align-items: flex-start;
  justify-content: center;
}

.test-result .icon-box img {
  margin-right: 5px;
  margin-top: 5px;
}

.masterstudy-theme .modal-dialog {
  width: 700px;
}

@media screen and (max-width: 600px) {
  .masterstudy-theme .modal-dialog {
    width: auto;
  }
}

.showScoreEachPartBtn {
  cursor: pointer;
}

.butt.continue-quiz {
  margin-top: 12px;
  background-color: #050066;
}

.butt.continue-quiz:before {
  background-color: var(--primary-color);
}

.butt.continue-quiz:hover {
  border: 1px solid var(--primary-color);
}

.intruction-group,
.box-test {
  gap: 20px;
  margin: 0;
  min-width: 100vw;
  padding: 0 20px;
}

.intruction-group {
  padding: 20px;
}

.sub-question>.box-test {
  gap: 20px;
  margin: 0;
  min-width: auto !important;
  padding: 0 !important;
}

.col-right,
.col-left {
  width: 40vw;
  flex: 1;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  padding: 15px;
  min-height: 500px;
  background: white;
  border-radius: 10px;
}

.drawer-header {
  display: none;
}

@media (max-width: 768px) {

  .intruction-group,
  .box-test {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .col-left,
  .col-right {
    width: 100% !important;
    flex: none !important;
  }

  .intruction-group>.col-right {
    display: none !important;
  }



  .part>strong>h4 {
    font-size: 24px !important;
    text-align: center !important;
  }


  .controls>.time-button,
  .btn-modal,
  .controls>#toggleButton {
    margin: 2px !important;
    height: 50px !important;
  }

  .controls>#toggleButton>img {
    width: 50px !important;
    height: 50px !important;
  }

  .controls {
    width: 100% !important;
    justify-content: space-between !important;
  }

  .navigate-title {
    width: 100%;
    text-align: center;
    font-size: 28px !important;
  }

  .navigate-header {
    flex-direction: column !important;
    height: fit-content;
    justify-content: center !important;
    align-items: center !important;
  }

  .masterstudy-online-testing__wrapper>h1 {
    font-size: 28px !important;
  }

  .drawer-header {
    display: flex;
  }


}


.masterstudy-course-player-quiz {
  max-width: 100% !important;
}

.masterstudy-online-testing p {
  margin-right: 0px !important;
}

.masterstudy-course-player-quiz__pagination {
  justify-content: center !important;
}

.group-question-spacing {
  margin-top: -100px;
}

.group-question-spacing .part {
  display: none;
}

.group-question-spacing .col-6.col-left {
  visibility: hidden !important;
}

.masterstudy-online-testing .masterstudy-pagination__item {
  margin-left: 0px !important;
}

.col-6.col-left .question-audio-player-title {
  display: none;
}

/* .has-show-result .page_exercise{
    display: none;
  }

  .retry{
    display: none;
  }

  .has-show-result .retry{
    display: block;
  } */

.no-show-result .masterstudy-course-player-quiz__result-container {
  display: none !important;
}

.no-show-result.masterstudy-course-player-quiz form.masterstudy-course-player-quiz__form {
  display: none;
}

.masterstudy-audio-player audio,
.question-audio-player-wrapper {
  opacity: 0;
  height: 0px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.masterstudy-course-player-question__title {
  font-weight: bold;
}

.d-none {
  display: none !important;
}

.masterstudy-pagination.masterstudy-pagination--quiz {
  margin-top: 20px;
  margin-right: 15px;
}

.masterstudy-pagination.masterstudy-pagination--quiz::before {
  left: unset;
}

.masterstudy-pagination.masterstudy-pagination--quiz::before,
.masterstudy-pagination.masterstudy-pagination--quiz::after {
  content: "";
}

/* .masterstudy-pagination.masterstudy-pagination--quiz::before,
.masterstudy-pagination.masterstudy-pagination--quiz::after, */
.masterstudy-pagination.masterstudy-pagination--quiz .masterstudy-pagination__button-prev,
.masterstudy-pagination.masterstudy-pagination--quiz .masterstudy-pagination__button-next {
  width: auto;
  padding: 20px 20px;
  color: white;
  height: 50px;
  background: #000;
  border-radius: 8px;
}

.masterstudy-pagination.masterstudy-pagination--quiz .masterstudy-pagination__button-prev:hover,
.masterstudy-pagination.masterstudy-pagination--quiz .masterstudy-pagination__button-next:hover {
  color: #000;
  background: white;
}

.masterstudy-pagination--quiz .masterstudy-pagination__button-prev::before,
.masterstudy-pagination--quiz .masterstudy-pagination__button-next::before {
  content: "";
}

.masterstudy-pagination--quiz .masterstudy-pagination__button-next::after,
.masterstudy-pagination--quiz .masterstudy-pagination__button-prev::after {
  content: "";
}

.part {
  font-style: normal;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 20px;
}

.masterstudy-course-player-navigation__submit-quiz {
  display: none !important;
}

.masterstudy-course-player-answer.masterstudy-course-player-answer_correct {
  background: var(--success-10) !important;
}

.masterstudy-course-player-answer.masterstudy-course-player-answer_show-answers .masterstudy-course-player-answer__input,
.masterstudy-course-player-answer.masterstudy-course-player-answer_show-answers .masterstudy-course-player-answer__radio {
  display: flex !important;
}

.masterstudy-alert {
  display: none !important;
}

.sub-question .part,
.sub-question .col-6.col-left {
  display: none;
}

.sub-question .col-right {
  flex: 1;
  box-shadow: unset;
  min-height: auto;
  padding: 0;
}

.sub-question .masterstudy-course-player-question {
  margin: 0px;
}

.sub-question .masterstudy-course-player-question__header,
.sub-question .masterstudy-course-player-question__content {
  width: max-content;
  margin: 0px;
  padding: 5px !important;
}

.btn-retry {
  display: block;
  margin: 5px;
  padding: 10px 15px !important;
  cursor: pointer;
  font-size: 16px;
  /* display: none; */
  /* background-color: black; */
  color: white;
  border-radius: 8px;
}

.masterstudy-course-player-quiz__form p,
.masterstudy-course-player-quiz__form span,
.masterstudy-course-player-quiz__form div,
.masterstudy-course-player-quiz__form li {
  cursor: default;
  user-select: none;
}

.logged-in .masterstudy-online-testing .masterstudy-course-player-quiz-timer {
  width: max-content;
  margin: 5px;
  background: orange;
}

.masterstudy-online-testing .masterstudy-course-player-quiz-timer__separator,
.masterstudy-online-testing .masterstudy-course-player-quiz-timer__days,
.masterstudy-online-testing .masterstudy-course-player-quiz-timer__hours,
.masterstudy-online-testing .masterstudy-course-player-quiz-timer__minutes,
.masterstudy-online-testing .masterstudy-course-player-quiz-timer__seconds,
.masterstudy-online-testing .masterstudy-course-player-quiz-timer__title {
  color: white !important;
}

.masterstudy-course-player-quiz__form,
.masterstudy-course-player-quiz__questions {
  width: 100%;
}

.no-show-result {
  padding: 0px !important;
}

/* #header,
.header-wrapper {
  display: none !important;
} */

.wpcfto_addon_option_question_explanation textarea.question_explanation {
  display: none;
}

.col-left,
.col-right {
  /* height: 680px; */
  max-height: 680px;
  overflow: hidden;
  overflow-y: auto;
  font-size: 16px;
}

.col-left,
.col-right {
  padding: 15px 30px;
  background: #ffffff;
}

.btn-intruction-start {
  margin-bottom: 20px;
}


.question-left-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

.questions-item .masterstudy-course-player-question__explanation * {

  font-size: 16px;
  line-height: 30px;

}

.questions-item .masterstudy-course-player-question__explanation {
  padding: 10px;
  margin: 0 0 10px;
  margin-top: 0px;
}

.topic_item {
  background: #ffffff;
  border: 1px solid #ccc;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.topic_item.active {
  border-color: #ffbe54;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.topic_header {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  transition: background 0.3s;
}

.topic_item.active .topic_header {
  background: #fff5e6;
}

.topic_header::before {
  content: attr(data-index);
  background: #ffbe54;
  color: #fff;
  width: 30px;
  height: 30px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  border-radius: 50%;
  margin-right: 12px;
}

.topic_arrow {
  font-size: 20px;
  transform: rotate(0);
  transition: transform 0.3s ease;
  color: #ff7b00;
}

.topic_item.active .topic_arrow {
  transform: rotate(180deg);
}

.topic_content {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  background: #fffaf2;
  transition: max-height 0.4s ease, padding 0.3s;
}

.topic_item.active .topic_content {
  padding: 20px 30px 25px;
  max-height: 600px;
}

.topic_description {
  margin-bottom: 18px;
  color: #333;
  font-size: 16px;
}

.topic_buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  justify-content: flex-start;
}

.topic_buttons button {
  width: 220px;
  margin: 0;
  background: #fff;
  color: #ff7b00;
  border: 2px solid #ffbe54;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  text-align: left;
  transition: all 0.3s ease;
}

.topic_buttons button:hover {
  transform: translateY(-3px);
  background: #fff8e6;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.topic_buttons button::after {
  content: "→";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #ff7b00;
}

.topic_buttons button small {
  display: block;
  margin-top: 6px;
  color: #777;
  font-size: 13px;
  font-weight: normal;
}

.topic_buttons br {
  display: none !important;
}

html .header-main .nav>li>a {
  line-height: 16px !important;
}

html #main {
  background-color: #ffffff;
}

html #main:has(.instruction-container) {
  background-color: transparent;
  /* hoặc màu khác */
}


#main .wp-block-masterstudy-archive-container {
  padding: 30px;
  background: #ffff;
}

/* Border dưới cho menu active */
li.current-menu-item>a,
li.active>a {
  border-bottom: 3px solid #f4bd18;
  /* màu vàng đẹp */
  color: #f4bd18;
  /* text cùng màu cho đồng bộ */
}

/* Tuỳ chọn: hover cũng có hiệu ứng tương tự */
.nav-top-link:hover {
  color: #f4bd18;
  border-bottom: 3px solid #f4bd18;
}