
.CodeMirror {

  font-family: monospace;
  height: 300px;
}
.CodeMirror-scroll {

  overflow: auto;
}
.CodeMirror-lines {
  padding: 4px 0;
}
.CodeMirror pre {
  padding: 0 4px;
}
.CodeMirror-scrollbar-filler {
  background-color: white;
}
.CodeMirror-gutters {
  border-right: 1px solid #ddd;
  background-color: #f7f7f7;
}
.CodeMirror-linenumbers {}
.CodeMirror-linenumber {
  padding: 0 3px 0 5px;
  min-width: 20px;
  text-align: right;
  color: #999;
}
.CodeMirror div.CodeMirror-cursor {
  border-left: 1px solid black;
}
.CodeMirror div.CodeMirror-secondarycursor {
  border-left: 1px solid silver;
}
.CodeMirror.cm-keymap-fat-cursor div.CodeMirror-cursor {
  width: auto;
  border: 0;
  background: transparent;
  background: rgba(0, 200, 0, .4);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#6600c800, endColorstr=#4c00c800);
}
.CodeMirror.cm-keymap-fat-cursor div.CodeMirror-cursor:not(#nonsense_id) {
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}
.CodeMirror div.CodeMirror-cursor.CodeMirror-overwrite {}
.cm-s-default .cm-keyword {color: #708;}
.cm-s-default .cm-atom {color: #219;}
.cm-s-default .cm-number {color: #164;}
.cm-s-default .cm-def {color: #00f;}
.cm-s-default .cm-variable {color: black;}
.cm-s-default .cm-variable-2 {color: #05a;}
.cm-s-default .cm-variable-3 {color: #085;}
.cm-s-default .cm-property {color: black;}
.cm-s-default .cm-operator {color: black;}
.cm-s-default .cm-comment {color: #a50;}
.cm-s-default .cm-string {color: #a11;}
.cm-s-default .cm-string-2 {color: #f50;}
.cm-s-default .cm-meta {color: #555;}
.cm-s-default .cm-error {color: #f00;}
.cm-s-default .cm-qualifier {color: #555;}
.cm-s-default .cm-builtin {color: #30a;}
.cm-s-default .cm-bracket {color: #997;}
.cm-s-default .cm-tag {color: #170;}
.cm-s-default .cm-attribute {color: #00c;}
.cm-s-default .cm-header {color: blue;}
.cm-s-default .cm-quote {color: #090;}
.cm-s-default .cm-hr {color: #999;}
.cm-s-default .cm-link {color: #00c;}
.cm-negative {color: #d44;}
.cm-positive {color: #292;}
.cm-header, .cm-strong {font-weight: bold;}
.cm-em {font-style: italic;}
.cm-emstrong {font-style: italic; font-weight: bold;}
.cm-link {text-decoration: underline;}
.cm-invalidchar {color: #f00;}
div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
.CodeMirror {
  line-height: 1;
  position: relative;
  overflow: hidden;
}
.CodeMirror-scroll {


  margin-bottom: -30px; margin-right: -30px;
  padding-bottom: 30px; padding-right: 30px;
  height: 100%;
  outline: none;
  position: relative;
}
.CodeMirror-sizer {
  position: relative;
}
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler {
  position: absolute;
  z-index: 6;
  display: none;
}
.CodeMirror-vscrollbar {
  right: 0; top: 0;
  overflow-x: hidden;
  overflow-y: scroll;
}
.CodeMirror-hscrollbar {
  bottom: 0; left: 0;
  overflow-y: hidden;
  overflow-x: scroll;
}
.CodeMirror-scrollbar-filler {
  right: 0; bottom: 0;
  z-index: 6;
}
.CodeMirror-gutters {
  position: absolute; left: 0; top: 0;
  height: 100%;
  z-index: 3;
}
.CodeMirror-gutter {
  height: 100%;
  display: inline-block;

  *zoom:1;
  *display:inline;
}
.CodeMirror-gutter-elt {
  position: absolute;
  cursor: default;
  z-index: 4;
}
.CodeMirror-lines {
  cursor: text;
}
.CodeMirror pre {

  -moz-border-radius: 0; -webkit-border-radius: 0; -o-border-radius: 0; border-radius: 0;
  border-width: 0;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  margin: 0;
  white-space: pre;
  word-wrap: normal;
  line-height: inherit;
  color: inherit;
  z-index: 2;
  position: relative;
  overflow: visible;
}
.CodeMirror-wrap pre {
  word-wrap: break-word;
  white-space: pre-wrap;
  word-break: normal;
}
.CodeMirror-linebackground {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 0;
}
.CodeMirror-linewidget {
  position: relative;
  z-index: 2;
  overflow: auto;
}
.CodeMirror-wrap .CodeMirror-scroll {
  overflow-x: hidden;
}
.CodeMirror-measure {
  position: absolute;
  width: 100%; height: 0px;
  overflow: hidden;
  visibility: hidden;
}
.CodeMirror-measure pre { position: static; }
.CodeMirror div.CodeMirror-cursor {
  position: absolute;
  visibility: hidden;
  border-right: none;
  width: 0;
}
.CodeMirror-focused div.CodeMirror-cursor {
  visibility: visible;
}
.CodeMirror-selected { background: #d9d9d9; }
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
.cm-searching {
  background: #ffa;
  background: rgba(255, 255, 0, .4);
}
.CodeMirror span { *vertical-align: text-bottom; }
@media print {

  .CodeMirror div.CodeMirror-cursor {
    visibility: hidden;
  }
}

#scribbleEditorContainer .clearfix
{
    *zoom: 1
}

#scribbleEditorContainer .clearfix:before,
#scribbleEditorContainer .clearfix:after
{
    display: table;
    content: ""
}

#scribbleEditorContainer .clearfix:after
{
    clear: both
}

#scribbleEditorContainer .pull-right
{
    float: right
}

#scribbleEditorContainer #hide
{
    display: none
}

#scribbleEditorContainer #show
{
    display: block
}

#scribbleEditorContainer .btn
{
    display: inline-block;
    *display: inline;
    *zoom: 1;
    padding: 4px 14px;
    font-size: 13px;
    line-height: 20px;
    *line-height: 20px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    color: #333;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top, #fff, #e6e6e6);
    background-image: -ms-linear-gradient(top, #fff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #fff, #e6e6e6);
    background-image: -o-linear-gradient(top, #fff, #e6e6e6);
    background-image: linear-gradient(top, #fff, #e6e6e6);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-color: #e6e6e6;
    border: 1px solid #bbb;
    *border: 0;
    border-bottom-color: #a2a2a2;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    *margin-left: .3em;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05)
}

#scribbleEditorContainer .btn:hover,
#scribbleEditorContainer .btn:active,
#scribbleEditorContainer .btn.active,
#scribbleEditorContainer .btn.disabled,
#scribbleEditorContainer .btn[disabled]
{
    color: #333;
    background-color: #e6e6e6;
    *background-color: #d9d9d9
}

#scribbleEditorContainer .btn:active,
#scribbleEditorContainer .btn.active
{
    background-color: #ccc  \9
}

#scribbleEditorContainer .btn:first-child
{
    *margin-left: 0
}

#scribbleEditorContainer .btn:hover
{
    color: #333;
    text-decoration: none;
    background-color: #e6e6e6;
    *background-color: #d9d9d9;
    background-position: 0 -15px;
    -webkit-transition: background-position .1s linear;
    -moz-transition: background-position .1s linear;
    -ms-transition: background-position .1s linear;
    -o-transition: background-position .1s linear;
    transition: background-position .1s linear
}

#scribbleEditorContainer .btn.active,
#scribbleEditorContainer .btn:active
{
    background-color: #e6e6e6;
    background-color: #d9d9d9  \9;
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, .15), 0 1px 2px rgba(0, 0, 0, .05);
    -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, .15), 0 1px 2px rgba(0, 0, 0, .05);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .15), 0 1px 2px rgba(0, 0, 0, .05)
}

#scribbleEditorContainer .btn.inactive,
#scribbleEditorContainer .btn[inactive]
{
    cursor: default;
    background-color: #e6e6e6;
    background-image: none;
    opacity: .65;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none
}

.scribble-wrapper.with-controls:hover, .scribble-wrapper.active
{
    cursor: pointer;
    padding: 0;
    margin: 0;
    width: 100%
}

.scribble-wrapper.with-controls .original:hover
{
    background: #fae599;
    -webkit-transition: background .4s linear;
    -moz-transition: background .4s linear;
    -ms-transition: background .4s linear;
    -o-transition: background .4s linear;
    transition: background .4s linear
}

.scribble-wrapper .preview
{
    background: #fae599;
    *zoom: 1
}

.scribble-wrapper .preview:before, .scribble-wrapper .preview:after
{
    display: table;
    content: ""
}

.scribble-wrapper .preview:after
{
    clear: both
}

.scribble-wrapper .scribble-content
{
    *zoom: 1
}

.scribble-wrapper .scribble-content:before, .scribble-wrapper .scribble-content:after
{
    display: table;
    content: ""
}

.scribble-wrapper .scribble-content:after
{
    clear: both
}

.scribble-wrapper.active .scribble-controls .preview, .scribble-wrapper.active .scribble-controls .delete, .scribble-wrapper.active .scribble-controls .save, .scribble-wrapper.active .scribble-controls .cancel
{
    display: inline;
    border: 0
}

.scribble-wrapper.highlight
{
    background: #fae599;
    min-height: 10px;
    min-width: 10px
}

.scribble-wrapper .scribble-controls
{
    display: none;
    background: #eee;
    border-bottom: 1px solid black;
    padding: 5px
}

.scribble-wrapper .scribble-controls .preview, .scribble-wrapper .scribble-controls .delete, .scribble-wrapper .scribble-controls .save, .scribble-wrapper .scribble-controls .cancel
{
    display: none
}

.scribble-wrapper .scribble-form
{
    display: none
}

.scribble-wrapper .scribble-default
{
    display: none
}

#scribbleEditorContainer
{
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 0;
    z-index: 10000
}

#scribbleEditorContainer .controls
{
    font-family: Helvetica, Arial, sans-serif;
    -webkit-box-shadow: 0 -5px 6px rgba(0, 0, 0, 0.04);
    -moz-box-shadow: 0 -5px 6px rgba(0, 0, 0, 0.04);
    box-shadow: 0 -5px 6px rgba(0, 0, 0, 0.04);
    padding: 7px 20px;
    background-color: #474747;
    background-image: -moz-linear-gradient(top, #555, #333);
    background-image: -ms-linear-gradient(top, #555, #333);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#555), to(#333));
    background-image: -webkit-linear-gradient(top, #555, #333);
    background-image: -o-linear-gradient(top, #555, #333);
    background-image: linear-gradient(top, #555, #333);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#555555', endColorstr='#333333', GradientType=0);
    border: 0;
    *zoom: 1
}

#scribbleEditorContainer .controls:before, #scribbleEditorContainer .controls:after
{
    display: table;
    content: ""
}

#scribbleEditorContainer .controls:after
{
    clear: both
}

#scribbleEditorContainer .controls span
{
    float: left;
    margin: 0 8px;
    color: #fff
}

#scribbleEditorContainer .controls span strong
{
    color: #bd3535
}

#scribbleEditorContainer .controls .btn
{
    float: right;
    margin: 0 8px
}

#scribbleEditorContainer .controls .btn.save
{
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #83d183;
    background-image: -moz-linear-gradient(top, #9ad99a, #62c462);
    background-image: -ms-linear-gradient(top, #9ad99a, #62c462);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#9ad99a), to(#62c462));
    background-image: -webkit-linear-gradient(top, #9ad99a, #62c462);
    background-image: -o-linear-gradient(top, #9ad99a, #62c462);
    background-image: linear-gradient(top, #9ad99a, #62c462);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#9ad99a', endColorstr='#62c462', GradientType=0);
    border-color: #62c462 #62c462 #3b9e3b;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-color: #62c462
}

#scribbleEditorContainer .controls .btn.save:hover, #scribbleEditorContainer .controls .btn.save:active, #scribbleEditorContainer .controls .btn.save.active, #scribbleEditorContainer .controls .btn.save.disabled, #scribbleEditorContainer .controls .btn.save[disabled]
{
    color: #fff;
    background-color: #62c462;
    *background-color: #4fbd4f
}

#scribbleEditorContainer .controls .btn.save:active, #scribbleEditorContainer .controls .btn.save.active
{
    background-color: #42b142  \9
}

#scribbleEditorContainer .controls .btn.draft
{
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #46a4cf;
    background-image: -moz-linear-gradient(top, #59b2da, #2a8fbd);
    background-image: -ms-linear-gradient(top, #59b2da, #2a8fbd);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#59b2da), to(#2a8fbd));
    background-image: -webkit-linear-gradient(top, #59b2da, #2a8fbd);
    background-image: -o-linear-gradient(top, #59b2da, #2a8fbd);
    background-image: linear-gradient(top, #59b2da, #2a8fbd);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#59b2da', endColorstr='#2a8fbd', GradientType=0);
    border-color: #2a8fbd #2a8fbd #1c607e;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-color: #2a8fbd
}

#scribbleEditorContainer .controls .btn.draft:hover, #scribbleEditorContainer .controls .btn.draft:active, #scribbleEditorContainer .controls .btn.draft.active, #scribbleEditorContainer .controls .btn.draft.disabled, #scribbleEditorContainer .controls .btn.draft[disabled]
{
    color: #fff;
    background-color: #2a8fbd;
    *background-color: #257fa8
}

#scribbleEditorContainer .controls .btn.draft:active, #scribbleEditorContainer .controls .btn.draft.active
{
    background-color: #216f93  \9
}

#scribbleEditorContainer .controls a.close
{
    float: right;
    background: url("../../main/img/btn-close.png") no-repeat scroll 0 0 transparent;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    height: 24px;
    width: 24px;
    padding: 0;
    margin: 0
}

#scribbleEditorContainer .controls a.close:hover
{
    background-position: 0 -25px
}

#scribbleMenuContainer
{
    position: absolute;
    top: 0;
    z-index: 10000;
    width: 100%
}

#scribbleMenuContainer a.tab
{
    position: absolute;
    left: 45%;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    padding: 4px 14px;
    font-size: 13px;
    line-height: 20px;
    *line-height: 20px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    color: #333;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top, #fff, #e6e6e6);
    background-image: -ms-linear-gradient(top, #fff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #fff, #e6e6e6);
    background-image: -o-linear-gradient(top, #fff, #e6e6e6);
    background-image: linear-gradient(top, #fff, #e6e6e6);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-color: #e6e6e6;
    border: 1px solid #bbb;
    *border: 0;
    border-bottom-color: #a2a2a2;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    *margin-left: .3em;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
    -webkit-border-radius: 0 0 6px 6px;
    -moz-border-radius: 0 0 6px 6px;
    border-radius: 0 0 6px 6px;
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #3b3b3b;
    background-image: -moz-linear-gradient(top, #404040, #333);
    background-image: -ms-linear-gradient(top, #404040, #333);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#404040), to(#333));
    background-image: -webkit-linear-gradient(top, #404040, #333);
    background-image: -o-linear-gradient(top, #404040, #333);
    background-image: linear-gradient(top, #404040, #333);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#404040', endColorstr='#333333', GradientType=0);
    border-color: #333 #333 #0d0d0d;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-color: #333;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border: 0;
    padding: 5px 10px
}

#scribbleMenuContainer a.tab:hover, #scribbleMenuContainer a.tab:active, #scribbleMenuContainer a.tab.active, #scribbleMenuContainer a.tab.disabled, #scribbleMenuContainer a.tab[disabled]
{
    color: #333;
    background-color: #e6e6e6;
    *background-color: #d9d9d9
}

#scribbleMenuContainer a.tab:active, #scribbleMenuContainer a.tab.active
{
    background-color: #ccc  \9
}

#scribbleMenuContainer a.tab:first-child
{
    *margin-left: 0
}

#scribbleMenuContainer a.tab:hover
{
    color: #333;
    text-decoration: none;
    background-color: #e6e6e6;
    *background-color: #d9d9d9;
    background-position: 0 -15px;
    -webkit-transition: background-position .1s linear;
    -moz-transition: background-position .1s linear;
    -ms-transition: background-position .1s linear;
    -o-transition: background-position .1s linear;
    transition: background-position .1s linear
}

#scribbleMenuContainer a.tab.active, #scribbleMenuContainer a.tab:active
{
    background-color: #e6e6e6;
    background-color: #d9d9d9  \9;
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, .15), 0 1px 2px rgba(0, 0, 0, .05);
    -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, .15), 0 1px 2px rgba(0, 0, 0, .05);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .15), 0 1px 2px rgba(0, 0, 0, .05)
}

#scribbleMenuContainer a.tab.inactive, #scribbleMenuContainer a.tab[inactive]
{
    cursor: default;
    background-color: #e6e6e6;
    background-image: none;
    opacity: .65;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none
}

#scribbleMenuContainer a.tab:hover, #scribbleMenuContainer a.tab:active, #scribbleMenuContainer a.tab.active, #scribbleMenuContainer a.tab.disabled, #scribbleMenuContainer a.tab[disabled]
{
    color: #fff;
    background-color: #333;
    *background-color: #262626
}

#scribbleMenuContainer a.tab:active, #scribbleMenuContainer a.tab.active
{
    background-color: #1a1a1a  \9
}

#scribbleMenuContainer a.tab .hot-dog
{
    display: block;
    width: 18px;
    height: 2px;
    background-color: #666;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    margin: 2px 0
}

#scribbleMenuContainer .control-panel
{
    *zoom: 1;
    background-color: #333;
    height: 50px
}

#scribbleMenuContainer .control-panel:before, #scribbleMenuContainer .control-panel:after
{
    display: table;
    content: ""
}

#scribbleMenuContainer .control-panel:after
{
    clear: both
}

#scribbleMenuContainer .control-panel a
{
    font-family: Helvetica, Arial, sans-serif;
    margin: 10px
}

#scribbleMenuContainer .control-panel a.reveal
{
    display: inline-block;
    *display: inline;
    *zoom: 1;
    padding: 4px 14px;
    font-size: 13px;
    line-height: 20px;
    *line-height: 20px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    color: #333;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top, #fff, #e6e6e6);
    background-image: -ms-linear-gradient(top, #fff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #fff, #e6e6e6);
    background-image: -o-linear-gradient(top, #fff, #e6e6e6);
    background-image: linear-gradient(top, #fff, #e6e6e6);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-color: #e6e6e6;
    border: 1px solid #bbb;
    *border: 0;
    border-bottom-color: #a2a2a2;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    *margin-left: .3em;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #4a4a4a;
    background-image: -moz-linear-gradient(top, #595959, #333);
    background-image: -ms-linear-gradient(top, #595959, #333);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#595959), to(#333));
    background-image: -webkit-linear-gradient(top, #595959, #333);
    background-image: -o-linear-gradient(top, #595959, #333);
    background-image: linear-gradient(top, #595959, #333);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#595959', endColorstr='#333333', GradientType=0);
    border-color: #333 #333 #0d0d0d;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-color: #333;
    color: #fff;
    border: 1px solid #000
}

#scribbleMenuContainer .control-panel a.reveal:hover, #scribbleMenuContainer .control-panel a.reveal:active, #scribbleMenuContainer .control-panel a.reveal.active, #scribbleMenuContainer .control-panel a.reveal.disabled, #scribbleMenuContainer .control-panel a.reveal[disabled]
{
    color: #333;
    background-color: #e6e6e6;
    *background-color: #d9d9d9
}

#scribbleMenuContainer .control-panel a.reveal:active, #scribbleMenuContainer .control-panel a.reveal.active
{
    background-color: #ccc  \9
}

#scribbleMenuContainer .control-panel a.reveal:first-child
{
    *margin-left: 0
}

#scribbleMenuContainer .control-panel a.reveal:hover
{
    color: #333;
    text-decoration: none;
    background-color: #e6e6e6;
    *background-color: #d9d9d9;
    background-position: 0 -15px;
    -webkit-transition: background-position .1s linear;
    -moz-transition: background-position .1s linear;
    -ms-transition: background-position .1s linear;
    -o-transition: background-position .1s linear;
    transition: background-position .1s linear
}

#scribbleMenuContainer .control-panel a.reveal.active, #scribbleMenuContainer .control-panel a.reveal:active
{
    background-color: #e6e6e6;
    background-color: #d9d9d9  \9;
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, .15), 0 1px 2px rgba(0, 0, 0, .05);
    -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, .15), 0 1px 2px rgba(0, 0, 0, .05);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .15), 0 1px 2px rgba(0, 0, 0, .05)
}

#scribbleMenuContainer .control-panel a.reveal.inactive, #scribbleMenuContainer .control-panel a.reveal[inactive]
{
    cursor: default;
    background-color: #e6e6e6;
    background-image: none;
    opacity: .65;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none
}

#scribbleMenuContainer .control-panel a.reveal:hover, #scribbleMenuContainer .control-panel a.reveal:active, #scribbleMenuContainer .control-panel a.reveal.active, #scribbleMenuContainer .control-panel a.reveal.disabled, #scribbleMenuContainer .control-panel a.reveal[disabled]
{
    color: #fff;
    background-color: #333;
    *background-color: #262626
}

#scribbleMenuContainer .control-panel a.reveal:active, #scribbleMenuContainer .control-panel a.reveal.active
{
    background-color: #1a1a1a;
}

.CodeMirror
{
    background-color: #fff;
    color: black;
}

.CodeMirror .activeline
{
    background: #ffe0e0 !important;
}

.CodeMirror-completions
{
    position: absolute;
    z-index: 10010;
    overflow: hidden;
    -webkit-box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
    color: black;
}

.CodeMirror-completions select
{
    background: #fafafa;
    color: black;
    outline: 0;
    border: 0;
    padding: 0;
    margin: 0;
    font-family: monospace;
}

