
body,p,span,a,h1,h2,h3,h4{
	font-family: "微軟正黑體",Arial;
}
body {
    position: relative;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}
.main-container{
    flex: 1;
    position: relative;
}
p,span,a{
	font-size: 15px;
	text-decoration: none;
	transition: all 0.2s linear 0s;
}
/* ---------- 自訂樣式- --------- */
.clearfix{ clear: both;}
.content-wrap{
	white-space: pre-wrap;
	word-break: break-all;
}
.opacity-9{ opacity: 90%;}
.opacity-75{ opacity: 75%;}
.opacity-5{ opacity: 50%;}
.ls-1{ letter-spacing: 1px; text-indent: -1px;}
.ls-2{ letter-spacing: 2px; text-indent: -2px;}

.fs-24px{ font-size: 24px;}
.fs-20px{ font-size: 20px;}
.fs-18px{ font-size: 18px;}
.fs-17px{ font-size: 17px;}
.fs-16px{ font-size: 16px;}
.fs-15px{ font-size: 15px;}
.fs-14px{ font-size: 14px;}
.fs-13px{ font-size: 13px;}

.text-justify{ text-align: justify;}
.text-main{ color: #7AD7CE;}
.text-gray{ color: #4d4d4d;}
.text-lightgray{ color: #7d7d7d;}
.text-hyacinth{ color: #277BC0;}
.text-darkblue{ color: #1746A2;}
.text-orange{ color: #FF731D;}

.bg-main{ background-color: #7AD7CE;}
.bg-lightgray{ background-color: #f3f3f3;}
.bg-darkblue{ background-color: #1746A2;}
.btn-orange{
	background-color: #FF731D;
	color: #ffffff;
	transition: all 0.2s linear 0s;
}
.btn-orange:hover{
	background-color: #E14D2A;
	color: #ffffff;
}
button,
.btn:focus,
.btn:active,
.btn:focus,
.navbar-toggler:focus,
a:focus,
.btn-close:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.accordion-button:focus,
.page-link:focus{
	outline: none;
	box-shadow: none;
}
.form-control,
.form-select,
.form-check-input[type=checkbox]{
	border-radius: 0px;
}
@media screen and (max-width:575.9px){
	.sm-fs-18px{ font-size: 18px;}
	.sm-fs-17px{ font-size: 17px;}
	.sm-fs-16px{ font-size: 16px;}
	.sm-fs-15px{ font-size: 15px;}
	.sm-fs-14px{ font-size: 14px;}
	.sm-fs-13px{ font-size: 13px;}
	.form-control,
	.form-select{ font-size: 15px;}
}


/* ---------- Header & Footer ---------- */
.logobar{
	box-shadow: 0px 2px 2px rgba(0,0,0,0.1);
}
.logobar h1{
	text-shadow: 1px 1px 2px #333;
	letter-spacing: 2px;
	text-indent: -2px;
}
.btn-login{
	flex: 0 0 80px;
}
.booklist{ background-color: #121212;}
.main-container{ margin: 90px 0px 20px 0px;}
.main-container.bookcontent{ margin: 110px 0px 20px 0px;}
.logobar .link-learn{ color: #0A3667;}
.logobar .link-learn:hover{ color: #144272;}
.logobar .cart-quantity{
	position: absolute;
	top: -6px;
	left: -4px;
	color: #ffffff;
	font-size: 11px;
	width: 20px;
	height: 20px;
	line-height: 20px;
	border-radius: 50%;
	text-align: center;
	background-color: rgba(238,100,87,0.85);
}
.logobar .dropdown-menu{ position: relative;}
.logobar .dropdown-menu:after{
	position: absolute;
	content: "";
	top: -9px;
	right: 4px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 10px 10px 10px;
	border-color: transparent transparent #ffffff transparent;
	-webkit-filter: drop-shadow(0px -1px 0px rgba(0,0,0,.15));
    filter: drop-shadow(0px -1px 0px rgba(0,0,0,.15));
}
.logobar .dropdown-toggle::after{ display: none;}
.logobar .dropdown-item{
	font-size: 17px;
	text-align: center;
	letter-spacing: 2px;
	text-indent: 2px;
	padding: 8px 8px;
}
.logobar .dropdown-item:hover{ background-color: transparent;}
.link-logobar{ color: rgba(0, 0, 0, 0.65);}
.link-logobar:hover{ color: #FF731D;}
.footer-bar img{ max-height: 65px;}
.footer-bar .menu-title{
	color: #ffffff;
	font-size: 22px;
	font-weight: bold;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.25);
	letter-spacing: 4px;
	text-indent: 4px;
}
.footer-bar a img{ transition: all 0.2s linear 0s;}
.footer-bar a:hover img{
	transform: translateY(-2px);
}
@media screen and (max-width:757.9px){
	.main-container{ margin: 68px 0px 120px 0px;}
	.main-container.bookcontent{ margin: 100px 0px 120px 0px;}
}
@media screen and (max-width:575.9px){
	.logobar h1{ font-size: 6vw;}
	.footer-bar .menu-title{ font-size: 17px;}
	.btn-login{ flex: 0 0 40px;}
}
@media screen and (max-width:359.9px){
	.main-container{ margin: 90px 0px 120px 0px;}
	.main-container.bookcontent{ margin: 110px 0px 120px 0px;}
	.logobar h1{ font-size: 24px;}
	.footer-bar .menu-title{ font-size: 15px;}
}
/* ---------- 我的課程整體 ---------- */
.bookcontent .nav-tabs .nav-link{
	border-width: 0px 0px 2px;
	border-radius: 0px;
	border-color: transparent transparent #dee2e6;
	font-weight: bold;
	color: #495057;
	opacity: 0.5;
	padding: 12px 0px;
	margin-right: 20px;
	margin-bottom: -2px;
	font-size: 20px;
}
.bookcontent .nav-tabs .nav-item:last-child .nav-link{
	margin-right: 0px;
}
.bookcontent .nav-tabs .nav-link.active{
	opacity: 1;
	border-color: transparent transparent #277BC0;
}
.bookcontent .nav-tabs{
	border-bottom: 2px solid #dee2e6;
}
.last-view-tag{
  position: absolute;
  top: 8px;
  left: 12px;
}
/* 書籍清單 */
.book-card{
	border: 1px solid #dadada;
	border-radius: 4px;
	box-shadow: 0px 0px 2px rgba(0,0,0,0.2);
	transition: all 0.2s linear 0s;
}
.book-card:hover{
	box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
}
.book-card .bookcover{
	width: 100%;
	max-height: 180px;
	object-fit: contain;
    object-position: center;
}
.book-card .bookinfo .bookname{
	color: #4d4d4d;
	transition: all 0.2s linear 0s;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.book-card:hover .bookinfo .bookname{
	color: #277BC0;
}
@media screen and (max-width:575.9px){
	.book-card .bookcover{
		max-height: 320px;
	}
	.bookcontent .nav-tabs .nav-item{
		width: 50%;
	}
	.bookcontent .nav-tabs .nav-link{
		font-size: 18px;
		margin-right: 0px;
		width: 100%;
		padding: 8px 0px;
	}
}
/* 課程清單 */
.course-card{
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	background-color: #ffffff;
	border: 1px solid #dadada;
	border-radius: 4px;
	box-shadow: 0px 0px 2px rgba(0,0,0,0.2);
	transition: all 0.2s linear 0s;
}
.course-card:hover{
	box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
}
.course-card .bg-image{
	height: 280px;
	position: relative;
}
.course-card .bg-image img{
	object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}
.course-card .bg-image .card-tag{
	font-size: 15px;
	padding: 2px 12px;
	background-color: #D30000;
	color: #ffffff;
	position: absolute;
	bottom: 12px;
	left: 12px;
	letter-spacing: 2px;
	box-shadow: 1px 1px 0px rgba(0,0,0,0.15);
}
.course-card .card-title{
	font-weight: bold;
	line-height: 1.5;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	transition: all 0.2s linear 0s;
}
a.course-card:hover .card-title{
	color: #CC3636;
}
.course-card .card-info{
	white-space: pre-wrap;
    word-break: break-all;
	text-align: justify;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
}
.course-card .card-info p,
.course-card .card-info span{
	font-size: 15px;
}
.course-card .card-info p{ margin-bottom: 12px;}
.course-card .card-info p:last-child{ margin-bottom: 0px;}
.mycourse .course-card .card-teacher{
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}
.divider{
	position: relative;
	border-bottom: 1px solid #f0f0f0;
	margin-bottom: 12px;
	margin-top: 12px;
}
.divider:before,
.divider:after{
	position: absolute;
	content: '';
	width: 8px;
	height: 8px;
	left: 0px;
	top: 50%;
	border: 1px solid;
	margin-top: -3px;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	background-color: #E14D2A;
	border-color: #E14D2A;
}
.divider:after{
	margin-left: 12px;
	background-color: #2ca5b9;
	border-color: #2ca5b9;
}
/* 課程介紹頁面 */
.profile-tag{
	background-color: #D30000;
	color: #ffffff;
	font-size: 14px;
	padding: 2px 8px;
	flex: 0 0 90px;
	text-align: center;
}
.profile-title {
	position: relative;
	padding: 0 40px;
	margin: 36px auto;
	text-align: center;
	width: 320px;
}
.profile-title:before, .profile-title:after {
	content: '';
	position: absolute;
	top: 50%;
	display: inline-block;
	width: 90px;
	height: 1px;
	background-color: black;
}
.profile-title:before{ left:0;}
.profile-title:after{ right: 0;}
@media screen and (max-width:575.9px){
	.profile-title {
		width: 100%;
	}
	.profile-title:before, .profile-title:after {
		width: 30%;
	}
}
/* 課程章節 */
.chapter-items .chapter-title{
	padding: 8px 16px;
	background-color: #B9E9FC;
	font-weight: bold;
	font-size: 17px;
	text-align: center;
	border-left: 6px solid #1746A2;
}
.chapter-units .units-item{
	position: relative;
	overflow: hidden;
	padding: 8px 16px;
	font-size: 15px;
	color: #555555;
	display: flex;
	justify-content: space-between;
	align-items:center;
	border: 1px solid #dddddd;
	border-width: 0px 1px 1px;
}
.chapter-units .units-item .item-unit{
	flex: 0 0 44px;
	font-weight: bold;
	font-family: Arial,Verdana,sans-serif;
	color: #777777;
	align-self: start;
}
.chapter-units .units-item .item-title{
	flex-grow: 1;
	overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    word-break: break-all;
}
.chapter-units .units-item .item-type{
	flex: 0 0 100px;
	padding-left: 0px;
}
.chapter-units .units-item .item-type .link-unitType{
	text-decoration: underline;
	font-size: 14px;
}
.chapter-point{
	position: relative;
    background: rgba(219,223,234,0.5);
    color: #777777;
    border-radius: 8px;
}
.chapter-point:after {
    position: absolute;
    content: '';
    top: 100%;
    left: 30px;
    border: 12px solid transparent;
    border-top: 12px solid rgba(219,223,234,0.5);
    width: 0;
    height: 0;
}
.chapter-children{
	line-height: 1.6;
	font-size: 15px;
	color: #4d4d4d;
}
.chapter-children li{ margin-bottom: 4px;}
.chapter-items .chapter-units .last-viewed-badge {
  color: #EEE;
  display: block;
  font-size: 10px;
  position: absolute;
  left: 100%;
  top: 0;
  width: 40px;
  letter-spacing: 1.2;
  z-index: 0;
}
.chapter-items .chapter-units .last-viewed-badge:before {
  opacity: 0.3;
  background-color: #FF4500;
  content: attr(data-ribbon-text);
  display: block;
  font-weight: 500;
  height: 48px;
  line-height: 72px;
  position: absolute;
  right: -12px;
  text-align: left;
  padding-left: 36px;
  text-transform: uppercase;
  top: -16px;
  transform: rotate(30deg);
  vertical-align: bottom;
  width: 120px;
}
/* 選擇上課日期 */
.time-radio{
	padding-left: 0px;
	margin-right: 8px;
	margin-bottom: 12px;
}
.page-item.page-date .page-link{
	padding: 0px;
	width: 32px;
	height: 32px;
	line-height: 32px;
	text-align: center;
}
.page-item.page-date.disabled .page-link {
    color: #cccccc;
}
/*選擇日期*/
input[name="dateList"]{ display: none;}
input[name="dateList"] + label.form-check-label {
	background-color: #efefef;
	border-radius: 40px;
	padding: 4px 10px;
	cursor: pointer;
	font-size: 13px;
	word-break: break-all;
	transition: all 0.2s linear 0s;
}
input[name="dateList"] + label.form-check-label:hover,
input[name="dateList"]:checked + label.form-check-label {
	background-color: #0d6efd;
	color: #ffffff;
}
/*選擇時段*/
input[name="timeList"]{ display: none;}
input[name="timeList"] + label.radio-time-items {
	display: block;
	position: relative;
	border: 3px solid #eaeaea;
	cursor: pointer;
	border-radius: 8px;
	transition: all 0.2s linear 0s;
}
input[name="timeList"] + label.radio-time-items:hover,
input[name="timeList"]:checked + label.radio-time-items {
	border-color: #000000;
}
input[name="timeList"] + label.radio-time-items .radio-time-value{
	border-bottom: 2px solid #eaeaea;
	margin-bottom: 12px;
	padding-bottom: 12px;
}
input[name="timeList"] + label.radio-time-items .radio-time-checked{
	position: absolute;
	bottom: 12px;
	right: 12px;
	color: #00BE00;
	font-size: 28px;
	display: none;
}
input[name="timeList"]:checked + label.radio-time-items .radio-time-checked{
	display: block;
}
/* 我的課程課程介紹按鈕 */
@media screen and (max-width:1399.9px){
	.course-card .bg-image{ height: 240px;}
}
@media screen and (max-width:1199.9px){
	.course-card .bg-image{ height: 200px;}
}
@media screen and (max-width:991.9px){
	.course-card .bg-image{ height: 260px;}
	.chapter-items .chapter-title{ padding: 8px 12px;}
    .chapter-units .units-item{ padding: 8px 12px;}
}
@media screen and (max-width:767.9px){
	.course-card .bg-image{ height: 188px;}
}
@media screen and (max-width:575.9px){
	.course-card .bg-image{ height: auto;}
	.course-card .card-info p,
	.course-card .card-info span{
		font-size: 14px;
	}
	.chapter-items .chapter-title{ font-size: 15px;}
    .chapter-units .units-item{ font-size: 14px;}
}

/* ---------- 商城樣式 ---------- */
.shop-slider{
	background-color: #F5EFE6;
}
.carousel-control-next,
.carousel-control-prev {
    width: 36px;
    font-size: 36px;
}
.carousel-control-next{ right: -40px;}
.carousel-control-prev{ left: -40px;}
.carousel-control-next-icon,
.carousel-control-prev-icon {
	display: block;
    width: 28px;
    height: 28px;
}
.carousel-control{
 	display: flex;
 	align-items: center;
 	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: #FF731D;
	text-align: center;
}
.course-carousel img{ max-height: 280px;}
.course-carousel .course-title{
	line-height: 1.5;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.course-carousel .course-teacher{
	font-size: 14px;
}
.course-carousel .course-info{
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
}
.btn-modal{
	background-color: #FF731D;
	color: #ffffff;
	line-height: 1.5;
	letter-spacing: 1px;
	text-indent: -1px;
	transition: all 0.2s linear 0s;
}
.btn-modal:hover{
	background-color: #E14D2A;
	color: #ffffff;
}
.btn-modal.btn-bg-yellow{
	background-color: #C6222D;
}
.btn-modal.btn-bg-yellow:hover{
	background-color: #E14D2A;
}
.btn-modal.disabled{
	opacity: 0.3;
}
/* course modal */
.courseModal .course-img{
	position: relative;
}
.courseModal .course-img:after{
	content: "";
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 100%;
	height: 20px;
	border-top-left-radius: 16px;
	border-top-right-radius: 16px;
	background-color: #ffffff;
	filter: drop-shadow(0px -4px 3px rgba(0,0,0,0.2));
}
.courseModal .course-img .card-tag{
	font-size: 15px;
	padding: 2px 12px;
	background-color: #D30000;
	color: #ffffff;
	position: absolute;
	bottom: 36px;
	left: 12px;
	letter-spacing: 2px;
	box-shadow: 1px 1px 0px rgba(0,0,0,0.15);
}
.courseModal .btn-close span{
	font-size: 32px;
	font-weight: bold;
}
.courseModal .course-content{
	margin-top: -16px;
}
.courseModal .course-title{
	font-weight: bold;
	line-height: 1.5;
}
.courseModal .course-info,
.courseModal .course-info p,
.courseModal .course-info span{
	text-align: justify;
	color: #4d4d4d;
	line-height: 28px;
	margin-bottom: 12px;
}
.courseModal .btn-buy{
	filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.25));
	transition: all 0.2s linear 0s;
	background-color: #277BC0;
	color: #ffffff;
}
.courseModal .btn-buy:hover{
	background-color: #1746A2;
	color: #ffffff;
	filter: drop-shadow(2px 2px 1px rgba(0,0,0,0.25));
}
.radio-box{
	position: relative;
	border-radius: 4px;
	border: 2px solid #FF731D;
	padding: 4px 12px;
	color: #4d4d4d;
	margin-bottom: 4px;
	margin-right: 4px;
}
.radio-box:hover{
	background-color: #FF731D;
	color: #ffffff;
}
.courseModal input[type="radio"]:checked + .radio-box{
	background-color: #FF731D;
	color: #ffffff;
}
.radio-period > input{ display: none;}
.radio-period > .radio-box{ cursor: pointer;}
/* 購物車 & 回到上方按鈕 */
.icon-cart{
	display: block;
	position: fixed;
	bottom: 140px;
	right: 20px;
	z-index: 9999;
	width: 48px;
	height: 48px;
	background: #ffffff;
	border-radius: 50%;
	text-align: center;
	line-height: 56px;
	filter: drop-shadow(0px 0px 2px rgba(0,0,0,0.4));
}
.icon-cart i,
.icon-top i{
	font-size: 24px;
}
.icon-top{
	display: block;
	position: fixed;
	bottom: 120px;
	right: 20px;
	z-index: 9998;
	width: 48px;
	height: 48px;
	background: #ffffff;
	border-radius: 50%;
	border-width: 0px;
	text-align: center;
	line-height: 56px;
	filter: drop-shadow(0px 0px 2px rgba(0,0,0,0.4));
}
@media screen and (max-width:767.9px){
	.icon-cart,
	.icon-top{
		width: 36px;
		height: 36px;
		line-height: 40px;
	}
	.icon-cart i,
	.icon-top i{
		font-size: 20px;
	}
	.icon-cart{ bottom: 164px;}
}
@media screen and (max-width:575.9px){
	.carousel-control-next,
	.carousel-control-prev {
	    width: 24px;
	    font-size: 24px;
	}
	.carousel-control-next{ right: -36px;}
	.carousel-control-prev{ left: -36px;}
	.carousel-control-next-icon,
	.carousel-control-prev-icon {
	    width: 16px;
	    height: 16px;
	}
	.carousel-control{
		width: 24px;
		height: 24px;
	}
	.course-carousel .course-title{
		font-size: 18px;
	}
	.course-carousel .course-info{
		font-size: 15px;
	}
}
/* ---------- 加入書櫃或課程提示 ---------- */
#successModal{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1060;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    display: none;
}
.successModal .successModal-content{
    position: absolute;
    top: 0;
    right: 40px;
    width: auto;
    max-width: 500px;
    margin: 1.75rem auto;
}
.count-wrap{
    position: absolute;
    right: 12px;
    bottom: 8px;
    width: 25px;
    height: 25px;
}
.loader {
    position: absolute;
    left:0;
    top: 0;
    z-index: 1062;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-right: 2px solid #198754;
    width: 21px;
    height: 21px;
    animation: spin 1s linear infinite;
}
.countdown-number{
    display: flex;
    width: inherit;
    height: inherit;
    position: absolute;
    left: -2px;
    top: -2px; 
    z-index: 1061;
    font-size: 13px; 
    justify-content: center;
    align-items: center;
}
@keyframes spin {
      0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}
@media screen and (max-width: 575.9px) {
    .successModal .successModal-content{
        width: 100%;
        max-width: 90vw;
        right: 50%;
        transform: translateX(50%);
    }
}

/* ---------- 購物車+訂單明細 ---------- */
.cart-content .form-check-input{
	width: 18px;
	height: 18px;
	border-radius: 0px;
	margin-right: 16px;
}
.product-items{
	border-bottom: 1px solid #DEE2E6;
}
.product-items:last-child{
	border-bottom-width: 0px;
}
.product-items .items-check{
	flex: 0 0 36px;
}
.product-items .items-check .form-check-input {
    margin-top: 0px;
    margin-left: 0px;
}
.product-items .items-img{
	flex: 0 0 120px;
}
.product-items .items-title{
	padding: 0px 12px;
	overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-break: break-all;
}
.product-items .items-price{
	flex: 0 0 80px;
	color: #D62872;
	font-size: 14px;
}
.product-items .items-delete{
	flex: 0 0 30px;
	padding: 0px 12px;
	text-align: right;
}
.complete-content .items-type{
	flex: 0 0 110px;
	text-align: center;
	background-color: #4d4d4d;
	padding: 8px 12px;
	color: #ffffff;
}
/* 總結 */
.cart-total .total-price{
	font-size: 15px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	align-items: end;
	justify-content: end;
}
.cart-total .coupon{
	width: 60%;
}
.cart-total .coupon .form-control{ font-size: 15px}
.cart-total .coupon .btn{
	font-size: 15px;
	flex: 0 0 100px;
}
.cart-type .price-item {
    display: flex;
    width: 100%;
    justify-content: end;
    text-align: left;
    margin-bottom: 4px;
    font-size: 15px;
}
.cart-type .price-item .price-title{
	color: #4d4d4d;
	flex: auto;
	flex-grow: 1;
}
.cart-type .price-item .price-amount{
	flex: 0 0 112px;
	text-align: right;
}
/* 結帳 20230712 */
.checkout-box{
	position: relative;
	margin: 60px 0px 30px;
    border: solid 1px #dee2e6;
}
.remit-title{
	position: absolute;
    display: inline-block;
    top: -36px;
    left: -1px;
    padding: 0 16px;
    height: 36px;
    line-height: 36px;
    font-size: 18px;
    background: #4D4D4D;
    color: #ffffff;

    border-radius: 5px 5px 0 0;
}
.modal .remit-title{ /*20230714*/
	position: inherit;
	display: block;
	background: transparent;
	padding: 0px;
}
.checkSameInfo{
	position: absolute;
	display: inline-block;
	top: -32px;
	left: 136px;
}
.btn-collapse[aria-expanded="true"] i.fa-chevron-down{display: none;}
.btn-collapse[aria-expanded="false"] i.fa-chevron-up{display: none;}
.cart-total-action{ flex: 0 0 120px;}
/*loading*/
.load-wrapp {
	display: inline;
	width: 100px;
	height: 100px;
	text-align: center;
}
.line {
	display: inline-block;
	width: 15px;
	height: 15px;
	border-radius: 15px;
	background-color: #4b9cdb;
}
.load-3 .line:nth-last-child(1) {
	animation: loadingC 0.6s 0.1s linear infinite;
}
.load-3 .line:nth-last-child(2) {
	animation: loadingC 0.6s 0.2s linear infinite;
}
.load-3 .line:nth-last-child(3) {
	animation: loadingC 0.6s 0.3s linear infinite;
}
@keyframes loadingC {
  0 {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, 15px);
  }
  100% {
    transform: translate(0, 0);
  }
}
@media screen and (max-width: 991.9px) {
	.cart-total .coupon{ width: 100%;}
}
@media screen and (max-width: 767.9px){
    .cart-total .total-btn{ width:100%;}
}
@media screen and (max-width: 575.9px) {
    .product-items{
    	flex-wrap: wrap;
    }
    .product-items .items-check{
    	order:1;
    }
    .product-items .items-img{
    	flex: 0 0 calc(100% - 88px);
    	order:2;
    }
    .complete-content .product-items .items-img{
    	flex: 0 0 100%;
    }
    .product-items .items-title{
    	flex: 0 0 100%;
    	padding: 0px 0px 0px 36px;
    	margin: 16px 0px 4px 0px;
        -webkit-line-clamp: 2;
        order:4;
    }
    .complete-content .product-items .items-title{
    	padding: 0px;
    }
    .product-items .items-price{
    	flex: 0 0 100%;
		padding: 0px 0px 0px 36px;
    	order:5;
    }
    .complete-content .product-items .items-price{
		padding: 0px;
    }
    .product-items .items-delete{
    	flex: 0 0 40px;
    	padding: 0px;
    	margin-left: 8px;
    	order:3;
    }
    .cart-total .coupon .btn{ flex: 0 0 60px;}
    .complete-content .cart-total,
    .complete-content .cart-total span{
    	font-size: 14px!important;
    }
}

/*---------- 訂單明細 ----------*/
.bg-lightyellow{
	background-color: #F5EFE6;
}
.table-order{
	border: 1px solid #dddddd;
}
.table-order,.table-order td{
	font-size: 0.9rem;
}
.table-order td{
	padding: 12px 12px;
	background-color: #ffffff;
}
.table-order thead tr th{
	border-bottom: 1px solid #dee2e6!important;
	border-top-width: 0px;
	padding: 10px 12px;
	color: #333333;
	background-color: #F5EFE6;
}
.table-order .th-date,
.table-order .th-price{
	min-width: 80px;
}
.table-order .th-status{
	width: 200px;
}
.table-order .th-serial{
	width: 220px;
}
@media screen and (max-width: 767.9px) {
	.table-order{
		border-width: 0px;
	}
	.table-order thead{
		border: none;
		clip: rect(0 0 0 0);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		width: 1px;
	}
	.table-order td:before{
		content: attr(data-label);
		display: flex;
		flex: 0 0 76px;
		text-transform: uppercase;
		color: #555555;
		font-weight: bold;
	}
	.table-order tbody tr{
		display: block;
		margin-bottom: 16px;
		border: 1px solid #dddddd;
	}
	.table-order tbody tr:last-child{
		margin-bottom: 0px;
	}
	.table-order tbody td{
		display: flex;
		flex-wrap: nowrap;
		padding: 8px 12px;
	}
	.table-order tbody td:first-child{
		border-top-left-radius: 4px;
		border-top-right-radius: 4px;
	}
	.table-order tbody td:last-child{
		border-bottom-width: 0px;
		border-bottom-left-radius: 4px;
		border-bottom-right-radius: 4px;
	}
}
/*---------- 最新消息 ----------*/

.news-card{
	padding: 12px 0px;
	border-bottom: 1px solid #dddddd;
}
.news-card .news-title{
	color: #1746A2;
	overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: break-all;
    transition: all 0.2s linear;
}
.news-card .news-title:hover{
	color: #E14D2A;
}
/*.news-card .news-info{
	overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-break: break-all;
}*/
.page-link{ color: #777777;}
.page-link:hover{ background-color: transparent;}
.page-item.active .page-link{
    background-color: #7AD7CE;
    border-color: #7AD7CE;
}
.news-container .news-info-content img{
	max-width: 100%;
	margin-bottom: 12px;
}
@media screen and (max-width: 575.9px) {
	.news-card .news-title{
	    -webkit-line-clamp: 2;
	}
	.news-card .news-info{
	    -webkit-line-clamp: 4;
	}
	.news-container .news-info-content p{
		font-size: 14px;
		line-height: 24px;
	}
}

/*---------- 關於老師 ----------*/
.nav-about .nav-link{
	position: relative;
	background-color: #cccccc;
	color: #ffffff;
	margin: 0px 8px;
}
.nav-about .nav-link:before{
    position: absolute;
    content: '';
    border-left: 8px solid transparent;
    border-top: 8px solid #cccccc;
    border-right: 8px solid transparent;
    border-bottom-width: 0px;
    top: 100%;
    right: 50%;
    transform: translate(50%,0);
}
.nav-about .nav-link.active{
	background-color: #FF731D;
}
.nav-about .nav-link.active:before{
    border-top: 8px solid #FF731D;
}
.about-tabContent .about-subtitle{
	margin-bottom: 12px;
	line-height: 1.8;
	color: #4d4d4d;
}
.about-tabContent ol > li > ul > li{
	list-style-type: disc;
}
.info-bg{
	position: absolute;
	z-index: -1;
	width: 100%;
	height: auto;
	top: 50%;
	left: 0px;
	transform: translateY(-50%);
	opacity: 0.75;
}
.btn-contact{
	position: fixed;
	right: 20px;
	bottom: 25px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	padding: 0px;
	line-height: 16px;
	text-align: center;
	font-size: 14px;
	z-index: 9999;
	box-shadow: 0 0 8px rgba(0,0,0,0.2);
}
@media screen and (max-width: 767.9px) {
	.btn-contact{
		position: fixed;
		bottom: 120px;
		width: 48px;
		height: 48px;
		line-height: 16px;
		font-size: 13px;
	}
}
@media screen and (max-width: 575.9px) {
	.nav-about .nav-link{
		font-size: 14px;
		margin: 0px 2px;
	}
	.about-tabContent ol li{
		font-size: 15px;
	}
	.about-tabContent ol, .about-tabContent ul {
	    padding-left: 1.2rem;
	}
}
/* ---------- 兌換課程 ---------- */
.voucher-input .btn-modal{
	flex: 0 0 60px;
	margin-left: 8px;
}
.table-voucher td{ word-break: break-all;}
/* ---------- 登入 註冊 信箱驗證成功 會員中心 20231128---------- */
.account-mail .btn-change-mail{
	flex: 0 0 80px;
	margin-left: 20px;
}
.account-mail .form-control{
	flex: 0 0 calc(100% - 100px);
}
@media screen and (max-width: 767.9px) {
  .img-success{ max-height: 200px; }
}


/*
---------------------------------------------
測驗類型相關
---------------------------------------------
*/
/* 整體表格樣式 */
.table-major thead tr th{
  font-size: 15px;
  min-width: var(--w80);
  padding: 12px 8px;
}
.table-major tbody tr td{
  word-break: break-all;
  font-size: 14px;
  color: var(--gray);
  padding: 12px 8px;
}
.table-major tbody tr:hover td{
  background-color: var(--offwhite);
}
.table-rwd.table>:not(:last-child)>:last-child>* {
    border-bottom-color: #dddddd;
}
@media screen and (max-width: 991.9px){
  .table-rwd.table > :not(:first-child){ border-top-width: 0px;}
  .table-rwd thead{
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  .table-rwd tbody tr td{
    display: flex;
    flex-wrap: nowrap;
    padding: 3px 12px;
    border-bottom-width: 0px;
  }
  .table-rwd tbody tr td:first-child{
    padding: 19px 12px 3px;
  }
  .table-rwd tbody tr td:last-child{
    border-bottom: 1px solid #DEE2E6;
    padding: 3px 12px 19px;
  }
  .table-rwd tbody tr td:before{
    content: attr(data-label);
    flex: 0 0 68px;
    color: var(--dark);
    font-weight: 600;
  }
}
/* 作答結果 */
.stu-ans{
  border: 1px solid #dedede;
  background-color: #f4f4f4;
  padding: 12px 4px;
  color: #4d4d4d;
  border-radius: 4px;
  font-size: 15px;
  font-weight: bold;
}
.stu-ans.ans-items{
  background-color: transparent;
  border-width: 0px 0px 2px 0px;
  border-style: dotted;
  font-size: 15px;
  color: #4d4d4d;
}
.stu-ans > .d-flex > div:first-child{
  flex: 0 0 360px;
  word-break: break-all;
}
.stu-ans > .d-flex > div:last-child{
  flex: 0 0 160px;
}
.stu-ans.ans-items > .d-flex > div:first-child{
  flex: 0 0 128px;
}
.stu-ans.ans-items > .d-flex > div:nth-child(3){
  flex: 0 0 200px;
}
.stu-ans.ans-items > .d-flex > div:last-child{
  flex: 0 0 140px;
}
.ans-container .table-ans{
  border: 1px solid #dddddd;
}
.ans-container .table-ans th{
  border-bottom: 1px solid #dddddd;
}
.ans-container .table-ans tbody{
  border-top: 0px;
}
.ans-container .stu-ans[aria-expanded="true"] .fa-caret-down:before{
  content: "\f0d8";
}
.ans-container .stu-ans[aria-expanded="true"] .fa-angle-down:before{
  content: "\f106";
}
@media screen and (max-width: 991.9px) {
  .stu-ans > .d-flex{ flex-wrap:wrap;}
  .stu-ans > .d-flex > div:first-child,
  .stu-ans > .d-flex > div:nth-child(2),
  .stu-ans > .d-flex > div:last-child{
    flex: 0 0 100%;
  }
  .stu-ans.ans-items > .d-flex{ flex-wrap: nowrap;}
  .stu-ans > .d-flex > div{
    padding: 4px 0px;
    border-bottom: 1px dotted #cccccc;
  }
  .stu-ans > .d-flex > div:last-child,
  .stu-ans.ans-items > .d-flex > div{
    border-bottom-width: 0px;
  }
  .table-quest-ans.table-rwd tbody tr td:before{
    flex: 0 0 60px;
  }
  .stu-ans.ans-items > .d-flex{ flex-wrap: wrap;}
  .stu-ans.ans-items > .d-flex > div:first-child,
  .stu-ans.ans-items > .d-flex > div:nth-child(2),
  .stu-ans.ans-items > .d-flex > div:last-child{
    flex: 0 0 100%;
  }
}

 .display-none{
   display:none;
 }
 .custom-style1{
   top:30%;height:30px
 }
 .custom-style2{
   position:absolute
 }
 .custom-style3{
   white-space:pre-wrap;
 }
 .custom-style4{
   color: #dc3545; font-size: 0.875em; margin-top: 0.25rem
 }
 .custom-style5{
   display: flex;justify-content: center;
 }
 .custom-style6{
   text-align:center;
 }
 .custom-style7{
   width: 300px;margin:0 auto;
 }
 .custom-style8{
   margin-right:1rem
 }
 /* 將文字變成圓點 */
 #password {
   -webkit-text-security: disc;
   text-security: disc;
 }

 .warning{
   border-color: #dc3545;
   padding-right: calc(1.5em + .75rem);
   background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
   background-repeat: no-repeat;
   background-position: right calc(.375em + .1875rem) center;
   background-size: calc(.75em + .375rem) calc(.75em + .375rem);
 }