/*
#E65227 darker orange (logo)
#EF6329 lighter orange (logo)
#0288AE darker blue
#81CFE9 lighter blue
#F4F4F4 light gray
#656565 gray
#50B1D2 light blue
#1AA851 green
#32B050 light green
*/
.message {color: green;}
.error {color: red; }

body{
    top:0;
    margin: 0;
    padding: 0;
    background-color: #F6F6F6;
}

#header{
    height: 36px;
    background-image: url('../images/logo_background.png');
    background-repeat:repeat-x;
    background-position: top left;
    /*border: 1px solid black;*/
    padding: 0;
    margin: 0;
    vertical-align: middle;
    z-index: 2;
}

#content{
    background-color: white;
}


/*
#menu {
    width: 100%;
    height: 33px;
    background-color: #EDEDED;
    border-bottom: 1px solid #E1E1E1;
    text-align: left;
    margin: 0;
}
*/

.actions{
    /*padding-left: 122px;*/
    height: 28px;
    /*background-image: url('../images/logo_background.jpg');
    background-repeat:repeat-x;
    background-position: top left;*/
    /*border: 1px solid #E5E5E5;*/
    /*background-color: #F6F6F6;*/
    /*padding-top: 5px;*/
    /*overflow: hidden;*/
    background-color:#E0ECFF;
    background-image: -moz-linear-gradient(top, #E0ECFF, #a2c2f5);
      background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#E0ECFF), to(#a2c2f5));
      background-image: -webkit-linear-gradient(top, #E0ECFF, #a2c2f5);
      background-image: -o-linear-gradient(top, #E0ECFF, #a2c2f5);
      background-image: linear-gradient(to bottom, #E0ECFF, #a2c2f5);
      background-repeat: repeat-x;
      border-color: #252525;
      filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe0ecff', endColorstr='#a2c2f5', GradientType=0)
      border: 1px #d7edff solid; 
      border-radius: 5px; 


    padding: 6px 4px 6px 10px;
    z-index: 2;
}


#editor{
    position: fixed;
    top: 38px;
    bottom: 0px;
    width: 100%;
    z-index: 2;
    /*border: 1px solid red;*/
}

.separator {
    vertical-align:middle; 
    margin: 0 4px 2px 4px;
}

#a {
    border: 1px solid #E5E5E5;
    background-repeat: repeat;
    background-color: #FFFFFF;
}

#body{
    width: 100%;
    position: relative;
}

.copyright {
    text-align: center;
}

#figures {
    float: left;
    width: 165px;
    height: 300px;
    /*border: 1px solid #E5E5E5;*/
    padding-top: 1px;
    padding-left: 2px;
    background-color: #F6F6F6;
}

#container{
    position: fixed;
    top: 38px;
    bottom: 0px;
    left: 168px;
    right: 0px;
    /*height: 600px;*/
}
#right{
    float: right;
    /*width:195px;
    overflow: scroll;*/
}

#edit
{
    width: 242px;
    background-color: #F6F6F6;
    margin:2px 2px 0px 2px;
}

#editCaption{
    width: 240px;
    background-color: #C0C0D0;
    height:45px;
    border-top:1px;
    border-top-style:dotted;
}

#edit hr {
    /*Separator's style*/
    float: left;
    width: 97%;
    margin: 5px;
}
#edit .editLine {
    /*Separator's style*/
    float: left;
    width: 97%;
    height:1px;
    border:none;
    border-top:1px dashed #0066CC
}

