﻿.teacher-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
    padding-bottom: 100px;
}
.teacher-list{
    width: 360px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 60px;
}
.teacher-list:nth-child(3n+2){
    margin: 0 60px;
}

.teacher-list-img-box{
    width: 100%;
    height: 360px;
    display: block;
    padding: 50px;
    background-color: #FFF;
    box-sizing: border-box;
    cursor: pointer;

}
#time .teacher-list-img-box{
    cursor: inherit;
}
.teacher-list-img{
    width: 100%;
    height: 100%;   
    overflow: hidden;
}
.teacher-list-name{
    width: 100%;
    text-align: center;
    font-size: 18px;
    color: #FFF;
    font-family: "Anton","微軟正黑體";
    background-color: #1b1b1b;
    padding: 0 10px;
    box-sizing: border-box;
    letter-spacing: 4px;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all .5s ease;
}

.teacher-list-link{
    margin-top: 15px;
    width: 110px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    background-color: #FFF;
    padding: 7.5px 0;
    transition: all .5s ease;
    cursor: pointer;
}
.teacher-list-link-list-box .teacher-list-link:nth-child(3){
    margin: 0 15px;
    margin-top: 15px;
}
.teacher-list-link.teacher-list-introduction{
    width: 100%;
    display: block;
    font-size: 18px;
    color: #555555;
    height: 46px;
    line-height: 46px;
    box-sizing: border-box;
    padding: 0;
}
.teacher-list-introduction-p{
   display: inline-block;
   vertical-align: middle; 
   letter-spacing: 4px;
}
.teacher-list-link.teacher-list-introduction i{
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
}

.teacher-list-link i{
    font-size: 18px;
}

.teacher-list-link-p{
    font-size: 14px;
    color: #555555;
    margin-top: 5px;
    letter-spacing: 2px;
}

.teacher-list-video i{
     color: #d62828;
}

.teacher-list-license i{
    color: #1d6ee7;
}
.teacher-list-course i{
    color: #5d9b0c;
}

/*--------------------------page---------------------------*/

.teacher-page-block{
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 9999;
    display: table;
    top: 0;
    left: 0;
}
.teacher-page-box{
    display: table-cell;
    vertical-align: middle;
}
.teacher-page-info-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
    padding: 25px;
    box-sizing: border-box;
    z-index: 1;
    background-color: #f5f5f5;
    font-size: 0;
    height: 550px;
    box-sizing: border-box;
}

.teacher-page-left-box{
    width: 360px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;

}
.teacher-left-img-box{
    height: 360px;
    background-color: #FFF;
    padding: 49px;
    box-sizing: border-box;
    border: 1px solid #d1d1d1;
    
}
.teacher-left-img{
    width: 100%;
    height: 100%;
    display: block;

}

.teacher-page-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.9);
}


.teacher-page-left-box .teacher-list-link{
    box-sizing: border-box;
    border: 1px solid #d1d1d1; 
}
.teacher-page-left-box .teacher-list-link.teacher-list-introduction{
    line-height: 44px;
}
.teacher-page-right-box{
    width: calc(100% - 360px);
    padding-left: 20px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
    height: 100%;
}
.teacher-page-name{
    font-size: 18px;
    color: #000;
    font-family:"Anton","微軟正黑體";
    letter-spacing: 4px; 
    margin-bottom: 15px;
    height: 28px;
    overflow: hidden;
 
}
.teacher-page-right-list-box{
    width: 100%;
    height: calc(100% - 60px);
    
    display: block;
}
.teacher-page-right-course-box{
    width: 100%;
}
.teacher-page-right-list{
    width: 100%;
    display: block;
}
.teacher-page-right-edit-box{
    font-size: 14px;
    line-height: 2;
    font-family: "Roboto", "Noto Sans TC";
    color: #555555;
    letter-spacing: 1px;
}

.teacher-page-right-video-box,
.teacher-page-right-video,
.teacher-page-right-introduction{
    width: 100%;
    height: 100%;
    display: block;
}
.teacher-page-right-introduction{
    overflow: auto;
}
.teacher-page-right-course-b-box{
    width: 100%;
    border: 1px solid #d1d1d1;
    box-sizing: border-box;
}
.teacher-page-right-course-b-box {
    margin-bottom: 15px;
}
.teacher-page-right-course-b-img{
    height: 350px;
}

.teacher-page-right-course-s-box{
    width: 100%;
    display: block;
    padding: 0 10px;
    box-sizing: border-box;
}
.teacher-page-right-course-s-list{
    margin: 0 10px;
}
.teacher-page-right-course-s-img{
    height: 70px;
    display: block;
    cursor: pointer;
}
.teacher-page-right-course-s-list.slick-current .teacher-page-right-course-s-img{
    border: 2px solid #000;
    box-sizing: border-box;
}
.teacher-out-box{
    position: absolute;
    top: -20px;
    color: #FFF;
    font-size: 36px;
    right: -40px;
    cursor: pointer;
    transition: all .5s ease;
    cursor: pointer;
}



