.firepad {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  position: relative;
  text-align: left;
  line-height: normal;
}

.firepad .CodeMirror {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  height: auto;
}

.firepad-with-toolbar .CodeMirror {
  top: 83px;
  padding-left: 10px;
}

.firepad-with-toolbar .CodeMirror-lines {
  padding-top: 10px;
}

.firepad-toolbar {
  height: 82px;
  line-height: 82px;
  padding-left: 10px;
  border-bottom: 1px solid #c9c9c9;

  /* Don't select text when double-clicking in toolbar */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.firepad-toolbar-wrapper {
  display: inline-block;
  line-height: 14px;
}

.firepad-richtext .CodeMirror {
  font-family: Verdana, sans-serif;
  font-size: 14px;
}

.firepad-spacer {
  height: 10px;
  width: 1px;
}

/** Styles for all of the rich-text formatting we support. */
.firepad-b { font-weight: bold; }
.firepad-i { font-style: italic; }
.firepad-u { text-decoration: underline; }
.firepad-s { text-decoration: line-through; }
.firepad-u.firepad-s { text-decoration: underline line-through; }

.firepad-f-arial { font-family: Arial, Helvetica, sans-serif; }
.firepad-f-comic-sans-ms { font-family: "Comic Sans MS", cursive, sans-serif; }
.firepad-f-courier-new { font-family: "Courier New", Courier, monospace; }
.firepad-f-impact { font-family: Impact, Charcoal, sans-serif; }
.firepad-f-times-new-roman { font-family: "Times New Roman", Times, serif; }
.firepad-f-verdana { font-family: Verdana, Geneva, sans-serif; }

.firepad-la-left { text-align: left; }
.firepad-la-center { text-align: center; }
.firepad-la-right { text-align: right; }

/** Line Styles */
pre.firepad-lt-o, pre.firepad-lt-u, pre.firepad-lt-t, pre.firepad-lt-tc,
pre.CodeMirror-line.firepad-lt-o, pre.CodeMirror-line.firepad-lt-u, pre.CodeMirror-line.firepad-lt-t, pre.CodeMirror-line.firepad-lt-tc {
  padding-left: 40px;
}

.firepad-list-left {
  display:inline-block;
  margin-left: -40px;
  width: 40px;
  padding-right: 5px;
  text-align: right;
}

.firepad-todo-left {
  display:inline-block;
  margin-left: -20px;
  width: 20px;
}

.powered-by-firepad:hover {
  opacity: 1;
}

.firepad-btn-group {
  margin: 5px 7px 0 0;
  display: inline-block;
}

a.firepad-btn, a.firepad-btn:visited, a.firepad-btn:active {
  font-family: "Arial" sans-serif;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  padding: 6px 6px 4px 6px;
  text-align: center;
  vertical-align: middle;
  font-size: 16px;
  background-color: #fcfcfc;
  border: 1px solid #c9c9c9;
  border-bottom-width: 4px;
  color: #9c9c9c;
}

a.firepad-btn:hover {
  color: #fff;
  background-color: #ffbf86;
  border-color: #e6a165;
  text-decoration: none;
}

a.firepad-btn:active {
  -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
  -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
}

.firepad-btn-group > .firepad-btn {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  margin-left: -1px;
}


.firepad-btn-group > .firepad-btn:first-child {
  border-bottom-left-radius: 6px;
  border-top-left-radius: 6px;
  -webkit-border-bottom-left-radius: 6px;
  -webkit-border-top-left-radius: 6px;
  -moz-border-radius-bottomleft: 6px;
  -moz-border-radius-topleft: 6px;
  margin-left: 0px;
}

.firepad-btn-group > .firepad-btn:last-child {
  border-bottom-right-radius: 6px;
  border-top-right-radius: 6px;
  -webkit-border-bottom-right-radius: 6px;
  -webkit-border-top-right-radius: 6px;
  -moz-border-radius-bottomright: 6px;
  -moz-border-radius-topright: 6px;
}

.firepad-dropdown {
  position: relative;
}

.firepad-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  padding: 4px 0;
  margin: 4px 0 0;
  list-style: none;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  *border-right-width: 2px;
  *border-bottom-width: 2px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
}

.firepad-dropdown-menu a {
  text-align: left;
  display: block;
  padding: 3px 15px;
  clear: both;
  font-weight: normal;
  line-height: 18px;
  color: #333333;
  white-space: nowrap;
}

.firepad-dropdown-menu a:hover {
  color: #fff;
  text-decoration: none;
  background-color: #ffbf86;
}

.firepad-color-dropdown-item {
  height: 25px;
  width: 25px;
}

.firepad-dialog {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.firepad-dialog-div {
  position: relative;
  width: 400px;
  height: 100px;
  margin: 100px auto;
  background-color: #fff;
  border: 1px solid #000;
  padding: 15px;
}

.firepad-dialog-input {
  width: 80%;
  display: block;
  padding: 5px 5px;
  margin: 10px 10px 10px 5px;
  clear: both;
  font-weight: normal;
  line-height: 25px;
  color: #333333;
  white-space: nowrap;
}

.firepad-tb-bold, .firepad-tb-italic, .firepad-tb-underline, .firepad-tb-strikethrough, .firepad-tb-list, .firepad-tb-list-2, .firepad-tb-numbered-list, .firepad-tb-paragraph-left, .firepad-tb-paragraph-center, .firepad-tb-paragraph-right, .firepad-tb-paragraph-justify, .firepad-tb-menu, .firepad-tb-link, .firepad-tb-undo, .firepad-tb-redo, .firepad-tb-box-add, .firepad-tb-box-remove, .firepad-tb-print, .firepad-tb-indent-decrease, .firepad-tb-indent-increase, .firepad-tb-insert-image, .firepad-tb-bubble {
  font-family: 'firepad';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}
.firepad-tb-bold:before {
  content: "\e000";
}
.firepad-tb-italic:before {
  content: "\e001";
}
.firepad-tb-underline:before {
  content: "\e002";
}
.firepad-tb-strikethrough:before {
  content: "\e003";
}
.firepad-tb-list:before {
  content: "\e004";
}
.firepad-tb-list-2:before {
  content: "\e005";
}
.firepad-tb-numbered-list:before {
  content: "\e006";
}
.firepad-tb-paragraph-left:before {
  content: "\e007";
}
.firepad-tb-paragraph-center:before {
  content: "\e008";
}
.firepad-tb-paragraph-right:before {
  content: "\e009";
}
.firepad-tb-paragraph-justify:before {
  content: "\e00a";
}
.firepad-tb-menu:before {
  content: "\e00b";
}
.firepad-tb-link:before {
  content: "\e00c";
}
.firepad-tb-undo:before {
  content: "\e00d";
}
.firepad-tb-redo:before {
  content: "\e00e";
}
.firepad-tb-box-add:before {
  content: "\e010";
}
.firepad-tb-box-remove:before {
  content: "\e011";
}
.firepad-tb-print:before {
  content: "\e012";
}
.firepad-tb-indent-decrease:before {
  content: "\e013";
}
.firepad-tb-indent-increase:before {
  content: "\e014";
}
.firepad-tb-insert-image:before {
  content: "\e015";
}
.firepad-tb-bubble:before {
  content: "\e00f";
}
