@charset "utf-8";

html {
    font-size: 18px;
}

body {
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', 'sans-serif';
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a:hover {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    width: 100%;
}

ul {
    padding-left: 0;
    list-style-type: none;
}

/*清除*/
.form-control:focus,
button:focus {
    outline: none !important;
    box-shadow: none !important;
}

/*新select*/
select.form-control,
select.form-control:focus {
    background: #fff url(../images/arrow-line.png) no-repeat;
    background-size: 10px;
    background-position: calc(100% - 8px) center !important;
    box-sizing: border-box;
    appearance: none !important;
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
}

/***************網頁選取顏色***************/
::selection {
    background-color: #999;
    color: #fff;
}

::-moz-selection {
    background-color: #999;
    color: #fff;
}

/**************捲軸樣式**************/
/* 整個捲軸 */

::-webkit-scrollbar {
    width: 5px;
}

/* 捲軸的軌道 */
::-webkit-scrollbar-track {
    background: #333;
}

/*捲軸尚未滑到的軌道*/
::-webkit-scrollbar-track-piece {
    background: #666;
}

/* 滑動的區塊 */
::-webkit-scrollbar-thumb {
    background: #ccc;
}

/* 滑鼠移到滑動的區塊上 */
::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

/*--------------------------------------------------------------
共用
--------------------------------------------------------------*/
/*版面*/
.in-page {
    padding: 3rem 0;
}

.page .img-box {
    position: relative;
    background-image: url(../images/banner.jpg);
    width: 100%;
    display: block;
    background-size: cover;
    background-position: top center;
    transition: all .5s ease;
    background-repeat: no-repeat;
    padding: 200px 0 120px 0;
    min-height: 100vh;
}

.page .img-box::before {
    content: '';
    background-color: rgba(74, 53, 91, 0.8);
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 2;
}

.page .img-box .container {
    position: relative;
    z-index: 5;
    color: #ddd;
    font-size: 1rem;
    align-items: center;
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1140px;
    }
}

/*背景色*/
.dark-background {
    background-color: #2D2D2D;
}

.purple-background {
    position: relative;
    background-image: url(../images/purple-background.png);
    width: 100%;
    display: block;
    background-size: cover;
    background-position: center;
    transition: all .5s ease;
    background-repeat: no-repeat;
    padding: 3rem 2rem;
}

.purple-background::before {
    content: '';
    background-color: rgba(74, 53, 91, 0.8);
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 2;
}

.in-page .container {
    position: relative;
    z-index: 5;
}

/*隱藏視窗*/
.modal-header {
    padding: 0.75rem 1.5rem;
    background: #f0f0f0;
}

.modal .btn {
    background-color: #FFD08A;
    padding: 0.1rem 0.75rem;
}

.modal .modal-body {
    padding: 5px 1.5rem;
}

.modal .modal-body .title {
    color: #eb7e14;

}

.modal .modal-body ul {
    color: #666;
    padding-left: 50px;
    padding-left: 1.5rem;
    font-size: 0.85rem;
}

.modal .modal-body ul.list li {
    list-style-type: decimal-leading-zero;
    border-bottom: 1px solid #f6d2b5;
    padding: 3px 0;
}

.modal .modal-body ul li {
    list-style-type: decimal-leading-zero;
}

/*統一標題*/
.page-title {
    position: relative;
    text-align: center;
    width: 300px;
    margin: auto;
    margin-bottom: 30px;
}

.page-title span {
    border-bottom: 0;
    position: relative;
    z-index: 2;
    color: #F1B6FF;
    padding: 0 10px;
}

.page-title:after {
    content: '';
    position: absolute;
    display: inline-block;
    bottom: 0;
    left: 0;
    top: 0;
    margin: auto;
    width: 100px;
    height: 1px;
    background: #F1B6FF;
    z-index: 10;
}

.page-title::before {
    content: '';
    position: absolute;
    display: inline-block;
    bottom: 0;
    right: 0;
    top: 0;
    margin: auto;
    width: 100px;
    height: 1px;
    background: #F1B6FF;
    z-index: 10;
}

/*--------------------------------------------------------------
選單
--------------------------------------------------------------*/
.navbar {
    padding: .5rem 0;
}

.navbar-dark .navbar-brand {
    position: absolute;
    top: 0px;
    left: 0;
    width: 130px;
}

.navbar .container {
    position: relative;
    justify-content: flex-end;
}

.navbar-nav {
    align-items: center;
}

.navbar .nav-item .btn-login {
    background-color: #fff;
    color: #333;
    border-radius: 50px;
    padding: 2px 1rem;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        justify-content: flex-end;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

.navbar-dark .navbar-nav .nav-item.active .nav-link {
    color: #fff;
}

.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
    color: #666;
}

/*--------------------------------------------------------------
banner
--------------------------------------------------------------*/
.banner .img-box {
    position: relative;
    background-image: url(../images/banner.jpg);
    width: 100%;
    display: block;
    background-size: cover;
    background-position: top center;
    transition: all .5s ease;
    background-repeat: no-repeat;
    padding: 200px 0 130px 0;
}

