.ted {
  position: relative;
  box-sizing: border-box;
  border: 1px solid var(--gray-d);
  color: var(--gray-0);
  background-color: var(--gray-f);
  border-radius: 3px;
}
.ted-disabled {
  pointer-events: none;
}
.ted-disabled:after {
  position: absolute;
  content: " ";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--gray-a-50);
}
.ted-hidden {
  display: none;
}
.ted_topToolbar {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background-color: var(--gray-d);
}
.ted_topToolbarGroup {
  display: inline-block;
  padding: 4px 2px;
}
.ted_topToolbarGroup:not(:first-child) {
  border-left: 1px solid var(--gray-c);
}
.ted_topToolbar .mButton {
  vertical-align: bottom;
  margin: 0 2px;
  padding: 5px 8px 5px;
  border: 1px solid var(--gray-c);
  border-radius: 3px;
}
.ted_topToolbar .mButton .mButton_menu {
  box-sizing: border-box;
  display: inline-block;
  vertical-align: bottom;
  margin: -3px -5px -2px 5px;
  padding: 3px 3px 2px;
  border-color: var(--gray-a);
}
.ted_topToolbar .mButton-selected {
  background-color: var(--gray-b);
}
.ted_topToolbarButton-blockStyle .mButton_content {
  width: 7em;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: bottom;
}


.ted_content {
  box-sizing: border-box;
  padding: 36px 4px 2px;
  outline: 0px none transparent;
  font-family: NotoSans, Helvetica, Arial, sans;
  font-weight: normal;
  font-size: var(--font-size);
  line-height: var(--def-line-height);
  height: 100%;
  overflow-y: scroll;
}
.ted:focus {
  border-color: var(--activeLED);
}
.ted:disabled {
  background-color: var(--gray-d);
  color: var(--gray-8);
}

.frame-typeComponent .ted_content {
  padding: 0;
}

.ted_content p {
  margin: 0.5em 0;
}
.ted_content p.perex {
  margin: 1em 0;
  font-weight: 200;
  font-size: 120%;
  text-transform: uppercase;
}
.ted_content h1 {
  font-weight: bold;
  font-size: 200%;
  margin: 1em 0 0.5em;
}
.ted_content h2 {
  font-weight: bold;
  font-size: 150%;
  margin: 1em 0 0.5em;
}
.ted_content h3 {
  font-weight: bold;
  font-size: 120%;
  margin: 1em 0 0.5em;
}
.ted_content a {
  text-decoration: none;
  border-bottom: 1px dotted var(--primary-color);
  color: var(--primary-color);
}
.ted_content b {
  font-weight: bold;
}
.ted_content i {
  font-style: italic;
}
.ted_content blockquote {
  background-color: var(--gray-d);
  border-left: 0.5em solid var(--gray-8);
  padding: 0.5em 0.5em 0.5em 1em;
  margin: 0.5em 0;
}
.ted_content .ted_image {
  line-height: 0;
  display: block;
}
.ted_content .ted_image-selected img {
  outline: 2px solid var(--highlight-color);
}
.ted_content .ted_image img {
  width: 100%;
  position: relative;
}

.ted_content .ted_online {
  line-height: 0;
  display: block;
}
.ted_content .ted_online-selected img {
  outline: 2px solid var(--highlight-color);
}

.ted_content ul {
  margin: 0.5em 0;
  list-style: initial;
  padding: 0 0 0 1em;
}
.ted_content li {
  padding: 0;
  margin: 0;
}
.ted_content ul>ul {
  margin: 0;
}
