@charset "UTF-8";

body,html{
    height:100%;
    overflow-x: inherit;
}

a{
    color:inherit;
    word-break: break-all;
}

a:hover{
	color:inherit;
	text-decoration: none;
}

.-idx-course-featuer{
	cursor:pointer;
}

.main-content-wrapper{
    position: relative;
    min-height: 100%;
    padding-bottom: 74px;
    background-color: #f6f6f6;
}

footer{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

.title{
	color: #ef9222;
    font-size: 1.75rem;
    margin-bottom: 0.6em;
    text-align: center;
}

.btn_container{
    margin-top:40px;
}

.center_container{
    text-align:center;
}

/* Popup Box - Footer*/
.overlay{
	width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: 12;
	position: fixed;
	display:none;
}

.popupBox{
	position:fixed;
    top: -500px;
	width:500px;
    left: 50%;
    -webkit-transform: translate(-50%,0);
    -moz-transform: translate(-50%,0);
    -ms-transform: translate(-50%,0);
    -o-transform: translate(-50%,0);
    transform: translate(-50%,0);
	padding: 0 25px;
	background-color: #FFFFFF;
    z-index:999;
    border-radius: 10px;
    min-height: 150px;
    -moz-transition: top 0.2s;
    -ms-transition: top 0.2s;
    -o-transition: top 0.2s;
    transition: top 0.2s;
}

.popupBox.slideDown{
    top:10%;
}

.close{
    width: 28px;
    height: 28px;
    position: absolute;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    top:10px;
    right:10px;
}

.close span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #D1D3D4;
    border-radius: 15px;
    left: 0;
}

.close span:nth-child(1) {
    top: 15px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}

.close span:nth-child(2) {
    top: 15px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

#userLogin_container,
#resetPw_container,
#errorMsg_container{
    display:none;
    padding: 25px;
}

.form_row_container{
    margin-bottom:10px;
}

#form_userLogin input[type="text"],
#form_userLogin input[type="password"],
#form_resetPw input[type="text"]{
	width:100%;
	height: 50px;
	border: 1px solid #E8E9EA;
	text-indent: 10px;
	font-family: 'Open Sans', sans-serif,'Heiti TC', 'Microsoft JhengHei', '微軟正黑體';
    font-size:16px;
    border-radius:5px;
}

.btn_confirm{
    border:1px solid #E5E5E5;
    border-radius:5px;
    font-size:20px;
    background:#FFF;
    padding:3px 20px;
    box-shadow: 0 0 8px 1px #e0e0e0;
    cursor:pointer;
}

#errorMsg{
    position: absolute;
    top:50%;
    left:50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    width:100%;
}

/* PopupBox - Resources */
.resources_popupBox{
    position:fixed;
    top:-3000px;
	width:70%;
    left: 50%;
    -webkit-transform: translate(-50%,0);
    -moz-transform: translate(-50%,0);
    -ms-transform: translate(-50%,0);
    -o-transform: translate(-50%,0);
    transform: translate(-50%,0);
	padding: 0 25px;
	background-color: #FFFFFF;
    z-index:999;
    -moz-transition: top 0.2s;
    -ms-transition: top 0.2s;
    -o-transition: top 0.2s;
    transition: top 0.2s;
    max-height:calc(100vh - 20%);
    max-height: -moz-calc(100vh - 20%);
    max-height: -webkit-calc(100vh - 20%);
    max-height: -o-calc(100vh - 20%);
    overflow-y: auto;

}

.resources_popupBox.slideDown{
    top:10%;
}

#popupBox_content{
    display:none;
    padding: 40px 20px;
}

#popupBox_content a,
#popupBox_content a:hover{
    color:#3d9fcb;
}

/* Menu */
.navbar{
    z-index: 11;
}
.menuBook_image{
	display:inline-block;
	width:50%;
	vertical-align: middle;
}

.menuBook_title{
	vertical-align: middle;
    display: inline-block;
    width: 50%;
    margin: 7px 0;
}

.-nav-container .login-status:hover{
	color: rgba(0,0,0,0.7);
}


/* Index */
.-idx-course-featuer a {
    color: inherit;
}

.-idx-course-featuer a:hover {
    color: inherit;
    text-decoration: none;
}