.banner .img-box::before {
    content: '';
    background-color: rgba(74, 53, 91, 0.8);
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 2;
}

.banner .row {
    position: relative;
    z-index: 5;
    color: #ddd;
    font-size: 1rem;
    align-items: center;
}

.banner .title {
    font-size: 3rem;
    color: #FFD08A;
    font-weight: 500;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.banner .title img {
    width: 70px;
    margin-left: 10px;
}

.banner .banner-text {
    color: #F1B6FF;
}

.banner-img {
    margin: auto;
}

/*--------------------------------------------------------------
優雅環境
--------------------------------------------------------------*/

.environment {
    text-align: center;
    background-image: url(../images/environment-img.png);
    display: block;
    background-size: 200px;
    background-position: right 50px bottom 50px;
    background-repeat: no-repeat;
}

.environment .item {
    margin-bottom: 30px;
}

.environment .ratio {
    border: 2px solid #fff;
}

.environment .title {
    color: #FFD08A;
    padding: 10px 0 5px 0;
}

.environment .text {
    color: #C2C2C2;
    font-size: 14px;
}

.classbook .owl-carousel img {
    cursor: pointer;
}

.classbook .item .title {
    text-align: center;
    padding: 15px 0;
    color: #FFD08A;
}

/*輪播點點設定*/
.owl-dots {
    display: block;
    text-align: center;
    margin-top: 1rem;
}

.owl-dot span {
    display: block;
    width: 14px;
    height: 14px;
    margin: 0px 5px;
    filter: alpha(opacity=50);
    opacity: 0.5;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    background: #999;
}

.owl-dot.active span {
    opacity: 1;
}

/*左右按鈕*/
.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
    position: absolute;
    top: -35px;
    bottom: 0;
    margin: auto;
    color: #fff;
    width: 35px;
    height: 35px;
    line-height: 25px;
    font-weight: bold;
    font-size: 45px;
}

.owl-carousel .owl-nav button.owl-next {
    right: -45px;
}

.owl-carousel .owl-nav button.owl-prev {
    left: -45px;
}

.owl-carousel .owl-nav button.owl-next span,
.owl-carousel .owl-nav button.owl-prev span {
    margin-bottom: 5px;
    display: block;
}

/*--------------------------------------------------------------
聯絡資訊
--------------------------------------------------------------*/
.in-page.contact {
    padding-bottom: 5rem;
}

.contact .contact-text {
    font-size: 0.8rem;
    color: #B5B5B5;
    margin-bottom: 20px;
}

.contact ul {
    color: #D6D6D6;
    margin: 0;
}

.contact ul li {
    display: flex;
    align-items: center;
    line-height: 40px;
}

.contact ul li img {
    width: 20px;
    margin-right: 5px;
}

.contact ul li.phone {
    font-size: 1.5rem;
}

.contact ul li.mail {
    margin-top: 50px;
}

.contact .footer-bom {
    width: 256px;
    margin: auto;
    margin-top: 30px
}

.contact .form-control {
    background-color: #010101;
    border: 1px solid #222;
    color: #ccc;
    font-weight: 300;
}

.contact .form-control:focus {
    background-color: #010101;
    border-color: #222;
    color: #ccc;
    font-weight: 300;
}

.contact .btn {
    background-color: #ddd;
    width: 100%;
    padding: 0.2rem 0.75rem;
}

/*--------------------------------------------------------------
footer
--------------------------------------------------------------*/
.footer {
    background-color: #010101;
    color: #A4A4A4;
    text-align: center;
    font-size: 14px;
    padding: 15px;
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5
}

/*--------------------------------------------------------------
會員登入
--------------------------------------------------------------*/

.login .form-label {
    color: #DBB07F;
}

.login .login-text {
    display: flex;
    font-size: 0.9rem;
    color: #BFBFBF;
    justify-content: flex-end;
}

.login .login-text a {
    margin-left: 10px;
    margin-top: 25px;
}

.login .btn-login {
    background-color: #DBB07F;
    width: 100%;
    margin-top: 15px;
}

.btn-box {
    display: flex;
}

.btn-box button {
    width: 48%;
    margin: 0 1%;
}

/*--------------------------------------------------------------
會員登入
--------------------------------------------------------------*/
.member .member-title {
    position: relative;
}

.member .member-title span {
    background-color: rgba(241, 182, 255, 0.5);
    padding: 7px 0;
    border-radius: 5px;
    color: #fff;
    text-align: center;
    width: 100%;
    display: block;
    font-weight: 400;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-loginout {
    background-color: #B374C2;
    color: #fff;
    position: absolute;
    right: 30px;
    top: 5px;
    padding: 3px 2rem;
}

.video-box {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 30px 40px;
    border-radius: 5px;
}

.video-box ul li {
    border-bottom: 1px solid #999;
    font-size: 0.95rem;
    padding: 10px 15px 10px 20px;
    position: relative;
    line-height: 2;
}

.video-box ul li:last-child {
    border-bottom: 0;
}

.video-box ul li::before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #F1B6FF;
    display: inline-block;
    margin-right: 5px;
    position: absolute;
    top: 22px;
    left: 0;
    border-radius: 50%;
}

