.background.img-wrap img {
  object-fit: fill;
  opacity: 1 !important;
  /* filter: blur(1px); */
}

.generalmodal {
  /* display: flex !important; */
  font-size: 14px !important;
}

.highcharts-credits {
  display: none;
}

/* -------------------------------------------------------------------------- */
/*                                    Table                                   */
/* -------------------------------------------------------------------------- */
/* .table-hover tbody tr:hover td,
.table-hover tbody tr:hover th {
  background-color: #e0e0e0;
} */

.dataTables_empty img {
  width: 10%;
}

.hasActionRow .action-menu {
  display: none;
  position: absolute;
  width: max-content;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 0.5rem;
  font-size: 14px;
  z-index: 999;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  /* Add shadow */
  border-radius: 5px;
  /* Add rounded corners */
}

.hasActionRow .action-menu ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.hasActionRow .action-menu li a {
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0.3rem;
  transition: 0.15s all ease;
}

.hasActionRow .action-menu li i {
  margin-right: 0.5rem;
}

.hasActionRow .action-menu li a:hover {
  /* margin-bottom: 10px; */
  background-color: #0047ab;
}

.hasActionRow .action-menu li:last-child a {
  margin-bottom: 0;
}

.hasActionRow .action-menu a {
  text-decoration: none;
  color: #333;
  display: block;
  font-weight: 500;
}

.hasActionRow .action-menu a i {
  color: #6c6c6c;
}

.hasActionRow .action-menu li:hover a,
.hasActionRow .action-menu li:hover a i {
  color: #fff !important;
}

.hasClickOption {
  cursor: pointer !important;
}

.hasClickOption:hover {
  color: #999;
}

/*  */

button {
  min-height: unset !important;
  font-family: inherit !important;
}

/*  */

.menubar-brand img {
  max-width: unset !important;
}

.formKodesoalContent label {
  /* width: 120px; */
}

.formKodesoalContent textarea {
  width: 100%;
  /* resize: none; */
}

/*  */

.btn {
  --bs-btn-font-size: 14px;
}

.form-check-input {
  border: 1px solid #ced4da;
}

@media (min-width: 576px) {
  .modal .butirsoalForm .modal-body {
    height: 500px;
  }
}

.editorWrap {
  width: 100%;
}

.fontsmall {
  font-size: 14px;
}

#areaSoal {
  margin-bottom: 10px;
}

#areaSoal .nav-item .nav-link {
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
}

/* -------------------------------------------------------------------------- */
/*                                     NaV                                    */
/* -------------------------------------------------------------------------- */

.nav-item .nav-link {
  border: 1px solid #ccdaee;
  border-bottom: 1px solid #e2e9f3;
  background-color: #e2e9f3;
  color: #0047ab;
  transition: all 0.4s ease;
}

.nav-item .nav-link:hover {
  background-color: #ccdaee;
}

.nav-item {
  margin-left: 0.3rem;
}

.nav-item:first-child {
  margin-left: 0;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  color: white;
  background-color: #0047ab;
  border: 1px solid #0047ab;
}

.nav-tabs .nav-item.show .nav-link:hover,
.nav-tabs .nav-link.active:hover {
  border: 1px solid #002f72;
  background: #002f72;
}

/* -------------------------------------------------------------------------- */
/*                                   @Media                                   */
/* -------------------------------------------------------------------------- */
@media (min-width: 1200px) {
  .modal .butirsoalForm .modal-body {
    width: 70rem;
  }
}

.text-no-wrap {
  white-space: nowrap !important;
}

@media (min-width: 1500px) {
  .row-cols-xxxl-4>* {
    flex: 0 0 auto;
    width: 25%;
  }

  .row-cols-xxxl-5>* {
    flex: 0 0 auto;
    width: 20%;
  }
}

/*  */

.custom-dt .button-wrap .btn {
  height: 39px;
  border-radius: 0.25rem !important;
}

@media (min-width: 992px) {
  .w-lg-50 {
    width: 50% !important;
  }
}

@media (min-width: 1200px) {
  .w-xl-50 {
    width: 50% !important;
  }
}

@media (min-width: 1400px) {
  .w-xxl-50 {
    width: 50% !important;
  }
}

@media (min-width: 1700px) {
  .row-cols-xxxxl-5>* {
    flex: 0 0 auto;
    width: 20%;
  }

  .w-xxxxl-20 {
    width: 20% !important;
  }

  .me-xxxxl-0 {
    margin-right: 0 !important;
  }

  .me-xxxxl-1 {
    margin-right: 0.25rem !important;
  }

  .ms-xxxxl-0 {
    margin-left: 0 !important;
  }

  .ms-xxxxl-1 {
    margin-left: 0.25rem !important;
  }
}

.selected_area {
  border: 1px solid #999;
  width: 100%;
  height: 500px;
  /* .modalCustom-height {
  height: 550px;
  overflow: hidden;
} */
}

