#section1 {
    display: none;
    width: 100%;
    margin: auto;
    height: auto;
    float: left;
    background-color: #F3F3F3;
}
#section1.index {
    display: block;
}

@media (min-width: 900px) {
    #section1 {
        display: block;
        width: 30vw;
    }
}

@media (min-width: 960px) {
    #section1 {
        width: 300px;
    }
}

@media (min-width: 1280px) {
    #section1 {
        width: 23vw;
    }
}

#calenda {
    width: 267px;
    height: 288px;
    margin: 88px auto 44px auto;
    display: block;
    color: #F2F2F2;
    background-color: #29323F;
    box-shadow: 3px 3px 15px 0px rgba(41, 50, 63, 0.7);
}

#calenda .calenda_title {
    width: 80%;
    padding: 1em 0;
    margin: auto 10% auto 10%;
}

#calenda .calenda_title #lastMt, #calenda .calenda_title #nextMt {
    width: 25%;
    float: left;
    text-align: center;
    cursor: pointer;
}

#calenda .calenda_title .calenda_month {
    width: 50%;
    float: left;
    text-align: center;
    cursor: default;
    display: none;
}

#calenda .calenda_title .calenda_active {
    display: block;
}

#calenda #daysotweek {
    font-weight: 900;
    margin-bottom: 15px;
    cursor: default;
}

#calenda .calenda_week {
    width: 84%;
    line-height: 14px;
    margin-left: 8%;
    margin-right: 8%;
    font-size: 12px;
    clear: both;
    cursor: pointer;
}

#calenda .calenda_week li.day {
    float: left;
    width: 24px;
    margin-left: calc( ( 100% - 168px ) / 14);
    margin-right: calc( ( 100% - 168px ) / 14);
    margin-top: 3px;
    margin-bottom: 3px;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

#calenda .calenda_week li.day.En_active {
    border-radius: 999rem;
    background-color: rgba(242,177,178,.8);
    color: #29323F;
    font-weight: 600;
    transition: all .2s ease;
    -webkit-transition: all.2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
}

#calenda .calenda_week li.day.En_active:hover {
    background-color: rgba(242,177,178,1);
    font-size: 14px;
    color: #000;
}

#calenda .calenda_week li.day.Jp_active {
    border-radius: 999rem;
    background-color: rgba(183,201,238,.8);
    color: #29323F;
    font-weight: 600;
    transition: all .2s ease;
    -webkit-transition: all.2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
}

#calenda .calenda_week li.day.Jp_active:hover {
    background-color: rgba(183,201,238,1);
    font-size: 14px;
    color: #000;
}

#classToday {
    display: none;
    width: 95%;
    height: auto;
    margin: 30px auto 0;
}
#classToday.today {display: block;}

@media (min-width: 640px) {
    #classToday {
        width: 85%;
    }
}

@media (min-width: 900px) {
    #classToday {
        display: block;
        width: 267px;
    }
}

#days .day {
    width: calc(100%/7);
    text-align: center;
    float: left;
    padding: 0.5em 0;
    font-size: 0.8em;
    position: relative;
    transition: all 0.1s ease-in;
    opacity: 0;
}

#days .day:nth-child(1) {
    animation: fadeIn 0.1s linear 0.25s forwards;
}

.day-details {
    clear: both;
    transform: scaleY(0);
    transition: all 0.3s ease-in-out;
    margin: 0 1em 0 -1.5em;
    transform-origin: top center;
}

#classToday li.title {
    width: 100%;
    line-height: 30px;
    text-align: center;
    color: #29323F;
    font-size: 30px;
    display: block;
    border-bottom: 1px solid #58bddc;
    margin-bottom: 30px;
    padding-bottom: 12px;
}

#classToday li.list {
    width: 100%;
    padding: 0 10px 50px;
    margin-bottom: 40px;
    background-color: #F7FAFB;
    cursor: pointer;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    transform: perspective(1px);
    transition: .5s;
}

#classToday li.list:hover {
    transform: translateY(-1px) perspective(1px);
    box-shadow: 0px 2px 5px rgba(0,0,0,0.4);
    background-color: #fff;
}

@media (min-width: 900px) {
    #classToday li.list {
        transform: perspective(1px);
    }
}

#classToday li.list .lang {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    padding: 10px;
    margin: 0 -10px 10px;
    background-color: #5F5F5F;
    background-image: linear-gradient(to right,#a2a2a2,#5F5F5F);
    text-align: center;
    transition: .5s;
    position: relative;
    z-index: 2;
}

#classToday li.list.us .lang {
    background-color: #E6697C;
    background-image: linear-gradient(to right,#FEA9C0,#f58193);
}

#classToday li.list.jp .lang {
    background-color: #7877B7;
    background-image: linear-gradient(to right,#96B5F8,#769cef);
}

#classToday li.list.sp .lang {
    background-color: #C19209;
    background-image: linear-gradient(to right,#75E2B9,#33BD7B);
}

#classToday li.list.vn .lang {
    background-color: #348F48;
    background-image: linear-gradient(to right,#89BAFF,#58BDDC);
}

