.agenda {
    background-color: #f2f6f7;
}

.agenda .deco {
    border-bottom: 1px dashed #c2c2c2;
}

.agenda .deco:last-of-type {
    border-bottom: none;
}

.class-time {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

.class-time p {
    display: inline-block;
    margin-bottom: 0;
}

@media (max-width:992px) {
    .class-time {
        justify-content: start;
        padding-top: 25px;
    }

    .stick {
        position: sticky;
        position: -webkit-sticky;
        top: 120px;
    }
}

@media (max-width:576px) {
    .class-time {
        padding-top: 25px;
        flex-direction: row;
    }

    .class-time p {
        margin-bottom: 5px;
    }
}

.class h4 {
    display: inline-block;
    padding-right: 5px;
    font-size: 23px;
}

.class h4 span {
    font-size: 28px;
}
.class.level{
    color: #2d45ff;
}
.class-title.rest{
    color: #777777;
}
.class.level h4{
    margin-bottom: 0;
}

.keynote::after {
    content: 'KEYNOTE';
    display: inline-block;
    color: #2d45ff;
    border: 1px solid #2d45ff;
    font-size: 13px;
    padding: 0 8px;
    border-radius: 5px;
    vertical-align: super;
}

.class-title {
    position: relative;
}

.class-title h5 {
    font-size: 18px;
    line-height: 1.4;
    font-weight: normal;
    margin-bottom: 0;
}

.class-name p {
    font-size: 16px;
    line-height: 1.5;
    color: #888;
    margin-bottom: 5px;
}

@media (max-width:992px) {
    .tag-box {
        padding-bottom: 20px;
        border-bottom: 1px dashed #cecece;
    }

    .class-box:last-of-type {
        border-bottom: none;
    }
}

.main-tag,
.tag {
    display: inline-block;
}

.main-tag span,
.tag span {
    padding: 4px 8px;
    font-size: 14px;
    border-radius: 5px;
}

.main-tag span {
    background-color: var(--third);
    color: #fff;
}

.tag span {
    background-color: #EDEEED;
    margin: 3px;
    border: 1px solid #a3a3a3;
}

.txt p {
    margin-top: 60px;
    color: #757575;
    font-size: 16px;
}

/* ---------- 顏色 ---------- */
.class-A {
    color: #f76744;
}

.class-B {
    color: #41c765;
}

.class-C {
    color: #b965eb;
}

.class-D {
    color: #44a1d9;
}


.color:hover h5 {
    color: #1149c4;
}

/* ---------- Model ---------- */
.agModal .modal-content {
    border-radius: 10px;
    font-size: 16px;
}

.agModal .modal-body {
    padding: 1.5rem 2.2rem;
}

.modal-body p {
    margin-bottom: 5px;
    font-size: 19px;
}

.agModal .modal-header {
    border-bottom: none;
}

.agModal h3 {
    font-weight: 700;
}

.agenda-content-class::before {
    content: url(../img/icon/book.svg);
    display: inline-block;
    transform: translateY(2px);
    width: 16px;
    height: 16px;
    color: #353535;
}

.modal-body .list-inline {
    margin-bottom: 0;
}

.agenda-content-class p {
    margin-bottom: 0;
}

.agModal .tag {
    font-size: 13px;
}

.agModal-sp {
    margin-bottom: 20px;
}

.agModal-sp img {
    display: block;
    margin: 0 auto;
    max-width: 120px;
    border: 1px solid #eee;
    border-radius: 5px;
}

@media (min-width: 768px) {
    .agModal {
        max-width: 750px;
    }
}

@media (max-width:576px) {
    .agModal .modal-body {
        padding: 1.5rem 1.4rem;
    }

    .modal-body p {
        margin: 5px 0;
        font-size: 15px;
    }

}


/* ========== 關掉按鈕 ========== */
.modal-header span {
    font-size: 30px;
}

.modal-header span::before {
    content: 'CLOSE';
    font-size: 18px;
    position: absolute;
    top: 23px;
    right: 40px;
    font-weight: 600;
    color: var(--main-color);
}