@charset "utf-8";
/* CSS Document */
* {
  box-sizing: border-box !important; /* 避免 padding 和 border 影响元素宽度 */
}

html {
  scroll-behavior: smooth;
}
p {
  font-family: "微軟正黑體";
}

.tableStyle001 {
  width: 990px;
  margin-right: auto;
  margin-left: auto;
  font-size: 14px;
  color: rgba(51, 53, 52, 1);
}
.tableStyle001 a {
  color: rgba(51, 53, 52, 1);
  text-decoration: none;
}
.tableStyle001 a:hover {
  color: rgba(0, 135, 204, 1);
}
.tableStyle001 table {
  width: 100%;
}
.tableStyle001 td {
  padding-top: 13px;
  padding-bottom: 13px;
}
.tableStyle001 th {
  height: 32px;
  font-size: 18px;
  font-weight: bold;
  color: rgba(0, 135, 204, 1);
  background: #fff;
}
.tableStyle001 .even {
  background-color: #fff;
}
.tableStyle001 .odd {
  background-color: #fff;
}
.tableStyle001 tr:hover {
  background-color: #feffca;
}
.civtableS01 {
  width: 990px;
  margin-right: auto;
  margin-left: auto;
}
.civtableS01 table {
  width: 100%;
}
.civtableS01 table tr:hover {
  background-color: #feffca;
}
.civtableS01 table th {
  font-size: 18px;
  font-weight: normal;
  color: rgba(0, 136, 204, 1);
  background: #fff;
  text-decoration: none;
  height: 50px;
  text-align: left;
  line-height: 50px;
}
.civtableS01 table td {
  height: 50px;
  line-height: 50px;
  font-size: 15px;
  color: rgba(51, 53, 52, 1);
  padding: 4px;
}
.civtableS01 table a {
  color: rgba(51, 53, 52, 1);
  text-decoration: none;
}
.civtableS01 table a:hover {
  color: #0033cc;
}
.civtableS01 table tr.top {
  background: #ffe9ef;
}
.civtableS01 table tr.top td:first-child span {
  margin-right: 5px;
  margin-left: 5px;
}
.civtableS01 table tr.top td:first-child span::before {
  content: url(../images/advancedStudies/common/icon_hot.png);
}
.civtableS01 tr.even {
  background-color: #fff;
}
.civtableS01 tr.odd {
  background-color: #fff;
  line-height: 15px;
}
.civtableS01 .jiclass01,
.civtableS01 .jiclass02 {
  margin-right: 3px;
  float: left;
}

#formStyle03 table,
#formStyle04 table,
#formStyle05 table {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}
#formStyle03 .note {
  float: left;
  width: 410px;
  margin-left: 10px;
}
#formStyle04 {
  background-image: url(../images/feedback/bg_req.png);
}
#formStyle05 {
  background-image: url(../images/feedback/page_board_middle.png);
}
#formStyle05 {
  background-repeat: repeat-y;
  background-position: left top;
}
#formStyle05 .headBlock {
  border-top: 1px solid #999;
  margin-left: 15px;
}
#formStyle04 .headBlock h2,
#formStyle05 .headBlock h2 {
  background-image: url(../images/feedback/title1.png) !important; /*我要參加*/
  background-repeat: no-repeat;
  background-position: 35px 15px;
  text-align: left;
  text-indent: -1000px;
  white-space: nowrap;
  display: block;
  margin: 0;
  height: 29px;
  width: 306px;
  padding-top: 9px;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 17px;
  overflow: hidden;
}
#formStyle04 .content {
  margin-left: 50px !important;
  margin-right: 25px !important;
  padding-top: 50px !important;
  width: auto !important;
}
#formStyle05 .content {
  margin-left: 50px !important;
  margin-right: 0px !important;
  padding-top: 10px !important;
  width: auto !important;
}
#formStyle04 .content .reqClass .left,
#formStyle05 .content .reqClass .left {
  width: 420px;
  float: left;
}
#formStyle04 .content .reqClass .right,
#formStyle05 .content .reqClass .right {
  width: calc(100% - 420px);
  padding-top: 10px;
  float: left;
}
#formStyle04 .foot,
#formStyle05 .foot {
  border-top: 1px solid #999;
  margin-left: 15px;
}

.inputStyle7_h19 {
  height: 17px;
  border: 1px solid #828fa7;
}

.txtStyle1_b30707 {
  color: #d81414;
}
.txtStyle1_b30707 a {
  color: #d81414;
  text-decoration: underline;
}
.txtStyle1_b30707 a:hover {
  color: #f00;
}

.btn_back3 {
  background-image: url(../images/advancedStudies/common/btn_back3-2.jpg);
  background-repeat: no-repeat;
  background-position: left top;
  height: 20px;
  width: 60px;
}
.btn_back3 a {
  background-image: url(../images/advancedStudies/common/btn_back3-1.jpg);
  background-repeat: no-repeat;
  background-position: left top;
  height: 20px;
  width: 60px;
  text-decoration: none;
  text-align: left;
  text-indent: -1000px;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}
.btn_back3 a:hover {
  background-image: url(../images/advancedStudies/common/btn_back3-2.jpg);
}
/* .icon-wrapper {
  height: auto;
  display: flex;
  align-items: center;
  margin-top: 6px;
} */
.icon-wrapper a {
  display: inline-flex; /* 使 SVG 保持 inline-flex 布局 */
  align-items: center; /* SVG 垂直置中 */
}

.icon-wrapper svg {
  width: 24px;
  height: 24px;
  transition: 0.3s ease;
  fill: #2cf59e;
}
.icon-wrapper a svg:hover {
  fill: #fff;
}

.btn_submit07 {
  background-image: url(../images/advancedStudies/common/btn_submit1-1.png);
  background-repeat: no-repeat;
  background-position: left center;
  background-color: transparent;
  height: 35px;
  width: 85px;
  border-top-width: 0px;
  border-right-width: 0px;
  border-bottom-width: 0px;
  border-left-width: 0px;
  border-top-style: none;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;
  overflow: hidden;
  text-align: left;
  text-indent: -1000px;
  white-space: nowrap;
  display: block;
  cursor: pointer;
}
.btn_submit07:hover {
  background-image: url(../images/advancedStudies/common/btn_submit1-2.png);
}

.padding_top10 {
  padding-top: 10px;
}
.padding_top20 {
  padding-top: 20px;
}
.padding_top30 {
  padding-top: 30px;
}
.padding_top50 {
  padding-top: 50px;
}
.padding_top60 {
  padding-top: 60px;
}

