body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: 16px;
  color:#333;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  margin: 0; 
  padding: 0;
}

a,
a:visited {
  color: inherit; 
  text-decoration: none; 
  -webkit-tap-highlight-color: transparent rgba(0, 0, 0, 0);
}

.wrapper {
  width: 100%;
  max-width: 100%;
  height: 1%;
  overflow: hidden;
}

/* 手機版內容左右paddding */
.main-wrapper {
  padding-left: 16px;
  padding-right:16px;
}   

/* 手機版內容左右paddding */
.main-wrapper-video {
  padding-left: 0px;
  padding-right: 0px;
}    

.main-container {
  width: 100%;
}

/* 手機版主要內容*/
.main-content {
  width: 100%;
}

/* 手機版主要內容頁*/
.main-content-page {
  padding-top: 12px;
  padding-bottom: 30px;
}

/* 手機版主要內容頁*/
.main-content-page-video {
  padding-left: 3px;
  padding-right: 3px;
  padding-top: 18px;
  padding-bottom: 30px;
}

.main-content-page-text {
  padding-left: 10px;
  padding-right: 10px;
}

/* 電腦版右邊導覽隱藏*/
.main-sidebar {
  display: none;
}

/* 電腦右邊導覽內容頁隱藏 */
.main-sidebar-page {
  display: none;
}

/*pc的header*/
.pc-logoheader {
  height: 60px;
  background-color: #2366AD;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.pc-logoheader.scrolled {
  /*最後的 0.9 是透明度（數字越小越透明） */
  background-color: rgba(35, 102, 173, 0.9); /* 半透明的藍色 */ 
}

.logo-link {
  display: block;
  height: 60px;
  margin-left: 15%;
  margin-right: 15%;
  background-image: url("/images/pc-gina-logo-member.png");
  background-repeat: no-repeat;
  background-size: 164px 60px;
  background-position: left center;
  
}

.linkbox {
    float:right;
    height: 60px;
    text-align: right;
}

.logolink {
    color: #f1f9fd;
    transition-duration: 0.2s;
    font-weight: bold;
    margin-left: 6px;
    font-size: 19px;
    line-height: 60px;
    position: relative;
    top: 2px;
}

.logolink:hover {
    color: #fccd97; 
}

.loginlink {
    padding: 4px 14px;
    border-radius: 30px;
    color: #413a3a;
    transition-duration: 0.2s;
    background-color: #faf7df;
    font-size: 19px;
    font-weight: bold; 
    border: solid 2px #d3eefa;
    margin-left: 13px;
}

.loginlink:hover {
    color: #fa5f5f; 
    background-color: #ffffff; 
}

.homelink {
    height: 60px;
    width: 164px;
    float: left;
}

/* 手機 header 下面的選單 */
.course-nav-bar-menu-wrapper {
  width: 100%;
  padding-bottom: 8px;
  background-color: #ffffff;
  position: relative;
  top: 0px;
}

.course-nav-bar-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 9px 12px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

/* 讓右邊的小盒子也變成 flex，並設定按鈕之間的距離 */
.course-nav-right-box {
    display: flex;
    gap: 8px; /* 這裡可以調整註冊和會員中心之間的距離 */
}

/* 左邊純文字 */
.course-nav-bar-menu-text {
  font-size: 1.2rem;
}

/* 右邊按鈕樣式 */
.course-nav-bar-menu-link {
  background-color: #ffffff;
  border: 2px solid #d3b48d;
  border-radius: 24px;
  padding: 4px 10px;
  color: #616870;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
}

.nav-bar-link {
  position: relative;
  top: -1px;
}

.course-nav-bar-menu-link:hover {
  background-color: #fff;
  border: 2px solid #e0a45a;
}

.course-nav-bar-menu-link:visited {
  color: #616870;
}


.footer-share {
  background-color: #7c7b7b;
  color: #ffffff;
  text-align: center;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 1.1rem;
}

.mbonly {
  display: block;
}

.pconly {
  display: none;
}

.pconly-icon {
  display: none;
  display: inline;
  white-space: nowrap;
}

/*首頁的選單*/
.themenu {
    height: 1%;
    overflow: hidden;
    border-radius: 2px;
    margin-bottom: 18px;
    padding-bottom: 9px;
    padding-top: 9px;
    padding-left: 6px;
    padding-right: 6px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
    margin-left: 2px;
    margin-right: 2px;
    clear: both;
}

.themenu {
  -webkit-tap-highlight-color: rgba(0,0,0,0); /* Safari */
}

