h3 {
  font-size: var(--fontSizeMedium);
  font-weight: 500;
}

s {
  text-decoration: line-through;
}

section:not(.alt-bg-color) {
  color: var(--textWhite);
}

.note {
  user-select: none;
}

.accordion-wrapper ul {
  margin: 1rem 0;
}

.accordion-wrapper li {
  margin: 0.3rem 0;
}

.ul-list li {
  list-style: inside disc;
}

.sub-navi {
  margin: 2.5rem 0;
}

.sub-navi {
  font-size: var(--fontSizeOK);
  font-weight: 600;
  gap: 3rem;
}

.checklist {
  gap: 0.2rem;
  margin: 1.5rem 0;
}

.checklist label:first-of-type {
  font-weight: 600;
  background-color: #9d9d9d6e;
}

.checklist label {
  padding: 1rem 0.8rem;
  border: 1px solid #bdbdbd47;
  max-width: clamp(350px, 70vw, 800px);
  background-color: rgba(202, 202, 202, 0.29);
  box-shadow: inset 0px 1px 1px #7d7d7d47;
}

input + label {
  cursor: pointer;
}

input + label svg {
  stroke: var(--bgLogo);
  stroke-width: 3;
  width: 20px;
  height: auto;
  transition: var(--speedFast);
  flex-shrink: 0;
}

input:checked + label svg {
  rotate: 45deg;
  stroke: var(--textDark);
}

input:checked + label {
  color: var(--bgLogo);
}

.accordion {
  max-height: 0vh;
  overflow: hidden;
  transition: var(--speedFast);
}

.accordion-cb {
  visibility: collapse;
}

.accordion-lbl {
  display: block;
  padding: 1rem 0;
  margin-bottom: 1rem;
  border-bottom: 1px dotted var(--textGrey);
}

.accordion-lbl h3 {
  display: inline-flex;
  gap: 2rem;
}

.accordion-wrapper {
  color: var(--textWhite);
}

.accordion-wrapper .img-container img {
  max-height: max(300px, 40vh);
  max-width: 100%;
  width: auto;
  height: auto;
}

.accordion > .flex-img {
  gap: 3rem;
  flex-wrap: wrap;
}

.alt-bg-color .accordion-wrapper {
  color: var(--textDark);
}

input:checked ~ .accordion {
  transition: var(--speedNormal);
  max-height: 1000vh;
}

input:not(:checked) ~ .accordion {
  max-height: 0px !important;
}

.p-wrapper {
  margin: 2rem 0;
}

.p-wrapper p + p {
  margin-top: 1rem;
}

@supports selector(:has(*)) {
  .checklist input[type="checkbox"] {
    visibility: collapse;
    display: none;
  }
}

.checklist label:has(input[type="checkbox"]:checked) {
  background-color: rgba(211, 236, 172, 0.493);
  box-shadow: 0px 1px 1px rgba(211, 236, 172, 0.493);
}

.checklist label:not(:first-of-type):hover {
  background-color: rgba(223, 223, 223, 0.747);
}

/* Sub Nav */

.sub-navi.flex-left:not(.float) {
  justify-content: flex-start;
  gap: 5rem;
}

.sub-navi {
  gap: 2rem;
  justify-content: space-between;
  font-weight: 600;
  font-size: calc(var(--fontSizeOK) + 1px);
  margin: 3rem 0;
  align-items: center;
  text-align: center;
  min-width: var(--optimalWidth);
  justify-content: center;
}

.sub-navi a {
  position: relative;
}

.sub-navi.hidden {
  visibility: collapse;
  display: none;
}

#clone {
  visibility: hidden;
}

.float {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background: var(--bgTheme);
  color: var(--textWhite);
  width: fit-content;
  margin: auto;
  padding: 1rem;
  transition: var(--speedNormal);
  border-radius: 0 0 15px 15px;
  box-shadow: 0px 0px 5px #555;
}

.sub-navi a.selected::after {
  content: "";
  width: 100%;
  height: 3px;
  background: var(--bgLogo);
  position: absolute;
  bottom: -10px;
  left: 0;
}

/*  */

.button-panel .container {
  color: var(--textWhite);
}

.normal-title {
  margin-bottom: 1.5rem;
}

.grid.x22 {
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  width: max(20vw, 500px);
  align-items: flex-start;
  /* justify-items: center; */
}

.x22 .wrapper {
  width: 100%;
}

.button-panel > .container > .flex-row {
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.button-panel .grid .flex-row {
  position: relative;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--bgLogo);
  border-radius: 125px;
  width: clamp(250px, 10vw, 500px);
  height: 52px;
  overflow: hidden;
  isolation: isolate;
}