.mainContent_green {
  min-width: 1130px;
  background-color: #bdffd1;
  padding-top: 5px;
  padding-bottom: 5px;
}
.mainContent_gray {
  min-width: 1130px;
  background-color: #353535;
  height: 40px;
}
#mainContent .pageContainer {
  width: 100%;
  max-width: 1130px;
  margin-right: auto;
  margin-left: auto;
  background-repeat: no-repeat;
  background-position: left 36px;
}
#mainContent .courseContainer {
  width: 100%;
  max-width: 1130px;
  margin-right: auto;
  margin-left: auto;
}
.naviBar {
  font-size: 16px;
  width: 1130px;
  margin-right: auto;
  margin-left: auto;
  line-height: 40px;
  height: 40px;
  clear: both;
  color: #666;
}
.naviBar a {
  color: #666;
}
.naviBar a:hover {
  color: #0a65c2;
}
#classTitle {
  text-align: center;
  background-image: url(../images/advancedStudies/blocks/board_titleBg.png);
  background-repeat: no-repeat;
  background-position: center;
  height: 70px;
}
#classTitle .title {
  font-size: 30px;
  font-weight: 600;
  overflow-x: hidden;
}
#classTitle .oNoName {
  font-size: 16px;
  margin-top: 5px;
  overflow-x: hidden;
}
#classTitle .oNoName a {
  color: #353535;
}
#classTitle .oNoName a:hover {
  color: #0b82ff;
}
#sharelink {
  width: 150px;
  float: right;
}
#sharelink .img {
  width: 25px;
  height: 25px;
  margin: 0 5px;
}
#sharelink .img a {
  opacity: 0.85;
}
#sharelink .img a:hover {
  opacity: 1;
}
#addCourse {
  width: 632px;
  margin-right: auto;
  margin-left: auto;
  display: flex;
}
#addCourse .like {
  background-image: url(../images/advancedStudies/common/btn_courseLike2-1.png);
  background-repeat: no-repeat;
  text-align: left;
  text-indent: -1000px;
  white-space: nowrap;
  display: inline-block;
  height: 40px;
  width: 160px;
  overflow: hidden;
  cursor: pointer;
}
#addCourse .like:hover {
  opacity: 0.75;
}
#addCourse .fav {
  background-image: url(../images/advancedStudies/common/btn_courseFav2-1.png);
  background-repeat: no-repeat;
  text-align: left;
  text-indent: -1000px;
  white-space: nowrap;
  display: inline-block;
  height: 40px;
  width: 199px;
  overflow: hidden;
  cursor: pointer;
  padding-right: 7px;
}
#addCourse .fav:hover {
  opacity: 0.75;
}

#addCourse .sharelink img {
  width: 102px;
  height: 40px;
  padding-left: 10px;
}

#menu_bar {
  width: 100%;
  height: 61px;
  background: #2a9bcf;
  position: fixed;
  top: 129px;
  z-index: 98;
}
#menu_bar .block {
  width: 1130px;
  margin-right: auto;
  margin-left: auto;
}
#menu_bar .block ul li {
  width: 198px;
  height: 59px;
  float: left;
}
#menu_bar .block ul li.active {
  border-bottom: 2px solid #00f;
}
#menu_bar .block ul li:last-child {
  width: calc(100% - (198px * 3));
}
#menu_bar .block ul li a.content {
  background-image: url(../images/licence/common/btn_licenceContent1-1.png);
  background-repeat: no-repeat;
  text-align: left;
  text-indent: -1000px;
  white-space: nowrap;
  display: inline-block;
  height: 59px;
  width: 198px;
  overflow: hidden;
}
#menu_bar .block ul li a.content:hover {
  background-image: url(../images/licence/common/btn_licenceContent1-2.png);
}
#menu_bar .block ul li.active a.content {
  background-image: url(../images/licence/common/btn_licenceContent1-3.png);
}
#menu_bar .block ul li a.course {
  background-image: url(../images/licence/common/btn_licenceCourse1-1.png);
  background-repeat: no-repeat;
  text-align: left;
  text-indent: -1000px;
  white-space: nowrap;
  display: inline-block;
  height: 59px;
  width: 198px;
  overflow: hidden;
}
#menu_bar .block ul li a.course:hover {
  background-image: url(../images/licence/common/btn_licenceCourse1-2.png);
}
#menu_bar .block ul li.active a.course {
  background-image: url(../images/licence/common/btn_licenceCourse1-3.png);
}
#menu_bar .block ul li a.jobs {
  background-image: url(../images/licence/common/btn_licenceJobs1-1.png);
  background-repeat: no-repeat;
  text-align: left;
  text-indent: -1000px;
  white-space: nowrap;
  display: inline-block;
  height: 59px;
  width: 198px;
  overflow: hidden;
}
#menu_bar .block ul li a.jobs:hover {
  background-image: url(../images/licence/common/btn_licenceJobs1-2.png);
}
#menu_bar .block ul li.active a.jobs {
  background-image: url(../images/licence/common/btn_licenceJobs1-3.png);
}
#menu_bar .block form {
  width: 252px;
  margin: 10px auto 0;
}
#courseSearch {
  width: 252px;
  float: right;
}
#menu_bar .block form *,
#courseSearch form * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#menu_bar .block .form-control {
  width: 252px;
  height: 40px;
  padding: 3px 22px 3px 1px;
  text-align: center;
  -moz-border-radius: 22px;
  -webkit-border-radius: 22px;
  border-radius: 22px;
  -moz-box-shadow: 0 0 0 transparent;
  -webkit-box-shadow: 0 0 0 transparent;
  box-shadow: 0 0 0 transparent;
  font-size: 16px;
  line-height: 1.4;
  color: #333;
  background-color: rgba(255, 255, 255, 0.5);
  background-image: none;
  border: none;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  outline: none;
}
#courseSearch .form-control {
  width: 252px;
  height: 34px;
  padding: 1px 22px 1px 1px;
  text-align: center;
  -moz-border-radius: 22px;
  -webkit-border-radius: 22px;
  border-radius: 22px;
  -moz-box-shadow: 0 0 0 transparent;
  -webkit-box-shadow: 0 0 0 transparent;
  box-shadow: 0 0 0 transparent;
  font-size: 16px;
  line-height: 1.4;
  color: #0e6eb8;
  background-color: rgba(255, 255, 255, 0.5);
  background-image: none;
  border: none;
  border-top: 2px solid #4babd8;
  border-right: 2px solid #64bae2;
  border-bottom: 1px solid #86c9e8;
  border-left: 1px solid #98d3ef;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  outline: none;
}
#courseSearch .form-control::placeholder {
  color: #2a9bcf;
  opacity: 1; /* Firefox */
}
#courseSearch .form-control:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #2a9bcf;
}
#courseSearch .form-control::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #2a9bcf;
}
#courseSearch .form-control:hover,
#courseSearch .form-control:focus {
  border-top: 1px solid #98d3ef;
  border-right: 1px solid #86c9e8;
  border-bottom: 2px solid #64bae2;
  border-left: 2px solid #4babd8;
}
#courseSearch .form-control:focus {
  -moz-box-shadow: 0 0 20px #95cde7;
  -webkit-box-shadow: 0 0 20px #95cde7;
  box-shadow: 0 0 20px #95cde7;
  transition: all 0.5s ease;
}
#menu_bar .block .btn,
#courseSearch .btn {
  background: transparent none;
  border: 0;
  color: #6e1419;
  margin: 3px 0 0 -45px;
  display: inline-block;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 4px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-appearance: button;
  text-transform: none;
  overflow: visible;
  outline: none;
}
#menu_bar .block .btn:hover,
#courseSearch .btn:hover {
  color: #ca1620;
}
#menu_bar .block .fa-search:before,
#courseSearch .fa-search:before {
  content: "\f002";
}
.naviBar {
  width: 100% !important;
  max-width: 1130px;
  padding: 0 3.2rem;
}