.course-feature-container{
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.course-feature-left{
    display:inline-block;
    margin-right:30px;
    vertical-align: top;
}

.course-feature-right{
    display:inline-block;
    width:calc(100% - 215px);
    width: -moz-calc(100% - 215px);
    width: -webkit-calc(100% - 215px);
    width: -o-calc(100% - 215px);
    vertical-align: top;
    text-align: left;
    position: absolute;
    top: 50%;
    left: 215px;
    -webkit-transform: translate(0,-50%);
    -moz-transform: translate(0,-50%);
    -ms-transform: translate(0,-50%);
    -o-transform: translate(0,-50%);
    transform: translate(0,-50%);
}

/* .swiper-container{
    position: absolute;
    top:50%;
    -webkit-transform: translate(0,-50%);
    -moz-transform: translate(0,-50%);
    -ms-transform: translate(0,-50%);
    -o-transform: translate(0,-50%);
    transform: translate(0,-50%);
} */

.swiper-slide{
    padding: 0 40px;
}

.swiper-button-next, .swiper-button-prev{
    width:18px;
}

.idx-intr-1:nth-child(3) .ii-title{
	background-color:#ffb153;
}

.idx-intr-1:nth-child(3) .fa-caret-right{
	color:#ffb153;
}

.idx-intr .idx-intr-1 .ii-sub-title {
    color: #919191;
}

/* Book detail */
.planet .resources-item{
    display: inline-block;
    vertical-align: top;
}


.resources-item-container > .resources-item:not(.have-content):nth-of-type(2n + 1),
.resources-item-container > .resources-item.have-content:nth-of-type(3n + 2) {
    width: 400px;
    margin-right: 20px;
}

.resources-item-container > .resources-item:not(.have-content):nth-of-type(2n),
.resources-item-container > .resources-item.have-content:nth-of-type(3n){
    width: calc(100% - 430px);
    width: -moz-calc(100% - 430px);
    width: -webkit-calc(100% - 430px);
    width: -o-calc(100% - 430px);
}

/* .aside a.active {
	background-color: #fff9f6;
	color: #ef9222;
} */

.image_resourse{
	max-width: 150px;
}

.book_notice {
    font-size: 14px;
    margin-top: 10px;
    color: #666666;
}

/* Page Content - course features */
.course-features-container {
    width: 70%;
    margin: 0 auto;
}

.course-features-item{
    border-radius: 20px;
    padding: 13px 25px;
    margin-bottom:10px;
}

.course-features-title-container{
    margin-left: -15px;
}

.course-features-title{
    padding: 3px 15px;
    border-radius: 9px;
    display:inline-block;
}

.course-features-title-yellow{
    padding: 22px 25px;
    border-radius: 9px;
    min-width: 248px;
    text-align: center;
    display:inline-block;
    background-image: url("../images/title_3.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.course-features-title-purple{
    padding: 22px 25px;
    border-radius: 9px;
    min-width: 248px;
    text-align: center;
    display:inline-block;
    background-image: url("../images/title_2.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.course-features-title-orange{
    padding: 22px 25px;
    border-radius: 9px;
    min-width: 248px;
    text-align: center;
    display:inline-block;
    background-image: url("../images/title_1.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.course-features-title-red{
    padding: 22px 25px;
    border-radius: 9px;
    min-width: 248px;
    text-align: center;
    display:inline-block;
    background-image: url("../images/title_6.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.course-features-title-green{
    padding: 22px 25px;
    border-radius: 9px;
    min-width: 248px;
    text-align: center;
    display:inline-block;
    background-image: url("../images/title_4.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.course-features-title-blue{
    padding: 22px 25px;
    border-radius: 9px;
    min-width: 248px;
    text-align: center;
    display:inline-block;
    background-image: url("../images/title_5.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.features-title-big {
    font-size: 22px;
    font-weight: bold;
}

.course-features-content{
    margin-top: 8px;
}


/* Book Detail */
.sideMenu li.active{
    background-color:#fff9f6;
}

.sideMenu li.active > a{
    color:#ef9222;
}

.sideMenu li.sideMenu_title{
    padding: 15px 20px 10px 20px;
}

.sideMenu li:first-child .sideMenu_title{
    padding: 0 20px 10px 20px;
}

.sideMenu li:not(.sideMenu_title):not(.sideMenu_Chapter_title):not(.sideMenu_Course_title):not(.sideMenu_other){
    padding: 5px 10px 5px 35px;
}

.sideMenu li.chapter_lv3 {
    font-size: 15px;
}

.resourceBook,
.resourceCharacter{
    cursor:pointer;
}

.resourceBook_content {
    margin-top: 30px;
}

.resources-content:not(:first-of-type){
    margin-top: 50px;
}

.p-ttl + .resources-content{
    margin-top: 0;
}

.planet .resources-content ol{
    margin-left:-20px;
}

.planet .audio_bullet{
    margin-left:-20px;
    cursor: pointer;
}

.planet .audio_bullet li {
    margin-bottom: 10px;
}



/* User profile */
#form_userProfile {
    width: 40%;
    margin: 0 auto;
    text-align: center;
}

#form_userProfile input[type="text"],
#form_userProfile input[type="password"]{
    width: 100%;
    height: 50px;
    border: 1px solid #E8E9EA;
    text-indent: 10px;
    font-family: 'Open Sans', sans-serif,'Heiti TC', 'Microsoft JhengHei', '微軟正黑體';
    font-size: 16px;
    border-radius:5px;
}

.error_msg{
    color:red;
}

.resources_video {
    top: 50%;
    left: 50%;
    z-index: 1045;
    position: fixed;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    opacity: 0;
    visibility: hidden;
    /*width: 80%;*/
    /* height: 80%; */
}

.resources_video img {
    width: 70px;
}

.resources_video .resources_header {
    background-color: #FFF;
}

#video_content {
    /* height: calc(100% - 50px); */
}

.resources_video video {
    width: 100%;
    /* max-height: 100%; */
    background-color: #000000;
}

#resources_video_overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: #0b0b0b;
    opacity: 0;
    visibility: hidden;
}

.resources_video.active {
    opacity: 1;
    visibility: visible;
}

#resources_video_overlay.active {
    opacity: 0.8;
    visibility: visible;
}


.resources_audio {
    top: 50%;
    left: 50%;
    z-index: 1045;
    position: fixed;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    opacity: 0;
    visibility: hidden;
    width: 50%;
    /* height: 80%; */
}

.resources_audio img {
    width: 70px;
}

.resources_audio .resources_audio_header {
    background-color: #FFF;
}

#audio_content {
    /* height: calc(100% - 50px); */
}

.resources_audio audio {
    width: 100%;
    /* max-height: 100%; */
    background-color: #000000;
}

#resources_audio_overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: #0b0b0b;
    opacity: 0;
    visibility: hidden;
}

