@charset "utf-8";
/* 4 дизайн */

p{
    margin-bottom: 1em;
}
.selRubr {
    font-size: 95%;
}
.priceFrom{
    float: right;
    margin: 0 -30px 25px 150px;
    width: 400px;
    padding: 15px;
}
.priceFrom h3{
    margin-top: 0;
}
.priceFromVal{
    text-align: right;
}
.priceFromVal span{
    font-size: 200%;
}
.priceFromDescr{
    font-size: 90%;
}
#topImg{
    display: none;
}
#mainBox a{
    text-decoration: underline;
}
#mainBox h2 a{
    text-decoration: none;
}
#mainBox a:hover{
    text-decoration: none;
}
.mainMenu  > ul > li > li > a:hover{
    text-decoration: none;
}
.bgcolor{
    border-width: 1px 0;
    border-style: solid;
    padding: 40px 0;
}
#basket, #heart, #basketbox{
    justify-self: center;
    align-self: center;
    z-index: 100;
    position: fixed;
    right: 10px;
    top: 10px;
    border-radius: 50%;
    -webkit-border-radius: 15%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    height: 50px;
    text-align: left;
    width: 50px;
    margin: 0;
}
#basket a, #heart a, #basketbox a{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    margin-left: 3px;
    margin-top: 3px;
}
#heart{
    right: 70px;
}
#heart span{
    margin-left: -2px;
}
.notes > div{
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}
.notes .noteImg.wImg h2{
    opacity: 0.8;
    font-weight: normal;
}
.notes .noteInner {
    padding-top: 10px;
}
.sectionRubric .selBoxRubr ol > li > ul{
    margin: 0;
}
#blockQuestion .h1.c, #blockFeedback .h1.c, #blockDayproduct .h1.c, #blockFav .h1.c, #blockNotes .h1.c{
    text-align: left;
}
#blockQuestion .mainLine, #blockFeedback .mainLine, #blockDayproduct .mainLine, #blockFav .mainLine, #blockNotes .mainLine, #blockSectionparent .mainLine{
    display: none;
}
#contactInner .af2{
    order: -1;
}
.bgcolor{
    border: none;
}
.lastbox{
    margin-bottom: 0;
}
h1, .h1, h2, .h2{
    font-weight: 600;
}

.bgcolor h2{
    margin-bottom: 10px;
}
.mainLine{
    margin: -15px 0 25px 0;
}
.upp{
    font-size: 170%;
    line-height: 1.1em;
}
p.upp{
    margin-bottom: 0.4em;
}
.bgcolor .upp a{
    text-decoration: none!important;
}
#formIcons .svgicons{
    margin: 10px 10px 0 0;
    width: 20px;
    height: 20px;
}
#bottomform{
    margin-bottom: -30px;
}
#toorder .autoflex>div{
    flex: 1 1 auto;
}
#toorder #addFileBox{
    flex: 0 0 auto;
}
#bottomform .form td,
#checkType .form td{
    padding-bottom: 10px;
}
#checkType th strong{
    font-weight: bold;
    font-size: 120%;
}
h2{
    font-size: 170%;
}
h3{
    font-weight: bold;
    font-size: 120%;    
    padding-left: 10px;
    border-left-width: 3px;
    border-left-style: solid;
}
h3 a{
    text-decoration: none;
}
.lineshot{
    width: 150px;
    height: 1px;
    margin-left: auto;
    margin-right: auto;
  	margin-bottom: 25px;
}
#mainTitle{
    display: none;
}
a.submit, input.submit, input.update, button{
    text-transform: uppercase;
    text-align: center;
    font-size: 90%;
    border-radius: 10px;
    padding: 10px 20px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    transition: all 0.3s;
}
input.submit:hover, button:hover{
    transform: translateY(-3px);
}
input.submit:active, button:active {
    transform: translateY(0);
}
a.buy, input.buy{
    text-align: center;
    border-radius: 10px;
    padding: 10px 20px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;   
}
input.text, textarea, select {
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
#topbanner{
    align-items: center;
}
.autoflex{
    gap:30px;
}
.autoflex > div, .autoflex > span{
    margin-right: 0;
}
#topbanner.autoflex{
    justify-content: space-between;
}
#topbanner .twopart{
    margin-right: 150px;
    flex-basis: 45%;
}
.imgLanding{
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    margin-top: -70px;
    margin-bottom: -70px;
}
#stoimost > div{
    margin-right: 10px;
    position: relative;
    padding: 20px;
}
#stoimost > div:last-child{
    margin-right: 0;
}
#stoimost img{
    height: 100px;
    padding-left: 20px;
}
#stoimost strong{
    position: absolute;
    right: 0;
    top: 20px;
    padding: 10px 20px;
    font-size: 120%;
}
#vybor img{
    height: 150px;
    margin-left: 13px;
}
#uslugi img{
    height: 300px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    margin-left: 13px;
}
.bgcolor #vybor img{
    padding: 10px;
    margin-left: 13px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}