.mainContent_title_c {
  position: relative;
  width: 100%;
  padding: 25px 0px 20px 0px;
  max-width: 1130px;
  margin-right: auto;
  margin-left: auto;
  background-image: url(../images/content-bg.jpg);
  background-size: cover;
}
.training-label {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #ffe51d;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  gap: 8px;
  border-bottom-right-radius: 10px;
}
.label-text {
  font-size: 20px;
  font-weight: 600;
}
.content_container {
  padding: 0 25px;
  width: 100%;
  display: flex;
  gap: 5rem;
}

.mainContent_title_c .content {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  row-gap: 16px;
  color: #fff;
  padding: 2px 20px;
  margin-top: 20px;
  flex: 6;
  min-width: 0; /* 解決 content_side 溢出螢幕 */
}
.mainContent_title_c .content_side {
  flex: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mainContent_title_c .content .title {
  flex: 3;
  width: 100%;
  font-size: 30px;
  letter-spacing: 1px;
}
.mainContent_title_c .content .title h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  text-align: justify;
}
.mainContent_title_c .content .oNo {
  flex: 1;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mainContent_title_c .content .oNo a {
  font-size: 21px;
  color: #fff;
}
.mainContent_title_c .content .oNo a:hover {
  color: #0b82ff;
}
.content-table {
  flex: 1;
  border: none;
  font-size: 20px;
  color: #fff;
}
.content-table tr {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 14px;
  align-items: center;
}
.fee {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.border-fee {
  border: 1px solid;
  padding: 2px 8px;
}
.course-address {
  display: flex;
  align-items: center;
}
.button_side {
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-bottom: 30px;
}
.button_side .btn_white_frame {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  padding: 8px 20px;
  gap: 3px;
  border: #fff 1px solid;
  border-radius: 5px;
  text-align: center;
  transition: background-color 0.3s ease-in;
  cursor: pointer;
}
.button_side .btn_white_frame:hover {
  background-color: rgba(0, 0, 0, 0.3);
}
.share-modal {
  display: none; /* 預設是隱藏的 */
  position: fixed;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 背景色 */
  justify-content: center;
  align-items: center;
}
/* 彈跳視窗内容 */
.share-modal .modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  width: 300px;
  text-align: center;
  color: #222;
  font-size: 20px;
  position: relative;
}
/* 關閉按鈕*/
.close-btn {
  color: #222;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
  color: #ff6473;
  text-decoration: none;
}

/* 社群按鈕共同樣式 */
.modal-content button {
  padding: 10px 20px;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin: 10px 0;
  transition: background-color 0.3s;
}
#share-facebook {
  background-color: #0a65c2;
}
#share-facebook:hover {
  background-color: #084b8a;
}
#share-line {
  background-color: #06c755;
}
#share-line:hover {
  background-color: #008d3b;
}

.content_side .upload {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  max-width: 344px;
  height: auto;
  aspect-ratio: 344 / 280;
  overflow: hidden;
  border: #fff 2px solid;
}

.content_side .upload .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.content_side .upload img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content_side .upload .play_overlay {
  position: absolute;
  top: 50%; /* 定位到容器垂直中心 */
  left: 50%; /* 定位到容器水平中心 */
  transform: translate(-50%, -50%);
  z-index: 3;
  cursor: pointer;
  transition: transform 0.3s, fill 0.3s;
}
.content_side .upload .play_overlay:hover {
  transform: translate(-50%, -50%) scale(1.1); /* 放大效果 */
}
.video_modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.8);
}
.video_modal .modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 800px;
  background: black;
  padding: 25px 30px 20px 30px;
  border-radius: 0%;
}
.modal-content h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}
.video_modal iframe {
  width: 100%;
  height: 450px;
}

.video_modal .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 30px;
  font-weight: bold;
  color: white;
  cursor: pointer;
}

.content_side .upload .play_overlay svg {
  display: block;
  width: 80px;
  height: 80px;
}
.play_overlay svg path {
  fill: white; /* 預設顏色 */
  transition: fill 0.3s;
}