.button-panel .grid .flex-row::after {
  content: "";
  position: absolute;
  background: var(--bgLogo);
  border-radius: 125px;
  transition: var(--speedNormal);
  width: 0%;
  height: 100%;
  z-index: -1;
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

.button-panel .grid .flex-row:hover::after {
  width: 100%;
  height: 100%;
}

.wrapper svg {
  height: inherit;
  width: auto;
  flex-shrink: 0;
}

.wrapper svg #empha {
  fill: var(--bgLogo);
  stroke: var(--bgLogo);
}

.wrapper svg #plain {
  fill: var(--textWhite);
}

.button-panel .img-container img {
  height: clamp(300px, 30vh, 500px);
  width: auto;
}

/*  */
div .ul-num li {
  list-style: lower-roman outside;
}

div .ul-roman,
div .ul-num {
  padding-left: 1.5rem;
}

div .ul-num li {
  list-style: decimal;
  list-style-position: outside;
}

div .ul-roman li {
  list-style: lower-roman;
  list-style-position: outside;
}

/* hear-you */
.hear-you-out {
  justify-content: center;
  color: var(--textWhite);
}

.hear-you-out h2 {
  font-size: var(--fontSizeBig);
}

/* arrival */

.arrival .flex-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}

.arrival ul {
  margin-top: 0.5rem;
}

.arrival h3 {
  margin-top: 2rem;
}

/* Intake */

.intake > .container {
  gap: 5rem;
}

.intake .grid {
  grid-template-columns: 1fr 0.1fr 1.2fr;
  justify-items: center;
  background: var(--bgTheme);
  padding: 2rem max(2rem, 20%);
  color: var(--textWhite);
}

.intake .grid h2 {
  font-size: var(--fontSizeMedium);
}

.intake .grid .flex-divider {
  border: unset;
  border-left: solid;
  border-color: var(--bgGrey);
}

.intake .grid .right > .flex-col {
  height: 100%;
  gap: 1rem;
}

.intake .grid .right a button {
  margin-top: 1rem;
}

.intake .grid .left h2 {
  font-size: var(--fontSizeHuge);
}

.intake .grid .left h3 {
  font-size: var(--fontSizeBig);
}

/* How to apply */

.overview .pps h2 {
  color: var(--textDark);
  font-size: var(--fontSizeBig);
  line-height: 5rem;
}

.all-steps {
  margin-top: 1.5rem;
  gap: 5rem;
  display: flex;
  flex-direction: column;
}

.step {
  counter-increment: step;
}

.step h2 {
  color: var(--textDark);
  font-size: var(--fontSizeBig);
  line-height: 5rem;
}

.step .left {
  display: flex;
  flex-direction: column;
}

.step .left::before {
  content: counter(step);
  font-size: clamp(8rem, 5vh, 10rem);
  font-weight: 600;
  color: #ddd;
  line-height: 1;
}

.step > .flex-row {
  gap: 3rem;
}

/* Student Guide */

#student-guide {
  padding-bottom: 5rem;
}

.student-guide .wrapper {
  width: fit-content;
}

.student-guide .wrapper .flex-row {
  position: relative;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--bgLogo);
  border-radius: 125px;
  width: clamp(250px, 10vw, 500px);
  height: 52px;
  overflow: hidden;
  isolation: isolate;
}

.flex-row.sub-nav {
  margin-bottom: 3rem;
  margin-top: 2rem;
  gap: 3rem;
  font-size: var(--fontSizeOK);
  font-weight: 500;
}

.sub-nav .selected {
  border-bottom: 2px solid var(--bgLogo);
}

