a[href] {
    color: #296EFF;
    text-decoration: underline;
}

/* Code blocks */
pre[class*="language-"] {
    padding: 1em;
    margin: 0.5em 0;
    overflow: auto;
}

:not(pre)>code[class*="language-"],
pre[class*="language-"] {
    background: #f5f2f0 !important;
}

/* Inline code */
:not(pre)>code[class*="language-"] {
    padding: 0.1em;
    border-radius: 0.3em;
    white-space: normal;
}

.link-box-1 {
    display: block;
    background-color: #E5EDFF;
    margin: 1rem 0;
    text-align: center;
    color: #296EFF;
}

.link-box-1 img {
    width: 100%;
    max-height: 10em;
    object-fit: cover;
}

a.link-box-2,
a.link-box-1 {
    text-decoration: none;
}

.link-box-2 {
    color: #296EFF;
    /* display: inline-flex; */
    background-color: #E5EDFF;
    /* padding: 2px; */
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    /* vertical-align: middle; */
}

.link-box-2 svg,
.link-box-2 img {
    width: 1.4em;
    height: 1.4em;
    color: #296EFF;
    /* vertical-align: middle; */
}

.link-box-3 {
    display: flex;
    /* width: 100%; */
    background-color: #E5EDFF;
    color: #296EFF;
    border-radius: 0.2rem;
    margin: 1rem 0;
    overflow: hidden;
    align-items: center;
    line-height: 1rem;
    justify-content: space-between;
    font-size: 1rem;
    padding: 0.8rem;
}

.link-box-3>div:first-child {
    display: flex;
    align-items: center;
}

.link-box-3>div:first-child a {
    font-size: 1rem;
    text-decoration: none;
    margin-left: 0.25rem;
}

.link-box-3 img {
    width: 28px;
    height: 28px;
    color: white;
}

.link-box-3 svg {
    width: 1.2rem;
    height: 1.2rem;
}

.extend-box-1 {
    display: flex;
    /* width: 100%; */
    flex-direction: column;
    overflow: hidden;
    border-radius: 0.2rem;
    margin: 1rem 0;
    box-shadow: inset 0 0 4px 1px rgba(0, 0, 0, 0.05);
}

.extend-box-1 .title {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    background-color: #E5EDFF;
    color: #296EFF;
    font-size: 1rem;
}

.extend-box-1 .title>img {
    width: 28px;
    height: 28px;
    /* margin: 0; */
    margin-right: 0.25rem;
}

.extend-box-1 .content {
    padding: 1rem;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #F8F8FA;
}

.extend-box-1 .content div {
    display: flex;
    align-items: center;
    color: #666;
}

.extend-box-1 .content svg {
    color: #296EFF;
    width: 1.2rem;
    height: 1.2rem;
}

.extend-box-2 {
    display: inline-block;
    width: 1.4em;
    height: 1.4em;
    object-fit: cover;
    cursor: pointer;
}

.exercises-box {
    display: flex;
    /* width: 100%; */
    margin: 1rem 0;
    flex-direction: column;
    border-radius: 0.2rem;
    overflow: hidden;
    box-shadow: inset 0 0 4px 1px rgba(0, 0, 0, 0.05);
}

.exercises-box .title {
    display: flex;
    background-color: #E5EDFF;
    color: #296EFF;
    font-size: 1rem;
    padding: 1rem;
    align-items: center;
    line-height: 2rem;
}

.exercises-box .title> :first-child {
    display: flex;
    align-items: center;
}

.exercises-box .title svg {
    width: 1.8rem;
    height: 1.8rem;
    /* color: white; */
}

.exercises-box .content {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 1rem;
    background: #F8F8FA;
}

.exercises-box .content .exercise-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: #444;
    height: 3rem;
    line-height: 3rem;
}

.exercise-item svg {
    width: 1.8rem;
    height: 1.8rem;
    color: #666;
}

.exercise-item a {
    text-decoration: none;
    color: #444;
    width: 100%;
}

.exercise-item a:hover {
    color: #296EFF;
}