.video-box ul li.active {
    color: #E2B55C;
    position: relative;
}

.video-box ul li.active::before {
    background-color: #E2B55C;
}

/* .video-box ul li.active::after {
    position: absolute;
    content: "進入下一單元";
    background-repeat: no-repeat;
    right: 0;
    cursor: pointer;
    color: #fff;
    border: 1px solid #999;
    padding: 1px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    bottom: 9px;
} */

.btn-active:hover{
    color: #fff;
}

.video-box ul li.active span {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.video-box ul li.active span::after {
    display: inline-block;
    content: "";
    background-image: url(../images/play.svg);
    background-size: contain;
    width: 50px;
    height: 30px;
    background-repeat: no-repeat;
    margin-top: 4px;
    margin-left: 10px;
}

.btn-active {
    position: absolute;
    content: "進入下一單元";
    background-repeat: no-repeat;
    right: 0;
    color: #fff;
    border: 1px solid #999;
    padding: 1px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    bottom: 9px;
}

.btn-active.no {
    position: absolute;
    content: "已超過本課程觀看時限";
    background-image: none;
    background-size: 50px;
    width: auto;
    height: auto;
    background-repeat: no-repeat;
    color: #32253D;
    background-color: #E2B55C;
    font-size: 0.9rem;
    padding: 0 10px;
    border-radius: 5px;
    border: 1px solid #E2B55C;
}

.btn-end {
    position: fixed;
    top: 50%;
    right: 15%;
    content: "本次課程已全部結束!";
    background-image: none;
    background-size: 50px;
    width: auto;
    height: auto;
    background-repeat: no-repeat;
    color: #32253D;
    background-color: #E2B55C;
    font-size: 1.5rem;
    padding: 0 10px;
    border-radius: 5px;
    border: 1px solid #E2B55C;
}

.btn-left {
    position: absolute;
    content: "講義下載";
    background-repeat: no-repeat;
    left: 0;
    color: #fff;
    border: 1px solid #999;
    padding: 1px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    bottom: 9px;
}

.btn-right {
    position: absolute;
    content: "補充教材";
    background-repeat: no-repeat;
    right: 0;
    color: #fff;
    border: 1px solid #999;
    padding: 1px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    bottom: 9px;
}

/*--------------------------------------------------------------
課程中心
--------------------------------------------------------------*/
.video .modal-header {
    background: initial;
    border-bottom: 0;
    color: #fff;
    padding: 0.75rem 0;
}

.video.modal .modal-body {
    padding: 0;
}

.video .modal-content {
    background: initial;
    border: 0;
}

.video .modal-content .btn-close {
    color: #fff;
}

.video .btn-close {
    background: none;
    opacity: 1;
}

/*--------------------------------------------------------------
課程中心
--------------------------------------------------------------*/
.video-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.video-item .item {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px 15px;
    border-radius: 5px;
    width: 24%;
    border-radius: 15px;
    margin-bottom: 1%;
}

.video-item .item-img {
    padding: 50px 0;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.video-item .item-img::after {
    display: inline-block;
    content: "";
    background-image: url(../images/play-circle.svg);
    background-size: contain;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    position: absolute;
    right: 10px;
    bottom: 10px;
    opacity: 0.7;
}

.video-item .item-img .logo {
    width: 80px;
}

.video-item .item-teacher,
.video-item .item-time {
    color: #BC8EC9;
    font-size: 14px;
}

/*--------------------------------------------------------------
訊息
--------------------------------------------------------------*/

.message-box .box {
    text-align: center;
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', 'sans-serif';
}

.message-box .box h2 {
    margin: 0 0 0 0;
    font-weight: 400;
}

.message-box .box .text {
    color: #ddd;
    font-size: 18px;
    margin-top: 10px;
}

.message-box .box .text a {
    color: #545454;
    text-decoration: underline;
    margin: 0 3px;
}

.message-box .info {
    border: 5px solid #ccc;
    width: 50px;
    height: 50px;
    margin: auto;
    border-radius: 50%;
    margin-bottom: 5px;
    position: relative;
    margin-top: 50px;
}

/*成功*/
.message-box .info.success {
    border: 5px solid #8cc533;
}

.tick {
    width: 80%;
    height: 80%;
    margin: auto;
    padding: 10%;
    position: relative;
    display: inline-block;
}

.tick {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 15%;
    margin: auto;
    height: 4px;
    width: 25px;
    border: solid #8cc533;
    border-width: 0 0 5px 5px;
    transform: rotate(-45deg);
}

/*不成功*/
.message-box .info.unsuccessful {
    border: 5px solid #f36f6f;
}

.cross {
    width: 100%;
    height: 100%;
    margin: auto;
    position: relative;
    display: inline-block;
}

.cross::after {
    content: '\2716';
    font-size: 30px;
    color: #facea8;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

ul.vjs-menu-content {
    padding-left: 0 !important;
}