@charset "utf-8"; /* CSS Document */
/* 更改設定*/
a:hover {
    text-decoration: none;
}
.error {
	color: red;
	font-weight: bold;
}

.str_blue {
	color: blue;
	font-weight: bold;
}

.vimg:hover {
	cursor: pointer;
}

.owl-carousel {
    top: 50px;
}

.order-view {
	color: #4F775A;
	font-weight: bold;
	cursor: pointer;
}

.color1 {
    color: #005d68;
    /*墨綠色*/
}

.color2 {
    color: #45c5c6;
    /*淺藍色*/
}

.color3 {
    color: #dc3545;
    /*紅色*/
}

.navBar .topOption li:hover {
    background-color: #23646c8c;
    color: #fefea1;
    text-decoration: none;
}

.navBar .topOption a:hover {
    color: #fefea1;
    text-decoration: none;
}

.navBar .topOption .login-btn:hover {
    color: gray;
    transform: scale(1.2);
}

.footer-icons a:hover {
    filter: brightness(1.5);
    color: #45c5c6;
}

/* 結束更改設定*/
.main-content {
    width: 50%;
    border-radius: 20px;
    box-shadow: 0 5px 5px rgba(0,0,0,.4);
    margin: 5em auto;
    display: flex;
}

.company__info {
    background-color: #008080;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.fa-right-to-bracket,.fa-question ,.fa-envelope-open-text ,.fa-user-plus ,.fa-pen-to-square ,.fa-address-card ,.fa-building-columns {
    font-size: 3em;
}

.navBar_h5 a.option-child-h5 {
	color: #fff;
}

.navBar_h5 .option-child-h5 > h2 {
	font-size: unset;
    margin-top: 0;
    margin-bottom:0;
}

.navBar_h5 .option-child > a {
	color: #9eecfd
}

.slogan_text {
	text-align: left;
	line-height: 2;
}

.mb-slogan_text {
	display: none;
}

.str-1-2 {
	font-size: 1.2rem;
}

.order_str p {
	line-height: 2;
}

.err_rb_str {
	color: red;
	font-weight: bold;
}

#order-finish {
	display: none;
}

.size span {
  font-size: 11px;
}

.color span {
  font-size: 11px;
}

.product-deta {
  margin-right: 70px;
}

.gift-card:focus {
  box-shadow: none;
}

.pay-button {
  color: #fff;
}

.pay-button:hover {
  color: #fff;
}

.pay-button:focus {
  color: #fff;
  box-shadow: none;
}

.text-grey {
  color: #a39f9f;
}

.qty i {
  font-size: 11px;
}

.shopping-title {
	font-size: 1.2rem;
	font-weight: bold;
}

.shoping-list-div {
	background-color: #fff;
	padding: 2rem 1rem;
}

.nav-link.active {
    background-color: #005d68;
    color: #FFFFFF;
    font-weight: bold;
}

.myaffim::before{
   	content: "*"; /*沒有加這段就不會產生偽元素*/
	color: red;
}

.form__input2 {
    width: 90%;
    border: 0px solid transparent;
    border-radius: 0;
    outline: none;
    transition: all .5s ease;
}

.div_qrcode {
	width: 50%;
	margin: 0 auto;
}

.mypoint {
	color: #aaa;
}

.bt-3 {
	display: none;
}

@media screen and (max-width: 640px) {
    .main-content {
        width: 90%;
    }

    .company__info {
        display: none;
    }

    .login_form {
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }
}

@media screen and (min-width: 642px) and (max-width:800px) {
    .main-content {
        width: 70%;
    }
}

@media (max-width: 767px) {
    .bg-success {
        background-color: #008080!important;
    }
}

.row > h2 {
    color: #008080;
}

