* {
    padding: 0;
    margin: 0;
}

body {
    padding: 0 .3rem;
}

.flex-row {
    display: -moz-box;
    /* 老版本语法: Firefox (buggy) */
    display: -ms-flexbox;
    /* 混合版本语法: IE 10 */
    display: -webkit-flex;
    /* 新版本语法: Chrome 21+ */
    display: flex;
}

.tj-calendar {
    width: 6.91rem;
    padding: .18rem .3rem;
    box-sizing: border-box;
    border: 1px solid #e6e6e6;
    border-radius: .2rem;
    margin: 0 auto;
    display: none;
}

.tj-tips, .tj-grade {
    position: relative;
    font-size: .34rem;
    color: #4d4d4d;
}

.tj-tips {
    margin-top: .5rem;
    display: none;
}

/*.tj-tips::before, .tj-grade::before {*/
/*    content: "";*/
/*    display: block;*/
/*    width: .06rem;*/
/*    height: .2rem;*/
/*    position: absolute;*/
/*    left: .1rem;*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*    background: #fac439;*/
/*}*/

.tj-week-banner {
    display: flex;
}

.tj-week-banner .week-item, .month-item {
    position: relative;
    width: .895rem;
    font-size: .36rem;
    text-align: center;
    color: #808080;
    padding: .18rem 0;
    box-sizing: border-box;
}

.tj-month-title {
    text-align: center;
    width: 100%;
    background: #fac439;
    color: #fff;
    border-radius: .06rem;
    font-size: .3rem;
    line-height: .42rem;
}

.tj-month {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.month-item {
    color: #ccc;
}

.month-item .tj-day {
    cursor: pointer;
    display: inline-block;
    width: .6rem;
    height: .6rem;
    line-height: .6rem;
    border-radius: .12rem;
    box-sizing: border-box;
    text-align: center;
}

.day-active {
    color: #808080;
}

.day-active .tj-day {
    border: 1px solid #b3b3b3;
}

.auto-click {
    color: #fff;
}

.auto-click .tj-day {
    background: #ff6c00;
    border: 1px solid #ff6c00;
}

.day-full .tj-day {
    background: #b3b3b3;
    border: 1px solid #b3b3b3;
}

.be-click {
    color: #fff;
}

.be-click::after {
    content: "";
    display: block;
    width: .72rem;
    height: .72rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    border: .03rem solid #3db8ff;
    border-radius: .14rem;
    z-index: -1;
}

.be-click::before, .auto-click::before {
    content: "✓";
    color: #fff;
    display: block;
    width: .28rem;
    height: .28rem;
    line-height: .34rem;
    position: absolute;
    right: 0;
    bottom: .1rem;
    background: #fac439;
    border-radius: 50%;
    font-size: .28rem;
    font-weight: bold;
}

.day-full {
    color: #fff;
    font-size: .26rem;
}

.be-click-tip {
    position: absolute;
    left: 0;
    padding: 0 .1rem;
    bottom: -.75rem;
    min-width: 3.92rem;
    height: .68rem;
    line-height: .68rem;
    background: #3db8ff;
    text-align: center;
    color: #fff;
    border-radius: .12rem;
    font-size: .34rem;
    z-index: 8;
    opacity: 1;
    align-items: center;
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.5);
}

.be-click-tip .tj-tip-btn {
    padding: .1rem .05rem .1rem 0;
    color: #fff948;
}

.triangle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -.1rem;
    width: 0;
    height: 0;
    border-left: .09rem solid transparent;
    border-right: .09rem solid transparent;
    border-bottom: .18rem solid #3db8ff;
    z-index: 8;
}

.tj-course-time-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: .1rem;
}

.course-time-item {
    position: relative;
    width: 3.3rem;
    height: .58rem;
    line-height: .58rem;
    box-sizing: border-box;
    border: 1px solid #e6e6e6;
    border-radius: .1rem;
    text-align: center;
    color: #808080;
    font-size: .3rem;
    margin-top: .18rem;
}

.course-time-full {
    background: #cccccc;
    border: none;
    color: #fff;
}

.course-time-full::after {
    content: '已满';
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: .82rem;
    height: .31rem;
    line-height: .31rem;
    background: #999999;
    border-radius: 0 .12rem;
    text-align: center;
    font-size: .24rem;
}

.course-time-active {
    background: #fac439;
    color: #fff;
    border: 1px solid #fac439;
}

.course-time-active::after {
    content: "✓";
    color: #fff;
    display: block;
    width: .28rem;
    height: .28rem;
    line-height: .34rem;
    position: absolute;
    right: -.06rem;
    bottom: -.06rem;
    background: #ff6c00;
    border-radius: 50%;
    font-size: .18rem;
    font-size: .28rem;
    font-weight: bold;
}

.tj-course-info-box {
    display: flex;
    margin: .2rem 0 0 .1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.tj-course-info-item {
    height: .5rem;
    line-height: .5rem;
    margin-right: 1rem;
    color: #ff9140;
    font-size: .3rem;
    font-weight: bold;
}

.tj_check_grade {
    position: relative;
    width: 3.28rem;
    height: .56rem;
    border-bottom: .02rem solid #ccc;
    font-size: .28rem;
    line-height: .56rem;
    padding-bottom: 0.16rem;
    margin-left: 49%;
    transform: translate(-50%);
    -webkit-transform: translate(-50%);
    color: #666;
    letter-spacing: 1px;
}

.tj_check_grade::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    position: absolute;
    top: .22rem;
    margin-left: .1rem;
    border-width: .12rem;
    border-style: solid;
    border-color: #999 transparent transparent transparent;
}

.tj_title {
    font-size: .4rem;
    font-weight: bold;
    color: #ff6c00;
    line-height: .58rem;
    padding: .3rem;
    text-align: center;
}

.small_package_pay_btn {
    width: 4.2rem;
    height: .9rem;
    font-size: .4rem;
    font-weight: bold;
    color: #fff;
    background-color: #ccc;
    text-align: center;
    line-height: .9rem;
    margin: .7rem auto .65rem;
    border-radius: .5rem;
}

.small_package_pay_btn.active {
    background-color: #ff6c00;
}