#edit textarea {
    width: 210px;
    height: 100px;
}
#edit select {
    width: 135px;
}
#edit div.GroupLabel {
    width:100%;
    text-align:left;
    font-size:14px;
    margin-bottom: 2px;
    color:#c0C0C0;
    font-weight:bold;
}
#edit div.label {
    float: left;
    width: 210px;
    font-size:14px;
    margin-bottom: 2px;
}
#edit div.label input.text, #edit div.line input.text{
    float: right;
    margin: 0;
    width:135px;
}
#edit input.textReadOnly{
    float: right;
    margin: 0;
    width:145px;
    background-color:#ededed;
}
#edit div.label .prop-icon {
    width: 20px;
    height: 20px;
    float: left;
    padding-right: 2px;
}
#edit div.line {
    height: 22px;
    /*clear: both;*/
    width: 100%;
    float: left;
    margin-bottom: 2px;
}
#edit div.HypLink
{
    text-align:left;
}
#edit div.line div.label{
    width: auto;
    margin-bottom: 0;
}
#edit div.title {
    margin-bottom: 0;
}
#right div.color-selector {
    width: 16px;
    height: 16px;
    display: block;
    float: right;
    padding-right: 2px;
}
#edit div.textLine {
    clear: both;
    width: 220px;
}
.menuText {
    color: #8B8B8B;
    font-size: 12px;
    /*text-decoration: none;*/
    text-shadow: 0px 1px 0px #FFFFFF;
    /**For IE glow you need both width and filter but also shrink the <a> area :p
    width: 50px;
    filter: glow(color=FFFFFF,strength=1);    
    */
    white-space: nowrap;
}

.toolbarText {
    color: black;
    font-size: 12px;
    text-decoration: none;
    margin-top:6px;
    /**For IE glow you need both width and filter but also shrink the <a> area :p
    width: 50px;
    filter: glow(color=FFFFFF,strength=1);
    */
}
.actions a label.hover
{
    color:Blue;
    font-weight:bold;
    cursor:pointer;
}

.button{
    margin: 2px;
    border: 1px dotted black;
    text-decoration:  none;
}

.button:hover{
    background-color: orange;
}

.darkgray{color: #333333;}


.formTitle{
    background-image: url('../images/save-background.jpg');
    background-repeat:repeat-x;
    background-position: top left;
    height: 40px;
    margin: 2px;
    text-align: left;
    font-weight: bold;
    padding-top: 10px;
    padding-left: 10px;
    color: #8B8B8B;
}

.form{
    background-color: #F6F6F6;
    border: 1px #E4E4E4 solid;
    margin-right: auto; margin-left: auto;
}

.formField{
    height: 22px;
    border: 1px #E4E4E4 solid;
}

.formArea {
    border: 1px #E4E4E4 solid;
}

.formLabel {
    color: #8B8B8B;
    font-size: 14px;
    text-shadow: 0px 1px 0px #FFFFFF;
}



#dropdown
{	
    margin: 0;
    padding: 0;
    z-index: 10;
    position: relative;
    /*display: none;*/
}

.dropdown_menu
{	
    margin: 0;
    padding: 0;
    list-style: none;
    float: left;
    font: bold 14px arial;
    z-index: 10;
}

.dropdown_menu a
{	
    display: block;
    margin: 0 1px 0 0;
    padding: 8px 10px 4px 10px;
    /*width: 60px;*/
    /*background: #5970B2;
    color: #FFF;
    */
    color: #333;
    text-align: left;
    text-decoration: none;
}

.dropdown_menu a:hover
{	
    background: #ccc;
}

.dropdown_menu_panel
{	
    position: absolute;
    visibility: hidden;
    margin: 0;
    padding: 0;
    background: #eee;
    border: 1px solid #666;
    /*top: 36px;*/
    
    color: #8B8B8B;
    font-size: 12px;
    /*text-decoration: none;*/
    text-shadow: 0px 1px 0px #FFFFFF;
    /**For IE glow you need both width and filter but also shrink the <a> area :p
    width: 50px;
    filter: glow(color=FFFFFF,strength=1);    
    */
    white-space: nowrap;
}

.dropdown_menu_panel a
{	
    position: relative;
    display: block;
    margin: 0;
    padding: 5px 10px;
    width: auto;
    white-space: nowrap;
    text-align: left;
    text-decoration: none;
    
    color: #8B8B8B;
    background: #eee;
}

.dropdown_menu_panel a:hover
{	
    background: #fff; 
    color: #8B8B8B;
}

.license_warning{
    background-color: white; 
    border: 1px solid black; 
    font-size: 20px;
}

#text-editor, #text-editor-tools {
    display: none;
    z-index: 5;
    position: absolute;
}