.content_side .upload .play_overlay svg:hover path {
  fill: #0a65c2;
}
.content_side .upload #playText {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}
.content_side .upload span.close {
  position: absolute;
  bottom: 20px;
  z-index: 2;
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  text-align: center;
}
.courseContainer .tabBar_section {
  position: sticky;
  top: 97px; /* height of fixed header +  nav*/
  background-color: #fff;
  z-index: 95;
}
.courseContainer .tabBar {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto; /* 水平居中 */
  position: sticky;
  top: 97px;
  z-index: 97;
  background-color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: flex-start; /* 使用此屬性讓內容居中 */
  border-bottom: #eeeeee 2px solid;
  box-shadow: 0 0 0 0 #e9ecef;
}
.arrow {
  display: none;
}
.courseContainer .tabBar .pp-tab {
  color: #000;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
  padding: 14px 20px 15px;
  position: relative;
  border-bottom: 3px solid transparent;
  text-align: center;
}
.courseContainer .tabBar .pp-tab:hover {
  transition: border-color 1s;
  border-bottom-color: #168756;
  color: #168756;
}
.courseContainer .about-main {
  margin-left: auto;
  margin-right: auto;
  max-width: 1130px;
  width: 100%;
  display: flex;
  overflow: visible;
}
.about-main .main_left_side {
  flex: 7;
}
.about-main .main_left_side .content {
  padding: 15px 20px;
}
.about-main .main_left_side .content h3 {
  font-size: 22px;
  font-weight: 600;
}
.about-main .main_left_side .content .block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: flex-start;
  border: #eeeeee 2px solid;
  border-radius: 10px;
  margin: 16px 0;
  padding-left: 50px;
}
.about-main .main_left_side .content .block .course_block {
  display: flex;
  flex-direction: row;
  /* border: #EEEEEE 2px solid; */
  padding: 20px 10px;
  margin: 5px 5px;
  align-items: center;
}
.about-main .main_left_side .content .block .value {
  padding: 15px 0;
  font-size: 18px;
  text-align: justify;
}
.about-main .main_left_side .content .block .course_block .info_value {
  margin-left: 15px;
  flex: 1;
}
.about-main .main_left_side .content .block .course_block .info_value p {
  font-size: 18px;
  font-weight: 500;
}
.about-main
  .main_left_side
  .content
  .block
  .course_block
  .info_value
  p:first-child {
  color: #7a7a7a;
  font-size: 15px;
  margin-bottom: 10px;
}
.text_block {
  border: #eeeeee 2px solid;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 16px 0;
  position: relative;
  max-width: 709px;
}
.text_block::after {
  content: "";
  display: block;
  clear: both;
}
.text_block img {
  max-width: 600px;
  width: 100%;
  height: auto; /* 維持圖片的寬高比例 */
}
#detail_content {
  overflow: hidden;
  max-height: 280px; /* 每行高度 28px，最多顯示 10 行 */
  transition: max-height 0.3s ease;
  position: relative;
}
#detail_content.has-overflow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px; /* 漸層高度 */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
  pointer-events: none; /* 確保不影響點擊操作 */
}
#detail_content.has-overflow::after {
  opacity: 1; /* 當有溢出時顯示漸層 */
}
#detail_content.expanded {
  max-height: none; /* 展開時取消高度限制 */
  margin-bottom: 0px; /* 展開時取消底部邊界 */
}
#detail_content.expanded::after {
  opacity: 0; /* 隱藏漸層 */
}
.toggle_button {
  margin-top: 10px;
  background-color: #168756;
  color: white;
  border: none;
  padding: 8px 20px;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
  position: absolute; /* 確保按鈕顯示在容器的底部 */
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%); /* 中心對齊 */
  display: none;
  transition: 0.3s ease;
  border-radius: 10px;
}
.toggle_button:hover {
  background-color: #126c45;
}
.content .text_block .value {
  font-size: 18px;
  line-height: 28px;
  text-align: justify;
  word-break: break-word;
  overflow-wrap: break-word;
}

.about-main .main_right_side {
  flex: 3;
  padding: 0 30px 20px;
  position: sticky;
  top: 150px;
  z-index: 94;
  max-height: calc(-150px + 100vh);
  overflow-y: auto;
}
/* .about-main .main_right_side::-webkit-scrollbar {
    display: none;
} */

.signUp {
  width: 100%;
  max-width: 200px;
  text-align: center;
  padding: 10px 10px;
  margin-left: auto;
  margin-right: auto;
  background-color: #168756;
  color: #fff;
  font-size: 18px;
  border-radius: 10px;
  cursor: pointer;
}
.signUp:hover {
  background-color: #126c45;
  transition: 0.3s ease;
}
.main_right_side h3 {
  font-size: 18px;
  font-weight: 600;
}
.main_right_side .similar_container {
  margin: 15px 0;
  padding: 24px;
  background-color: #f6fafa;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 10px;
}
.main_right_side .similar_course {
  background-color: #fff;
  border-radius: 15px;
  border: rgba(10, 101, 194, 0.2) 1px solid;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: 0.3s ease;
}
.main_right_side .similar_course:hover {
  background-color: #ececec;
}
.main_right_side .similar_course p.service a {
  font-size: 14px;
  color: #666666;
}

.main_right_side .similar_course a:hover {
  text-decoration: underline;
}
.main_right_side .similar_course a:visited {
  color: #0a65c2;
}
.main_right_side .similar_course .type {
  border-radius: 8px;
  width: fit-content;
}
.main_right_side .similar_course .advanced {
  background-color: rgba(255, 100, 115, 0.2);
  color: #ff6473;
}
.main_right_side .similar_course .free {
  background-color: rgba(253, 159, 66, 0.2);
  color: #fd9f42;
}
.main_right_side .similar_course .training {
  background-color: rgba(0, 166, 147, 0.2);
  color: #00a693;
}

.main_right_side .similar_course h4 {
  font-size: 18px;
  font-weight: 600;
  padding: 4px 13px;
}
.main_right_side .similar_course p {
  font-size: 14px;
  color: #666666;
  margin: 5px 0;
}
.class_title img {
  width: 100%;
  max-width: 48px;
}

.main_right_side .similar_course .class_title {
  font-size: 16px;
  font-weight: 600;
}
.main_right_side .similar_course article.class_title a:link {
  font-size: 16px;
  color: #222;
}
.main_right_side .similar_course .class_title a:hover {
  text-decoration: underline;
}
.main_right_side .similar_course .class_title a:visited {
  color: #000000;
}
.main_right_side .ad_block img {
  width: 100%;
  padding: 12px 20px;
  transition: 0.3s ease;
}
.main_right_side .ad_block img:hover {
  scale: 1.02;
}
/* 表單 */
#reqForm {
  background-color: #f6fafa;
  padding: 26px 39px;
  box-sizing: border-box;
}
#reqForm #queryForm {
  display: block !important;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  padding: 29px 31px;
  /* border: 2px solid #EEE; */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 99999 !important;
}
.btn-close-form {
  display: none;
}
#reqForm .form-container-left {
  width: 70%;
}
#reqForm .adBlock280x200-container-right {
  width: 30%;
  margin-left: 15px;
  display: flex;
  flex-direction: column;
}
#reqForm #queryForm ul li {
  display: inline-block;
  /* width: 50%; */
}
#reqForm .title h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #168756;
}
#reqForm .checkboxradio {
  background-color: #fff;
  border: #168756 1px solid;
  border-radius: 10px;
  color: #168756;
  display: inline-flex;
  padding: 10px 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}
#reqForm .checkboxradio svg path {
  fill: #168756;
}
.checkbox-sex {
  float: right;
  margin-bottom: 10px;
  margin-left: 80px;
}
#reqForm .checkboxradio2 {
  width: 420px;
  background-color: #fff;
  border: #00a693 1px solid;
  border-radius: 10px;
  color: #00a693;
  display: inline-flex;
  padding: 5px 18px;
  cursor: pointer;
  align-items: center;
  transition: 0.3s ease;
  letter-spacing: 0.8px;
}
#reqForm .checkboxradio2:hover {
  background-color: #ebebeb;
}

