:root{
    --ColorBrand:#409EFF;
    --ColorSuccess:#67C23A;
    --ColorWarning:#E6A23C;
    --ColorDanger:#F56C6C;
    --ColorInfo:#909399;

    --ColorMainText:#303133;
    --ColorText:#606266;
    --ColorNormalText:#909399;
    --ColorEmptyText:#C0C4CC;

}
.color-danger{
    color:var(--ColorDanger) !important
}
.color-info{
    color:var(--ColorInfo)
}

@font-face {
    font-family: 'KaTeX_Math';
    src: url('/html/KateX/KaTeX_Math-Italic.woff2') format('woff2');
    font-display: block;
}

@font-face {
    font-family: 'KaTeX_AMS';
    src: url('/html/KateX/KaTeX_AMS-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'KaTeX_Caligraphic';
    src: url('/html/KateX/KaTeX_Caligraphic-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'KaTeX_Fraktur';
    src: url('/html/KateX/KaTeX_Fraktur-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'KaTeX_Main';
    src: url('/html/KateX/KaTeX_Main-Italic.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'KaTeX_Main';
    src: url('/html/KateX/KaTeX_Main-Regular.woff2') format('woff2'),url('/html/KateX/KaTeX_Main-Regular.ttf') format('ttf');;
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'KaTeX_Size1';
    src: url('/html/KateX/KaTeX_Size1-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'KaTeX_Size2';
    src: url('/html/KateX/KaTeX_Size2-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'KaTeX_Size3';
    src: url('/html/KateX/KaTeX_Size3-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'KaTeX_Size4';
    src: url('/html/KateX/KaTeX_Size4-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Times_New_Roman_Number';
    src: url('/html/KateX/Times_New_Roman_Number.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.w-e-modal{
    /* position: fixed  !important; */
    /* top: 10% !important;
    left: 10% !important;
    width: 85% !important; */
    /* height: 80% !important; */
    /* z-index: 999 !important ; */
    margin: 0 !important;
    padding: 0 !important ;
   
}
   
  

.iframe{
    
}
.topic .katex{
    margin: 0 1.5mm;
}

.katex{
    /* font:normal 1.2em KaTeX_Main, Times New Roman, serif ; */
    /* font:normal 1em KaTeX_Main, Times New Roman, serif ; */
    font-size: 14pt !important;
}

.el-table .cell{
    /* overflow-x: auto !important; */
    text-overflow: unset !important;
}

.content-border .container  .w-e-text-container {
    border:1px dashed #ccc !important;   
}






.topic{
    h2 {
        font-size: 26px;
    }
    p {
        letter-spacing: 0;
        word-spacing: normal;
        font-family: "Times New Roman","宋体", SimSun, serif;    
        font-size: 14pt !important;
        line-height: 1.6 !important;
        margin-block-start:5px;
        margin-block-end:0px;
    }

    font-family: "Times New Roman", KaTeX_Main, "宋体", serif;
    /* font-family: KaTeX_Main, "宋体"; */
    /* font-size: 12pt !important;
    line-height: 1.8 !important; */
    
      table {
        border-collapse: collapse !important;
        tbody{
          margin: 0 !important;
        }
        width: 100% !important;
        tr{
          border:1px solid #000;
        }
        th{
          
          border-right:1px solid #000;
          height: 5mm;
        }
        td{
          
          border-right:1px solid #000;
          height: 5mm;
        }
      }
}

.input-red .el-input__inner {
    color:red;
}

.input-purple .el-input__inner {
    color:#8A38F5;
}

.w-e-toolbar p, .w-e-text-container p, .w-e-menu-panel p{
    font-size: 16px !important;
}

.paper-a4 .topic-item:last-of-type .topic-flex:last-of-type .topic-flex-content:last-of-type .topic-flex-left:last-of-type .topic-title:last-of-type p:last-of-type
{
  margin-bottom: 0;
}

.el-table .row-purple-6 {
    background: #c4a3ffe0;
}

.el-table .warning-row {
    background: oldlace;
}
code {
    font-family: Cascadia Code;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    padding: 10px;
    display: block;
    overflow-x: auto;
    white-space: pre;
    font-size: 14pt;
}

.katex .katex-html .base{
    margin: 2px 0;
}
.katex{
    font-family: Times_New_Roman_Number,KaTeX_Main, serif !important;
}
.upload .el-upload .el-upload-dragger {
    width: 240px !important;
    height: 150px !important;
}

.padding-0 .el-table__cell{
  padding: 0 !important;
}
.padding-0 .el-dialog__body{
    padding: 0 I !important;
}

.placeholder-red {
  input::placeholder{
    color: red;
  }
} 
.el-calendar-table .el-calendar-day{
  height: 130px !important;
  padding: 8px 0 !important;
}
.el-calendar-table thead th{
    padding: 0 0 !important;
}
.tb-text-blue .el-table__cell .cell{
    color:blue;
    .el-input__inner {
        color:blue;
    }
}

.tb-text-red .el-table__cell .cell{
    color:red;
    .el-input__inner {
        color:red;
    }
}

.topic-title-right {
    flex-shrink: 0;
    max-width: 50%;
    overflow: hidden;
    p {
      img {
          max-width: 100%;
      }
    }  
  }
.el-table__footer-wrapper .el-table__footer .cell{
    white-space: pre;
}