#classToday li.list.rk .lang {
    background: url('../img/class_rookie.png') right 5px top 5px/24px #2889D4 no-repeat;
}

#classToday li.list .time {
    display: block;
    transition: .5s;
    position: relative;
}

#classToday li.list .course {
    display: block;
    font-size: 16px;
    transition: .5s;
    position: relative;
    padding-left: 50px;
}

#classToday li.list .course:before {
    content: attr(data-time);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

#classToday li.list .course.none {
    padding-left: 0;
    text-align: center;
}

#classToday li.list .course.none:before {
    display: none;
}

#classToday li.list .roombtn {
    display: block;
    padding: 0px 10px;
    border-radius: 5px;
    border: 1px solid #5F5F5F;
    color: #5F5F5F;
    position: absolute;
    bottom: 8px;
    left: 50%;
    margin-left: -43px;
    transition: .5s;
}

#classToday li.list .roombtn:hover {
    background-color: #ccc;
    color: #fff;
}


#classToday li.list.us .roombtn:hover {
    background-color: #E6697C;
    border-color: #E6697C;
}

#classToday li.list.jp .roombtn:hover {
    background-color: #7877B7;
    border-color: #7877B7;
}

#classToday li.list.sp .roombtn:hover {
    background-color: #C19209;
    border-color: #C19209;
}

#classToday li.list.vn .roombtn:hover {
    background-color: #348F48;
    border-color: #348F48;
}

#classToday li.list .arrow {
    width: 15px;
    height: 50px;
    margin-left: 5px;
    margin-right: 5px;
    line-height: 50px;
    text-align: center;
    font-weight: 600;
    font-size: 22px;
    color: #545454;
    background-image: url('../img/right-arrow.svg');
    background-size: 15px auto;
    background-repeat: no-repeat;
    background-position: center center;
}

#classToday li.list .icon-box:after {
    content: '';
    display: block;
    clear: both;
}

#classToday li.list .iconbox span.iconitem {
    float: left;
    display: block;
    width: 33.33%;
    font-size: 14px;
    padding-left: 23px;
    padding-right: 5px;
    position: relative;
}

#classToday li.list .iconbox span.iconitem:before {
    content: '\F0ED';
    display: block;
    font-family: FontAwesome;
    font-size: 17px;
    color: #757575;
    position: absolute;
    top: 0;
    left: 0;
}

#classToday li.list .iconbox span.iconitem.video:before {
    content: '\F01D';
}

#classToday li.list .iconbox span.iconitem.homework:before {
    content: '\F044';
}

#classToday li.list .iconbox span.iconitem.question:before {
    content: '\F0EA';
}

#classToday li.list .iconbox span.iconitem:after {
    content: '\F00C';
    display: none;
    font-family: FontAwesome;
    font-size: 17px;
    color: #16C60C;
    position: absolute;
    top: 4px;
    left: 4px;
}

#classToday li.list .iconbox span.iconitem.checked:after {
    display: block;
}


/* 2022 new today */
.routineToday {
    display: block;
    height: auto;
    text-align: center;
    margin: 30px auto 0;
    padding: 30px 2.5% 30px;
}

@media (min-width: 640px) {
    .routineToday {
        padding: 30px 7.5% 30px;
    }
}