#reqForm .checkboxradio2 a {
  color: #00a693;
  text-decoration: underline;
}
#reqForm .checkboxradio:hover {
  background-color: #d3d3d3;
  color: #fff;
}
#reqForm .checkboxradio:hover svg path {
  fill: #fff;
}
#reqForm input[type="radio"]:checked + .checkboxradio {
  background-color: #168756;
  color: #fff;
  border-color: #168756;
}
#reqForm input[type="radio"]:checked + .checkboxradio svg path {
  fill: #fff;
}
#reqForm .checkboxradio span {
  font-size: 14px;
  font-weight: 600;
}
#reqForm #queryForm .form-column-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 1.4rem;
}
.checkbox-sex {
  margin-left: 11rem;
}
#reqForm #queryForm li:nth-child(5),
#reqForm #queryForm li:last-child {
  grid-column: span 2;
}
#reqForm #queryForm li:nth-child(5) {
  display: flex;
  width: 100%;
  max-width: fit-content;
}
#reqForm #queryForm input[type="text"],
#reqForm #queryForm input[type="email"] {
  background-color: rgba(10, 101, 194, 0.1);
  border: none;
  font-size: 14px;
  outline: none;
  width: 90%;
  margin-bottom: 10px;
  padding: 5px 0 5px 10px;
}
#reqForm #queryForm select {
  border: rgba(10, 101, 194, 0.2) 1px solid;
  padding: 5px 10px;
  color: #168756;
}
#reqForm #queryForm .end_section {
  /* width: 73%; */
  margin: 0 auto;
  margin-top: 1.4rem;
  padding: 10px;
  display: flex;
  justify-content: space-evenly;
  align-items: center; /* 垂直置中 */
}
#reload-img {
  color: #168756 !important;
}
#reqForm #queryForm .msg {
  color: #ff6473;
  font-size: 15px;
  font-weight: 600;
  margin-right: 1.4rem;
}
#reqForm #queryForm .submit_btn {
  background-color: #168756;
  color: white;
  border: none; /* 取消預設的邊框 */
  border-radius: 10px; /* 圓角按鈕 */
  padding: 11px 18px; /* 調整內邊距 */
  font-size: 16px; /* 調整字型大小 */
  cursor: pointer;
  transition: background-color 0.3s; /* 增加滑鼠效果 */
  display: flex;
  align-items: center;
  width: max-content;
}
#reqForm #queryForm .submit_btn:hover {
  background-color: #126c45;
}
.ad_block img {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin-left: 20px;
  transition: 0.3s ease;
}
.ad_block img:hover {
  scale: 1.02;
}
.mainContent_title_c .content .object {
  margin-top: 5px;
  width: 860px;
  font-size: 18px;
}
.mainContent_title_c .content .object .item {
  float: left;
}
.mainContent_title_c .content .object .value {
  float: left;
  max-height: 83px;
}
.mainContent_title_c .content span.more {
  color: #06c;
  cursor: pointer;
}
.mainContent_title_c .content span.more:hover {
  color: #00c;
}
.mainContent_title {
  width: 1130px;
  height: 267px;
  margin-right: auto;
  margin-left: auto;
  background-color: #fff;
  background-image: url(../images/advancedStudies/blocks/title_mainContent1.png);
}
.mainContent_title .left {
  width: 740px;
  height: 267px;
  float: left;
}
.mainContent_title .left .title {
  width: 740px;
  height: 267px;
  padding-right: 30px;
  padding-left: 30px;
  color: #fff;
  display: table-cell;
  vertical-align: middle;
}
.mainContent_title .title .title1 {
  font-size: 30px;
  font-weight: 600;
}
.mainContent_title .title .title2 {
  font-size: 22px;
}
.mainContent_title .right {
  width: 249px;
  height: 267px;
  float: left;
}
.mainContent_title .right .title {
  width: 249px;
  height: 267px;
  padding-right: 20px;
  padding-left: 20px;
  color: #090909;
  display: table-cell;
  vertical-align: middle;
  font-size: 20px;
  font-weight: 600;
}
.mainContent_title .right .title span.more {
  color: #06c;
  cursor: pointer;
}
.mainContent_title .right .title span.more:hover {
  color: #00c;
}
.mainContent_titleCourse {
  width: 1130px;
  height: 91px;
  margin-right: auto;
  margin-left: auto;
  background-image: url(../images/advancedStudies/blocks/title_mainContent2.jpg);
}
.mainContent_titleJobs {
  width: 1130px;
  height: 91px;
  margin-right: auto;
  margin-left: auto;
  background-image: url(../images/advancedStudies/blocks/title_mainContent3.jpg);
}
.mainContent_titleCourse .title,
.mainContent_titleJobs .title {
  width: 815px;
  height: 91px;
  padding-right: 30px;
  padding-left: 30px;
  color: #fff;
  display: table-cell;
  vertical-align: middle;
}
.mainContent_titleCourse .title .title1,
.mainContent_titleJobs .title .title1 {
  width: 815px;
  font-size: 28px;
  font-weight: 600;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.mainContent_titleCourse .title .title2,
.mainContent_titleJobs .title .title2 {
  width: 815px;
  font-size: 22px;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.title_image {
  width: 1130px;
  height: 424px;
  margin-right: auto;
  margin-left: auto;
  background-image: url(../images/trainingCourse/blocks/title_trainingCourse.png);
  background-repeat: no-repeat;
  background-position: left top;
}
.title_word {
  margin-top: 333px;
  padding-left: 8px;
  width: 67%;
  height: 81px;
  color: #fff;
  font-size: 22px;
  float: left;
}
.title_word .word {
  width: 100%;
  height: 81px;
  display: table-cell;
  vertical-align: middle;
}
.title_info {
  margin-top: 317px;
  width: 27%;
  height: 107px;
  text-align: right;
  color: #fff;
  font-size: 18px;
  float: right;
}
.title_info .word {
  width: 100%;
  height: 107px;
  display: table-cell;
  vertical-align: middle;
}
.title_info .word span {
  line-height: 26px;
}
.title_info .word span.more {
  color: #06c;
  cursor: pointer;
}
.title_info .word span.more:hover {
  color: #00c;
}
.blockArea01 {
  width: 50%;
  padding-left: 5px;
  font-size: 16px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
}
.blockArea01 div {
  line-height: 26px;
}
.blockArea01 span.more {
  color: #06c;
  cursor: pointer;
}
.blockArea01 span.more:hover {
  color: #00c;
}
.blockArea02 {
  width: 100%;
}
.blockArea02 .left {
  width: calc((100% - 110px) / 2);
  float: left;
}
.blockArea02 .center {
  width: 110px;
  text-align: center;
  font-size: 18px;
  letter-spacing: 1px;
  float: left;
}
.blockArea02 .right {
  width: calc((100% - 110px) / 2);
  float: left;
}
.blockArea02 hr {
  display: block;
  margin: 12px auto 0;
  border: 1px solid #0052a5;
}
.blockArea03 {
  width: 100%;
  font-size: 16px;
  padding-left: 5px;
}
.blockArea03 div {
  line-height: 26px;
}
.blockArea03 .title {
  width: 115px;
  float: left;
}
.blockArea03 .value {
  width: calc(100% - 115px);
  float: left;
}
#course_feeInfo {
  margin-left: 40px;
}

#itemBlock {
  background-image: url(../images/advancedStudies/blocks/board_blackboardBg.jpg);
  width: 1130px;
  height: 500px;
  border-radius: 10px;
}
#itemBlock .item {
  width: 220px;
  height: 220px;
  background-size: cover;
  float: left;
}
#itemBlock .item2 {
  width: 300px;
  height: 235px;
  background-size: cover;
  float: left;
}
#itemBlock .pay {
  background-image: url(../images/licence/block/board_pay.png);
  background-size: 86%;
  background-repeat: no-repeat;
  background-position: center;
  margin: 10px 20px 0 55px;
}
#itemBlock .unit {
  background-image: url(../images/licence/block/board_unit.png);
  background-size: 91%;
  background-repeat: no-repeat;
  background-position: center;
  margin: 10px 20px 0;
}
#itemBlock .expiry {
  background-image: url(../images/licence/block/board_expiry.png);
  background-size: 103%;
  background-repeat: no-repeat;
  background-position: center;
  margin: 10px 20px 0;
}
#itemBlock .exam_date {
  background-image: url(../images/licence/block/board_exam_date.png);
  background-size: 91%;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 20px 0 50px;
}
#itemBlock .exam_place {
  background-image: url(../images/licence/block/board_exam_place.png);
  background-size: 103%;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 20px 0 30px;
}
#itemBlock .capacity {
  background-image: url(../images/licence/block/board_capacity.png);
  background-size: 91%;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 0 0 10px;
}
#itemBlock .charge {
  background-image: url(../images/advancedStudies/blocks/board_charge.png);
  background-size: 95%;
  background-repeat: no-repeat;
  background-position: center;
  margin: 20px 20px 5px 55px;
}
#itemBlock .cdateA {
  background-image: url(../images/advancedStudies/blocks/board_cdateA.png);
  margin: 20px 20px 15px 20px;
}
#itemBlock .cperiod {
  background-image: url(../images/advancedStudies/blocks/board_cperiod.png);
  margin: 20px 20px 15px 20px;
}
#itemBlock .chour {
  background-image: url(../images/advancedStudies/blocks/board_chour.png);
  margin: 20px 20px 15px 20px;
}
#itemBlock .cate3 {
  background-image: url(../images/advancedStudies/blocks/board_cate3.png);
  margin: 0 20px 20px 55px;
}
#itemBlock .signup_time {
  background-image: url(../images/advancedStudies/blocks/board_signup_time.png);
  margin: 0 20px;
}
#itemBlock .addr {
  background-image: url(../images/advancedStudies/blocks/board_addr.png);
  margin: 0 10px;
}
#itemBlock .object {
  background-image: url(../images/advancedStudies/blocks/board_object.png);
  margin: 0 10px;
}
#itemBlock .item .title {
  width: 150px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 5px;
  text-align: center;
  border-bottom: 2px solid;
}
#itemBlock .item2 .title2 {
  width: 200px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  text-align: center;
  border-bottom: 2px solid;
}
#itemBlock .item .value,
#itemBlock .item2 .value {
  font-size: 18px;
}
#itemBlock .item .style01 {
  text-align: center;
}
#itemBlock .item .style02 {
  width: 150px;
  text-align: left;
  margin-left: 31px;
  line-height: 25px;
}
#itemBlock .item .style03 {
  width: 150px;
  text-align: left;
  margin-left: 51px;
  line-height: 25px;
}
#itemBlock .item .style04 {
  width: 165px;
  text-align: left;
  margin-left: 43px;
  line-height: 25px;
}
#itemBlock .item .style05 {
  width: 190px;
  text-align: left;
  margin-left: 38px;
  line-height: 25px;
}
#itemBlock .item2 .style06 {
  width: 215px;
  text-align: left;
  margin-left: 43px;
  line-height: 25px;
}
#itemBlock .item2 .style07 {
  width: 210px;
  text-align: left;
  margin-left: 55px;
  line-height: 25px;
}
#itemBlock .item2 .noData {
  width: 80px;
  margin-right: auto;
  margin-left: auto;
}
#itemBlock .item .value span.more,
#itemBlock .item2 .value span.more {
  color: #06c;
  cursor: pointer;
}
#itemBlock .item .value span.more:hover,
#itemBlock .item2 .value span.more:hover {
  color: #00c;
}
#itemBlock .item .map {
  width: 50px;
  margin: 10px auto 0 auto;
}
#contentBlock {
  width: 1130px;
  background-color: #fff;
}
#contentBlock .content {
  width: 990px;
  /*padding-top:60px;*/
  margin-right: auto;
  margin-left: auto;
}
#contentBlock .content .oNoName {
  width: 100%;
  text-align: center;
  font-size: 18px;
}
#contentBlock .content .oNoName a {
  color: #2196f3;
}
#contentBlock .content .oNoName a:hover {
  color: #0b82ff;
}
#contentBlock .content .blockLicence {
  margin-top: 20px;
  padding-left: 60px;
  font-size: 16px;
  line-height: 24px;
  color: #333;
}
#contentBlock .content .wideContent {
  width: 100%;
  padding-left: 5px;
  font-size: 16px;
  line-height: 22px;
}
#contentBlock .content .wideContent ul,
#contentBlock .content .wideContent ol {
  list-style-type: none;
}
#contentBlock .content .wideContent li {
  list-style: inherit;
}
#contentBlock .content .block .icon {
  width: 130px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 2px;
  background: #4d4d4d;
  border-radius: 5px;
  float: left;
}
#contentBlock .content .block .value {
  width: 800px;
  margin-left: 60px;
  font-size: 16px;
  line-height: 22px;
  float: left;
}
#contentBlock .content .block .value ul,
#contentBlock .content .block .value ol {
  list-style-type: none;
}
#contentBlock .content .block .value li {
  list-style: inherit;
}
#contentBlock .content .block .left {
  width: 40%;
  float: left;
}
#contentBlock .content .block .right {
  width: 60%;
  float: left;
}
#contentBlock .content .block .k {
  width: 100px;
  margin-bottom: 5px;
  text-align: right;
  float: left;
}
#contentBlock .content .block .v {
  width: calc(100% - 105px);
  margin-bottom: 6px;
  float: right;
}
#contentBlock .content .ps {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 20px;
  width: 100%;
  margin-bottom: 20px;
  background: rgba(229, 255, 181, 0.54);
}
#contentBlock .content .ps .title {
  font-size: 28px;
  font-weight: 600;
  color: #036eb8;
}
#contentBlock .content .ps .v {
  margin-top: 20px;
  font-size: 16px;
  line-height: 24px;
  color: #333;
}
/*認證機構推薦#eventsLimit多處共用*/
#eventsLimit {
  width: 100%;
  max-width: 1130px;
  margin-right: auto;
  margin-left: auto;
}
#eventsLimit .bar {
  width: 1130px;
  height: 40px;
  background: rgba(0, 135, 204, 1);
}
#eventsLimit .bar:hover {
  opacity: 0.8;
  cursor: pointer;
}
#eventsLimit .bar .title {
  width: 990px;
  height: 40px;
  color: #fff;
  font-size: 18px;
  letter-spacing: 5px;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
}
#eventsLimit .board {
  width: 100%;
  display: flex;
  justify-content: center;
}
#eventsLimit .board .block {
  width: 328px;
  /* height: 200px; */
  float: left;
  margin-top: 20px;
}
#eventsLimit .board .block .pic {
  width: 185px;
  height: 70px;
  margin: 0 auto 20px;
}
#eventsLimit .board .block .title {
  text-align: center;
  font-size: 16px;
  padding-left: 0;
  margin-bottom: 10px;
}
#eventsLimit .board .block .title a {
  color: #0a65c2;
}
#eventsLimit .board .block .title a:hover {
  color: #00a693;
}
#eventsLimit .board .block ul {
  padding: 0;
}
#eventsLimit .board .block li {
  font-size: 15px;
  padding-left: 15px;
  height: 25px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#eventsLimit .board .block li a {
  color: rgba(51, 53, 52, 1);
}
#eventsLimit .board .block li a:hover {
  color: #00a693;
}
#ad_banner450x2 {
  max-width: 1130px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  background-color: #eaeaea;
  display: flex;
  flex-direction: row;
  gap: 15px;
  padding: 8px 16px;
}
#ad_banner450x2 .block {
  width: 50%;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
}
#ad_banner450x2 .block a {
  display: inline-block;
}
#ad_banner450x2 .block img {
  width: 100%;
  height: auto;
  transition: 0.3s ease;
}
#ad_banner450x2 .block img:hover {
  scale: 1.02;
}
@media (max-width: 1024px) {
  .content_container {
    gap: 3rem;
  }
  .icon-wrapper span {
    line-height: 1.2;
  }
  .naviBar {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
@media (max-width: 890px) {
  .content_container {
    gap: 0;
  }
  .courseContainer .tabBar_section {
    top: 49px; /* height of fixed header*/
  }

  .mainContent_title_c .content .title h2 {
    font-size: 32px;
    line-height: 1.2;
  }
  .about-main .main_right_side {
    top: 100px;
  }
  #queryForm ul:nth-child(10) li:nth-child(2) p {
    margin: 0 10px 0 0 !important;
  }
}
@media (max-width: 874px) {
  .about-main .main_right_side {
    flex: 4;
  }
  .about-main .main_left_side .content .block {
    padding-left: 15px;
  }
  .mainContent_title_c .content_side {
    margin-left: 30px;
  }
  .main_right_side .similar_container {
    padding: 16px;
  }
  .checkbox-sex {
    margin-left: 5rem;
  }
  #reqForm #queryForm ul li {
    grid-column: span 2;
  }
}
@media (max-width: 783px) {
  .content-table tr {
    font-size: 16px;
  }
  #reqForm #queryForm ul .form-top4Checkbox-container {
    display: grid;
    grid-template-columns: 1fr auto auto 1fr;
    grid-template-rows: 1fr 1fr;
    column-gap: 10px;
    align-items: center;
  }
  #reqForm #queryForm .checkboxradio--1 {
    grid-column: 2;
  }
  #reqForm #queryForm .checkboxradio--2 {
    grid-column: 3;
  }
  #reqForm #queryForm .checkboxradio-sex-1,
  #reqForm #queryForm .checkboxradio-sex-2 {
    width: 100%;
  }
  .checkbox-sex label:nth-child(2) {
    grid-column: span 2;
    justify-self: end;
  }
  .checkbox-sex label:nth-child(4) {
    grid-column: span 2;
    justify-self: start;
  }
  .checkbox-sex {
    width: 100%;
    margin-left: 0;
    grid-column: 2 / 4;
    align-self: center;
    justify-self: center;
    display: flex;
    gap: 10px;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .naviBar {
    display: none;
  }
  .mainContent_title_c .content table {
    font-size: 18px;
  }
  .mainContent_title_c .content_side {
    margin-left: 0;
    flex: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .button_side .btn_white_frame {
    padding: 5px 18px;
  }
  .content_side .upload {
    width: 100%;
    height: auto;
  }
  .courseContainer .tabBar {
    top: 49px;
  }
  .about-main .main_left_side {
    flex: 2;
  }
  .content .text_block .value {
    font-size: 16px;
  }
  .about-main .main_right_side {
    flex: 1;
    padding: 0 15px 20px;
    top: 88px;
  }
  .main_right_side .similar_container {
    padding: 15px;
  }
  .main_right_side .similar_course .class_title {
    line-height: 1.2;
  }
  .ad_block img {
    width: 100%;
    margin-left: 0;
  }
  #reqForm {
    padding: 24px;
  }
  #reqForm #queryForm .form-column-container {
    padding-left: 8%;
  }
  #reqForm .form-container-left {
    flex: 2;
  }
  #reqForm .adBlock280x200-container-right {
    flex: 1;
  }
  #reqForm ul:nth-child(2) li:nth-child(5) {
    display: flex;
  }
  #reqForm .checkboxradio {
    padding: 8px 14px;
  }
  #reqForm .checkboxradio2 {
    width: 80%;
    flex-wrap: wrap;
    line-height: 1.2;
    display: flow;
  }
  #reqForm #queryForm input[type="text"],
  #reqForm #queryForm input[type="email"] {
    width: 70%;
  }
  #reload-img {
    width: auto !important;
    flex: 0 0 40px;
  }
  #txt_verify {
    width: 200px !important;
  }
  #reqForm #queryForm .msg {
    line-height: 1.2;
    text-align: center;
  }
  #reqForm #queryForm .submit_btn {
    width: max-content;
    padding: 8px 16px;
  }
  #reqForm #queryForm .end_section {
    flex-direction: column;
    gap: 10px;
  }
  #eventsLimit .board {
    width: 100%;
    overflow-x: scroll;
  }
}

