/* All */
body {
  width: 100vw;
  min-height: 100vh;
  background: var(--primary-gradient-web, linear-gradient(111deg, #ddf2e2 5.73%, #fefee9 93.22%));
}

.header-logo {
  width: 95%;
  margin: auto;
  text-align: left;
  /* background: var(--primary-gradient-phone, linear-gradient(90deg, #76CA88 0%, #F8F8A4 100%)); */
}

.header-top {
  background: var(--primary-gradient-phone, linear-gradient(90deg, #76CA88 0%, #F8F8A4 100%));
}

.header-topic {
  z-index: 10000;
  position: fixed;
  top: 50px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 15px;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
}

.header-topic-word {
  color: var(--primary-default, #00831D);
  font-family: Noto Sans TC;
  font-style: normal;
  font-weight: 700;
  line-height: 125%;
  margin: 0;
}

.bd-header {
  height: 50px;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  grid-column: 1 / span 3;
}

/* select Role */

.topic {
  color: #666666;
  font-family: Noto Sans TC;
  font-style: normal;
  font-weight: 700;
  line-height: 125%;
}

.btn-custom {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44%;
  background-color: white;
  border-radius: 10px;
  border: 2px solid var(--primary-tint, #6EC682);
  background: var(--black-white, #FFF);
  /* Web/Button */
  box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.20);
  color: var(--primary-tint, #6EC682);
}

.btn-font {
  margin: 5px;
  font-family: Noto Sans TC;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 1.68px;
  font-size: 1.3rem;
}

.btn-custom:hover {
  color: white;
  background-color: #6EC682;
}

.icon_check {
  position: absolute;
  right: 10px;
  top: 10px;
}


#icon_pro_checked {
  display: none;
}

#icon_normal_checked {
  display: none;
}

.icon_image {
  width: 60%;
  margin: 0 8%;
}

@media only screen and (max-width: 575px) {
  .btn-custom {
    flex-direction: row;
    align-items: center;
    width: 100%;
  }

  .btn-custom {
    justify-content: flex-start;
    /* padding: 4%; */
  }


  .icon_image {
    width: 20%;
  }

  .icon_check {
    top: 50%;
    transform: translate(0, -50%);
  }

  .bottom-part {
    width: 100%;
    margin: auto;
  }

  .topic {
    text-align: center;
  }
}

/* video list */
.card-body {
  height: 100px;
  overflow: scroll;
}

.card-bg {
  height: 200px;
  width: 100%;
  /* background-image: url('./assets/images/test.png'); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.col {
  cursor: pointer;
}

.alreadyPlayed {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(198, 210, 193, 0.7);
  text-align: center;
}

.alreadyPlayed-word {
  color: white;
  font-size: 2rem;
  margin-top: 40%;
}

/* quizintro */

.dialog-box {
  padding: 32px 42px 50px 42px;
  gap: 34px;
  border-radius: 12px;
  background: var(--black-white, #FFF);

  /* Web/Card */
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.10);
}

.dialog-box .content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  align-self: stretch;
  padding-bottom: 0px !important;
  margin: auto;
  max-width: 430px;
}

.circle-num {
  border-radius: 50%;
  border: 1px solid var(--primary-tint, #6EC682);
  color: var(--primary-tint, #6EC682);
  font-family: Noto Sans TC;
  font-style: normal;
  width: 28px;
  height: 28px;
  font-size: 0.75rem !important;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 16px;
}

.content-line {
  width: 100%;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 7fr;
}

.content-line2 {
  display: flex;
  align-items: center;
}

.btn-color {
  border-radius: 8px;
  background: var(--primary-tint, #6EC682);

  /* Phone/Button */
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.10);
  border: 0px;
  width: 85%;
  max-width: 390px;
  letter-spacing: 2.4px;
}

.btn-color:hover {
  color: var(--bs-btn-hover-color);
  background-color: var(--primary-tint, #6EC682);
  border-color: var(--primary-tint, #6EC682);
  border-radius: 8px;
  background: var(--primary-tint, #6EC682);

  /* Phone/Button */
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.10);
}

@media only screen and (max-width: 575px) {
  .btn-color {
    width: 90%;
    margin-top: 20px;
  }

  .btn-color-none {
    width: 100% !important;
    margin: unset !important;
  }
}

/* video */
#videoLocal {
  display: none;
}

#videoYoutube {
  display: none;
}

.play-btn {
  position: absolute;
  background-color: transparent;
  border: 0px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#btn_position {
  display: none;
}

/* quiz page */
.progress {
  --bs-progress-height: 10px;
}

.progress-bar {
  background: var(--primary-tint, #6EC682);
  border-radius: 100px 0px 0px 100px;
}

.btn-custom-quiz {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 30%;
  background-color: white;
  border-radius: 10px;
  border: 2px solid var(--primary-tint, #6EC682);
  background: var(--black-white, #FFF);
  /* Web/Button */
  box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.20);
  color: var(--primary-tint, #6EC682);
  margin: 0 1.5rem;
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
  min-height: 168.53px;
}

.btn-font-quiz {
  margin: 5px;
  font-family: Noto Sans TC;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
}

.icon_image_quiz {
  width: 50%;
  margin: 10%;
}

@media only screen and (max-width: 575px) {
  .btn-custom-quiz {
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: center;
    margin: 0px;
    padding: 0px;
    padding: 10px !important;
    min-height: unset;
  }

  .icon_image_quiz {
    width: 10%;
    margin: 0px 5%;
  }
}

/* form upload */
.dialog-box-form {
  gap: 34px;
  border-radius: 8px;
  background: rgba(255, 223, 209, 0.80);

  /* Web/Card */
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.10);
}

.dialog-box-form .content {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-self: stretch;
  margin: auto;
  max-width: 480px;
  gap: 20px;
}

.btn-color-form {
  border-radius: 8px;
  background: var(--primary-tint, #6EC682);

  /* Phone/Button */
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.10);
  border: 0px;
  width: 85%;
  max-width: 390px;
  letter-spacing: 2.4px;
}

.btn-color-form:hover {
  color: var(--bs-btn-hover-color);
  background-color: var(--primary-tint, #6EC682);
  border-color: var(--primary-tint, #6EC682);
  border-radius: 8px;
  background: var(--primary-tint, #6EC682);

  /* Phone/Button */
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.10);
}

.form-control {
  border-radius: 12px;
  border: 1px solid var(--primary-tint, #6EC682);
  background: var(--black-white, #FFF);
  padding: 10px 20px;
  font-size: 1.15rem;
  color: #00831D !important;
}

.form-control:focus {
  border-color: #00831D;
  box-shadow: 0 0 0 0.25rem rgba(110, 198, 130, 0.25);
}

.form-label {
  margin-left: 10px;
  color: var(--black-600, #666);

  /* H5 18px B */
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 125%;
  /* 22.5px */
}

.form-nes {
  color: var(--alert-default, #F05B5B);

  /* Caption 12px R */
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 140%;
}

.flex-topic {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.form-control::placeholder {
  /* CSS 3 標準 */
  color: var(--black-200, #CCC);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 125%;
  /* 22.5px */
}

.form-control::-webkit-input-placeholder {
  /* Chrome, Safari */
  color: var(--black-200, #CCC);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 125%;
}

.form-control:-ms-input-placeholder {
  /* IE 10+ */
  color: var(--black-200, #CCC);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 125%;
}

.form-control::-moz-placeholder {
  color: var(--black-200, #CCC);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 125%;
}

.custom-select {
  position: relative;
}

.form-control-alert::placeholder {
  color: #F05B5B;
}

.form-control-alert::-webkit-input-placeholder {
  color: #F05B5B;
}

.form-control-alert:-ms-input-placeholder {
  color: #F05B5B;
}

.form-control-alert::-moz-placeholder {
  color: #F05B5B;
}

.custom-select select {
  display: none;
  /*hide original SELECT element:*/
}

.select-selected {
  border-radius: 12px;
  border: 1px solid var(--primary-tint, #6EC682);
  background: var(--black-white, #FFF);
}

/*style the arrow inside the select element:*/
.select-selected:after {
  position: absolute;
  content: "";
  top: 23px;
  right: 15px;
  width: 0;
  height: 0;
  border: 3px solid var(--primary-tint, #6EC682);
  border-width: 0px 3px 3px 0px;
  border-radius: 2px;
  display: inline-block;
  padding: 5px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);


}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  transform: rotate(225deg);
  -webkit-transform: rotate(225deg);
  top: 28px;
}

/*style the items (options), including the selected item:*/
.select-items div {
  font-size: 0.9rem;
  color: #CCCCCC;

  opacity: 1;
  padding: 8px 16px;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  border: 3px solid white;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  color: var(--black-500, #808080);
  /* 33.6px */
  letter-spacing: 2.4px;
  font-size: 1.5rem;
}

.select-selected {
  font-size: 1.15rem;
  color: #00831D;

  opacity: 1;
  padding: 10px 20px;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  border: 1px solid var(--primary-tint, #6EC682);
  cursor: pointer;
  user-select: none;
}

/*style items (options):*/
.select-items {
  position: absolute;
  background-color: white;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  margin-top: 5px;
  max-height: 500px;
  overflow: scroll;
}

/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}

.select-items div:hover,
.same-as-selected {
  background-color: #8BD09A33;
  color: #00831D !important;
}

.select-items div::before {
  content: "";
  width: 12px !important;
  height: 20px !important;
  border: 3px solid transparent;
  border-width: 0px 3px 3px 0px;
  border-radius: 2px;
  display: inline-block;
  padding: 5px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  margin-right: 10px;

}

.same-as-selected::before {
  border-color: #00831D !important;
}

.gou {
  width: 12px;
  height: 20px;
  border-right: 4px solid #00831D;
  border-bottom: 4px solid #00831D;
  transform: rotate(40deg);
  border-radius: 2px;
}

/* --------------- final part ---------------*/
.green-color {
  color: #32A54C;
  font-weight: 700;
}

.videoCount {
  color: #F5A407;
  font-size: 1.5rem;
}

.final-word-stage {
  margin-top: 15px;
  display: none;
}

.stage-word {
  color: #F5A407;
  font-size: 1.5rem;
  font-weight: 700;
}

.btn-color-final {
  border-radius: 10px;
  background: var(--primary-tint, #6EC682);

  /* Phone/Button */
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.10);
  border: 0px;
  width: 85%;
  max-width: 390px;
  letter-spacing: 2.4px;
  margin: 10px;
}

.btn-color-final:hover {
  color: var(--bs-btn-hover-color);
  background-color: var(--primary-tint, #82c492);
  border-color: var(--primary-tint, #82c492);
  border-radius: 8px;
  background: var(--primary-tint, #82c492);

  /* Phone/Button */
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.10);
}

#final-image {
  width: 50%;
  max-width: 250px;
}

@media only screen and (max-width: 575px) {
  .btn-color-final {
    width: 65%;
    margin: 5px;
  }
}

/* login html */

.login-alert {
  color: #F05B5B;
  display: flex;
  align-items: center;
}

.login-alert img {
  margin-right: 10px;
}

.login-bottomword {
  text-align: center;
  color: #808080;
}

.login-bottomword .sign-d {
  color: #F09307;
  text-decoration: underline;
  cursor: pointer;
}

.login-bottomword .visit-d {
  color: #666;
  font-weight: 600;
  cursor: pointer;
}

#login-alert-name {
  visibility: hidden;
}

#login-alert-email {
  visibility: hidden;
}

/* visit  */
.visit-intro {
  align-items: center !important;
}

.visit-line {
  border: 1px solid #CCCCCC;
  width: 100%;
}

.visit-word {
  font-weight: 600;
  text-align: center;
  font-size: 18px;
}

.btn-color-none {
  border-radius: 8px;
  background: white;
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.10);
  border: 1px solid #6EC682;
  color: #6EC682;
  width: 85%;
  max-width: 390px;
  letter-spacing: 2.4px;
}

.btn-color-none:hover {
  color: #6EC682;
  background-color: white;
  border-color: var(--primary-tint, #6EC682);
}