.words li {
    padding: 7px 15px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}
.c.h1{
    text-align: left;
}
#menuPanel .wrapper > div > ul{
    font-size: 87%;
    padding: 10px 7px;
}
#menuPanel .wrapper > div > ul li{
    margin-bottom: 1px;
}
.article.twoColumn li {
    border-width: 1px;
    border-style: solid;
    padding: 30px 30px 20px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}
.list.article .clearImg, .notes .clearImg {
    height: 20px;
}

.articleContent img,
.noteContent img {
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    -ms-border-radius: 7px;
    -o-border-radius: 7px;
    margin: 10px 0;
}
.articleContent img.imgbordleft{
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    margin: 0 0 0 30px;

}

.quote, .verb{
    font-style: normal;
    padding: 15px;
    margin: 7px 0;
    border-width: 1px 0 1px 0;
    border-style: solid;
}

.quote code {
    font-size: 110%;
    white-space: pre-wrap;
    line-height: 1.1em;
}
.verb code {
    font-size: 110%;
    white-space: pre-wrap;
    line-height: 1.1em;
}

.latex {
    color: #007575;
}

.latel {
    color: #e46600;
}

.olive {
    color: #A0A603;
}

.latcom,
.quote code u {
    color: #0156d6;
}

.quote code u {
    text-decoration: none;
    font-weight: bold;
}
.articleMenu .quote{    
    text-align: left;
}
.articleContent .quote,
.noteContent .quote{
    border-width: 25px 1px 1px 1px;
    border-radius: 7px;
    position: relative;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    -ms-border-radius: 7px;
    -o-border-radius: 7px;
}

.articleContent .quote:before,
.noteContent .quote:before {
    content: 'latex';
    color: white;
    position: absolute;
    z-index: 10;
    top: -23px;
    font-size: 90%;
}
.articleContent .clearhead,
.noteContent .clearhead{
    border-top-width: 1px;
}
.articleContent .clearhead:before,
.noteContent .clearhead:before {
    content: '';
}
.articleContent .verb,
.noteContent .verb {
    border-width: 1px;
    border-radius: 7px;
    position: relative;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    -ms-border-radius: 7px;
    -o-border-radius: 7px;
}
.list.article>div {
    margin: 20px;
    padding-bottom: 20px;
}
.list>div p, .list.article>div h2 {
    padding: 0 25px;
}
code:not(.quote code, .verb code) {
    font-family: Menlo, Monaco, Consolas, 'Lucida Console', monospace;
    font-size: 90%;
    margin: 0;
    background-color: #ebebeb;
    padding: 1px 5px;
    border-radius: 3px;
    white-space: nowrap;
}
.h1 .more{
    font-weight: normal;
    text-transform: none;
}
.borderleft{
    padding-left: 15px;
    margin-left: 30px;
    width: 250px;
    border-left-width: 3px;
    border-left-style: solid;
}
#latexCont>div p{
    padding-left: 15px;
    margin-right: 30px;
    border-left-width: 3px;
    border-left-style: solid;
}
#latexCont h3{
    padding-left: 0;
    border-left: none;
}
.noteInnerCont,
.articleInner{
    padding: 10px;
}
#logo a{
    font-weight: 600;
}
.imgbordleft{
    border-left: 1px solid;
    padding-left: 30px;
    margin-left: 30px;
    width: 200px;
}
.mainCapability .whiteBox > img{
    width: 100%;
}