@media (max-width: 720px) {
  .about-main .main_left_side {
    flex: 3;
  }
  .about-main .main_right_side {
    flex: 2;
  }
  .mainContent_title_c .content {
    grid-template-rows: repeat(3, auto);
  }
  .mainContent_title_c .content .title h2 {
    font-size: 28px;
  }
  .about-main .main_left_side .content .block {
    grid-template-columns: 1fr;
  }
  .about-main .main_left_side .content .block .course_block {
    padding: 14px 20px;
  }
  .about-main .main_left_side .content .block .course_block svg {
    width: 32px;
    height: 32px;
  }
  #reqForm #queryForm ul:nth-child(10) {
    padding-left: 5%;
  }
  #reqForm #queryForm li:nth-child(5) {
    flex-wrap: wrap;
    gap: 10px;
  }
  #reqForm #queryForm #txt_verify {
    flex: 1;
    margin-left: 0px !important;
  }
  #queryForm ul:nth-child(10) li:nth-child(5) div:first-child {
    display: contents;
  }
  #eventsLimit .board {
    justify-content: start;
    padding: 0 2rem;
  }
  #eventsLimit .board .block ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  #eventsLimit .board .block li {
    height: auto;
  }
}
@media (max-width: 673px) {
  #reqForm #queryForm #txt_verify {
    width: 70% !important;
  }
}