.h2, h2 {
    font-size: 30px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.h4, h4 {
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.login_form {
    background-color: #fff;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

form {
    padding: 0 2em;
}

.form__input {
    width: 100%;
    border: 0px solid transparent;
    border-radius: 0;
    border-bottom: 1px solid #aaa;
    padding: 1em .5em .5em;
    padding-left: 2em;
    outline: none;
    margin: 1.5em auto;
    transition: all .5s ease;
}

.form__input:focus {
    border-bottom-color: #008080;
    box-shadow: 0 0 5px rgba(0,80,80,.4);
    border-radius: 4px;
}

.btn {
    transition: all .5s ease;
    width: 70%;
    border-radius: 30px;
    color: #008080;
    font-weight: 600;
    background-color: #fff;
    border: 1px solid #008080;
    margin-top: 1.5em;
    margin-bottom: 1em;
}

.btn:hover, .btn:focus {
    background-color: #008080;
    color: #fff;
}

.wrapper1 {
    width: 100%;
    background: url(../images/sportGamingBg2.jpg) center no-repeat fixed;
    background-size: cover;
    overflow-x: hidden;
    font-size: 16px;
    color: gray;
    min-height: calc(100vh - 85px);
}

.wrapper1[data-select="true"] {
    display: block;
}

.wrapper1[data-select="false"] {
    display: none;
}

/*麵包屑 */
.breadcrumb {
    background-color: rgba(0,0,0,0.00);
}

.breadcrumb-item,.breadcrumb-item.active {
    color: rgba(255,255,255,1.00);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255,255,255,1.00);
}

.pl-50 {
    padding-left: 50px;
}

/* 課程資訊  學子金榜 */
.course-content ,.gold-content {
    margin: 5em auto;
}

/* 教育理念 課程品牌優勢 最新消內容內頁 背景色和離上距離 下邊框設定*/
.information-content {
    margin: 5em auto;
    background-color: rgba(255,255,255,1.00);
    border-bottom: 4px solid #44c5c7;
}

/* 課程內容content 頁面*/
.content-box {
    position: relative;
}

.content-box .content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.txt12 {
    font-size: 1.2rem;
}

/* 收藏課程collect 頁面 */
.table-content {
    background-color: rgba(255,255,255,1.00);
    box-shadow: 0 5px 5px rgba(0,0,0,.4);
    margin: 5em auto;
    border-bottom: 4px solid #44c5c7;
}

.table-content2 {
    margin: 1rem auto 5rem auto;
}

.table-content i:hover {
    opacity: 0.8;
}

.spanpr1 {
    padding-right: 1rem;
}

/* 優惠點數points頁面 */
.points-content {
    color: #FFFFFF;
    font-size: 20px;
    text-align: right;
}

/* news頁面*/
.news_list .page-content {
    margin: 5em auto;
}

.news_list {
    margin: 5em auto;
    clear: both;
}

.news_list .index_news .news_box {
    border: 1px solid rgba(255,255,255,.3);
    background-color: rgba(255,255,255,1.00);
    background-repeat: no-repeat;
}

.index_news .news_box {
    display: flex;
    align-items: center;
    border: 1px solid hsla(0,0%,100%,.3);
    text-decoration: none;
    transition-duration: .3s;
}

.index_news .news_block li {
    list-style: none;
    margin: 1em auto;
}

.index_news .time {
    background: rgba(201,181,165,.8);
    width: 105px;
    padding: 5px 15px;
}

.news_list .index_news .time {
    background: #fefea1;
    text-align: center;
}

.index_news .time span {
    color: #008d9d;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 1px;
}

.index_news .time .month:after {
    content: " /";
    font-size: 22px;
}

.news_list .index_news .news_title .category {
    color: #000000;
}

.index_news .news_title .category {
    display: flex;
    align-items: center;
    color: #f9efe5;
    font-size: 14px;
    font-weight: 300;
}

.index_news .news_title {
    width: calc(100% - 130px);
    margin-left: 30px;
    letter-spacing: 2px;
    color: rgba(255,255,255,1.00);
}

.index_news .news_block li:hover .category:before {
    width: 40px;
}

.news_list .index_news .news_title .category:before {
    background-color: rgba(0,0,0,0.50);
}

.index_news .news_title .category:before {
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    margin: 0 10px 0 -40px;
    background-color: rgba(0,0,0,0.50);
    transition-duration: .3s;
}

.index_news .news_title h5 {
    font-size: 17px;
    font-weight: 300;
    color: #000000;
    margin-top: 5px;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 20px;
}

/*關於我們 about-us頁面*/
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
     background-color: #005d68; 
    color: #FFFFFF;
    font-weight: bold;
}
.nav-pills .nav-link {
    width:70%;
    height:auto;
    color:  #005d68;
    transition:width 5s;
    -webkit-transition:width 5s;
    -moz-transition:width 5s;
    -o-transition:width 5s;

}

.nav-pills .nav-link:hover {
    background-color: #005d68;
    color: #FFFFFF;
    width:90%;
}


/* 師資 teachers頁面*/
.teachers-content {
    position: relative;
    margin: 5em auto;
    background-color: rgba(255,255,255,1.00);
    border-bottom: 4px solid #44c5c7;
}

.teacher-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.teachers-title h3, .teachers-title h4 {
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 31px;
    text-align: center;
    color: #005d68;
}

.teachers-title h3 {
    font-size: 34px;
}

.teacher-list {
    font-weight: 300;
    line-height: 1.7;
}

.teachers-content ul li {
    color: rgba(0,0,0,0.8);
}

.teachers-content li {
    margin-bottom: 5px;
}

.teachers-content li .fa-solid {
    font-size: 1.0rem;
    color: rgba(0,0,0,0.8);
}

/*教育理念 idea頁面*/
.idea-list {
    font-weight: 300;
    line-height: 1.7;
}

.idea-list p {
    color: rgba(0,0,0,0.8);
    font-size: 1.2rem;
}

/*分頁*/
.page-link {
    color: #008080;
    background-color: #fff;
    border: 0px;
}

.page-link:hover {
    color: #fff;
    background-color: #008080;
    border: 0px;
    box-shadow: 0 5px 5px rgba(0,0,0,.4);
}

.page-content a {
    margin: 5px 7px;
}

.page-item:first-child .page-link {
    border-radius: 0rem;
}

.page-item:last-child .page-link {
    border-radius: 0rem;
}


/*課程產品資訊 content-tree*/

.tree ul {
	padding-top: 20px; position: relative;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

.tree li {
	float: left; text-align: center;
	list-style-type: none;
	position: relative;
	padding: 20px 5px 0 5px;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

/*We will use ::before and ::after to draw the connectors*/

.tree li::before, .tree li::after{
	content: '';
	position: absolute; top: 0; right: 50%;
	border-top: 1px solid #ccc;
	width: 50%; height: 20px;
}
.tree li::after{
	right: auto; left: 50%;
	border-left: 1px solid #ccc;
}

/*We need to remove left-right connectors from elements without 
any siblings*/
.tree li:only-child::after, .tree li:only-child::before {
	display: none;
}

/*Remove space from the top of single children*/
.tree li:only-child{ padding-top: 0;}

/*Remove left connector from first child and 
right connector from last child*/
.tree li:first-child::before, .tree li:last-child::after{
	border: 0 none;
}
/*Adding back the vertical connector to the last nodes*/
.tree li:last-child::before{
	border-right: 1px solid #ccc;
	border-radius: 0 5px 0 0;
	-webkit-border-radius: 0 5px 0 0;
	-moz-border-radius: 0 5px 0 0;
}
.tree li:first-child::after{
	border-radius: 5px 0 0 0;
	-webkit-border-radius: 5px 0 0 0;
	-moz-border-radius: 5px 0 0 0;
}

/*Time to add downward connectors from parents*/
.tree ul ul::before{
	content: '';
	position: absolute; top: 0; left: 50%;
	border-left: 1px solid #ccc;
	width: 0; height: 20px;
}

.tree li a{
	border: 1px solid #ccc;
	padding: 5px 10px;
	text-decoration: none;
	color: #666;
	font-family: arial, verdana, tahoma;
	font-size: 11px;
	display: inline-block;
	
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

/*Time for some hover effects*/
/*We will apply the hover effect the the lineage of the element also*/
.tree li a:hover, .tree li a:hover+ul li a {
	background: #c8e4f8; color: #000; border: 1px solid #94a0b4;
}
/*Connector styles on hover*/
.tree li a:hover+ul li::after, 
.tree li a:hover+ul li::before, 
.tree li a:hover+ul::before, 
.tree li a:hover+ul ul::before{
	border-color:  #94a0b4;
}

/*Thats all. I hope you enjoyed it.
Thanks :)*/

/*服務條款頁面*/
.row2 {
    display: block;
}


.terms-title {
	font-size: 1.8rem;
	color: #45c5c6;
	text-align: center;
	font-weight: bold;
}

.terms-title-box a:hover{
    color:#dc3545;
} 

ol.myol li{
	list-style-type:decimal;
}

.terms-txt {
    font-size: 1.2rem;
    font-weight: bold;
}

/*fotter */
.footer-copyright .a {
    text-align: right;
    border-right: solid #FFFFFF 1px;
}

.footer-copyright a:hover {
    color: #FFFFFF;
}

 
@media screen and (max-width: 1280px) {
    .wrapper1 {
        padding-top: 45px;
    }
}

@media screen and (max-width: 1200px) {
    .footer-copyright .a {
        text-align: center;
        border-right: 0px;
        order:2;
    }
    
    .footer-copyright .b {
        text-align: center;
        order:1;
        margin-bottom: 0.5rem;
    }
    
}


@media screen and (max-width: 992px) {
    .teacher-img {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    
    .index_news .news_title h5 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        box-sizing: border-box;
    }

    .teacher-img {
        position: static;
        transform: translate(0%, 0%);
    }

    .teacher-list {
        margin-top: 2rem;
	}
    
    .owl-carousel {
        top: 10px;
    }
    
}

@media (max-width: 576px) {
    
    .content section {
        padding: 40px 0;
    }

    .content-box .content {
        position: static;
        transform: translate(0%, 10%);
    }

    .main-title {
        margin-bottom: 10px;
    }

    .course-content, .gold-content, .page-content {
        margin: 0em auto;
    }

	/*
    .video-box__content {
        margin-bottom: 3rem;
    }
	*/
	
    .teacher-img {
        position: static;
        transform: translate(0%, 0%);
    }

    .teacher-list {
        margin-top: 2rem;
	}

	.mb-slogan_text {
		display: block;
		text-align: left;
		line-height: 2;
		font-size: 0.8rem;
		font-weight: bold;
		color: 000;
	}
	
	
	
}