@media (max-width: 767.98px) {
  .w-md-down-100 {
    width: 100% !important;
  }
}

@media (max-width: 575.98px) {
  .modal #generalForm {
    width: 100%;
  }
}

/* -------------------------------------------------------------------------- */
/*                                 Custom size                                */
/* -------------------------------------------------------------------------- */
/* table.dataTable tbody tr:last-child td {
  border-bottom: 1px solid #00000026 !important;
} */

/*  */

.note-editor.note-airframe,
.note-editor.note-frame {
  border: 1px solid #dee2e6;
}

/*  */

.tableSoal .table thead th:last-child {
  width: 9% !important;
}

.tablePilihanSoal .table thead th:last-child {
  width: 7% !important;
}

.formRole table.dataTable thead th:first-child {
  width: unset !important;
}

@media (min-width: 576px) {
  .border-sm-bottom {
    border-bottom: 1px solid;
  }
}

.opsiVideo label {
  cursor: pointer;
}

.opsiVideo input[type="radio"] {
  margin-bottom: 5px;
}

.contentImage {
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
}

/* -------------------------------------------------------------------------- */
/*                                Multi Select                                */
/* -------------------------------------------------------------------------- */
.ms-container {
  width: 100% !important;
}

.ms-container .ms-list {
  border-radius: 8px !important;
}

.card {
  display: flex;
  flex-direction: column;
}

.card-body {
  flex: 1;
}

.cs-card-img-top {
  width: 100%;
  height: 15vw;
  /* Default height for larger screens */
  object-fit: cover;
}

.limit-text {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 142px;
}

.limit-text-small {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 100px;
}

/* -------------------------------------------------------------------------- */
/*                               Card responsive                              */
/* -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .cs-card-img-top {
    height: 30vw;
    /* Adjust height for medium-sized screens */
  }
}