@media (max-width: 540px) {
  .content-table tr {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-bottom: 14px;
  }
  .td-title {
    font-size: 12px;
  }
  .mainContent_title_c .content .oNo {
    font-size: 21px;
  }
  .mainContent_title_c .content .title h2 {
    font-size: 28px;
  }
  .signUp {
    font-size: 16px;
  }
  .courseContainer .tabBar {
    overflow-x: scroll;
  }
  .courseContainer .tabBar .pp-tab {
    text-wrap: nowrap;
  }
  .courseContainer .about-main {
    flex-direction: column;
  }
  .about-main .main_left_side .content .block {
    grid-template-columns: 1fr 1fr;
  }
  /* aside area */
  .about-main .main_right_side {
    overflow-y: unset;
    max-height: max-content;
    z-index: unset;
  }
  .main_right_side .similar_course .type {
    margin: 0 auto;
  }
  .main_right_side .similar_course {
    text-align: center;
  }
  #reqForm #queryForm input[type="text"],
  #reqForm #queryForm input[type="email"] {
    width: 100%;
  }
  #reqForm #queryForm #txt_verify {
    width: 100% !important;
  }
  #reqForm #queryForm ul:nth-child(10) {
    padding-left: 0;
  }
  .fixed--in--down {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 98;
    padding: 10px 0;
    background-color: #fff;
    text-align: center;
    font-size: 14px;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin: 0;
  }
  /* .fixed--in--down::before {
    content: "我對本課程有興趣";
    color: #0a65c2;
    text-align: center;
    display: inline-block;
    margin: 8px 0;
  } */
  #reqForm {
    display: flex;
    flex-direction: column-reverse;
    gap: 18px;
  }
  #reqForm .form-container-left {
    width: 90%;
    margin: 0 auto;
  }
  #reqForm .adBlock280x200-container-right {
    width: 100%;
    flex-direction: row;
    gap: 14px;
  }

  .ad_block img {
    margin-top: 0 !important;
  }
  /* AD banner */
  #ad_banner450x2 {
    flex-direction: column;
  }
  #ad_banner450x2 .block {
    width: 100%;
    padding: 0;
  }
  .margin_top30 {
    margin-top: 0;
  }
}