.resources_audio.active {
    opacity: 1;
    visibility: visible;
}

#resources_audio_overlay.active {
    opacity: 0.8;
    visibility: visible;
}


@media only screen and (max-width: 992px) {
    /* Menu */
    .navbar{
        max-height: 100vh;
        overflow: auto;
    }
}

@media only screen and (max-width: 768px) {

    .popupBox{
        width:90%;
    }

    /* Index */
    .course-feature-left{
        display:block;
        width:100%;
        margin-right:0;
    }

    .course-feature-right{
        display:block;
        width:100%;
        text-align: center;
        position: relative;
        top: 0;
        left: 0;
        -webkit-transform: translate(0,0);
        -moz-transform: translate(0,0);
        -ms-transform: translate(0,0);
        -o-transform: translate(0,0);
        transform: translate(0,0);
    }

    .index_banner_container{
        overflow:hidden;
    }

    .index_banner_container img {
        width: 750px;
        position: relative;
        left: 20%;
        -webkit-transform: translate(-20%,0);
        -moz-transform: translate(-20%,0);
        -ms-transform: translate(-20%,0);
        -o-transform: translate(-20%,0);
        transform: translate(-20%,0);
    }


    /* Page Content - course features */
    .course-features-container {
        width: 100%;
        margin: 0;
    }

    /* Book Detail */
    .planet .resources-item{
        display: block;
        width: 100% !important;
    }

    .planet .resources-item:nth-of-type(2n - 1){
        margin-right: 0;
    }

    /* User profile */
    #form_userProfile {
        width: 70%;
    }
}