/*
#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('/Content/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: 36px;
    background-image: url('/Content/images/logo_background.png');
    background-repeat:repeat-x;
    background-position: top left;
    /*border: 1px solid #E5E5E5;*/
    /*background-color: #F6F6F6;*/
    /*padding-top: 5px;*/
    /*overflow: hidden;
    padding: 6px 4px 6px 10px;*/
    z-index: 2;
    line-height:36px;
}
#actions a{overflow:hidden;}
#actions img{float:left;display:inline;margin:10px 3px 0 10px;}
#actions a span{float:left;color:#666;}
#actions p{float:left;margin-left:30px;font-size:12px;border: 1px solid #bbb;border-radius: 4px;padding:0 10px;height:24px;line-height:25px;background-color:#f3f3f2;margin-top:4px;cursor:pointer;}
#actions p:hover{background-color:#fff;color:#222;}
#actions p a{color:#666;}
#actions p b{font-weight:normal;}

#editor{
    /*position: fixed;
    top: 108px;
    bottom: 0px;*/
    position:relative;
    /*margin:0;
    width: 100%;*/
    z-index: 2;
    overflow:hidden;
    /*border: 1px solid red;*/
    background-color:#e9eef5;    
    min-height:600px;
}

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

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

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

.copyright {
    text-align: center;
}
#detail{background-color:#e9eef5;}
#figures {
    float: left;
    width: 205px;
    min-height: 300px;
    /*border: 1px solid #E5E5E5;*/
    padding:0;overflow:hidden;
}
.group-icon{float:left;width: 100%;}
    #figures h3 {
        float: left;
        width: 100%;
        height: 30px;
        line-height: 30px;
        margin:0;
        background-color: #8B8B8B;
        cursor: pointer;
        padding: 0 10px;
        color:#fff; 
        font-size:14px;
        border-top: 1px solid #333;
    }
    #figures dl {
        width: 100%;
        /*border-top: 1px solid #ccc;*/
        overflow:hidden;
        background-color:#2f98dd;
        margin:0;
    }
    #figures dt {
        float: left;
        width: 100%;
        height: 40px;
        line-height: 40px;
        background-color: #2f98dd;
        cursor: pointer;
        padding: 0 10px;
        color:#fff;
        border-bottom:1px solid #92cbf1;
        background-image:url(/Content/images/design_down.png);
        background-repeat:no-repeat;
        background-position:170px center;
    }
    #figures .dt-over{ background-image:url(/Content/images/design_right.png);border:0 none;}
    #figures dt:hover{
        background-color:#44a3e0;
        font-weight:700;
    }
    #figures dd {
        float: left;
        display: inline;
        width:100%;
        /*min-height: 40px;*/
        cursor: pointer;
    }
    #figures ul{overflow:hidden;width:100%;margin:0;border-bottom:1px solid #fff;}
    #figures li {
        margin:0 0 1px 5px;
        overflow: hidden;
        height:30px;
        line-height:30px;
        background-color:#f2f2f2;
    }
    #figures li img {
        margin: 0 12px 0 32px;
        max-height:20px;
        max-width:35px;
        vertical-align:middle;
    }
     #figures li a{color:#27619a;}
#container{
    /*position:absolute;*/
    top: 0;
    bottom: 0px;
    left: 205px;
    right:0;
    overflow:hidden;
    background-color:#f4f8fc;padding-left:10px;
    /*height: 600px;*/
}
#right{
    /*float: right;
    overflow: scroll;*/
    position:absolute;
    right:5px;
    top:40px;
    bottom:0;
    /*width:100px;
    background-color:red;
    height:30px;*/
    z-index:5;
    overflow:hidden;
    background-color: #e9eef5;
    padding: 10px 10px 30px 10px;
    display:none;
}

#edit{
    width: 280px;
    background-color: #e9eef5;
    /*padding: 10px 10px 30px 10px;*/
    overflow:hidden;
}
#edit hr {
    /*Separator's style*/
    float: left;
    width: 100%;
    margin: 5px 0;
}
#edit textarea {
    float:left;
    width: 180px;
    height: 50px;
    margin-bottom:8px;
    border:1px solid #ccc;
}
#edit select {
    width: 100px;
}
    #edit .comsel {
        width: 150px;
        border: 1px solid #ccc;
        background-color:#fff;
    }

    #edit .comsel cite {
        padding-left: 5px;
        background:url(/Content/images/resize.jpg) no-repeat 139px 13px;

    }
    #edit .comsel ul li {
        padding:0 3px;
    }