@media (max-width: 430px) {
  .courseContainer .tabBar_section {
    z-index: 2;
  }
  /* Hide scrollbar for Chrome, Safari and Opera */
  .courseContainer .tabBar::-webkit-scrollbar {
    display: none;
  }
  .courseContainer .tabBar {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }
  .arrow {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    user-select: none;
    transition: opacity 0.3s;
  }
  .arrow.hidden {
    display: none;
  }
  .arrow.left {
    left: 0;
    transform: translateY(70%);
  }
  .arrow.right {
    right: 0;
    transform: translateY(70%);
  }
  .content_container {
    flex-direction: column-reverse;
    padding: 0;
  }
  .mainContent_title_c .content {
    width: 95%;
    margin: 0 auto;
    padding: 14px 20px;
    row-gap: 8px;
  }
  .fee {
    gap: 8px;
  }
  .mainContent_title_c .content_side {
    flex-direction: column-reverse;
  }
  .mainContent_title_c {
    padding: 0;
  }
  .content_side .upload {
    max-width: 100%;
    border: none;
  }
  .mainContent_title_c .content .oNo {
    height: auto;
  }
  .mainContent_title_c .content .oNo a {
    font-size: 15px;
  }
  .mainContent_title_c .content .title {
    height: auto;
  }
  .mainContent_title_c .content .title h2 {
    font-size: 21px;
    text-align: justify;
    margin: 5px 0 10px 0;
    height: auto;
  }
  .content table {
    margin-top: 0 !important;
  }
  .mainContent_title_c .content table {
    font-size: 13px;
    line-height: 21px;
  }
  .content-table tr {
    grid-template-columns: auto 1fr;
    row-gap: 3px;
    margin-bottom: 0;
  }
  .td-title {
    font-size: 16px;
  }
  .icon-wrapper svg {
    width: 15px;
    height: 17px;
  }
  .icon-wrapper {
    margin-top: 0;
  }
  .button_side {
    justify-content: start;
    gap: 10px;
  }
  .btn_white_frame svg {
    width: 19px;
    height: 19px;
  }
  .btn_white_frame span {
    font-size: 14px;
  }
  .button_side .btn_white_frame {
    padding: 5px 12px;
  }
  /* course detail */

  .about-main .main_left_side .content h3 {
    font-size: 16px;
  }
  .about-main .main_left_side .content .block {
    grid-template-columns: 1fr 1fr;
    padding: 0 12px;
  }
  .about-main .main_left_side .content .block .course_block {
    padding: 10px;
  }
  .about-main
    .main_left_side
    .content
    .block
    .course_block
    .info_value
    p:first-child {
    font-size: 12px;
  }
  .about-main .main_left_side .content .block .course_block .info_value p {
    font-size: 14px;
  }
  .ad_block {
    text-align: center;
  }
  .main_right_side .ad_block img {
    width: 80%;
    max-width: 100%;
  }
  /* form */
  #req {
    display: none;
  }
  #eventsLimit {
    display: none !important;
  }
  #reqForm {
    padding: 0;
    gap: 0;
  }
  #reqForm #queryForm {
    display: none !important;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 95%;
    z-index: 1000;
    border-radius: 10px;
    transform: translate(-50%, -50%);
    padding: 32px 24px 16px;
  }
  #queryForm::before {
    content: "與我諮詢 / 報名";
    display: block;
    text-align: center;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
  }

  .btn-close-form {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(-100%, 50%);
    color: #b4b4b4;
    font-size: 16px;
    font-weight: 400;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
  }
  #ad_banner450x2 {
    margin-top: 0;
  }
}
