﻿
.mainpy {
    display: flex;
}

.toolpanel {
    width: 25rem;
    min-height: 60rem;
    flex-direction: column;
    display: flex;
    padding: 1rem;
    border: solid 1px #ccc;
    gap: .2rem;
}

.docOp {
    padding: .8rem 0.3rem;
    line-height: 1.8rem;
}

.opFlex {
    display: flex;
}

    .opFlex span {
        width: 8rem;
        flex: 1;
    }

    .opFlex .txt {
        flex-grow: 1;
        height: 1.3rem;
        width: auto !important;
    }

.btnc {
    min-width: 2rem;
    min-height: 1.5rem;
    line-height: 1.5rem;
    vertical-align: middle;
    display: inline-block;
    padding: 0 .2rem 0 .2rem;
    border: solid 1px #ccc;
    border-radius: .2rem;
    text-align: center;
    cursor: pointer;
}

    .btnc:hover {
        background-color: #ccc;
    }

.panelsec {
    border-radius: .5rem;
}

.btnpanel {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    background-color: #fff;
    padding: .8rem 0rem;
}

.titlesec {
    display: flex;
    align-content: center;
    align-items: center;
    height: 1.8rem;
    background-color: #efefef;
    padding: 0 .5rem;
}
 
.ptitle {
    flex-grow: 1;
    font-weight: bold;
}

.cvbg {
    width: 100%;
    text-align: center;
    overflow-y: auto;
    overflow-x: hidden;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    
}

canvas {
    /*  box-shadow: 2px 2px 02px 5px #ccc;
    border-radius: .1rem;*/
    margin: 0 0 1rem 0;
}

.btnpanel .sel, .wordslist .sel {
    background-color: #a0c7f1 !important;
}

.colorbtn {
    width: 1.5rem;
    height: 1rem;
    border: solid 2px #fff;
    border-radius: .2rem;
}

.crpanel {
    display: flex;
    gap: .5rem;
}

.selcr {
    border: solid 2px #ffd800;
}

label {
    user-select: none;
}

.btndiv {
    text-align: center !important;
    width: 100%;
}



.listUI {
    font-size: 1.1rem;
    text-align: center;
    height: 15rem;
}

.listlessons {
    font-size: 1.1rem;    
    font-family: 楷体;
    height:15rem;

}

.wordslist {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    background-color: #ccc;
    width: 100%;
    min-height: 4.5rem;
    border-radius: .2rem;
    padding: .5rem;
    justify-content: left;
    flex: 1;
}

.word {
    background-color: #fff;
    font-family: 楷体;
    font-size: 1.5rem;
    width: 2rem;
    height: 2rem;
    vertical-align: middle;
    display: inline-block;
    padding: 0 .2rem 0 .2rem;
    border: solid 1px #ccc;
    border-radius: .2rem;
    text-align: center;
    cursor: pointer;
    line-height: 2rem;
}

.btnList {
    cursor: pointer;
    border: solid 1px #efefef;
    font-size: .75rem;
    background-color: var(--maincolor);
    color: #fff;
    border-radius: .2rem;
    padding: .1rem .5rem;
    width: 5rem;
}
    .btnList:disabled, .btnList[disabled]:hover {
        background-color: #ccc;
        cursor:no-drop;
    }
    .btnList:hover {
        background-color: var(--maincolorbold);
    }
    
.outObjects {
    display: flex;
}

    .outObjects .out2 {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        align-content: center;
        justify-content: center;
        justify-items: center;
        flex: 1;
    }

        .outObjects .out2 .btnList {
            width: 5rem;
        }

.ddl_itemdiv li {
    text-align: center !important;
}
.opFlexMath {
    display: flex;
    flex-direction:column;
}
    .opFlexMath span:first-child
    {
        width:7rem!important;
        
    }
    .mathtypediv {
       padding:0 0 0 3rem;
        display: flex;
        flex-wrap: wrap;
       justify-content:space-between;
        
    }
.mathtypediv >span
{
    width:40%;
   
}
 
.margindiv
{
    margin:.5rem 0 ;
}