@media (max-width: 576px) {
  .cs-card-img-top {
    height: 45vw;
    /* Adjust height for smaller screens */
  }
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.loadingVertical {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  z-index: 3;
}

/* -------------------------------------------------------------------------- */
/*                               Payment Status                               */
/* -------------------------------------------------------------------------- */
.status-box {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.status-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

/* -------------------------------------------------------------------------- */
/*                                 Slider Soal                                */
/* -------------------------------------------------------------------------- */
.slide-content {
  padding: 20px 0;
  text-align: left;
}

.listPaketPembahasan .slide-content {
  height: 60vh;
  max-height: 60vh;
  overflow: auto;
}

.listPaketSoalDefault .slide-content {
  min-height: 50vh;
  max-height: 65vh;
  padding-bottom: 10rem !important;
  overflow: auto;
}


.options-column {
  margin-top: 10px;
}

.option-label {
  cursor: pointer;
  padding: 5px;
  margin: 5px 0;
  border-radius: 5px;
  display: flex;
  align-items: center;
}

.option-input {
  margin-bottom: 0.25em;
}

.option-label:hover {
  background-color: #f0f0f0;
}

.option-text {
  margin-right: 10px;
}

.option-label.selected {
  background-color: #b0e0e6;
}

.btn-container {
  display: flex;
  justify-content: space-between;
}

.listPaketSoalDefault .btn-container {
  margin-top: 2vh;
}

.listPaketPembahasan .btn-container {
  margin-top: 2vh;
}

@media (max-width: 768px) {
  .listPaketSoalDefault .slide-content {
    /* min-height: 65vh;
    max-height: 100vh; */
    overflow: auto;
  }

  .listPaketSoalDefault .btn-container {
    margin-top: 0;
    position: fixed !important;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 15px;
  }

  .listPaketSoalDefault .btn-container .prevSoal,
  .listPaketSoalDefault .btn-container .nextSoal {
    position: relative;
    font-size: 12px;
  }

  .detailSoal,
  .options-column {
    font-size: 14px;
  }

  .timerButtonWrap {
    font-size: 10px;
    padding: 11px !important;
    width: 100vw;
    left: 0;
    position: absolute;
    bottom: 0;
  }

  .nomorPembahasan {
    font-size: 10px;
    padding: 11px !important;
  }

  .timerButtonWrap {
    background-color: #fff;
  }

  .btn-container .displayNumber,
  .btn-container .displayTimer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #003366;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .listPaketSoalDefault .listNomorSoal {
    display: none;
    position: absolute;
    bottom: 2vh;
    background: #fff;
    left: 0;
    padding: 20px;
    height: 40vh !important;
    max-height: 40vh !important;
    padding-bottom: 50px;
  }

  /* -------------------------------------------------------------------------- */
  /*                                 Pembahasan                                 */
  /* -------------------------------------------------------------------------- */
  .listPaketPembahasan .btn-container {
    margin-top: 0;
    position: fixed !important;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 15px;
  }

  .listPaketPembahasan .btn-container .prevSoal,
  .listPaketPembahasan .btn-container .nextSoal {
    position: relative;
    font-size: 11px;
  }

  .listPaketPembahasan .listNomorSoal {
    display: none;
    position: absolute;
    bottom: 2vh;
    background: #fff;
    left: 0;
    padding: 20px;
    height: 40vh !important;
    max-height: 40vh !important;
    padding-bottom: 60px;
  }

  .listPaketPembahasan .slide-content {
    height: 68vh;
    max-height: 68vh;
    overflow: auto;
  }
}

.buttonJawaban {
  min-width: 80px !important;
  max-width: 80px !important;
}

.buttonJawaban {
  background-color: #007bff;
  /* Button background color */
  background-image: none;
  /* Remove background image */
  color: #fff;
  /* Button text color */
}

.buttonJawaban:hover {
  background-color: #0056b3;
  /* Change background color on hover */
}

.answered-true {
  background-color: green;
  color: white;
}

.answered-false {
  background-color: red;
  color: white;
}

.areaButtonPaket {
  background-color: rgba(0, 0, 0, 0.2);
}

/*  */

.durasi>div {
  display: flex;
  justify-content: center;
  margin-right: 0.5rem;
  margin-bottom: 0;
  font-weight: 600;
}

.durasi>div:last-child {
  margin-right: 0;
}

.durasi .timeNumber {
  padding: 1rem;
  width: 50px;
  border-radius: 0.375rem;
  align-items: center;
}

.durasi .divider {
  width: 5px;
  padding: 1rem 0;
}

.durasi .spinner-grow-sm {
  --bs-spinner-width: 0.5rem;
  --bs-spinner-height: 0.5rem;
}

/*  */

.listOption {
  background-color: #e6f2e6;
  background-image: linear-gradient(45deg, #e6f2e6 0%, #ffffff 33%);
}

/* -------------------------------------------------------------------------- */
/*                                   Ribbon                                   */
/* -------------------------------------------------------------------------- */
/* common */
.ribbon {
  width: 100px;
  height: 100px;
  overflow: hidden;
  position: relative;
}

.ribbon::before,
.ribbon::after {
  position: absolute;
  z-index: -1;
  content: "";
  display: block;
  border: 5px solid #2980b9;
}

.ribbon span {
  position: absolute;
  display: block;
  width: 225px;
  padding-left: 36px;
  background-color: #3498db;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  text-align: center;
  font-size: 11px;
}

/* Ribbon for free version */
.ribbon-free {
  width: 100px;
  height: 100px;
  overflow: hidden;
  position: relative;
}

.ribbon-free::before,
.ribbon-free::after {
  position: absolute;
  z-index: -1;
  content: "";
  display: block;
  border: 5px solid #2ecc71;
  /* Green color for free version */
}

.ribbon-free span {
  position: absolute;
  display: block;
  width: 225px;
  padding-left: 36px;
  background-color: #27ae60;
  /* Darker green color for free version */
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  text-align: center;
  font-size: 11px;
}

/* Ribbon for premium version */
.ribbon-premium {
  width: 100px;
  height: 100px;
  overflow: hidden;
  position: relative;
}

.ribbon-premium::before,
.ribbon-premium::after {
  position: absolute;
  z-index: -1;
  content: "";
  display: block;
  border: 5px solid #3498db;
  /* Blue color for premium version */
}

.ribbon-premium span {
  position: absolute;
  display: block;
  width: 225px;
  padding-left: 36px;
  background-color: #2980b9;
  /* Darker blue color for premium version */
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  text-align: center;
  font-size: 11px;
}

/* top left*/
.ribbon-top-left {
  top: -24px;
  left: -24px;
}

.ribbon-top-left::before,
.ribbon-top-left::after {
  border-top-color: transparent;
  border-left-color: transparent;
}

.ribbon-top-left::before {
  top: 0;
  right: 0;
}

.ribbon-top-left::after {
  bottom: 0;
  left: 0;
}

.ribbon-top-left span {
  right: -25px;
  top: 30px;
  transform: rotate(-45deg);
}

/* top right*/
.ribbon-top-right {
  top: -10px;
  right: -10px;
}

.ribbon-top-right::before,
.ribbon-top-right::after {
  border-top-color: transparent;
  border-right-color: transparent;
}

.ribbon-top-right::before {
  top: 0;
  left: 0;
}

.ribbon-top-right::after {
  bottom: 0;
  right: 0;
}

.ribbon-top-right span {
  left: -25px;
  top: 30px;
  transform: rotate(45deg);
}

/* bottom left*/
.ribbon-bottom-left {
  bottom: -10px;
  left: -10px;
}

.ribbon-bottom-left::before,
.ribbon-bottom-left::after {
  border-bottom-color: transparent;
  border-left-color: transparent;
}

.ribbon-bottom-left::before {
  bottom: 0;
  right: 0;
}

.ribbon-bottom-left::after {
  top: 0;
  left: 0;
}

.ribbon-bottom-left span {
  right: -25px;
  bottom: 30px;
  transform: rotate(225deg);
}

/* bottom right*/
.ribbon-bottom-right {
  bottom: -10px;
  right: -10px;
}

.ribbon-bottom-right::before,
.ribbon-bottom-right::after {
  border-bottom-color: transparent;
  border-right-color: transparent;
}

.ribbon-bottom-right::before {
  bottom: 0;
  left: 0;
}

.ribbon-bottom-right::after {
  top: 0;
  right: 0;
}

.ribbon-bottom-right span {
  left: -25px;
  bottom: 30px;
  transform: rotate(-225deg);
}

.titleCard {
  padding-left: 16px;
}

.detailContentSoal {
  /* height: 60vh;
  max-height: 60vh;
  overflow: hidden; */
}

.listPaketPembahasan .listNomorSoal {
  max-height: 64vh;
  overflow: hidden;
}

.listPaketSoalDefault .listNomorSoal {
  max-height: 30vh;
  overflow: hidden;
}

.noHover {
  pointer-events: none;
}

.infoKunciJawaban {}

.dividerDefault {
  position: relative;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 10px;
  margin-top: 10px;
}

.dividerSoal {
  position: relative;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 10px;
  margin-top: 30px;
}

.jawabanUser {
  text-decoration: line-through;
}

.jawabanUserBenar {
  color: green;
}

.jawabanUserSalah {
  color: red;
}

.displayNomorSoal {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.displayNomorSoal .nomor_soal {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 50%;
  padding: 10px;
  display: inline-block;
  text-align: center;
  width: 40px;
  height: 40px;
}

.detailSoal {
  display: inline;
}

.detailSoal p {
  display: inline;
}


.no-js {
  width: 200px;
  margin: 0 auto;
  margin-top: 20%;
}

.sessionActive {
  border: 0px solid #000;
  position: absolute;
  width: 15rem;
  top: 1rem;
  right: 1rem;
  text-align: right;
}

/* -------------------------------- Paination ------------------------------- */

.pagination {
  position: relative;
  margin-top: 2rem
}

.paginationTop {
  position: relative;
  width: fit-content;

}

.paginationTop .pagination {
  margin-top: unset;
}

/* -------------------------------------------------------------------------- */


@media (max-width: 575.98px) {
  .sessionActive {
    border: 0px solid #000;
    position: unset;
    width: unset;
    top: unset;
    right: unset;
    text-align: left;
  }

  .pagination {
    position: fixed;
    bottom: 0.1rem;
  }
}



/* ------------------------------ Reset content ----------------------------- */
.form-check-label span.form-check-label *,
.detailSoal * {
  all: unset;

  /* Apply your base styles */
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;

  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #000 !important;

  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  text-align: left !important;
}

/* Optional: reset inner <p> and <span> inside the label */
.form-check-label span.form-check-label p,
.form-check-label span.form-check-label span {
  all: unset;
  display: inline;
  font-size: 14px;
  font-family: inherit;
  color: inherit;
  line-height: normal;
}

/* -------------------------------- HoldAlert ------------------------------- */
.holdAlertContainer {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1500;
  padding: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.holdAlertContainer .holdAlertBody {
  background: #fff;
  width: 60vw;
  height: 30vh;
  max-width: 500px;
  max-height: 90vh;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.holdAlertBody .holdAlertTitle {
  font-size: 1.3rem;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: #f8f9fa;
}

.holdAlertContent {
  margin-top: 0.5rem;
  /* border: 1px solid #000; */
  height: 10rem;
  padding: 1rem;
  overflow-y: auto;
  flex: 1;
}

.holdAction {
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .holdAlertContainer {
    padding: 2rem;
  }

  .holdAlertContainer .holdAlertBody {
    width: 90vw;
    height: auto;
    max-width: 95vw;
    min-height: 30vh;
  }

  .holdAlertBody .holdAlertTitle {
    font-size: 1.2rem;
    padding: 0.75rem;
  }

  .holdAlertContent {
    padding: 0.75rem;
    height: auto;
    max-height: 40vh;
  }
}

@media (max-width: 480px) {
  .holdAlertContainer {
    padding: 0.5rem;
  }

  .holdAlertContainer .holdAlertBody {
    width: 100vw;
    max-width: 100vw;
    min-height: unset;
    border-radius: 0;
  }

  .holdAlertBody .holdAlertTitle {
    font-size: 1rem;
    padding: 0.5rem;
  }

  .holdAlertContent {
    padding: 0.5rem;
    max-height: 30vh;
  }
}

/* -------------------------------------------------------------------------- */