/* 點擊翻轉圖片 */
/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
  background-color: transparent;
  /* perspective: 1000px; Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  /* position: relative; */
  width: 100%;
  height: 100%;
  text-align: center;
  -webkit-transition: -webkit-transform 0.8s;
  transition: -webkit-transform 0.8s;
  -o-transition: transform 0.8s;
  transition: transform 0.8s;
  transition: transform 0.8s, -webkit-transform 0.8s;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card.hover:hover .flip-card-inner,
      .flip-card.click.clicked .flip-card-inner {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  /* position: absolute; */
  float:left;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /*Safari*/
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #bbb;
  color: black;
}

/* Style the back side */
.flip-card-back {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}

.click { 
  cursor: pointer; 
}


@media (max-width: 767.98px) { 
  .magician{
      width: 50%;
  }
}

.cardLable{
  left: 0px;
  bottom: -16px;
}

.textUnderline{
  border: 1px solid #333333;
  border-radius: 0.5px;
}

.radius-10{
  border-radius: 10px;
}
.radius-20{
  border-radius: 0 20px 0 0;
}

.teacher {
    background-image: url(/Content/HANJA1/img/home/home_4_3.svg);
}

.rule{
  border: 1px solid #f7931e;
  border-radius:20px;
}

/* 表單 */
.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #333333;
  /* background-color: #fff; */
  background-color: transparent;
  background-clip: padding-box;
  /* border: 1px solid #ced4da; */
  border: 1.4px solid #333333;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* border-radius: 0.25rem; */
  border-radius: 0.625rem;
  -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  -o-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
.form-control {
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}
}
.form-control[type=file] {
  overflow: hidden;
}
.form-control[type=file]:not(:disabled):not([readonly]) {
  cursor: pointer;
}
.form-control:focus {
  color: #333333;
  background-color: transparent;
  border-color: #FFD1A4;
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.25rem rgba(255, 209, 164, 0.25);
          box-shadow: 0 0 0 0.25rem rgba(255, 209, 164, 0.25);
}
.form-control::-webkit-date-and-time-value {
  height: 1.5em;
}
.form-control::-moz-placeholder {
  color: #333333;
  opacity: 1;
}
.form-control::-webkit-input-placeholder {
  color: #333333;
  opacity: 1;
}
.form-control:-ms-input-placeholder {
  color: #333333;
  opacity: 1;
}
.form-control::-ms-input-placeholder {
  color: #333333;
  opacity: 1;
}
.form-control::placeholder {
  color: #333333;
  opacity: 1;
}
/* 下拉選單 */
.form-select {
    display: block;
    width: 100%;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #333333;
    /* background-color: #fff; */
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    /* border: 1px solid #ced4da; */
    border: 1.4px solid #333333;
    /* border-radius: 0.25rem; */
    border-radius: 0.625rem;
    -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    -o-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

@media (prefers-reduced-motion: reduce) {
    .form-select {
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
    }
}

.form-select:focus {
    border-color: #FFD1A4;
    outline: 0;
    -webkit-box-shadow: 0 0 0 0.25rem rgba(255, 209, 164, 0.25);
    box-shadow: 0 0 0 0.25rem rgba(255, 209, 164, 0.25);
}

.form-select[multiple], .form-select[size]:not([size="1"]) {
    padding-right: 0.75rem;
    background-image: none;
}

.form-select:disabled {
    /* background-color: #e9ecef; */
    background-color: transparent;
}

.form-select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #333333;
}

.form-select-sm {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

.form-select-lg {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    font-size: 1.25rem;
    border-radius: 0.3rem;
}

/* 勾選框 */
.form-check {
  display: block;
  /* min-height: 1.5rem; */
  min-height: 0rem;
  padding-left: 1.5em;
  /* margin-bottom: 0.125rem; */
  margin-bottom: 0rem;
}
.form-check .form-check-input {
  float: none;
  margin-left: -1.5em;
}
.form-check-input {
  width: 1em;
  height: 1em;
  margin-top: 0em;
  /* vertical-align: top; */
  vertical-align: middle;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 1.4px solid #333333;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* -webkit-print-color-adjust: exact;
  color-adjust: exact; */
}
.form-check-input[type=checkbox] {
  border-radius: 0.25em;
}
.form-check-input[type=radio] {
  border-radius: 50%;
}
.form-check-input:active {
  -webkit-filter: brightness(90%);
          filter: brightness(90%);
}
.form-check-input:focus {
  border-color: #FFD1A4;
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.25rem rgba(255, 209, 164, 0.25);
          box-shadow: 0 0 0 0.25rem rgba(255, 209, 164, 0.25);
}
.form-check-input:checked {
  background-color: #FFA042;
  border-color: #FFA042;
}
.form-check-input:checked[type=checkbox] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}
.form-check-input:checked[type=radio] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}
.form-check-input[type=checkbox]:indeterminate {
  background-color: #FFA042;
  border-color: #FFA042;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
}

.privacypolicyLink:hover{
  text-decoration: underline;
  color:#287062;
} 

.pdInfo{
  border-left: 1px solid #287062;
  border-right: 1px solid #287062;
}
@media (max-width: 767.98px) { 
.pdInfo{
  border-left: 0px solid #287062;
  border-right: 0px solid #287062;
  border-top: 1px solid #287062;
  border-bottom: 1px solid #287062;
}
}

.freeOrder{
  right: 0px;
  bottom: 0px;
}
@media (min-width: 768px) and (max-width: 1199.98px) {
.freeOrder{
  width: 16%;
}
}
@media (max-width: 767.98px) { 
.freeOrder{
  width: 20%;
}
}