@supports (grid-area:auto){
    @media  screen and (min-width: 800px){
        #minHeight{
            display: grid;
            grid-template-columns: minmax(20px, 1fr) 330px minmax(auto, 670px) 160px minmax(20px, 1fr);
            grid-template-rows: 70px 50px 40px 1fr auto;
            grid-template-areas:
                ".  lg sh am ."
                ".  lg sh am  ."
                ".  mm mm mm ."
                "mc mc mc mc mc"
                ".  bt bt bt .";

        }
        #menuBox, #topMenu, #allMenu{
            display: contents;
        }
        #addMenu{
            grid-area: am;
            align-self: center;
            justify-self: right;
            font-size: 80%;
            z-index: 5;
        }
        #addMenuBox{
            grid-column: 1/6;
            grid-row: 1/3;
        }
        #search{
            grid-area: sh;
            border-right-width: 3px;    
            border-right-style: solid;    
            align-self: center;
            justify-self: center;
            margin: 30px 0;    
            width: 100%; 
            height: 80px;   
        }
        #search .searchIcons{
            display: none;
        }
        #search .searchBox{
            display: block;
            position: static;
            border: none;
            background: transparent;
            width: auto;
            margin: 18px 20px 0 30px;
            padding: 0;
        }
        #search .searchBox > form{
            display: flex;
        }
        #search input.text{
            padding: 10px 15px;
            border-radius:10px;
            border-style: none;
            -webkit-border-radius:10px;
            -moz-border-radius:10px;
            -ms-border-radius:10px;
            -o-border-radius:10px;
            flex: 1 1 auto;
        }
        #search label{
            flex: 0 0 auto;    
            align-self: center;
            border-radius:10px;
        }
        #logo{
            grid-area: lg;
            justify-self: left;
            align-self: center;
            margin: 30px 0;
            width: 100%;
            height: 80px;
            padding: 0;
            z-index:5;
            border-right-width: 3px;
            border-right-style: solid;
        }

        #mainTitle{
            grid-area: lg;
            align-self: end;
            display: block;
            font-size: 90%;
            margin-bottom: 20px;
        }
        #menu, #mainMenuAdd, #mainMenuAdd2{
            grid-area: mm;
            justify-self: left;
            align-self: center;
            font-size: 120%;
            margin: 0 0 0 0;
            z-index:5;
        }
        .mainMenu .submenu span .svgicons {
            height: 30px;
            width: 10px;
        }
        #addTopBox1{
            grid-column: 1/6;
            grid-row: 3/4;
        }
        #mainMenuAdd{
            height: 60px;
            overflow: hidden;
            position: relative;            
        }
        #mainMenuAdd .bgMenu{
            left: -20px;
            right: -20px;
            top: -20px;
            bottom: -20px;
            border-radius: 10px;
            -webkit-border-radius: 10px;
            -moz-border-radius: 10px;
            -ms-border-radius: 10px;
            -o-border-radius: 10px;
            position: absolute;   
            z-index: 2; 
            display: none;
        }
        #mainMenuAdd:hover{
            height: auto;
            overflow: initial;
            z-index: 50;
        }        
        #mainMenuAdd:hover .bgMenu{
            display: block;
        }        
        #mainMenuAdd:hover ul{
            position: relative;
            z-index: 3;
        }       
        #mainBox{
            grid-area: mc;
        }
        #mainBox > div{
            display: grid;
            grid-template-columns: minmax(20px, 1fr) minmax(auto, 1160px) minmax(20px, 1fr);
        }
        #mainBox > div .wrapper{
            grid-column: 2/3;
        }

        #mainBox .over, #mainBox .msgBox{
            display: block;
        }
        #visualContact{
            grid-area: vc;
            justify-self: right;
            align-self: center;
            z-index: 5;
            display: none;
            grid-template-rows: repeat(2, auto);
            width: 100%;    
        }
        #topBox{
            display: none;
        }
        #bottomBox{
            grid-column: 1 / 6;
            grid-row: 5 / 6;
            border: none;
        }
        #copyright {
            margin-bottom: 0.8em;
        }
        #productBox {
            grid-template-columns: 1fr 1fr 1fr;
            grid-template-areas: 
                        " foto  hh hh"
                        "foto info desc"
                        "foto word word";
        }
        #productBox h1, #productDescription, #productWords{
            padding-left: 30px;
        }
        .infomain #productBox{
            grid-template-columns: 2fr 2fr 1fr;
            grid-template-areas: 
                        "foto hh hh"
                        "foto info ."
                        "foto word .";
        }
        #productInfo h2{
            margin: 30px 0;
            font-size: 250%;
        }
        #productInfo h2 #price, #productInfo h2.discountinfo i{
            font-weight: bold;
        }
        #productInfo h2.discountinfo #price{
            font-weight: normal;
        }
        #bottom{
            grid-area: bt;
        }
        #bottom > .wrapper{
            padding: 30px 0;
        }
        #bottom .bottomIn {
            display: block;
        }

        #bottom ul {
            display: flex;
        }

        #bottom ul>li {
            margin-right: 30px;
        }
        .noteInnerCont,
        .articleInner{
            padding: 30px;
        }
        .listing .noteInnerCont,
        .listing .articleInner{
            padding: 0px;
        }
        #iconsBottom{
            grid-column: 1;
            grid-row: 1;
        }
        #bottomMain{
            grid-column: 2;
            grid-row: 1;
        }
        #bottomAdd{
            grid-column: 3;
            grid-row: 1;
            padding-right: 30px!important;
        }
        #subTitle{
            display: none;
        }
        #basket, #heart, #basketbox{
            right: 20px;
            top: 170px;
        }
        #heart{
            top: 230px;
        }
        #basketbox{
            top: 290px;
        }
        #tel{
            margin: 0;
            align-self: center;
            justify-self: right;              
            grid-column: 1;
            grid-row: 1;
            margin-left: 30px;
            font-size: 230%;
        }
        #tel a:hover{
            text-decoration: none;
        }
        #pochta{
            grid-column: 1;
            grid-row: 2;  
            align-self: center;
            justify-self: right;   
        }
        #iconsTop{
            grid-column: 1;
            grid-row: 2;
            align-self: center;
            justify-self: right; 
        }
        #iconsTop .svgicons{
            margin: 0 0 0 10px;
            width: 20px;
            height: 20px;
        }
        #addMenu ul{
            height: auto;
        }
        #addMenu li{
            line-height: 20px;
            float: none;
        }
        #addMenu .svgicons{
            height: 20px;
        }
        .submenuBox{
            font-size: 80%;
        }
        .mainMenu .submenu ol li {
            padding: 0;
        }
        .mainMenu .submenu ol ul{
            padding: 0 0 0 15px;
            margin: 5px 0 5px 0;
            border-left-width: 3px;
            border-left-style: solid;
            font-size: 85%;
        }
        .mainMenu .submenu ol ul li{
            padding: 0;
            text-transform: lowercase;
        }
        .mainMenu .submenu ol > li > a {
            text-transform: none;
        }

        .mainMenu > ul > li{
            margin-right: 30px;
            margin-bottom: 0;
            font-size: 90%;
        }
        .mainMenu li div{
            margin-top: 5px;
            border-width: 0;
            border-radius: 10px;
            -webkit-border-radius: 10px;
            -moz-border-radius: 10px;
            -ms-border-radius: 10px;
            -o-border-radius: 10px;
        }
   
    }
    @media screen and (max-width: 900px){
        #menu, #mainMenuAdd, #mainMenuAdd2{
            font-size: 130%;
        }
    }
    @media screen and (max-width: 600px){
        #menu, #mainMenuAdd, #mainMenuAdd2{
            font-size: 100%;
        }
    }

}
@media screen and (min-width: 800px){
    .rb{
        border-right-style: solid;
        border-right-width: 3px;
        margin-right: 30px!important;
        padding-right: 30px;
    }
    .infomain{
        margin-bottom: 100px;
    }
    .infomain.lastbox{
        margin-bottom: 0px;
    }       
}
@media screen and (max-width: 599px){
    #contactInner .af2 img, #contactInner .af3 img{
        height: 180px!important;
    }
    .priceFrom{
        margin-right: -13px;
        margin-left: -13px;
        float: none;
        width: auto;
    }
}
@media screen and (max-width: 799px){
    .priceFrom{
        margin-right: -13px;
    }
    #uslugi.verstkaBox img, #uslugi.grafikaBox img{
        height: auto;
        width: 90%;
    }
}
@media screen and (max-width: 899px){
    #contactInner .af2, #contactInner .af3{
        order: 0;
        flex-basis: 45%;
        text-align: center;
    }
    #contactInner{
        flex-wrap: wrap;
    }
    .infomain{
        margin-bottom: 80px;
    }
    #tel{
        font-size: 200%;
    }
}
@media  screen and (min-width: 1400px){
    #basket, #heart, #basketbox{
        right: 120px;
    }
}
@media screen and (max-width: 449px){
    .imgLanding{
        margin: 0;
    }
    .zoomBox img {
        display: inherit;
    }
    #logo img{
        width: auto;
    }
    #logo{
        font-size: 150%;
    }
    .h1, h1{
        text-align: left;
        font-size: 220%;;
    }
    .infomain .submit{
        display: block;        
        text-align: center;
        margin-bottom: 5px;
    }
    .infomain{
        margin-bottom: 40px;
    }
    #container {
        padding-top: 10px;
    }
    #uslugi img, #vybor img{
        height: 50px;
        margin-left: 20px;
    }
    #topbanner .twopart{
        margin-right: 0;
    }
}
/* для latexProtect */
#latexProtect, #toolsBox{
    padding: 0 10px;
} 
.controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    padding: 0 0 30px;
}

