:root {
  --ck-custom-background: hsl(0, 100%, 100%);
  --ck-color-base-border: #e5e5e5;
}

.ck.ck-editor__top .ck-sticky-panel .ck-toolbar {
  background: #fff;
}

.ck-editor .ck-content {
  max-height: 1000px;
  overflow: hidden;
  overflow-y: scroll;
  min-height: 450px;
}
/*
 * Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
 */
.ck-content pre {
  background: hsl(0deg 0% 0% / 81%);
  border: 1px solid #c4c4c4;
  border-radius: 2px;
  color: #d5d5d5;
  direction: ltr;
  font-style: normal;
  min-width: 200px;
  padding: 0;
  tab-size: 4;
  text-align: left;
  white-space: pre-wrap;
  border-radius: 5px;
}
.ck-content pre code {
  background: transparent;
  border: 0;
  color: #d5d5d5;
  display: block;
  font-size: 1em;
  line-height: 1.5em;
  padding: 1em;
  white-space: pre-wrap;
}
.ck-content pre .code-lang {
  display: flex;
  justify-content: space-between;
  background-color: #000;
  padding: 0.2em 1em;
  align-items: center;
  border-radius: 5px 5px 0 0;
}
.ck-content pre .code-lang .lang {
  font-size: 0.8em;
  font-weight: 700;
  text-transform: uppercase;
}
.ck-content pre .code-lang .code-copy button {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  min-height: auto;
  height: auto;
}
.ck-content pre .code-lang .code-copy button > span {
  font-size: 20px;
  margin-right: 3px;
}
.ck-content pre .code-lang .code-copy button .tooltip {
  display: flex;
  align-items: center;
}
.ck-content pre .code-lang .code-copy button .tooltip > span {
  font-size: 20px;
  margin-right: 3px;
}

.ck.ck-editor__editable pre {
  position: relative;
}

.ck-content .todo-list .todo-list__label > input[checked]:before {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.ck-content figure.media {
  position: relative;
  height: 0;
  width: 100%;
  padding-bottom: 56.25%;
}

/* Mobile ( ~ 767px)*/
@media all and (max-width: 767px) {
  .ck-editor .ck-content {
    min-height: 300px;
  }
}