/*-------------------預定時間---------------*/
.time-link{
    text-align: center;
    background-color: #FFF;
    font-size: 18px;
    width: 100%;
    display: block;
    height: 46px;
    line-height: 46px;
    letter-spacing: 4px;
    transition: all .5s ease;
}

.time-link i,
.time-link-p {
    display: inline-block;
    vertical-align: middle;
}
.time-link-p{
    color: #555555;

}
.time-link i{
    color: #5d9b0c;
}
.time-page-teacher-box{
    width: 100%;
    height: 340px;
    padding: 40px;
    box-sizing: border-box;
    background-color: #FFF;
    font-size: 0;
    position: relative;
    display:         flex;
    display: -webkit-flex;
          align-items: center;
    -webkit-align-items: center;
          justify-content: center;
    -webkit-justify-content: center;
}
.time-page-teacher-img-box{
    width: 260px;
    height: 260px;
    display: block;
    vertical-align: middle;
    position: absolute;
    top: 40px;
    left: 40px;
}
.time-page-teacher-name{
    box-sizing: border-box;
    font-size: 36px;
    font-family: "Anton","微軟正黑體";
    letter-spacing: 3px;
    text-align: center;
    display: block;
    vertical-align: middle;
    width: 100%;
    padding:0 300px;

}

.time-page-title{
    font-size: 22px;
    text-align: center;
    display: block;
    background-color: #1b1b1b;
    color: #FFF;
    letter-spacing: 2px;
    height: 46px;
    line-height: 46px;
}
.teacher-no{
    cursor: no-drop;
}

/*---------------------hover---------------------------*/
.teacher-list:hover .main-bg{
    transform: scale(1.1);
}
.teacher-list:hover .teacher-list-name{
    background-color: #0072ff;
}
.time-link:hover{
    background-color: #1b1b1b;
}
.time-link:hover .time-link-p{
    color: #FFF;
}
.teacher-list-link:hover{
    background-color: #696969;
}
.teacher-list-link:hover .teacher-list-introduction-p,
.teacher-list-link:hover i,
.teacher-list-link:hover .teacher-list-link-p{
    color: #FFF;
}
.teacher-list-link .teacher-list-introduction-p,
.teacher-list-link i,
.teacher-list-link .teacher-list-link-p{
    transition: all .5s ease;
}
.teacher-out-box:hover{
    color: #0072ff;
}

/*---------------------動畫---------------------------*/
.teacher-list{
    opacity: 0;
}

.teacher-list.active{
    animation: fade .8s ease 0s 1 forwards;
}
.teacher-box{
    animation: fade .8s ease 0s 1 both;
}
.time-page-title{
    animation: fadeInUp .8s ease 0s 1 both; 
}
.calendar-block{
    animation: fadeInUp .8s ease .2s 1 both; 
}

@media only screen and (max-width: 1280px){
    .teacher-page-info-box{
        width: 1000px;
    }

}
@media only screen and (max-width: 1200px){
    .teacher-box{
        width: 1000px;
    }
    .teacher-list:nth-child(3n+2) {
        margin: 0px 30px;
    }
    .teacher-list{
        width: 313px;
    }
    .teacher-list-img-box{
        height: 313px;
        padding: 25px;
    }
    .teacher-list-name{
        font-size: 16px;
    }
    .time-link{
        font-size: 16px;
    }
    .calendar-date-time-list{
        font-size: 12px;
    }
    .teacher-list-box .teacher-list-link{
        width: 94px;
    }
    .teacher-list-box .teacher-list-link.teacher-list-introduction{
        width: 100%;
    }
}