.controls-left {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.controls-right {
    margin-left: auto;
    display: flex;
    gap: 10px;
}
.controls input.submit{
    width: auto;
}
.file-info {
    margin-left: 20px;
    white-space: nowrap;
}
.lprotect-container {
    display: flex;
    gap: 25px;
    height: calc(100vh - 210px);
}

.lprotect-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.lprotect-panel-header {
    padding: 12px 20px;
   /*  font-size: 110%; */
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.lprotect-panel-header span{
    display: flex;
    gap: 7px;
    align-items: center;
}
.lprotect-panel-content {
    flex: 1;
    overflow: auto;
    padding: 20px;
    max-width: 100%;
}
 
#lprotect-editor {
    border: none;
    font-family: 'Courier New', monospace;
    outline: none;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-height: 100%;
}
.lprotect-panel.tabs-container{
    overflow: auto;
}
.lprotect-panel .tab-content{
    height: 100%;    
}
.lprotect-panel .tabs-header{
    margin-bottom: 0;
}
.lprotect-panel .tabs{
    display: flex;
    gap: 10px;
}
#pdf-viewer {
    width: 100%;
    height: 100%;
    border: none;
}
.tooltip {
    position: absolute;
    padding: 7px;
    border-radius: 7px;
    z-index: 10000;
    max-width: 800px;
    display: none;
    pointer-events: none;
    backdrop-filter: blur(10px);
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    -ms-border-radius: 7px;
    -o-border-radius: 7px;
}

