@charset "utf-8";

.md-editor {
  display: block;
  border: 1px solid #e0e0e0;
  border-radius: .215rem;
}

.md-editor > .md-header, .md-editor .md-footer {
  display: block;
  padding: 6px 4px;
  background: #eee;
  border-radius: .215rem .215rem 0 0;
}

.md-editor > .md-header {
  margin: 0;
}

.md-editor > .md-preview {
  min-height: 8px;
  padding: 10px;
  overflow: auto;
  background: #fff;
  border-top: 1px dashed transparent;
  border-bottom: 1px solid transparent;
  border-radius: 0 0 .215rem .215rem;
}

.md-editor > textarea {
  display: block;
  width: 100%;
  padding: 10px;
  margin: 0;
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1rem;
  background: #fff;
  border: 0;
  border-top: 1px dashed transparent;
  border-bottom: 1px solid transparent;
  border-radius: 0 0 .215rem .215rem;
  outline: 0;
  box-shadow: none;
}

.md-editor > textarea:focus {
  background: #fff;
  box-shadow: none;
}

.md-editor.active {
  border-color: #e0e0e0;
  outline: 0;
}

.md-editor .md-controls {
  float: right;
  padding: 3px;
}

.md-editor .md-controls .md-control {
  right: 5px;
  padding: 3px 3px 3px 10px;
  color: #eee;
}

.md-editor .md-controls .md-control:hover {
  color: #9e9e9e;
}

.md-editor.md-fullscreen-mode {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  padding: 60px 30px 15px;
  background: #fff !important;
  border: 0 !important;
}

.md-editor.md-fullscreen-mode .md-footer {
  display: none;
}

.md-editor.md-fullscreen-mode .md-input, .md-editor.md-fullscreen-mode .md-preview {
  height: 100% !important;
  padding: 20px !important;
  margin: 0 auto !important;
  font-size: 20px !important;
  line-height: 1.6em !important;
  color: #999;
  resize: none !important;
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
}

.md-editor.md-fullscreen-mode .md-preview {
  overflow: auto;
  color: #333;
}

.md-editor.md-fullscreen-mode .md-input:hover, .md-editor.md-fullscreen-mode .md-input:focus {
  color: #333;
  background: #fff !important;
}

.md-editor.md-fullscreen-mode .md-header {
  position: fixed;
  top: 20px;
  width: 100%;
  text-align: center;
  background: none;
}

.md-editor.md-fullscreen-mode .btn-group {
  float: none;
}

.md-editor.md-fullscreen-mode .btn {
  color: #b3b3b3;
  background: none;
  border: 0;
}

.md-editor.md-fullscreen-mode .btn:hover, .md-editor.md-fullscreen-mode .btn:focus, .md-editor.md-fullscreen-mode .btn.active, .md-editor.md-fullscreen-mode .btn:active {
  color: #333;
  box-shadow: none;
}

.md-editor.md-fullscreen-mode .md-fullscreen-controls {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1002;
  display: block;
  text-align: right;
}

.md-editor.md-fullscreen-mode .md-fullscreen-controls a {
  width: 30px;
  height: 30px;
  margin: 10px;
  clear: right;
  color: #b3b3b3;
  text-align: center;
}

.md-editor.md-fullscreen-mode .md-fullscreen-controls a:hover {
  color: #333;
  text-decoration: none;
}

.md-editor.md-fullscreen-mode .md-editor {
  position: relative;
  height: 100% !important;
}

.md-editor .md-fullscreen-controls {
  display: none;
}

.md-nooverflow {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

.md-editor .btn-toolbar .btn-group {
  position: relative;
  margin-left: 20px;
}

.md-editor .btn-toolbar .btn-group:first-child {
  margin-left: 0;
}

.md-editor .btn-toolbar .btn-group:first-child:after {
  display: none;
}

.md-editor .btn-toolbar .btn-group:after {
  position: absolute;
  top: 2px;
  left: -17px;
  width: 2px;
  height: 30px;
  margin: 0 5px;
  content: "";
  background: #eee;
}

.md-editor .btn-toolbar .btn-group .btn-default {
  color: #bdbdbd;
  background-color: transparent;
  background-image: none;
  border: none;
  box-shadow: none;
}

.md-editor .btn-toolbar .btn-group .btn-default:hover {
  color: #616161;
  background-color: transparent;
  background-image: none;
  border: none;
  box-shadow: none;
}

.md-editor .btn-toolbar .btn-group .btn-default.active, .md-editor .btn-toolbar .btn-group .btn-default:active {
  color: #616161;
  background-color: transparent;
  background-image: none;
  border: none;
  box-shadow: none;
}

.md-footer .icon-ok {
  font-family: "Material Design Iconic";
}

.md-footer .icon-ok:before {
  content: "";
}