#text-editor textarea {
    padding: 6px;
    overflow: hidden;
    resize: none;
    line-height: 125%;

    /* to prevent automatic line-breaks */
    word-wrap: normal;
    white-space: pre;
    overflow-x: hidden;
}

#text-editor-tools {
    float: left;
    opacity: 0.90;
    background-image: url('../images/logo_background.png');
    background-size: 100%;
    background-position: top left;
}

#text-editor.active, #text-editor-tools.active {
    display: block;
}

#text-editor-tools .line, #text-editor .textLine {
    float: left;
    margin-right: 1px;
}

#text-editor-tools .line select {
    float: left;
}

#text-editor .label, #text-editor-tools .label {
    display: none;
}

#text-editor-tools .color_picker {
    margin-top: 2px;
}

#text-editor-tools .button-checker {
    text-decoration: underline;
    padding: 0px 4px;
    margin: 1px;
    cursor: pointer;
}

#text-editor-tools .button-checker[button-checked="true"] {
    border-style: inset;
}

#insert-image-dialog {
    display: none;
}

#insert-image-dialog h2{
    margin: 0 0 30px 0;
}

#insert-image-dialog .insert-image-line {
    margin-bottom: 10px;
}

#insert-image-dialog .insert-image-line label {
    padding-right: 10px;
}

#insert-image-dialog .submit-container {
    margin: 31px 0 0 0;
}

#insert-image-dialog .submit-container input{
    margin: auto;
    display: block;
    width: 100px;
    height: 32px;
}

#insert-image-dialog .insert-image-line .right-offset {
    float: right;
}

#insert-image-dialog .insert-image-line .url-input {
    width: 232px;
}

#upload-image-dialog {
    height: auto !important;
    width: 300px;
    color: black;
    background-color: white;
    border: 2px solid black;
    padding: 10px;
}

#upload-image-error {
    color: red;
    margin-top:15px;
}

#insert-image-reuse {
    width: 239px;
    margin-left: 29px;
}

#imageFile {
    margin-right: 34px;
}

#printFrame {
    position: fixed;
    top: 72px;
    bottom: 0px;
    left: 130px;
    right: 260px;
    z-index: 1;
}

 .figurePanel
{
    border:1px;
    vertical-align:middle;
    height:25px;
    width:142px;
    background: #d9e3f1;
    -moz-user-select: none;
    -khtml-user-select: none;
    user-select: none;
    cursor:pointer;
}
.figurePanel img
{
    display:inline;
    vertical-align:middle;
}
.figurePanel div
{
    display:inline;
    margin-left:5px;
    line-height:25px;
    font-size:small;
}

.navlist
{
    list-style-type:none;
    margin:0px; 
    padding:0px;
}
.navlist li 
{
    padding:0px;
}
.navlist li div
{
    border:1px dashed #e0ecff;
    background-repeat:no-repeat !important;
    background-position:left;
    /*background-size:136px 26px; */
    height:24px;
    width:137px;
    background:white;
}
.navlistspan
{
    margin-left:30px;
    font-family: Microsoft YaHei;
    font-size:13px;

}
.navlist li div.hover
{
    border:1px dashed #99BBE8; 
    background:#E0ECFF;
    cursor:pointer;
    background-repeat:no-repeat !important;
    background-position:left;
    /*background-size:136px 26px; */
    background:white;
}
.navlist li div.selected
{
    border:1px solid #99BBE8; 
    background:#E0ECFF;
    cursor:default;
    font-weight:bold;
    background-repeat:no-repeat !important;
    background-position:left;
    /*background-size:136px 26px; */
    background:white;
}

#figureTip {
    position: absolute;
    top: 100px;
    left: 100px;
    z-index: 1000;
    border: 2px lightgray;
    border-style: outset;
    color: darkgray;
    padding:3px;
}