.lesson-head {
    margin: 1rem 0;
    /* width: 100%; */
    min-height: 5rem;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.chapter-head {
    margin: 1rem 0;
    /* width: 100%; */
    background-size: cover;
    background-position: center;
    min-height: 10rem;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    background-repeat: no-repeat;
}

.other-box,
.other-3d,
.link-box-file {
    display: flex;
    background-color: #E5EDFF;
    color: #296EFF;
    border-radius: 0.2rem;
    cursor: pointer;
    margin: 1rem 0;
    overflow: hidden;
    align-items: center;
    line-height: 1rem;
    justify-content: space-between;
    font-size: 1rem;
    padding: 0.8rem;

}

.other-box img,
.other-3d img,
.link-box-file img {
    width: 28px !important;
    height: 28px !important;
    margin-right: 0.25rem;
}

.thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.other-box>div:first-child,
.link-box-file>div:first-child {
    display: flex;
    align-items: center;
}

.other-box>div:first-child a,
.link-box-file>div:first-child a {
    color: white;
    font-size: 1rem;
    text-decoration: none;
}

.other-box svg,
.link-box-file svg {
    width: 2rem;
    height: 2rem;
    /* color: white; */
}

/* 视频 */
.video-box {
    display: flex;
    justify-content: center;
    width: 100%;
    flex-direction: column;
    border-radius: 6px;
    box-shadow: inset 0 0 4px 1px rgba(0, 0, 0, 0.05);
}

.video-box-title {
    font-size: 1rem;
    padding: 0.8rem;
    line-height: 1;
    border-radius: 6px 6px 0 0;
    background: #E5EDFF;
}

.audio-box {
    cursor: pointer;
    border-radius: 6px;
    width: 100%;
    box-shadow: inset 0 0 4px 1px rgba(0, 0, 0, 0.05);
}

.image-box::after,
.image-box::before {
    content: "";
    display: table;
}

.audio-box-title {
    border-radius: 6px 6px 0 0;
    background: #E5EDFF;
    padding: 0.8rem;
    line-height: 1;
    font-size: 1rem;
}

.container {
    display: flex;
    flex-direction: column;
}

.container .title {
    text-align: center;
}

.video-box-1 {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
    z-index: 10;
}

.video-box-1 .type-img {
    position: absolute;
    z-index: 50;
    width: 56px;
    height: 28px;
    left: 5px;
    top: 5px;
}

.video-box-1 .video-content {
    width: 100%;
    z-index: 20;
}

.video-box-1 .video-content .cover {
    position: absolute;
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    z-index: 30;
    top: 0;
    left: 0;
    z-index: 30;
    cursor: pointer;
    border-radius: 14px;
}

.video-box-1 .play {
    width: 60px;
    height: 60px;
    z-index: 50;
    cursor: pointer;
    position: absolute;
    top: calc((100% - 60px) / 2);
    left: calc((100% - 60px) / 2);
}

/* 行内视频 */
.video-inline,
.thumb-inline,
.audio-inline {
    /* width: 1.4em;
    height: 1.4em; */
    /* display: inline-flex;
    align-items: center; */
    /* background-color: rgb(60, 60, 60); */
    border-radius: 2px;
    cursor: pointer;
    /* vertical-align: middle; */
}

.video-inline img,
.thumb-inline img,
img.link-inline {
    width: 22.5px;
    height: 22.5px;
    /* vertical-align: middle; */
    margin: 0 0.1em;
}

.video-inline img+img,
.thumb-inline img+img {
    margin-left: 0.2em;
}

/* 图集 */
.box-thumb {
    width: 100%;
}

.box-thumb>div:first-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.box-thumb.one>div:first-child {
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-thumb>div:first-child .thumb {
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-thumb>div:first-child .thumb img {
    object-fit: cover;
    height: 200px;
    /* width: 100%; */
    cursor: pointer;
}

.box-thumb>div:last-child {
    line-height: 2rem;
    font-size: 1rem;
    width: 100%;
    text-align: center;
}

.box-thumb>div>div>img {
    max-height: 400px;
    object-fit: cover;
}

.box-thumb>div>div>span {
    font-size: 1.4em;
    color: #243;
}

.box-thumb>.title {
    text-align: center;
}

.inline-box,
.audio-inline {
    /* display: inline-flex; */
    align-items: center;
    cursor: pointer;
    /* vertical-align: middle; */
}

.inline-box img,
.audio-inline img {
    height: 22.5px;
    width: 22.5px;
    object-fit: cover;
    /* vertical-align: middle; */
    /* background-color: #0002; */
}

.inline-box img.imgDisplay,
.audio-inline img.imgDisplay {
    background-color: transparent;
}

.mce-content-body td {
    border-right: 1px #f1f1f1 solid;
    border-bottom: 1px #f1f1f1 solid;
}

.mce-content-body tr {
    border-top: #f1f1f1 1px solid;
    border-left: #f1f1f1 1px solid;
}

.mce-content-body .math-tex .dummy {
    display: none;
}

.tox-dialog__disable-scroll>.tox-tinymce-aux,
.tox.tox-tinymce-aux {
    z-index: 2004 !important;
}