.themenu * {
  -webkit-user-select: none;
  user-select: none;
}

.themenu:hover {
    background-color: #FFF9DD;
}

.menu-box:after {
    content: "";
    display: table;
    clear: both;
    width: 100%;
  }

.menu-icon {
    float: left;
    width: 45%;
    margin-right: 3%;
}

.menu-text {
    float: left;
    width: 52%;
}

.menuchi {
    font-size: 1.1em;
    font-weight: bold;
    height: 1%;
    overflow: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
    padding-bottom: 6px;
    color: rgb(53, 88, 139);
}

.menupa {
    font-size: 1.2rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    color: #505050;
    line-height: 26px; 
}

.menutitle {
    font-size: 1.45rem;
    font-weight: bold;
    height: 1%;
    overflow: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
    padding-bottom: 9px;
    color: #2b6db3;
}

/*回到頁首*/
.backtop {
    height: 1%;
    overflow: hidden;
}

.backtext {
    font-size: 1.45rem;
    padding: 8px;
    background-color: #a3ade4; 
    border-radius: 4px;
    color: #fff;
    float: right;
    padding-right: 6px;
    cursor: pointer;
}

.backtext:hover {
    background-color: #8698fc; 
}

.invoice-no-purchase {
 font-size: 1.5rem; 
 color: #D04009;
 font-weight:bold;
 width:300px;
 display:inline-block;
 padding-top:12px;
 padding-bottom:24px;
}

.invoice {
  min-height: 500px; /* 或用 60vh 看起來比較穩 */
}


/*段落排版位置*/

p {
  font-size: 1.45rem;
  line-height: 40px;
  padding-bottom: 24px;
}

.index-title {
  font-size: 2rem;
  font-weight: bold;
  color:#262d58;
  padding-bottom: 12px;
}

.lesson-main-title {
  font-size: 1.8rem;
  font-weight: bold;
  color:#262d58;
  padding-bottom: 12px;
}

.lesson-intro-small {
  font-size: 1.3rem;
  line-height: 33px;
  padding-bottom: 12px;
}

.lesson-intro-normal {
  font-size: 1.4rem;
  line-height: 33px;
  padding-bottom: 12px;
}

.pa-title {
    color:#434f9f;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 40px;
    padding-bottom: 12px;
}

.pa-sub-title {
    color:#252d63;
    font-size: 1.65rem;
    padding-bottom: 18px;
    padding-top: 12px;
    font-weight: bold;
    line-height: 38px;
}

.pa-sub-title-second {
  color:#2d335b;
    font-size: 1.5rem;
    padding-bottom: 12px;
    padding-top: 12px;
    font-weight: bold;
    line-height: 38px;
}

/* 漢堡選單標題 */
.ham-menu-title {
  font-size: 1.45rem;
  font-weight: bold;
  padding-bottom: 12px;
  color:#2e3768;
}

.text-link {
  display: inline-block;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  cursor: pointer;
}

.text-link:hover {
  color: #007BFF;
  text-decoration: underline;
  
}

.awesome-icon-blue {
  color:#4d5db4;
  display: inline;
  white-space: nowrap;
}

.awesome-icon-red {
  color:#f18c27;
  display: inline;
  white-space: nowrap;
}

.icon-font-blue {
   color:#1d89cc;
  display: inline;
  white-space: nowrap;
}

.quote-gray {
    padding-left: 12px;
    border-left: 3px solid #ccc;
    padding-bottom: 0px;
    margin-bottom: 24px;
}

.highlight {
    color: #000057;
}

.icon-yellow {
    color: #fde402;
}

.icon-blue {
    color: #2648a7;
    font-size: 1.1em;
    text-align: center;
}

.icon-green {
    color: #11A70A;
}

.icon-red {
    color: #b64012;
}


mark {
    background-color:#fff88f;
}

.padbt-zero {
  padding-bottom: 0px;
}

.padbt6 {
    padding-bottom: 6px;
}

.padbt12 {
    padding-bottom: 12px;
}

.padbt18 {
    padding-bottom: 18px;
}

.padbt24 {
    padding-bottom: 24px;
}

.padbt30 {
    padding-bottom: 30px;
}

.padbt100 {
    padding-bottom: 100px;
}

.padbt200 {
    padding-bottom: 200px;
}

.padbt300 {
    padding-bottom: 300px;
}

.padbt400 {
    padding-bottom: 400px;
}

.padbt500 {
    padding-bottom: 500px;
}

.padbt860 {
    padding-bottom: 860px;
}