.campus-diff > .slide {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.campus-nodiff {
  display: flex;
  flex-direction: column;
  gap: 2rem;

  /* margin equal to gap */
  margin-top: 2rem;
}

.campus-diff .wrapper > :first-child,
.campus-nodiff .wrapper > :first-child {
  margin-bottom: 0.8rem;
}

.jompay .flex-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.jompay .inside {
  gap: 2rem;
}

.inside .right {
  border: 5px solid #000000b0;
  padding: 1rem 2rem;
  border-radius: 5px;
}

.inside .img-container.left {
  width: 120px;
}

/* Aid */

ul.flex-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ptptn {
  text-decoration: underline;
  margin-top: 3rem;
}

/* entry requirement */

.entry li {
  max-width: max(900px, 60vw);
}

.center {
  text-align: center;
}

.center img {
  width: 30px;
}

.course {
  gap: 2rem;
  padding: 2rem;
  background: #dfdfdf;
  align-items: center;
}

.entry .grid {
  grid-template-columns: 0.8fr 1.2fr 0.8fr;
  gap: 3vw;
}

.entry .grid.x22 {
  grid-template-columns: 1fr 1fr;
  gap: 3vw;
  width: 100%;
}

.entry .wrapper {
  width: clamp(400px, 30vw, 600px);
  text-align: center;
}

.entry .accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.entry input:checked ~ .accordion {
  max-height: 1000vh;
}

.country-req h4 {
  font-size: var(--fontSizeOK);
}

.country-req li {
  list-style: inside disc;
}

.repeated {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

/* Application */

form .x2 {
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin: 2rem 0;
}

.grid label {
  display: block;
  margin-bottom: 1rem;
}

.grid.input label {
  cursor: cell;
}

.grid.input {
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin: 3rem 0;
}

.grid.input > .wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.drop-zone {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 300px;
  position: relative;
  /* background-image: url(./images/admission/application/SVG/folder.svg);
	background-repeat: no-repeat;
	background-position: center; */
  filter: grayscale(1);
  border: 1px solid #bababa;
  border-radius: 10px;
  transition: var(--speedNormal);
  isolation: isolate;
}

svg.folder {
  position: absolute;
  z-index: -1;
  width: clamp(100px, 25%, 350px);
  pointer-events: none;
}

svg.folder #inner {
  translate: 0 0;
  transition: var(--speedFast);
}

.drop-zone svg #outer {
  transform-origin: bottom;
  transform: rotateX(0deg) rotateY(0deg);
  transition: var(--speedFast);
}

.drop-zone.active {
  border-color: var(--bgLogo);
  border-style: dashed;
  filter: grayscale(0.2);
}

.drop-zone.active svg #outer {
  transform: rotateX(-30deg) rotateY(-5deg);
}

.drop-zone.active svg #inner {
  translate: 0 -50px;
}

.drop-zone.active img {
  opacity: 0.15;
}

.drop-zone.has-file:not(.active) {
  filter: grayscale(0);
}

.drop-zone.has-file:not(.active) svg #inner {
  translate: 0 -10px;
}

.user-img {
  max-width: 100%;
  max-height: 100%;
  pointer-events: none;
}

.btn-wrapper {
  margin: 2rem 0;
}

.btn-wrapper button {
  width: fit-content;
  display: block;
  margin-top: 2rem;
}

.btn-wrapper input[type="checkbox"] ~ button {
  opacity: 0;
  pointer-events: none;
  transition: var(--speedFast);
}

.btn-wrapper input[type="checkbox"]:checked ~ button {
  opacity: 1;
  pointer-events: all;
}

/* Enquiry */

select[disabled] {
  pointer-events: none;
  background: #dfdfdf;
}

.wrapper[data-show="false"] {
  display: none;
}

.penang .only-sun {
  display: none;
}

#interest option:disabled {
  display: none;
}

@media only screen and (min-width: 300px) and (max-width: 910px) {
  section#student-guide .container > .flex-row {
    flex-direction: column;
  }

  .step > .flex-row {
    gap: 0;
    flex-direction: column;
  }

  .step h2 {
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }

  .hear-you-out {
    flex-direction: column;
    width: fit-content;
  }

  .hear-you-out > .flex-col {
    margin: 1.5rem auto;
  }

  .hear-you-out img {
    width: 100%;
  }

  .jompay .flex-row.inside {
    flex-direction: column;
  }

  .jompay ul > li + li {
    margin-top: 0.2rem;
  }

  /*  */

  .button-panel > .container > .flex-row {
    flex-direction: column;
  }

  .grid.x22 {
    grid-template-columns: 1fr;
    width: fit-content;
  }

  /* intakes */
  .intake > .container {
    gap: 3rem;
  }

  .intake .grid {
    grid-template-columns: 1fr;
  }

  .intake .grid .flex-divider {
    border: unset;
    border-top: dotted;
    margin: 2rem auto;
    width: 100%;
    height: 2px;
  }

  .table-wrapper {
    overflow-x: scroll;
  }

  .table-wrapper table + p {
    margin-top: 1rem;
  }

  /* application */
  form .x2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .grid.input {
    grid-template-columns: 1fr;
  }

  /* payments */

  #payment .sub-nav > li {
    width: 50%;
  }

  /* Entry Req */
  .entry .grid {
    grid-template-columns: 1fr;
  }

  .entry .grid.x22 {
    grid-template-columns: 1fr;
  }

  .entry .wrapper {
    width: 100%;
  }

  /* Domestic Guide */
  .accordion > .flex-img {
    gap: 3rem;
    flex-direction: column;
  }
}