@media (min-width: 900px) {
    .routineToday {
        
    }
}
.routineToday .routineTodayTitle {
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    color: #29323F;
    text-align: center;
    padding-left: 30px;
    margin-bottom: 20px;
    position: relative;
}
.routineToday .routineTodayTitle::before,
.routineToday .routineTodayTitle::after {
    content: '';
    display: block;
    position: absolute;
}
.routineToday .routineTodayTitle::before {
    width: 12px;
    height: 12px;
    border: 2px solid #FEB546;
    top: 6px;
    left: 0;
    z-index: 2;
}
.routineToday .routineTodayTitle::after {
    width: 14px;
    height: 14px;
    background-image: linear-gradient(-45deg,
        transparent 0%, transparent 25%, 
        rgba(43,181,254,0.3) 25%, rgba(43,181,254,0.3) 50%, 
        transparent 50%, transparent 75%, rgba(43,181,254,0.3) 75%);
    background-size: 5px 5px;
    top: 10px;
    left: 5px;
}
.routineToday .owl-controls .owl-nav .owl-prev,
.routineToday .owl-controls .owl-nav .owl-next {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #d4f0ff;
    cursor: pointer;
    position: absolute;
    top: 30%;
    z-index: 99;
}
.routineToday .owl-controls .owl-nav .owl-prev:hover,
.routineToday .owl-controls .owl-nav .owl-next:hover {background-color: #2DB5FF;}
.routineToday .owl-controls .owl-nav .owl-prev {left: -20px;}
.routineToday .owl-controls .owl-nav .owl-next {right: -20px;}
.routineToday .owl-controls .owl-nav .owl-prev::before,
.routineToday .owl-controls .owl-nav .owl-next::before {
    content: '\f104';
    display: block;
    font-size: 18px;
    font-weight: bold;
    font-family: FontAwesome;
    color: #fff;
    position: absolute;
    top: 1px;
    left: 11px;
}
.routineToday .owl-controls .owl-nav .owl-next::before {content: '\f105';left: 12px;}
.routineArticle,.routineWord {margin-bottom: 50px;}
.routineArticleItem {display: block;padding: 0 25px;}
.routineArticleContent {
    background-color: #fff;
    padding: 10px;
}
.routineArticleContent .contentTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.routineArticleContent .contentTop .articleLabel {
    display: inline-block;
    padding: 0px 4px;
    line-height: 1.8em;
    font-size: 12px;
    background-color: #59985f;
    color: #fff;
}
.routineArticleContent .contentTop .articleLabel.style1 {background-color: #FFC351;}
.routineArticleContent .contentTop .articleLabel.style2 {background-color: #A33BF4;}
.routineArticleContent .contentTop .articleLabel.style3 {background-color: #59985F;}
.routineArticleContent .contentTop .articleLevel {font-size: 13px;}
.routineArticleContent .articleTitle {
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: bold;
    color: #29323F;
    text-align: left;
}
.routineArticleContent .articleTitle > div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.routineArticleContent .articleTitle .ch {font-size: 18px;}
.routineArticleContent .articleTitle .eng {font-size: 13px;}
.routineWordItem {padding: 0 25px;}
.routineWordItem .routineWordTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Noto Sans TC', sans-serif;
    margin-bottom: 5px;
}
.routineWordItem .routineWordTop .theWord {
    font-size: 24px;
    font-weight: bold;
    color: #2DB5FF;
}
.routineWordItem .routineWordTop .partOfSpeech {
    font-size: 16px;
}
.routineWordItem p {
    text-align: justify;
    margin-bottom: 5px;
}
.routineWordItem .routineWordBtn {
    display: block;
    background-color: #2DB5FF;
    color: #fff;
    text-align: center;
}
.routineWordItem .routineWordBtn span {
    display: inline-block;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}
.routineWordItem .routineWordBtn span::before,
.routineWordItem .routineWordBtn span::after {
    content: '';
    display: block;
    position: absolute;
}
.routineWordItem .routineWordBtn span::before {
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    top: 10px;
    left: 0;
}
.routineWordItem .routineWordBtn span::after {
    width: 9px;
    border-top: 2px solid #fff;
    top: 13px;
    left: -2px;
}
.routineWordItem .routineWordBtn:hover {background-color: #0091cb;}
/* 2022 new today */


/* booker2022.html nav.js 202309 */
body.modal-open {
    overflow: hidden;
}
.modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: .15s ease-in-out;
    opacity: 0;
    pointer-events: none;
}
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: scroll;
}
.modal .modal-backdrop {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #000;
    opacity: 0;
    pointer-events: none;
    transition: .5s ease-in-out;
}
.modal .modal-dialog {
    max-width: 600px;
    width: 100%;
    margin: 30px auto;
    position: relative;
    z-index: 1000;
    transform: translate3d(0,-25%,0);
    transition: transform .3s ease-out;
}
.modal.in {
    display: block;
    pointer-events: visible;
    transition: .5s ease-in-out;
    opacity: 1;
}
.modal.in .modal-backdrop {
    pointer-events: visible;
    opacity: 0.5;
}
.modal.in .modal-dialog {
    transform: translate3d(0,0%,0);
}
.modal .modal-dialog .close {
    width: 30px;
    height: 30px;
    padding: 0;
    background: none;
    border: none;
    box-shadow:none;
    position: absolute;
    z-index: 20;
    top: 8px;
    right: 8px;
    cursor: pointer;
    opacity: 0.5;
}
.modal .modal-dialog .close:hover {opacity: 1;}
.modal .modal-dialog .close::before,.modal .modal-dialog .close::after {
    content: '';
    display: block;
    width: calc( 3 / 5 * 100% );
    height: 2px;
    background-color: #888;
    position: absolute;
    top: 14px;
    left: 6px;
}
.modal .modal-dialog .close::before {transform: rotate(45deg);}
.modal .modal-dialog .close::after {transform: rotate(-45deg);}
.modal-dialog .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    border: 4px solid #2DB5FF;
    border-radius: 20px;
    background-color: #fff;
    padding: 20px;
    min-height: 50px;
}
.modal-content .title-area {
    font-size: 24px;
    font-weight: bold;
    color: #2DB5FF;
    text-align: center;
    padding: 10px 5px;
    margin-bottom: clamp(10px,2vw,30px);
}
.modal-content .highlight {
    display: inline-block;
    color: #f00;
}
.modal-content .control-area {
    display: flex;
    justify-content: center;
    gap: clamp(10px,2vw,20px);
    padding: clamp(20px,2vw,30px) 0 clamp(10px,2vw,20px);
}
.modal-content .modal-btn {
    display: inline-block;
    line-height: 1.5;
    text-align: center;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    outline: none;
    cursor: pointer;
}
.modal-content .modal-btn:hover {opacity: 0.8;}
.modal-content .modal-btn span {
    display: inline-block;
    font-size: 16px;
    min-width: 120px;
    color: #fff;
    background-color: #0080B3;
    border-radius: 5px;
    padding: 5px 10px;
}
.modal-content .modal-btn.cancel span {background-color: #aaa;}