.tooltip.show {
    display: block;
}

.tooltip-content {
    min-height: 20px;
}
.status-bar {
    padding: 12px 25px;
    border-radius: 10px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 18px 30px;
    border-radius: 10px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1000;
    font-weight: 500;
    font-size: 15px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.notification.show {
    transform: translateX(0);
}

.context-menu {
    position: absolute;
    border-radius: 8px;
    z-index: 10000;
    min-width: 150px;
    font-family: inherit;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.context-menu-item {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.preview-output-textarea {
    width: 98%;
    height: 100%;
    border: none;
    resize: none; 
    padding: 0; 
    outline: none;
    display: block; 
}

/* Модальное окно подтверждения */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    border-radius: 12px;
    padding: 30px;
    max-width: 700px;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-dialog {
    transform: translateY(0);
}
.modal-message {
    margin-bottom: 25px;
}
.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}


@supports (grid-area:auto){
    @media  screen and (min-width: 800px){
        #latexProtect, #toolsBox{
            grid-column: 1/4;
            padding: 0 50px;            
            margin-bottom: 50px;
        }

    }
}

/* === Цвета в редакторе НЕ МЕНЯЕМ === */
.latex-protected {
    background-color: #e8e8e8;
    color: #555;
    padding: 1px 3px;
    border-radius: 2px;
    user-select: none;
    cursor: not-allowed;
    opacity: 0.5;
}

.latex-math.latex-math-remove,
.latex-chem {
    background-color: #fff3cd;
    color: #856404;
    cursor: help;
    position: relative;
    border-bottom: 1px dashed #856404;
}

/* .latex-env-start,
.latex-env-end, 
.latex-env-special, */
.latex-math{
    background-color: #d1ecf1;
    color: #0c5460;
} 

/* .latex-comment {
    color: #888;
    font-style: italic;
} */

/* .latex-meta {
    background-color: #f8d7da;
    color: #721c24;
} */

/* .latex-group {
    background-color: #e2e3e5;
    color: #383d41;
} */

/* .latex-special {
    background-color: #d4edda;
    color: #155724;
} */

.status-indicator.saved {
    background-color: #4caf50;
    box-shadow: 0 0 10px #4caf50;
}

.status-indicator.unsaved {
    background-color: #ff5722;
    box-shadow: 0 0 10px #ff5722;
}

#formulaEditModal .modal-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}
.formula-edit-section {
    margin-bottom: 30px;
}
.formula-edit-section .b {
    margin-bottom: 10px;
}
.formula-edit-field {
    margin-bottom: 15px;
}

/* end latexProtect */

#mainBox ul ul {
    list-style-type: "- "; 
}
#mainBox ul ul ul {
    list-style-type: circle; 
}
#mainBox ul ul ul ul {
    list-style-type: square;
}
.editorLatex#latextohtml textarea{
    min-height: 570px;
}
.editor textarea, .codeIns{
    background-color: #e8e8e8;
    color: black;
    font-size: 100%;
}
.editor textarea:focus{
    border: none;
}