﻿.MainTable
{
    margin-top: 10px;
    margin-bottom:15px;
    width: 100%;
}   
        
.MainTable tr
{
    vertical-align: top;
}


#MyInput {
    position: relative; /* 添加这一行，以便方便子元素绝对定位 */
    height: 230px;
    width: 100%;
    border-style: solid;
    border-width: 1px;
    border-top-width: 0px;
    border-color: #999999 #999999 #999999 #999999;
}


#MathOutput {
    margin-top: 5px;
    font-size: 14px;
    width: 700px;
    height: 276px;
    border: 1px solid #999999;
    text-align: center;
}


#TextAreaLinkCode {
    width: 695px;
    height: 100px;
    color: #333333;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 12px;
    padding-top: 10px;
    resize: none;
    border: 1px solid #999999;
}



#CommandButtons {
    position: absolute;
    color: #2955A0;
    font-size: 11px;
    margin-top: 240px;
    margin-left: 155px;
}


#AD {
    position: absolute;
    margin-top: 205px;
    margin-left: 125px;
}

#ForLatext {
    margin-top: 25px;
    width: 700px;
    height: 200px;
    overflow: auto
}

#ForASC {
    margin-top: 25px;
    width: 700px;
    height: 200px;
    overflow: auto
}

.SingleButton
{
    cursor: pointer; 
    display: inline-block;
    text-decoration: underline;
    margin-left:15px;
}

#divURL {
    margin-top: 12px;
    border: 1px solid #999999;
    padding: 10px;
    height: 95px;
    word-break: break-all;
    overflow: auto;
}

#divEmbed {
    margin-top: 12px;
}


#divMathML {
    margin-top: 12px;
    border: 1px solid #999999;
    padding-top: 10px;
    line-height: 1.2em;
    white-space: pre;
    width: 700px;
    height: 105px;
    overflow: auto;
}





/*-------------------- Override  codemirror.css ----------------------*/
.CodeMirror {
    /*-------加了AD Of Input 后,不用了 height: 230px; ---------*/
    width: 100%;
    margin-top: 0px;   
    line-height: 1.6em;
    font-size: 16px;
    font-family: verdana, arial, helvetica, sans-serif;
    color: Black;
    letter-spacing: 0.12em;
}
        
.CodeMirror-scroll
{
    overflow: auto;
    width: 700px;
    height: 220px;
    position: relative;
}

.cm-s-default span.cm-atom
{
    color: black;
}

.cm-s-default span.cm-bracket
{
    color: blue;
}

.cm-s-default span.cm-tag
{
    color: blue;
}

.CodeMirror-focused div.CodeMirror-selected { background: #3399FF; }

.cm-s-default span.cm-comment {color: #a50; font-size:12px;}
/*--------------------Override  codemirror.css ----------------------*/
      