#edit div.label {
    float: left;
    width: auto;
    color: #8C8C8C;
    text-shadow: 0px 1px 0px #FFFFFF;
    margin-bottom: 8px;
    margin-left:15px;
}
    #edit div.label i {
        float: left;
        width: 70px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        line-height:22px;
        padding-right:5px;
    }
#edit div.label input.text, #edit div.line input.text{
    float: left;
    margin: 0;
    border:1px solid #ccc;
    height:22px;
    width:145px;
    line-height:22px;
    padding-left:5px;
}
#edit div.label .prop-icon {
    width: 20px;
    height: 20px;
    float: left;
    padding-right: 3px;
}
#edit div.line {
    height: 22px;
    /*clear: both;*/
    width: 100%;
    float: left;
    margin-bottom: 8px;
}
#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: left;
    padding-right: 3px;
}
#edit div.textLine {
    clear: both;
    width: 100%;
}
.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: #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);
    */
}
.button{
    margin: 2px;
    border: 1px dotted black;
    text-decoration:  none;
}

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

.darkgray{color: #333333;}


.formTitle{
    background-image: url('/Content/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('/Content/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;
}

/*保存**/
.show-save-bg{width:100%;z-index:100;background-color:#fff;opacity:0.1;top:0;left:0;position:absolute;}
.show-save {width:550px;background-color: #e4e4e4;overflow: hidden;padding:3px;display:none;position:absolute;z-index:101;border-radius:5px;}
.show-save h4{height:30px;line-height:30px;padding-left:10px;color:#333;font-size:14px;}
.show-save ul{overflow:hidden;background-color:#fff;padding:10px 0;}
.show-save li{overflow:hidden;float:left;line-height:30px;padding:5px 0;}
.show-save li i{float:left;width:90px;padding-right:10px;text-align:right;}
.show-save li p{float:left;width:440px;}

.form-control {background-color: #fff;border: 1px solid #ccc;border-radius: 4px;box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;color: #555;display: inline-block;font-size: 14px;height: 34px;line-height: 1.42857;padding: 6px 12px;transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;vertical-align: middle;width: 100%;}
.show-save p input{width:180px;height:20px;}
.show-save p select{width:205px;}
.ssbtn{overflow:hidden;padding:5px;}
.btn {
    -moz-user-select: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857;
    margin-bottom: 0;
    padding: 3px 12px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    color:#333;
    margin-left:5px;
}
.show-save li p textarea{width:320px;min-height:100px;}

/*变量*/
.variable{overflow:hidden;padding:6px 0 4px;}
.variable a{float:left;display:inline;width:88px;height:28px;line-height:28px;text-align:center;border-radius:15px;border:1px solid #308ddd;color:#308ddd;margin-right:10px;}
.variable a:hover{background-color:#3fa4eb;color:#fff;text-decoration:none;}

/*保存 撤销*/
.canvas-btn{overflow:hidden;width:100%;padding:16px 0;text-align:center;position:fixed;left:0;}
.canvas-btn a{display:inline-block;width:88px;color:#fff;overflow:hidden;padding-left:38px;font-size:14px;margin:0px 10px;}
.canvas-btn a span{display:block;height:38px;line-height:38px;text-align:center;}
.cb-save{background:#2f98dd url(/Content/images/cb_save.png) no-repeat 7px center;}
.cb-save span{background-color:#4ab3e8;}
.cb-cancel{background:#a6b7c9 url(/Content/images/cb_cancel.png) no-repeat 7px center;}
.cb-cancel span{background-color:#c8d5e5;}

.canvas-btn a:hover{background-color:#308ddd;font-weight:700;text-decoration:none;color:#fff;}
.canvas-btn a:hover span{background-color:#43a5e6;}

#right input[type=button]{border:0 none;background-color:#e9eef5;}

table#edit{width:160px;}
table#edit label{width:100%;text-align:left;}