html, body, section, .full-height {
    height: 100%;
}

#pad{
    font-family: Menlo,Monaco,Consolas,"Courier New",monospace;

    border: none;
    overflow: auto;
    outline: none;
    resize: none;

    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

#markdown {
    overflow: auto;
}

.pref {
  float: right;
  width: 50%;
  padding-right: 10px;
}
.pref label {
    vertical-align: middle;
}
.pref .module {
    float: left;
    width: 50%;
}
.pref .format {
    text-align: right;
}
.mode {
  float: left;
  width: 50%;
  text-align: left;
  padding-left: 10px;
}

.mdHtml {
  display:none;
  width:100%;
  height:100%;
  resize:none;
  overflow:auto;
}

.optContainer{
  position:fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 23px;
  box-shadow: 0px 1px 11px -2px rgba(0,0,0,0.75);
}

#htmlPreview:focus{
  outline: 1px solid #ECE6E6;
}

#toolbarArea{
  position: fixed;
  top: 25px;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 28px;
  display:none;
  border-bottom: 1px #BFBFBF solid;
  background-color: #E8E8E8;
}

.editor-toolbar{
    display: inline-block;
    text-align: center;
    text-decoration: none!important;
    color: #2c3e50!important;
    width: 25px;
    height: 25px;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    line-height: 24px;
    padding: 4px 10px 0px 6px;
}

.editor-toolbar:hover {
    background: #fcfcfc;
    border-color: #95a5a6;
}

.separator {
    display: inline-block;
    width: 0;
    border-left: 1px solid #d9d9d9;
    border-right: 1px solid #fff;
    color: transparent;
    text-indent: -10px;
    margin: 0 6px;
}

.toolContainer{
  width: 16px;
  float: left;
}

input[type="radio"]:checked:before {
    content: "";
    display: block;
    position: relative;
    top: 3px;
    left: 3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #442178;
}

.modal--default__content {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding: 1em;
    background: #f2f0ed;
}

.markdown-help-content {
    width: 100%;
    border-spacing: 0;
}

.markdown-help-content tr {
    line-height: 30px;
}

.markdown-help-content tr:nth-child(even) {
    background-color: rgb(212, 212, 212);
}

.markdown-help-content tr:first-child td {
    border-top: 0;
}
.markdown-help-content td {
    border-top: 1px solid rgba(38,50,56,.1);
    min-width: 180px;
}

.preview-dark-mode{
    background: #272727;
    color: #E0E0E0;
}

.preview-dark-mode textarea{
    background: #272727;
    color: #E0E0E0;
}

.cmpad{
  padding-right: 0;
  padding-left: 0;
}

@media print {
  html, body {
      height: 99%;
  }

  #editArea{
    padding-top: 0 !important;
  }

  .optContainer, #toolbarArea, #textPanel {
    display: none;
  }

  #markdown{
    height: 100%;
  }

  #previewPanel{
     height: auto;
     overflow: visible;
  }

  ::-webkit-scrollbar {
      width: 0; /*new*/
      display: none;
  }
}

::-webkit-scrollbar {
    width: 5px; /*new*/
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}