@media only screen and (max-width: 1100px){
    .teacher-page-info-box{
        width: 900px;
    }
    .teacher-page-right-course-s-list{
        margin: 0 5px;
    }
}
@media only screen and (max-width: 1000px){
    .teacher-list{
        opacity: 1;
    }
    .teacher-box{
        width: 750px;
    }
  
    .teacher-list{
        width: 236px;
        margin-bottom: 20px;
    }
    .teacher-list:nth-child(3n+2) {
        margin: 0px 20px;
    }
    .teacher-list-img-box{
        height: 236px;
    }
    .teacher-list-img-box{
        padding: 10px;
    }
    .teacher-page-info-box{
        width: 700px;
    }
    .teacher-out-box{
        top: -55px;
        right: 0;
    }
    .teacher-page-info-box{
        padding: 10px;
    }
    .teacher-left-img-box{
        padding: 20px;
    }
    .teacher-page-left-box{
        width: 280px;
    }
    .teacher-left-img-box{
        height: 280px;
    }
    .teacher-page-right-box{
        width: calc(100% - 280px);
    }
    .teacher-list-link-list-box .teacher-list-link:nth-child(3){
        margin: 0 5px;
        margin-top: 15px;
    }
    .teacher-list-link{
        width: 90px;
    }
    .teacher-page-info-box{
        height: 438px;
    }
    .teacher-page-right-course-b-img{
        height: 292px;
    }
    .teacher-list-box .teacher-list-link{
        width: 75px;
        margin-top: 5px;
    }
    .teacher-list-box .teacher-list-link:nth-child(3){
        margin-top: 5px;
    }
}
@media only screen and (max-width: 750px){
    .teacher-page-info-box{
        width: 550px;
    }
    .teacher-page-left-box{
        width: 190px;
    }
    .teacher-left-img-box{
        height: 190px;
        padding: 10px;
    }
    .teacher-page-left-box .teacher-list-link.teacher-list-introduction{
 
        margin-top: 5px;
    }
    .teacher-page-left-box .teacher-list-link.teacher-list-introduction{
        height: inherit;
        line-height: inherit;
    }
    .teacher-list-link{
        margin-top: 5px;
    }
    .teacher-page-left-box .teacher-list-link:nth-child(3){
        
        margin: 0;
        margin-top: 5px;
        margin-left: 10px;
    }
    .teacher-list-link .teacher-list-introduction-p,
    .teacher-list-link i{
        font-size: 16px;
    }
    .teacher-list-link-p{
        margin-top: 0;
    }
    .teacher-list-link{
        padding: 5.5px 0;
    }
    .teacher-page-right-box {
        width: calc(100% - 190px);
    }
    .teacher-page-name{
        font-size: 14px;
        height: 22px;
        margin-bottom: 5px;
    }
    .teacher-page-right-course-b-img{
        height: 260px;
    }
    .teacher-page-right-course-s-img{
        height: 40px;
    }
    .teacher-page-info-box {
        height: 365px;
    }
    .teacher-out-box {
        top: -14px;
        right: 0;
        color: #000;
    }
    .teacher-list:nth-child(3n+2) {
        margin: 0px 0px;
    }
    .teacher-list:nth-child(even){
        margin-left: 20px;
    }
    .teacher-box{
        width: 550px;
    }
    .teacher-list{
        width: 265px;
    }
    .teacher-list-img-box{
        height: 265px;
    }
    .teacher-list-box .teacher-list-link{
        width: 85px;
    }
}
@media only screen and (max-width: 550px){
    .teacher-box {
        width: 340px;
    }
    .teacher-list-img-box{
        height: 340px;
    }
    .teacher-list{
        width: 100%;
    }
    .teacher-list:nth-child(even) {
        margin-left: 0px;
        margin-bottom: 20px;
    }
    .teacher-page-info-box{
        width: 340px;
    }
    .teacher-page-left-box{
        width: 100%;
    }
    .teacher-page-left-box .teacher-left-img-box{
        width: 60%;
        display: inline-block;
        vertical-align: top;
    }
    .teacher-page-left-box .teacher-list-link-list-box{
        width: 40%;
        display: inline-block;
        vertical-align: top;
        padding-left: 5px;
        box-sizing: border-box;
    }
    .teacher-page-left-box .teacher-list-link .teacher-list-introduction-p, 
    .teacher-page-left-box .teacher-list-link .teacher-list-link-p, 
    .teacher-page-left-box .teacher-list-link i{
        font-size: 14px;
    }
    .teacher-page-left-box .teacher-list-link.teacher-list-introduction{
        margin-top: 0;
        box-sizing: border-box;
    }

    .teacher-page-left-box .teacher-list-link {
        padding-top: 5.5px;
        padding-bottom: 2px;
    }
    .teacher-page-left-box .teacher-list-link:first-child{
        padding: 3px 0;
    }
    .teacher-list-link{
        width: 100%;
    }
    .teacher-page-left-box .teacher-list-link:nth-child(3){
        margin-left: 0;
    }
    .teacher-list-box .teacher-list-link{
        width: 31%;
    }
    .teacher-list-box .teacher-list-link:nth-child(3){
        margin: 5px 3.3%;
    }
    .teacher-out-box {
        top: -53px;
        
        color: #FFF;
    }
    .teacher-page-right-box{
        padding-left: 0;
    }
    .teacher-page-name{
        margin-top: 10px;
    }
    .teacher-page-info-box{
        height: inherit;
    }
    .teacher-page-right-box{
        width: 100%;
        display: block;
    }
    .teacher-page-right-course-b-img{
        height: 200px;
    }
    .teacher-page-right-course-s-list{
        margin: 0 2px;
    }
}
@media only screen and (max-width: 550px){
    .teacher-box{
        width: 95%;
    }
    .teacher-page-info-box{
        width: 300px;
    }
    .teacher-page-right-video{
        height: 150px;
    }
    .teacher-list-introduction i{
        font-size: 12px;
    }
    .teacher-page-right-introduction{
        height: 200px;
    }

}