/*
 * edit_article.css
 * Autor: Isabella Bohn
 */

.edit-article {
  --main-blue: rgb(40, 89, 213); /* #2859d5; */
  --light-blue: #e8f1ff;
  --red: #e10303;
  --required: #b94a48;
  --grey-white: #f4f4f4;
  --grey-text: #8b8b8b;
  --light-grey: #c1c1c1;
  position: relative; /* prevent Chrome from overscrolling */
}
.edit-article #center {
  width: 100%; /* prevents from width jumping when toolbar is displayed*/
}
.grey-white,
#content.grey-white {
  background: var(--grey-white);
}
.color-blue {
  color: var(--main-blue);
}
.error-message {
  color: var(--required);
}
body.edit-article div.body {
  /* if this stays "auto" as usual, Chrome will display two scrollbars*/
  overflow: unset;
}
body.edit-article {
  /* if this is not hidden, Chrome will display two scrollbars and enable overscrolling*/
  overflow: hidden;
}
#content.edit-article label {
  padding: 0;
  font-weight: bold;
  font-size: 12px;
  color: #2C2C2C;
}
#content.edit-article label.required,
#content.edit-article label.look-required {
  color: var(--required);
}
select.required ~ span.select2 .select2-selection,
select.look-required ~ span.select2 .select2-selection {
  border: 1px solid var(--required);
}

.edit-article .editor #basetext-container input[type="text"]:focus,
.edit-article .editor #basetext-container input[type="password"]:focus,
.edit-article .editor #basetext-container input[type="url"]:focus,
.edit-article .editor #basetext-container input[type="email"]:focus,
.edit-article .editor #basetext-container input[type="number"]:focus,
.edit-article .editor input[type="text"]:focus,
.edit-article .editor input[type="password"]:focus,
.edit-article .editor input[type="url"]:focus,
.edit-article .editor input[type="email"]:focus,
.edit-article .editor input[type="number"]:focus,
.edit-article .editor #left_sidebar textarea:not(.plain):focus,
.editor select:focus,
.edit-article .editor #basetext-container textarea:not(.plain):focus {
  /* these are from textarea:not(.tox-textarea) in redweb.css so it doesn't jump */
  border: 1px solid var(--border);
  padding: 6px 12px;
  box-shadow: none; /* overwriting tailwind */
  -webkit-box-shadow: none;
}
.editor .select2-selection__placeholder {
  font-size: 14px;
}
.editor-block-padding-container .display-on-hover {
  opacity: 0;
}
.editor-block.active .display-on-hover,
.editor-block-padding-container:hover .display-on-hover {
  opacity: 1;
  animation: fadeInDelay ease-in-out 600ms;
}
.full-button > svg,
.transparent-button > svg,
.export-button {
  padding-right: 4px;
  color: var(--main-blue);
}
.full-button > svg {
  color: white;
}
#content.grey-white {
  padding: 0;
  overflow: unset;
}
.edit-article .button:not(.disabled),
.edit-article button:not(.disabled) {
  cursor: pointer;
}
.edit-article .button.disabled,
.edit-article button.disabled {
  cursor: default;
  color: var(--light-grey);
}
.edit-article .button:not(.disabled):not(.tox-tbtn):hover,
.edit-article button:not(.disabled):not(.tox-tbtn):hover {
  opacity: 0.5;
}
#dialog button:not(.disabled):not(.tox-tbtn):hover {
  filter: none;
  background-color: #f5f5f5;
}
.split-dialog {
  display: flex;
  flex-direction: row;
}
.split-dialog-content {
  flex: 1;
}
.split-dialog-left {
  margin-right: 5px;
}
.split-dialog-right {
  margin-left: 5px;
}

.tox-toolbar__group .tox-tbtn--select[disabled=disabled] .tinymce-toolbar-icon.grey-out-on-disable {
  display: none;
}

.top-center-buttons {
  width: 100%;
  padding-top: 8px;
  padding-bottom: 8px;
  display: flex;
  justify-content: space-between;
}
.top-center-buttons .group-right {
  float: right;
}
.card {
  border-radius: var(--borderRadiusDefault);
  background-color: #ffffff;
  color: #191919;
  --card-padding: 12px 16px 12px 16px;
  --negative-card-padding-top: -12px;
  --negative-card-padding-side: -16px;
  padding: var(--card-padding);
  border: 1px solid transparent;
  contain: content;
}
.card hr {
  border: 1px solid rgb(25, 25, 25, 0.1);
  margin: 7px 0;
}
#content:not(.read_only) .editor-block-padding-container {
  border: 2px solid transparent;
}
#content:not(.read_only) #basetext-container .editor-block-row.required > .editor-block-padding-container.active,
#content:not(.read_only) #basetext-container .editor-block-row.required > .editor-block-padding-container:hover {
  animation: fadeInBorderRed ease-in-out 600ms;
}
@keyframes fadeInBorderRed {
  0% {border: 2px solid white}
  50% {border: 2px solid white}
  100% {border: 2px solid var(--required)}
}
.card.active,
#content:not(.read_only) #basetext-container .editor-block-row:not(.editor-row-sortable-helper) .editor-block-padding-container.active,
#content:not(.read_only) #basetext-container .editor-block-row:not(.editor-row-sortable-helper) .editor-block-padding-container:hover {
  border: 2px solid var(--main-blue);
  animation: fadeInBorder ease-in-out 600ms;
}
@keyframes fadeInBorder {
  0% {border: 2px solid rgba(40, 89, 213, 0.0)}
  50% {border: 2px solid rgba(40, 89, 213, 0.0)}
  100% {border: 2px solid rgba(40, 89, 213, 1.0)}
}
@keyframes fadeOutBorder {
  0% {border: 2px solid rgba(40, 89, 213, 1.0)}
  50% {border: 2px solid rgba(40, 89, 213, 1.0)}
  100% {border: 2px solid rgba(40, 89, 213, 0.0)}
}
/* .speechbubble {
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 0.26s ease-in-out;
} */
.block-menu.speechbubble {
  transform-origin: center;
  z-index: 100;
}
.speechbubble.bubbleborder {
  border: solid 2px black;
}
/* .speechbubble::after,
.speechbubble.bubbleborder::before {
  content: "";
  position: absolute;
  right:  calc(50% - 9px);
  border-style: solid;
  border-width: 10px;
  width: 0;
}
.speechbubble::after {
  top: -20px;
  border-color: transparent transparent white transparent;
}
.speechbubble.bubbleborder::before {
  top: -22px;
  border-color: transparent transparent black transparent;
} */
.speechbubble.closed {
  transform: scaleY(0);
  width: 0; /* please leave this here. if the closed speechbubble has a width, that screws with the centering of the block-menu. */
}

/* use this class on collapsing parent elements
to get the height of the children */
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

#overlay,
.overlay {
  z-index:  1010; /* unfortunately, footer and header are already at 1000 */
  background: rgba(38, 134, 187, 0.1);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
}
.overlay.visible,
#overlay.visible {
  display: flex;
}
.over-overlay.visible {
  display: inline-block;
}
.over-overlay {
  z-index:  1011;
  display: none;
  display:  inline-block;
}
.over-overlay i.close-dialog {
  position: absolute;
  left: calc(100% + 10px);
  top:    0;
  color:  white;
  font-size: 20px;
  padding: 2px 8px;
  cursor: pointer;
}
.over-overlay svg.close-dialog {
  padding: 0 8px;
}
.over-overlay button {
  margin-top: 6px;
  height: 24px;
  padding: 0 15px;
  border-radius: 4px;
  border: solid 1px #8b8b8b;
  background-color: white;
  color: #8b8b8b;
  font-size: 12px;
}
.over-overlay button:not(:last-of-type) {
  margin-right: 8px;
}
.over-overlay button.full {
  border-color:#2859d5;
  background-color: #2859d5;
  color: white;
}

.edit-article form .error {
  width: 100%;
  margin-bottom: 16px;
}

.edit-article.read_only .editor .select2-container--default.select2-container--disabled .select2-selection--single,
.edit-article.read_only .editor .select2-container--default.select2-container--disabled .select2-selection__rendered,
.edit-article.read_only .embed-form textarea:disabled {
  background: transparent;
  border: none;
}

.edit-article.read_only .select2-container--disabled .select2-selection__rendered {
  color:    grey;
}
.card .subform .select2-container--default.select2-container--disabled .select2-selection--single,
.card .start-date input[disabled],
.card .end-date input[disabled],
.card .subform input[disabled] {
  background-color: #eee;
}

.card .subform button[disabled] {
  cursor: default;
}


/************************************* Editor ******************************************/

.dropzone-line {
  position: absolute;
  height: 4px;
  width:  100%;
  background-image: none;
  background-color: var(--main-blue);
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
}
.perforator-line {
  display: none;
  position: absolute;
  width:100%;
  flex-direction: row;
  /* justify-content: center;
  align-items: center; */
}
.editor-block-padding-container.active .show-perforator-lines .perforator-line,
.editor-block-padding-container.active .perforator-line:hover {
  display: flex;
}
.perforator-line {
  padding-left: 4px;
}
.perforator-line > i,
.perforator-line > svg {
  cursor:   pointer;
  z-index:  3;
  font-size:16px
}
.perforator-line > i:hover,
.perforator-line > svg:hover {
  color:    var(--main-blue);
}
.perforator-line > hr {
  width:            90%;
  height:           1px;
  position:         absolute;
  top:              20%;
  background-color: var(--main-blue);
  visibility:       hidden;
  border:           none;
  margin-left:      48px;
}
.perforator-line > i:hover ~ hr,
.perforator-line > svg:hover ~ hr {
  visibility: visible;
}
.perforator-icon {
  height: 16px;
  color: var(--light-grey);
  fill: var(--light-grey);
}
.perforator-hover-container {
  width: 50px;
  height: 100%;
  opacity: 0.5;
  position: absolute;
  top: 0;
}

.mirror {
  transform: scaleX(-1);
}
.editor-grid-complement {
  width: 30px;
  max-width: 30px;
  user-select: none;
  cursor: grab;
  z-index: 2; /* the tooltip inside will otherwise be underneath the editor toolbar*/
}
.editor-grid-complement > div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  overflow: hidden;
  width: inherit;
  max-width: inherit;
}
.editor-grid-complement > div > div {
  margin-top: 10px;
}
.editor > .editor-row { /* this is only the immovables! */
  margin-bottom: 10px;
}
.editor-row:not(.pre-section-false) .editor-grid-complement {
  background-size: 10px 10px;
  background-image: linear-gradient(
    0deg,
    rgb(57, 159, 212, 0.5) 25%,
    transparent 25%,
    transparent 50%,
    rgb(57, 159, 212, 0.5) 50%,
    rgb(57, 159, 212, 0.5) 75%,
    transparent 75%,
    transparent
  );
}
.card.editor-row {
  margin-bottom: 16px;
  width: 100%;
}
.edit-article #main_content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.editor {
  /*padding-bottom: 240px;*/
  line-height: normal;
  position: relative;
  /* max-width:          740px;
    width:              70%; */
  width: 100%;
  padding-top: 0;
  z-index: 4; /* addBlockMenu must be in front of whatever is directly beneath the editor */
  min-height: var(--editor-min-height);
  padding-bottom: 0;
}
.mce-content-body {
  margin: 2px;
  border: 1px solid transparent;
  border-radius: 4px;
}
#basetext-container .editor-block-container:not(.active) {
  background: transparent;
  border-radius: 0;
  border-top: 0;
  border-right: 0;
  border-bottom: 0; /* prevent crooked edges */
  border-left: 0;
}
#content.read_only .editor-block-container:not(.active),
#content.edit-article.read_only .editor input[type="text"],
#content.edit-article.read_only .editor input[type="url"],
#content.edit-article.read_only .editor textarea:not(.plain) {
  border: 0;
}
#basetext-container .editor-block-row.required .editor-block-container,
.editor-row.card.required {
  border-color: var(--required);
}
.editor-block-row .editor-block {
  grid-area: editor;
}
.editor-block > * {
  position: relative;
}
.no-outline {
  border: none !important;
}
.toolbar-container {
  position: sticky;
  top: 0;
  z-index: 1;
  width: calc(100% + 32px); /* cards have 16px padding */
  margin-left: -16px; /* cards have 16px padding */
}
.tinymce-toolbar-icon {
  width: 24px !important; /* tox tinymce styles will overwrite this without important. */
  height: 24px !important;
  cursor: pointer;
}
.editor-row .tox-toolbar__primary {
  border-bottom: 1px solid #ccc;
}
#basetext-card {
  padding-bottom: 0px;
  margin-bottom: 15px;
}
#basetext-card .toolbar-container {
  width: auto;
  margin-left: 0;
}
#basetext-card .tox.tox-tinymce.tox-tinymce-inline {
  margin: 0 -1px;
  top: -2px;
}
/*#basetext-card.max-length-exceeded .tox.tox-tinymce.tox-tinymce-inline,*/
#basetext-card.min-length-undershot .tox.tox-tinymce.tox-tinymce-inline {
  border-right: 1px solid var(--required);
  border-left: 1px solid var(--required);
}
#basetext-card .tox-tinymce-inline .tox-editor-header {
  border-right: 0;
  border-left: 0;
  border-bottom: 0;
}

.editor-grid-complement {
  background-color: #2686bb;
  color: white;
}
.editor-block.required .remove-block-icon,
.editor-row:hover
  .editor-block.required
  .single-content-form-container
  .remove-block-icon {
  display: none;
}

.single-content-form-container input,
.single-content-form-container textarea {
  font-size: initial;
}

.single-content-form-container textarea {
  margin: 8px 0;
}

.remove-block-icon {
  position: absolute;
  right: -2px;
  top: -2px;
  width: 20px;
  height: 20px;
  text-align: center;
  font-size: 20px;
  /*border-radius:  50%;
    border:         1px dotted #999;
    background:     white;*/
  cursor: pointer;
  display: none;
}
.video-container {
  border-radius: 4px;
  display: flex;
}
.video-container > video {
  background-color: var(--light-grey);
}
.audio-container audio {
  margin-top: 30px; /* move audio element down so settings-icon div is not in front of audio controls */
}
.video-container.sourceless > video,
.audio-container.sourceless > audio {
  display: none;
}
.video-container:not(.sourceless) > img {
  display: none;
}
.document-container i {
  font-size: 48px;
}
.cmsref-container i {
  font-size: 48px;
}
.editor-row:hover .remove-block-icon {
  display: block;
}
.remove-block-icon > i {
  padding-top: 1px;
  color: red;
}
.to-be-removed {
  border-radius: 6px;
  background-size: 10px 10px;
  background-color: #e0e0e0; /*#ffcfcf;*/
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.5) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.5) 75%,
    transparent 75%,
    transparent
  );
}
.single-content-block.to-be-removed {
  border-radius: 0;
}
.dd_menu {
  position: absolute;
  z-index: 1;
  background: rgb(231, 231, 231);
  border-radius: 4px;
  padding: 8px 0;
  text-align: start;
}
.dd_menu li {
  color: black;
  padding: 6px 16px;
  line-height: 1.5;
}
.dd_menu li:hover {
  background: rgb(199, 199, 199);
}

.editor-block.upload {
  min-height: 3rem;
  display: flex;
  align-items: center;
  padding: 15px 30px;
}
.upload-grid {
  color: var(--light-grey);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 1rem;
}
.editor .progress {
  width: 30vw;
}

.drop-block-here {
  height: 20px;
  background-size: 20px 20px; /* Controls the size of the stripes */
  background-color: var(--light-grey);
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.5) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.5) 75%,
    transparent 75%,
    transparent
  );
}
.drop-block-here.dropzone-green {
  background-color: #cef6ce;
}
.editor-block-row {
  display: flex;
  flex-direction: column;
  position: relative;
}
.embed-container[src=""] {
  margin-right: 0px;
}
.embed-container {
  margin-right: 15px;
  border-radius: 4px;
  padding-right: 8px;
}
.editor-block.embed,
.editor-block.cmsref,
.editor-block.code {
  display: flex;
  flex-direction: row;
}
.editor-block.embed .embed-form,
.editor-block.cmsref .cms-ref-form,
.editor-block.code .code-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.editor-block .single-content-container {
  position: relative;
  float: left;
}
.editor-block .img-container img {
  display: block;
}
.single-content-container .single-content,
#content.show_article .article_text .single-content {
  max-height: 200px;
  max-width: 100%;
  border-radius: 4px;
}
.single-content-container.imagegallery-container {
  overflow-x: auto;
}
.single-content-container.imagegallery-container .single-content {
  max-height: unset;
  max-width: unset;
}
.single-content-container.bookmark-container,
.single-content-container.bookmark-container .single-content,
#content.show_article .article_text .single-content.bookmark {
  max-width: 100%;
}

.editor-block .single-content-container.sourceless {
  max-width: unset;
  width: 100%;
}
.editor-block .img-container img[src=""] {
  display: none;
}
.editor-block.single-content {
  /* overflow:auto is important here because it makes this div take the height of its floated child elements */
  overflow: auto;
  /* in case even the img is smaller than the left-hand-side dragging-handle, give this a min-height */
  min-height: 50px;
}
.single-content-container {
  position: relative;
}
.placeholder-container {
  width:          100%;
  flex-direction: row;
  justify-content:center;
  align-items:    center;
  display:        none;
  padding-right:  40px;
}
.sourceless .placeholder-container {
  display: flex;
}
.editor-block:not(.compact-imagegallery) .single-content:not(.show-more) .gallery-content-container:nth-child(n+4),
.editor-block:not(.compact-imagegallery) .single-content.show-more .show-more-gallery-contents,
.editor-block:not(.compact-imagegallery) .single-content:not(.show-more) .show-less-gallery-contents {
  display: none;
}
.show-more-gallery-contents,
.show-less-gallery-contents,
.reverse-image-order {
  display: inline-flex;
  user-select: none;
  flex-direction: row;
  cursor: pointer;
  font-size: 12px;
  user-select: none;
  flex-direction: row;
  align-items: center;
  text-transform: none;
  letter-spacing: normal;
}
.reverse-image-order {
  float: right;
  padding: 3px 12px;
  border-radius: 4px;
  text-align: center;
  vertical-align: middle;
  display: inline;
}
.reverse-image-order:focus:not(.MuiFab-root),
.reverse-image-order:active:not(.MuiFab-root) {
  background: #f4f4f4;
  border-color: var(--main-blue);
  color: var(--main-blue);
  top: unset;
}
.single-content-form-container.imagegallery-form-container {
  margin: 0;
  padding:0;
}
.single-content[data-content-type=imagegallery].dragover {
  /* this is var(--main-blue) with less opacity */
  background: rgb(40, 89, 213, 0.08);
}
.imagegallery > .content-meta {
  display: none;
}
.single-content-block .single-content-container.imagegallery-container,
.single-content-block .single-content-form-container.imagegallery-form-container,
.single-content-block .single-content-form-container.a-form-container {
  padding-left: 0;
}
.gallery-content-container {
  border-radius: 3.6px;
  border: solid 1px var(--light-grey);
  box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
  padding: 16px 8px;
}
ol.gallery-content-list {
  margin-top: 16px;
  margin-left: 0;
  list-style-type: none;
  margin-bottom: 4px;
}
.gallery-content-container {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  grid-template-rows: auto;
  grid-template-areas:  "lefticons image form righticons"
                        "lefticons meta meta righticons";
}
.gallery-content-icons-left {
  grid-area: lefticons;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: bold;
  color: var(--grey-text);
}
.gallery-item-handle {
  cursor: grab;
  margin-bottom: 8px;
}
.gallery-content-icons-right {
  grid-area: righticons;
  display: flex;
  flex-direction: row;
}
.gallery-content-icons-right > i,
.gallery-content-icons-right > svg {
  height: min-content;
  cursor: pointer;
  margin-left: 4px;
}
.gallery-content-icons-right > svg {
  height: 20px;
}
.gallery-content-icons-right > i:hover,
.context-menu-icon > i:hover,
.gallery-content-icons-right > svg:hover,
.context-menu-icon > svg:hover {
  color: var(--main-blue);
}
.gallery-content-icons-right > i.delete-gallery-assoc:hover,
.context-menu-icon.close-icon > i:hover,
.gallery-content-icons-right > svg.delete-gallery-assoc:hover,
.context-menu-icon.close-icon > svg:hover {
  color: var(--red);
}

.gallery-content-container img,
#placeholder_for_gallery_element {
  margin: 0 8px 0 8px;
  border-radius: 3.6px;
  grid-area: image;
}
.gallery-content-container form {
  grid-area: form;
}
.gallery-content-container .content-meta-data {
  margin: 16px 8px 0 16px;
  grid-area: meta;
}
.gallery-content {
  max-height: 90px;
}
.compact-imagegallery .gallery-content {
  cursor: grab;
}
.gallery-sortable-placeholder {
  background: var(--main-blue);
  height: 2px;
  margin: 16px 0;
  border-radius: 4px;
}
.gallery-sortable-placeholder-compact {
  height: 100%;
  display: inline-block;
}
.gallery-content-list-dragging {
  margin-top: 0;
}
.compact-imagegallery .gallery-sortable-placeholder {
  background: var(--main-blue);
  width: 2px;
  margin: 0 16px;
  border-radius: 4px;
}
.gallery-content-counter {
  margin: 0 5px;
}
.placeholder-container .placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.user-dragging .subject_folder_dropzone,
.left-sidebar-open .subject_folder_dropzone,
.left-sidebar-open .single-content-container .placeholder-container .placeholder {
  border: 2px dashed var(--main-blue);
  margin: -1px;
}
.placeholder-container .placeholder,
.placeholder-container .placeholder i,
.placeholder-container .placeholder svg {
  color: var(--grey-text);
}
.editor-block:not(.article):not(.imagegallery ):hover .placeholder-container .placeholder,
.editor-block:not(.article):not(.imagegallery ):hover .placeholder-container .placeholder i,
.editor-block:not(.article):not(.imagegallery ):hover .placeholder-container .placeholder svg {
  color: var(--main-blue);
}
.placeholder-container .placeholder i {
  font-size:      48px;
}
.placeholder-container .placeholder svg {
  height:         36px;
}
.placeholder-container .placeholder > p i {
  margin-left: 5px;
  font-size: 16px;
  text-align: center;
}
.placeholder-container .placeholder > p {
  margin-top:     10px;
  display:        flex;
  font-size:      12px;
  justify-content: space-around;
}
.placeholder-container .placeholder > p.container-default-contentrole {
  margin-top: 0;
}
.edit-article .placeholder {
  width:          178px;
  height:         104px;
  border:         1px solid var(--light-grey);
  border-radius:  4px;
}

.sidebar .datatable tr.in-use {
  background: rgba(0, 0, 0, 0.03);
}
.only-visible-in-use {
  display: none;
}
.sidebar .datatable tr.in-use .only-visible-in-use {
  display: unset;
  color: grey;
}
.sidebar .datatable tr.in-use.hover-over-content-occurrence,
.hover-over-content-occurrence {
  background: #edf6fc;
}

.single-content-form-container {
  overflow: hidden;
}
.single-content-form-container .remove-block-icon {
  display: none;
}
.editor-row:hover .single-content-form-container .remove-block-icon {
  display: inline;
}
.editor-block.single-content-block .single-content-form-container > form {
  overflow: hidden;
}
.single-content-form-container > form #id_description {
  height: 100px;
}
.single-content-form-container > form {
  padding: 1px; /* for some reason it swallows the borders of text boxes otherwise */
}
.single-content-form-container
  .select2-container--default,
.single-content-form-container
  .searchwidget
  ~ span.select2-container
  > .selection {
  background: transparent;
  border: 0;
}
.single-content-form-container
  .select2-container--default:focus,
.single-content-form-container
  .searchwidget:focus
  ~ span.select2-container
  > .selection:focus {
  border: 0;
}
.single-content-form-container .select2-selection__arrow {
  visibility: hidden;
}
.editor-row:hover .single-content-form-container .select2-selection__arrow {
  visibility: visible;
}
.edit-article .select2-selection__clear {
  top: -3px;
}
.editor-row input[type="text"]:focus,
.editor-row input[type="number"]:focus,
.editor-row textarea:not(.plain):focus,
.editor-row select:focus {
  box-shadow: none;
}
.editor-row textarea {
  overflow: hidden;
}
/* this makes fixed image blocks wobble on hover and I don't know why we had this
  so if there has been no bug related to this once you next see this, please delete it */
/* .editor-row:hover textarea,
.editor-row textarea:active,
.editor-row textarea:focus {
  overflow: auto;
} */
.single-content-container.hovering:not(.imagegallery-container) {
  overflow: hidden;
}
.single-content-container.sourceless.hovering > img {
  filter: brightness(95%);
}
.editor-row:hover form.disabled > *:not(label) {
  background: #efefef;
}
.file-input {
  display: none;
}
.sourceless .file-input,
.sourceless .file-input:focus,
.sourceless .file-input:active,
.sourceless .file-input:hover {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.editor-block ul,
.editor-block ol:not(.gallery-content-list) {
  margin-left: 2em;
  list-style-position: outside;
  list-style-image: none;
}
.editor-block ul {
  list-style-type: disc;
}
.editor-block ol {
  list-style-type: decimal;
}

.toolbar-container .tox.tox-dialog {
  /* do not use the existing max-height of 100% because the toolbar-container is smaller than this */
  max-height: 10000000px;
}
.toolbar-container .tox-tinymce-inline .tox-editor-header {
  border: none;
}
.toolbar-container
  .tox-menu.tox-collection.tox-collection--list.tox-selected-menu {
  width: max-content;
}
.loading-spinner-container {
  width: 298px;
  height: 187px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 93px;
}
.editor .loading-spinner-container svg.loading-spinner {
  padding: 0;
  margin: 0;
}
/* .max-length-exceeded,
.min-length-undershot,
/* the following have to stay below the required-style or it will overwrite this */
.editor-block-container .mce-content-body.min-length-undershot:hover,
.editor-block-container .mce-content-body.min-length-undershot:active,
.editor-block-container .mce-content-body.min-length-undershot:focus,
.editor-block-container .mce-content-body.max-length-exceeded:hover,
.editor-block-container .mce-content-body.max-length-exceeded:active,
.editor-block-container .mce-content-body.max-length-exceeded:focus {
  border: 1px solid #b94a48;
}
.editor-row.min-length-undershot .editor-block > p,
/* .editor-row.max-length-exceeded .editor-block > p, */
/* #basetext-card.max-length-exceeded .editor-block.chars-in-basetext > p, */
#basetext-card.min-length-undershot .editor-block.chars-in-basetext > p
{
  color: #b94a48;
}
.editor-block.embed.soundcloud iframe.alfaeditorialorganizer {
  width: 500px;
}
.remove-video {
  font-size: 20px;
  position: absolute;
  right: 0;
  cursor: pointer;
  padding: 5px;
  display: none;
}
.read_only .remove-video {
  visibility: hidden;
}
.video-container:hover .remove-video {
  display: block;
}
.remove-video > i[class] {
  color: red;
}
.block-card-menu {
  grid-area: menu;
  display: flex;
  height: min-content;
  align-items: start;
  justify-content: right;
}
.compact-imagegallery .block-card-menu .name,
.compact-imagegallery .block-card-menu .counter {
  color: var(--fontColorLight);
  font-size: small;
}
.compact-imagegallery .block-card-menu .name {
  width: 100%;
}
.compact-imagegallery .block-card-menu .counter {
  margin-right: 4px;
  white-space: nowrap;
}

.block-card-title {
  font-size: 12px;
  font-weight: bold;
  color: var(--grey-text);
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: default;
  text-align: end;
  grid-area: title;
  bottom: 16px;
}
.block-card-title.basetext-block-card-title {
  bottom: unset;
}
.block-card-title hr {
  margin: 10px -17px 0 -17px;
}

.editor-row .settings-icon,
.editor-block-row .settings-icon {
    margin-right: 10px;
}

.character-info {
  letter-spacing: normal;
  text-transform: none;
}
.pre-section-false .character-info {
  position: relative;
}

#basetext-card .character-info {
  right: 16px;
  margin-right: 14px;
}
.max-length-exceeded .character-info .color-blue,
.min-length-undershot .character-info .color-blue {
  color: var(--required);
}
.max-length-exceeded .character-info .hide-when-not-active,
.min-length-undershot .character-info .hide-when-not-active {
  opacity: 1;
  animation: none; /* with the animation, this will flicker on hover even though opacity doesn't change */
}

.hide-when-not-active {
  opacity: 0;
}
.editor-block.active .hide-when-not-active,
.editor-row:hover .hide-when-not-active,
#basetext-card.active .hide-when-not-active,
#basetext-card:hover .hide-when-not-active {
  opacity: 1;
  animation: fadeInDelay ease-in-out 600ms;
}
.editor-block.active.min-length-undershot .hide-when-not-active,
.editor-row.min-length-undershot:hover .hide-when-not-active,
#basetext-card.active .hide-when-not-active,
#basetext-card:hover .hide-when-not-active {
  opacity: 1;
  animation: none; /* with the animation, this will flicker on hover even though opacity doesn't change */
}

.editor .mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before {
  /* we need to override the color of tinymce or all placeholders will be grey */
  color: unset;
  opacity: 0.5;
}
.editor .required.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before {
  content: attr(data-mce-placeholder) " (" attr(data-required-localization) ") *";
  color: var(--required);
  opacity: 0.8;
}

.editor-block-row .editor-block-padding-container::before {
  opacity: 0;
  -webkit-transition: opacity top 0.5s ease-in-out;
  -moz-transition: opacity top 0.5s ease-in-out;
  transition: opacity top 0.5s ease-in-out;
  animation: opacity ease-in-out 600ms;
}

.editor-block-row:not(.editor-row):not(.required) .editor-block-padding-container::before {
  color: var(--main-blue);
}
.editor-block-row:not(.editor-row) .editor-block-padding-container::before,
.editor-block-row:not(.editor-row) .editor-block-padding-container::before {
  float: left;
  text-transform: uppercase;
  font-size: 10px;
  background: white;
  content: attr(data-block-label); /* if we have nothing here, Firefox will have iframes in embed blocks flash on hover/unhover */
  max-width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: absolute;
  top: -8px;
  left: 16px;
  padding: 0 8px;
  opacity: 0;
}
.editor-block-row.editor-row .editor-block-padding-container.required {
  content: attr(data-block-label);
}
.editor-block-row.text-transferred:not(.editor-row) .editor-block-padding-container::before,
.editor-block-row.text-transferred:not(.editor-row) .editor-block-padding-container::before,
.editor-block-row.ai-generated:not(.editor-row) .editor-block-padding-container::before,
.editor-block-row.ai-generated:not(.editor-row) .editor-block-padding-container::before {
  background: transparent;
}
.editor-block-row:not(.editor-row) .editor-block-padding-container.active::before,
.editor-block-row:not(.editor-row) .editor-block-padding-container:hover::before,
.editor-block-row.editor-row .editor-block-padding-container.required {
  opacity: 1;
  animation: fadeInDelay ease-in-out 600ms;
}
.editor-block-row:not(.editor-row) .editor-block-padding-container.required::before,
.editor-block-row:not(.editor-row) .editor-block-padding-container.required::before,
.editor-block-row.editor-row .editor-block-padding-container.required {
  content: attr(data-block-label) " (" attr(data-required-localization) ") *";
  color: var(--main-blue);
}
.editor-block-row:not(.editor-row) .editor-block-padding-container.empty.required::before,
.editor-block-row:not(.editor-row) .editor-block-padding-container.empty.required::before {
  color: var(--required);
}
#content:not(.read_only) #basetext-container .editor-block-padding-container.empty.required:hover,
#content:not(.read_only) #basetext-container .editor-block-padding-container.empty.required.active {
  border-color: var(--required);
}

.character-min-max {
  margin-right: 24px;
  font-weight: normal;
}

.editor-row.pre-section-false .confirmation-menu > div {
  margin-right: 18px;
  margin-left: 18px;
}

.context-menu-icon {
  cursor: pointer;
  letter-spacing: normal;
  text-transform: none;
}
#content.read_only .context-menu-icon {
  visibility: hidden;
}

.context-menu-icon .context-menu-icon-first {
  padding-right: 8px;
}

.context-menu-icon.settings-icon.metadata-not-valid,
.archived-marker {
    border-radius: 16px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    height: min-content;
    background: rgba(255,255,255,0.5);
}
.context-menu-icon.settings-icon.metadata-not-valid {
    color: #e10303;
    border: solid 1px #e10303;
}
.archived-marker {
  color: #ccc;
  border: none;
  padding-right: 8px;
}

.context-menu-icon.settings-icon.metadata-not-valid i,
.archived-marker svg {
    vertical-align: middle;
}
.archived-marker svg {
  margin-right: 4px;
}

span.metadata-label {
    vertical-align: middle;
    color: #e10303;
    padding-right: 8px;
    /* Selektion des Textes verhindern */
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently */

}


.material-icons.info-icon {
    padding-left: 4px;
    font-size: 18px;
    color: #e10303;
}

.single-content-block {
  width: 100%;
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-rows: auto;
  grid-template-areas:
    "image form"
    "meta meta";
}
.single-content-block.imagegallery {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "form"
    "meta"
    "image";
}
.single-content-block.imagegallery.compact-imagegallery {
  grid-template-areas:
    "image"
    "meta"
    "form";
}
.single-content-block.imagegallery.compact-imagegallery .gallery-content-icons-left,
.single-content-block.imagegallery.compact-imagegallery form,
.single-content-block.imagegallery.compact-imagegallery .content-meta-data,
.single-content-block.imagegallery.compact-imagegallery .gallery-content-icons-right {
  display: none;
}
.compact-imagegallery.editor-block-container {
  grid-template-areas: "handle icon editor ai trash"
                       "handle icon editor ai swap"
                       "error error error error error"; /* we need an extra grid space for the compact reverse-order button*/
}
.compact-imagegallery .compact-reverse-button-container {
  grid-area: swap;
  display: flex;
  justify-content: center;
  align-items: end;
  padding: 4px;
}
.compact-reverse-button-container > svg {
  color: var(--grey-text);
  cursor: pointer;
  width: 18px;
}
.compact-reverse-button-container > svg path {
  fill: var(--grey-text);
}
.compact-reverse-button-container > svg:hover {
  color: var(--main-blue);
}
.compact-imagegallery .scroll-container {
  overflow-x: auto;
  overflow-y: clip;
  width: 100%;
}
.compact-imagegallery ol.gallery-content-list {
  height: 90px;
  max-width: max-content;
  width: max-content;
}
.compact-imagegallery .gallery-content-container {
  display: inline-block;
  border: none;
  box-shadow: none;
  margin-bottom: 0;
  padding: 0;
}
.compact-imagegallery .show-more-gallery-contents,
.compact-imagegallery .show-less-gallery-contents,
.compact-imagegallery button.reverse-image-order,
.compact-imagegallery .single-content:not(.show-more) .show-less-gallery-contents {
  display: none;
}
.compact-imagegallery .single-content-container.imagegallery-container .single-content {
  width: max-content;
  max-width: max-content;
}
.single-content:not(.show-more) .show-less-gallery-contents {
  display: inline;
}
.article-gallery-image-dialog i.gallery-item-handle[class],
.article-gallery-image-dialog .gallery-item-handle {
  display: none;
}
.single-content
.handle-icon {
  margin-left: 16px;
  grid-area: handle;
  font-size: 100px;
  cursor: grab;
}
.single-content-block .single-content-container.img-container.sourceless,
.single-content-container.video-container.sourceless,
.single-content-container.article-container.sourceless,
.single-content-container.audio-container.sourceless,
.single-content-container.document-container.sourceless,
.single-content-container.cmsref-container.sourceless {
  grid-area: meta;
  padding: 0;
  padding-left: 16px;
}
.single-content-block .single-content-container {
  grid-area: image;
  padding: 0;
}
.single-content-block .single-content-form-container {
  grid-area: form;
  padding: 0;
  padding-left: 24px;
}
.single-content-form-container .select2-container {
  margin-bottom: 8px;
}
.single-content-block .content-meta {
  padding: 0;
  padding-left: 16px;
  padding-top: 10px;
  display: none;
}
.editor-block .single-content-container.bookmark-container {
  max-width: unset;
  width:  100%;
}
.bookmark-container > label {
  padding-left: 16px;
}
.bookmark-container .single-content {
  display: none;
}
.bookmark-container .url-input {
  width: 100%;
}

.single-content-block.bookmark {
  display: flex;
  flex-direction: column;
}
.single-content-block.bookmark .single-content-form-container {
  margin-left: 0;
}

.content-meta-filename {
  color: var(--grey-text);
  font-size: 12px;
  line-height: 16px;
  font-weight: bold;
}
.content-meta-data {
  color: var(--grey-text);
  font-size: 12px;
  line-height: 16px;
}
article.single-content {
  overflow: hidden;
  white-space: wrap;
  text-overflow: ellipsis; /*this actually only works with nowrap but we don't want that*/
}

#basetext-container {
  /*position: relative;
   max-height: calc(
    100vh - 280px
  ); 150px header + 35px footer + 76px header of card + some buffer
  overflow-y: auto;
  overflow-x: hidden;*/
  margin-right: -16px;
  width: 100%;
}
#basetext-toolbar-container {
  position: sticky;
  top: 0;
  background-color: transparent;
  width: calc(100% + 32px); /* cards have 16px padding */
  margin-left: -16px; /* cards have 16px padding */
  height: 42px;
  z-index: 2;
}
.tox-tinymce-inline .tox-editor-header {
  border: 1px solid white !important;
  padding: 0px 16px;
}
#basetext-container .editor-block-row {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto;
  grid-template-areas:
    "editor-container"
    "menuicons";
}
.editor-block-container {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 34px 34px calc(100% - 102px) 0px 34px; /* channel ai are collapsed so we can move them
                                                 via position absolute without them being in the way */
  grid-template-rows: auto;
  grid-template-areas: "handle icon  editor ai  trash"
                       "error  error error  error error";
  grid-area: editor-container;
  padding: 0;
  padding-left: 16px;
}
.pre-section-false .editor-block-container .block-card-title {
  grid-area: trash;
  display: flex;
  flex-direction: column;
  align-items: end;
  white-space: nowrap;
}

.pre-section-false .editor-block-container:not(.single-content-block-container) {
  grid-template-columns: 34px 34px 1fr 0px minmax(24px, 200px);
}

.editor-block-container .error-message {
  grid-area: error;
}
.editor-block-container.no-icon {
  grid-template-columns: 34px 1fr 0px 34px;
  grid-template-rows: auto;
  grid-template-areas: "handle editor ai  trash"
                       "error  error  error error";
}
.pre-section-false .editor-block-container.no-icon {
  grid-template-columns: 34px 1fr 0px minmax(24px, 200px);
}
.editor-block-container.single-content-block-container {
  grid-template-columns: 34px 34px 1fr 34px; /* channel ai are collapsed so we can move them
                                                 via position absolute without them being in the way */
  grid-template-areas:  "handle icon editor trash";
}
.editor-block-padding-container {
  padding: 8px 11px 8px 0;
  border-radius: 4px;
}
.editor-block-container .block-card-menu {
  grid-area: editor;
  z-index: 1;
}
#basetext-container .between-blocks {
  position: relative; /* the hr underneath it needs a relative ancestor for width */
  grid-area: menuicons;
  text-align: center;
  /* margin-left needs to be width of icon-column + padding of editor-block-container + own margin right (so its centered) */
  margin: 2px 30px 2px 30px;
  max-width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  height: 24px;
  opacity: 0;
  z-index: 1;
}
#basetext-container .between-blocks:hover {
  opacity: 1;
  animation: fadeInDelay ease-in-out 600ms ;
}

@keyframes fadeInDelay {
  0% {opacity:0;}
  50% {opacity:0;}
  100% {opacity:1;}
}
.between-blocks > * {
  margin: 0 8px;
}
.read_only .between-blocks,
.read_only .icon-column *,
.read_only .single-content-container.sourceless,
.read_only .dropzone-between-blocks {
  visibility: hidden !important;
}
.block-menu.card,
.invisible-observer {
  padding: 0;
  background: white;
  position: relative;
  margin-top: 14px;
  height: max-content;
  border: solid 2px var(--light-grey);
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  z-index: 3;
  right: 15px;
  top: -60px;
}
/* .block-menu.speechbubble.bubbleborder::before {
  border-color: transparent transparent var(--light-grey) transparent;
} */
.block-menu > div,
.invisible-observer > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  height: 100%;
  cursor: pointer;
  color: var(--main-blue);
  min-width: 100px;
  font-size: 12px;
}
.block-menu > div:hover {
  background: var(--light-blue);
}
.fast-access-menu {
  display: flex;
  flex-direction: row;
  z-index: 4;
}
.fast-access-menu .open-menu-icon {
  margin: 2px 12px;
  background: white; /* this needs to hide the marker that is there when not hovered */
  color: var(--main-blue);
  cursor: pointer;
}
.no-block-menu .open-menu-icon {
  color: #9e9e9e;
  cursor: default;
}
.fast-access-menu .block-type-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  border-radius: 4px;
  border: 1px solid var(--light-grey);
  color: var(--main-blue);
  background: #f5f5f5;
  font-size: 12px;
  padding: 3px 8px;
  cursor: pointer;
  margin: 0 4px;
}
.fast-access-menu .block-type-button:hover {
  border: 1px solid var(--main-blue);
}
.fast-access-menu .block-type-button svg,
.fast-access-menu .block-type-button i {
  font-size: 16px;
  color: var(--main-blue);
  margin-right: 6px;
}
.insert-block-line .block-menu svg {
  height: 24px;
  color: var(--main-blue);
  margin-bottom: 6px;
}
.merge-blocks-icon {
  visibility: hidden;
  height: 24px;
  cursor: pointer;
  fill: var(--light-grey);
  margin-right: 4px;
}
.merge-blocks-icon.hover {
  fill: var(--main-blue) !important;
}
.between-blocks:not(.invisible) .merge-blocks-icon.visible {
  visibility: visible;
}
.between-blocks hr {
  width: 100%;
  position: absolute;
  left: 0;
  z-index: -1;
  padding-top: 4px;
  border: 0;
  height: 1px;
  border-bottom: 2px solid rgba(25, 25, 25, 0.1);
}
.invisible {
  visibility: hidden;
}
.no-display {
  display: none;
}
.dropzone-between-blocks {
  visibility: hidden;
  padding: 4px 0;
  border-radius: 4px;
  height: 32px;
  width: calc(100% - 50px);
  position: absolute;
  transform: translateY(-4px);
}
.insert-block-line {
  /* padding-top: 5px; */
  display: flex;
  flex-direction: row;
}
.between-blocks.first .dropzone-between-blocks {
  width: calc(100% - 82px);
}
.user-dragging #basetext-container .between-blocks {
  opacity: 1;
}
.user-dragging .dropzone-between-blocks,
.left-sidebar-open .dropzone-between-blocks {
  opacity: 1;
  visibility: visible;
  /* margin-right: 70px; */
  background-size: 65px 65px; /* Controls the size of the stripes */
  background-color: #f4f4f4;
  background-image: linear-gradient(
    135deg,
    white 25%,
    transparent 25%,
    transparent 50%,
    white 50%,
    white 75%,
    transparent 75%,
    transparent
  );
}

.user-dragging .subject_folder_dropzone,
.left-sidebar-open .subject_folder_dropzone {
  visibility: visible;
  margin-right: 70px;
  background-size: 65px 65px; /* Controls the size of the stripes */
  background-color: #f4f4f4;
  background-image: linear-gradient(
    135deg,
    white 25%,
    transparent 25%,
    transparent 50%,
    white 50%,
    white 75%,
    transparent 75%,
    transparent
  );
}

@media only screen and (max-width: 1900px) {
  .user-dragging #content-cards,
  .user-dragging #info-cards {
    opacity: 0.2;
  }
}

.user-dragging .dropzone-between-blocks,
.left-sidebar-open .dropzone-between-blocks,
.user-dragging .subject_folder_dropzone,
.left-sidebar-open .subject_folder_dropzone,
.left-sidebar-open .single-content-container .placeholder-container .placeholder,
.edit-article .editor #basetext-container input.url-input.dragover[type="text"] {
  border:       2px dashed #399fd4;
  border-radius:4px;
}
.user-dragging .between-blocks.dragover .dropzone-between-blocks,
.user-dragging .between-blocks.dragover .subject_folder_dropzone,
.left-sidebar-open .between-blocks.dragover .dropzone-between-blocks,
.left-sidebar-open .between-blocks.dragover .subject_folder_dropzone,
.single-content-container .placeholder-container .placeholder.dragover,
#subject_folder_drop_zone.dragover {
  border:       2px solid var(--main-blue);
}
#subject_folder_drop_zone * {
  cursor:       pointer;
}
#subject_folder_drop_zone .loading-spinner-container {
  width: auto;
  height: auto;
  padding-top: 0;
}
#subject_folder_drop_zone .loading-spinner {
  font-size: 35px;
}
.left-sidebar-open .single-content-container .placeholder-container .placeholder {
  margin:       -1px;
}
.checked > svg {
  color: var(--main-blue);
}

.between-blocks i {
  cursor: pointer;
  font-size: 24px;
}
.block-menu-container {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */
}
.block-menu-container > i:last-of-type {
  margin-left: 8px;
}
.insert-block-line i:hover,
.insert-block-line i:focus {
  color: var(--main-blue);
}
/* let's make a placeholder like this*/
.editor-block[data-placeholder="Aa"]:not(.active)::before {
  content: attr(data-placeholder) "";
  display: block;
  font-stretch: normal;
  font-style: normal;
  line-height: 2;
  letter-spacing: normal;
  color: var(--grey-text);
  position: relative;
  top: -6px;
  cursor: text;
}
.editor-block[data-placeholder="Aa"]:not(.active) {
  height: 1.5em;
}
#basetext-container .handle,
.trash,
.icon-button-no-outline {
  width: 18px; /* make sure the grippable area is wide enough */
  height: 24px;
  text-align: center;
  color: var(--grey-text);
  cursor: pointer;
  grid-area: handle;
  opacity: 0;
  padding-left: 8px;
  padding-right: 8px;
}
#basetext-container .trash {
  display: inline-block;
}
.pre-section-false .sourceless ~ .trash {
  display: none;
}
.icon-button-no-outline:hover {
  color: var(--main-blue);
}
.image-alice-button {
  color: var(--grey-text);
  cursor: pointer;
  fill: var(--grey-text);
}

#basetext-container .handle {
  cursor: grab;
}
.trash {
  grid-area: trash;
}
.editor-block-padding-container:hover .trash,
.editor-block-padding-container.active .trash,
#basetext-container .editor-block-padding-container:hover .handle,
#basetext-container .editor-block-padding-container.active .handle {
  opacity: 1;
  z-index: 1; /* in a sourceless block, upload will be triggered instead of delete without this */
  animation: fadeInDelay ease-in-out 200ms;
}
/* #basetext-container .trash {
  font-size: 20px;
} */
.editor-block-row.required:not(.editor-row) .trash { /* not editor-rows because you need at be able to remove the source in fixed blocks again */
  display:    none;
}
.editor-block-row.required .editor-block-padding-container:not(.empty) .trash.trash-source-only {
  display:    block;
}
#basetext-container .trash {
  cursor: pointer;
  /* margin-top: -5px; */
  /* visibility: hidden; */
  grid-area: trash;
}
#basetext-container .trash:hover {
  visibility: visible;
  color: var(--main-blue);
}
#basetext-container .active .trash {
  /* margin-top: 0; */
  visibility: visible;
}
.block-icon {
  margin-top:2px;
  font-size: 20px;
  color:     #9e9e9e;
  grid-area: icon;
}
.context-menu-entry {
    display: flex;
    align-items: center;
    flex-direction: row;
}

/************************************* left sidebar ***********************************************/

#left-sidebar.open {
  width: 600px;
}
.tabcontent.open {
  display: block;
}
.left-sidebar-open-button {
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.1);
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  background-color: #fcfcfc;
  z-index: 8;
  cursor: pointer;
  /* display: flex;
  flex-direction: column; */
  margin-bottom: 12px;
  position: absolute;
}
.left-sidebar-open-button:first-child { /* this is the media library button that needs to be in front of the media library */
  z-index: 100;
}
.left-sidebar-open-button > a {
  position: relative;
  /* display: flex;
  flex-direction: column; */
}
.left-sidebar-open-button .left-sidebar-button {
  padding: 15px;
  text-align: center;
  vertical-align: middle;
}
.left-sidebar-open-button .left-sidebar-button:first-child {
  /* padding-top: 20px;
  padding-bottom: 10px; */
}
.left-sidebar-open-button .left-sidebar-button:hover svg,
.right-sidebar-open-button .right-sidebar-button:hover svg {
  color: var(--main-blue);
}
.left-sidebar-open-button hr {
  width: calc(100% - 26px);
  border: 1px solid var(--light-grey);
  margin-top: 0;
  margin-bottom: 0;
}

.left-sidebar .tab i {
  margin-right: 8px;
}
.left-sidebar-close-button {
  padding: 5px 10px;
  height: 100%;
  float: right;
  cursor: pointer;
}

#left-sidebar-iframe {
  height: 100%;
}

.sidebar-label {
  color: var(--light-grey);
  text-transform: uppercase;
  vertical-align: middle;
  display: none;
  padding-left: 8px;
}

.left-sidebar-button:hover .sidebar-label,
.right-sidebar-button:hover .sidebar-label {
  color: var(--main-blue);
  display: inline;
  font-size: 12px;
}

/* .left-sidebar-button:hover::after {
  content: "Verknüpfte Inhalte";
  color: var(--main-blue);
  text-transform: uppercase;
  vertical-align: middle;
} */

.variant-text-warning-container {
  display: inline-block;
  width: 5px;
}
.variant-text-warning-container > i {
  color: red;
}

.variant-locked-for-editing {
  color: grey !important;
}

.variant-locked-for-editing span.variant-name {
  text-decoration: line-through;
}

.tooltip {
  font-family: "Droid Sans";
  visibility: hidden;
  color: white;
  padding: 5px 10px 5px 10px;
  margin: 5px;
  border: 1px solid #2686bb;
  background-color: #64aad0;
  border-radius: 4px;
  position: absolute;
  z-index: 100;
}
.tooltip-left {
  left: -101%;
}
.tooltip-container:hover .tooltip {
  visibility: visible;
}
.tooltip-container {
  position: relative;
}

.unselectable {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */
}

/* crap imports */
/* style tab */
.tab {
  width: 100%;
  overflow: hidden;
  background-color: #fff;
  display: flex;
  flex-flow: nowrap; /* prevent tabs from line-breaking while the div is opening */
}

/* Style the buttons inside the tab */

.left-sidebar-open .tab_icon.active {
  color: #2859d5;
}

.tab a:hover {
  color: #2859d5;
}

.tablinks {
  text-transform:uppercase;
}
.subjects {
  border-radius: 0px 0px 4px 0px;
  box-shadow: inset 0px -7px 3px -7px rgba(0, 0, 0, 0.03),
    inset -7px -3px 10px -7px rgba(0, 0, 0, 0.3);
  text-align: center;
  width: 227px;
}

.subjects.full-length {
  width: 514px;
}

#contents_folder table {
  width: 100%;
  table-layout: fixed;
}

.subjects.active {
  background-color: #fff;
  border-radius: 0px;
  box-shadow: 0px 0px 0px -1px rgba(0, 0, 0, 0.03);
  color: #2859d5;
}

.library {
  border-radius: 0px 0px 0px 4px;
  box-shadow: inset 0px -7px 3px -7px rgba(0, 0, 0, 0.03),
    inset 7px -3px 10px -7px rgba(0, 0, 0, 0.3);
  text-align: center;
  width: 282px;
}

.library.active {
  background-color: #fff;
  border-radius: 0px;
  box-shadow: 0px 0px 0px -1px rgba(0, 0, 0, 0.03);
  color: #2859d5;
}

#left-sidebar .placeholder {
  border: 0;
  border-radius: 0px;
  box-shadow: inset 0px -7px 3px -7px rgba(0, 0, 0, 0.03);
  float: right;
  height: 64px;
  width: 27px;
}

#left-sidebar .placeholder.active {
  border-radius: 0px 0px 0px 4px;
  box-shadow: inset 0px -7px 3px -7px rgba(0, 0, 0, 0.03),
    inset 7px -3px 10px -7px rgba(0, 0, 0, 0.3);
}

.tab_close {
  color: var(--grey-text);
  box-shadow: inset 0px -7px 3px -7px rgba(0, 0, 0, 0.03);
  text-align: center;
  vertical-align: middle;
  width: 64px;
}

.Line-3 {
  align-self: center;
  background-color: var(--light-grey);
  float: right;
  height: 40px;
  margin: 12px 0px;
  padding: 0px;
  width: 1px;
}

/* Style the tab content */
.tabcontent {
  width: 100%;
  height: calc(100% - 100px);
  display: none;
  border-top: none;
}
#contents_folder.tabcontent {
  padding: 8px 22px 8px 51px;
}

.Line-2-Copy-7 {
  display: block;
  width: 490px;
  height: 1px;
  border: solid 1px var(--light-grey);
}

.subject {
  color: var(--grey-text);
  font-size: 16px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  height: 45px;
  line-height: 45px;
  display: flex;
  letter-spacing: normal;
  width: 502px;
}

.subject-card {
  display: flex;
  flex-direction:column;
  justify-content: space-between;
  padding: 8px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.subject-card.linked_element {
  background-color: rgba(0, 0, 0, 0.08);
}

.subject-card:hover,
.subject-card.linked_element:hover {
  background-color: var(--light-blue);
}

.subject-card .subject_element_linked_icon {
  display: block;
}
.subject-card:hover .subject_element_linked_icon {
  display: none;
}

.subject-card .subject_element_edit_icon {
  display: none;
  font-size: 24px;
}
.subject-card:hover .subject_element_edit_icon {
  display: block;
}


.subject-card-text {
  font-family: sans-serif;
  font-size: 12px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.33;
  letter-spacing: normal;
  color: var(--grey-text);
}

.table_cell {
  vertical-align: middle;
  padding: 16px;
  border-spacing: 15px;
}

.content-preview {
  width: 149px;
  /* height: 90px;
  padding: 16px; */
  border-radius: 3.6px;
}

.content_dropzone {
  width:488px;
  height: 147px;
  color: #9e9e9e;
  line-height: 16px;
  font-size: 12px;
  font-weight: bold;
  font-family: sans-serif;
}

.content_dropzone:hover {
  color: var(--main-blue);
  border-color: var(--main-blue);
}

.content_dropzone:hover label {
  color: var(--main-blue) !important;
}

.content_dropzone {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 6px;
  border-color: var(--grey-text);
  border-style: solid;
  border-width: 1px;
  -webkit-background-size: 50px 50px;
  -moz-background-size: 50px 50px;
  background-size: 50px 50px; /* Controls the size of the stripes */
  background-color: #eee;
  background-image: -webkit-gradient(
    linear,
    0 100%,
    100% 0,
    color-stop(0.25, rgba(255, 255, 255, 0.5)),
    color-stop(0.25, transparent),
    color-stop(0.5, transparent),
    color-stop(0.5, rgba(255, 255, 255, 0.5)),
    color-stop(0.75, rgba(255, 255, 255, 0.5)),
    color-stop(0.75, transparent),
    to(transparent)
  );
  background-image: -webkit-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.5) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.5) 75%,
    transparent 75%,
    transparent
  );
  background-image: -moz-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.5) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.5) 75%,
    transparent 75%,
    transparent
  );
  background-image: -ms-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.5) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.5) 75%,
    transparent 75%,
    transparent
  );
  background-image: -o-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.5) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.5) 75%,
    transparent 75%,
    transparent
  );
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.5) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.5) 75%,
    transparent 75%,
    transparent
  );
}

/************************************* right sidebar ***********************************************/

.right-sidebar-open-button {
  box-shadow: -4px 4px 8px 0 rgba(0, 0, 0, 0.1);
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  background-color: #fcfcfc;
  z-index: 8;
  cursor: pointer;
  margin-bottom: 12px;
  right: 0px;
  position: absolute;
}

.right-sidebar-open-button > a {
  position: relative;
  /* display: flex;
  flex-direction: column;
  justify-content: flex-end; */
}
.right-sidebar-open-button .right-sidebar-button {
  padding: 15px;
  text-align: center;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
}
.right-sidebar-open-button .right-sidebar-button:first-child {

}
/* .right-sidebar-open-button .right-sidebar-button:hover svg {
  color: var(--main-blue);
} */

#active-variant-title {
  /* for some reason, inline or block are not visible on Chrome. Only flex-values. */
  display: inline-flex;
  width: calc(100% - 80px);
}
#active-variant-title > input[type="text"]:focus {
  box-shadow: none;
}
#active-variant-title > input {
  font-weight: bold;
  padding: 0;
  height: min-content;
}

#content #center {
  flex-grow: 1;
  /*padding: 20px;*/
}

#editor-controls {
  height: 50px;
  display: flex;
  justify-content: space-between;
  /* padding: 5px 20px; */
  background: var(--background);
  width: 100%;
  flex-direction: row;
  align-items: center;
  z-index: 5;
}
#editor-controls > div {
  width: fit-content;
}

#article_form #center {
  min-width: 600px;
  max-width: 1000px;
  height: calc(100vh - 50px);
}

#article_form #center .scroll-container {
  overflow-y: auto;
  height: calc(100% - 85px);
  border-radius: 4px;
}

#editor-content-checkboxes {
  padding-bottom: 4px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.card > h4:first-child,
.card .variant-channel {
  display: flex;
  align-items: center;
  margin-left: 14px;
}
.edit-article .variant-card:not(:first-child) {
  margin-top: 20px;
  margin-bottom: 20px;
}
.edit-article .variant-card:not(.active):not(.locked) {
  cursor: pointer;
}
.edit-article .variant-card.locked {
  color: rgb(25, 25, 25, 0.3);
}
.locked-notice,
.locked-notice > i[class],
.add-channel,
.add-channel > i[class],
.add-channel-disabled {
  font-size: 12px;
  line-height: 1.33;
}
.locked-notice,
.locked-notice > i[class] {
  color: var(--red);
}
.locked-notice.color-grey,
.locked-notice.color-grey > i[class] {
  color: #aaa;
}
.add-channel,
.add-channel > i[class],
.add-channel-disabled {
  color: #aaa;
}
.add-channel,
.add-channel > i[class] {
  cursor: pointer;
}
.add-channel:hover,
.add-channel:hover > i[class] {
  color: var(--main-blue);
}
.add-channel:hover > span {
  text-decoration: underline;
}
.locked-notice > i[class] {
  margin-right: 3px;
}
.align-center {
  text-align: center;
  width: 100%;
}
.channel-count {
  float: right;
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 16px;
  font-size: 12px;
  line-height: 2;
  letter-spacing: normal;
  text-align: center;
  color: #ffffff;
  border-radius: 8px;
  background-color: var(--light-grey);
  margin-top: 2px;
}
.edit-variant-title {
  margin-left: 4px;
  font-size: 16px;
}
.edit-variant-title > i[class] {
  color: inherit;
  cursor: pointer;
}

.else-variant-title {
  display:inline-flex;
  width: calc(100% - 50px);
  overflow: hidden;
  white-space: nowrap;
}
.basetext-block-info .shortcut-prompt-container {
  display: inline;
  position: relative;
  top: 5px;
  z-index: 5;
}
.shortcut-prompt-container svg {
  fill: var(--grey-text);
}
.shortcut-prompt-container svg:hover {
  fill: var(--main-blue);
}
.basetext-block-info,
.pre-section-false .single-content-block-container .shortcut-prompt-container {
  position: absolute;
  bottom: -17px;
  right: -32px;
  padding: 0 4px;
  grid-area: ai;
  white-space: nowrap;
}
.shortcut-prompt-container,
.basetext-block-chars-counter {
  background: white;
}
.shortcut-prompt-container {
  opacity: 0;
}
.basetext-block-info .shortcut-prompt-container,
.basetext-block-chars-counter,
.basetext-block-info .shortcut-prompt-container {
  margin-left: 8px;
  padding: 0 4px;
}
.pre-section-false .single-content-block-container .shortcut-prompt-container {
  bottom: 10px;
}
.pre-section-false .shortcut-prompt-container {
  position: relative;
  bottom: 0;
  right: 0;
  padding: 4px 0 0 4px;
}
.text-transferred .shortcut-prompt-container,
.ai-generated .shortcut-prompt-container {
  background: linear-gradient(180deg, transparent 74%, white 50%);
}
.single-content-block-container .shortcut-prompt-container {
  grid-area: editor;
}
.single-content-block-container .close-icon {
  display: none; /* we don't really have space for this anymore */
}
.editor-block-container.active .shortcut-prompt-container,
.editor-block-padding-container:hover .shortcut-prompt-container {
  opacity: 1;
  animation: fadeInDelay ease-in-out 600ms;
}
.shortcut-prompt-container > svg:not(:last-child) {
  margin-right: 4px;
}
.export-channel-dot {
  font-size: 12px;
}
.basetext-block-chars-counter {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
}
.editor button > svg,
.icon-before-text {
  padding-right: 4px;
}
.editor-right-sidebar .export-channel-dot {
  margin-left: -20px;
  margin-right: 8px;
}
.editor-right-sidebar .subform .export-channel-dot {
  margin-left:  0px;
  margin-right: 8px;
}
.transparent-button,
.full-button {
  align-items: center;
  border: 1px solid var(--main-blue);
  border-radius: 2px;
  display: flex;
  word-wrap: none;
  white-space: nowrap;
  color: var(--main-blue);
  font-size: 0.8em;
  font-weight: normal;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  background: transparent;
}
.full-button {
  background: var(--main-blue);
  color: white;
}
.top-center-buttons button {
  font-size: 12px;
  padding-bottom: 0;
  padding-top:0;
  padding-left: 10px;
  height:24px;
}
.top-center-buttons button:not(:last-of-type) {
  margin-right: 8px;
}
.top-center-buttons button > i {
  vertical-align: middle;
  margin-right: 4px;
}
.top-center-buttons button > span {
  vertical-align: middle;
  line-height: 16px;
}
.full-button > i,
.transparent-button > i {
  font-size: 1.5em;
  margin-right: 2px;
}
.transparent-button > i {
  color:  var(--main-blue);
  font-size: 16px;
  margin-right: 4px;
  margin-left: -3px;
}
.full-button > i {
  color: white;
}
.disabled-export-button.transparent-button,
.transparent-button.disabled {
  color:var(--light-grey);
  border-color: var(--light-grey);
}

.transparent-button.disabled svg {
  color:var(--light-grey);
}

.transparent-button.export-button {
  padding: 1px 9px;
}
.export-button > i[class] {
  color: inherit;
  font-size: 1.2em;
}
.edit-variant-title:hover > i[class] {
  color: var(--main-blue);
}
.variant-channel-container {
  display: flex;
  flex-direction: row;
}
.variant-channel-container > *:not(.variant-channel) {
  flex-basis: min-content;
  align-self: center;
  margin-left: 10px;
}
.export-log-entry {
  margin-left: 15px;
  font-size: 0.9em;
}
.export-log-entry,
.export-log-entry > i[class] {
  color: #aaa;
}
a.export-log-entry,
a.export-log-entry > i[class] {
  cursor: pointer;
}
a.export-log-entry:hover,
a.export-log-entry:hover > i[class] {
  color: var(--main-blue);
}
a.export-log-entry:hover {
  text-decoration: underline;
}
.export-log-entry:hover > i[class] {
  text-decoration: none;
}
.export-log-entry.export-log-entry-right {
  margin-left: 0px;
  font-size: 0.9em;
}
.export-log-entry-pipe {
    color: #aaa;
}

.over-overlay {
  display:        none;
  position:       absolute;
  cursor:         default;
}
#add-channel-chooser.visible {
  display:        flex;
  flex-direction: column;
}
#add-channel-chooser .block-card-title {
  text-transform: none;
  letter-spacing: normal;
}

#add-channel-chooser .block-card-title h4 {
  font-size:      16px;
}
#add-channel-chooser .export-channel-dot {
  margin:         0 12px;
  font-size:      12px;
}
.over-overlay .cardlabel {
  font-size:      12px;
  font-weight:    normal;
  font-stretch:   normal;
  font-style:     normal;
  color:        #8b8b8b;/*var(--grey-text) wurde nicht gesetzt, weil dieses Element aus dem content herausgenommen wird */
}
.over-overlay button.close:hover {
  color: var(--main-blue);
  border-color: var(--main-blue);
  filter: brightness(100%);
}
.over-overlay ul {
  margin-top:     10px;
}
.over-overlay li {
  margin-top:     14px;
  font-size:      16px;
}
#add-channel-chooser li {
  display:        flex;
  flex-direction: row;
  align-items:    center;
}
#copy-text-chooser {
  padding-top: 0;
}
.over-overlay li:last-of-type {
  margin-bottom:  15px;
}
.over-overlay .checkbox-container,
.over-overlay .checkbox-container svg,
.over-overlay .checkbox-container i {
  color: #8b8b8b;/*var(--grey-text) wurde nicht gesetzt, weil dieses Element aus dem content herausgenommen wird */
  font-size: 18px;
  cursor: pointer;
  display: inline;
}
.over-overlay .checkbox-container svg,
.over-overlay .checkbox-container i {
  margin-left: 20px;
}
.over-overlay i.checkbox-container {
  margin-right: 8px;
}
.over-overlay .checkbox-container.disabled svg,
.over-overlay .checkbox-container.disabled i {
  color: #ccc;
  cursor: default;
}
.checkbox-container.checked .unchecked,
.checkbox-container.unchecked .checked {
  display: none;
}
#add-channel-chooser.over-overlay li.disabled {
  color: var(--grey-text);
}
.variant-filled-warning {
  display: none;
  font-size: 12px;
  color: var(--grey-text);
  margin-left: 28px;
}
.variant-filled-warning > i {
  font-size: 14px;
  color: var(--main-blue);
  vertical-align: text-top;
  margin-right: 2px;
}
.variant-filled-warning[data-variant-filled="1"] {
  display: block;
}

#add-variant {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#add-variant-button {
  margin: 10px 10px 15px 10px;
  font-size: 20px;
  cursor: pointer;
}
i#add-variant-button[class]:hover {
  color: var(--main-blue);
}
#add-variant > .card.visible {
  /* display: flex; */
  opacity: 1;
  /* transform: translateY(55%); */
  z-index: 1;
  overflow-y: auto;
  max-height: 600px;
}
#add-variant > .card {
  position: absolute;
  /* display: flex;
  flex-direction: row;
  justify-content: center; */
  padding: 0;
  opacity: 0;
  max-height: 0;
  border-color: var(--light-grey);
  transform: translateY(58%);
  /* transform-origin: bottom; */
  transition: max-height 0.26s ease-out, opacity 0.26s linear;
}
#add-variant > .card::before {
  border-color: transparent transparent var(--light-grey) transparent;
}

#add-variant > .card > div {
  display: inline-flex;
  width: min-content;
  padding: 16px;
  flex-direction: column;
  align-items: center;
  /* text-align: center; */
  cursor: pointer;
  /* font-size: 12px; */
  /* line-height: 1.33; */
  color: var(--main-blue);
}
#add-variant > .card > div:first-child {
  border-top-left-radius:    inherit;
  border-bottom-left-radius: inherit;
}
#add-variant > .card > div:last-child {
  border-top-right-radius:    inherit;
  border-bottom-right-radius: inherit;
}
/* #add-variant > .card > div:hover {
  background:    var(--light-blue);
  border-radius: 4px 4px 0 0;
} */
#add-variant > .card i {
  color:        inherit;
  font-size:    24px;
  display:      block;
  margin-bottom:5px;
}
#add-variant .placeholder {
  height:             73px;
  width:              155px;
  display:            flex;
  flex-direction:     column;
  justify-content:    center;
  font-size:          13px;
}
#add-variant .placeholder:hover {
  color:              var(--main-blue);
}
#add-variant .placeholder:hover i {
  color:              var(--main-blue);
}
#add-variant .add-button-container {
  display:            flex;
  flex-direction:     row;
  justify-content:    center;
  align-items:        center;
  text-align:         center;
  cursor:             pointer;
  color:              #999;
  background-color: var(--background);
  box-shadow: 0px 0px 6px var(--background);
}

.card > label {
  margin-left: 16px;
}

.card > label.required,
.card > label.look-required {
  color: var(--required);
}
.card > label,
.card > .subform label {
  color: var(--grey-text);
  font-size: 12px;
  line-height: 24px;
}

.card > .start-date > label.required,
.card > .end-date > label.required,
.card > .start-date > label.look-required,
.card > .end-date > label.look-required {
  color: var(--required);
}

.card > .start-date,
.card > .end-date,
.subform {
  background-color: #f4f4f4;
  border-radius: 4px;
  padding: 12px;
  margin-top: 12px;
}
.card .start-date input,
.card .end-date input,
.card .subform input,
.card .subform .select2-container--default .select2-selection--single {
  background-color: white;
}

.card .start_date_clear,
.card .end_date_clear,
.card .export_date_clear,
.card .start_date_today,
.card .start_date_now,
.card .end_date_today,
.card .end_date_now,
.card .export_date_today,
.card .export_channel_button,
.card .export_date_now {
  padding: 3px 12px;
  border: 1px solid #2859d5;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400px;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
}
.card .start_date_clear[disabled],
.card .end_date_clear[disabled],
.card .export_date_clear[disabled],
.card .start_date_today[disabled],
.card .start_date_now[disabled],
.card .end_date_today[disabled],
.card .end_date_now[disabled],
.card .export_date_today[disabled],
.card .export_date_now[disabled] {
  cursor: default;
}
.card .export_channel_button[disabled] {
  cursor: default;
  border: 1px solid #C1C1C1
}
.card .start_date_today,
.card .start_date_now,
.card .end_date_today,
.card .end_date_now,
.card .export_date_today,
.card .export_date_now {
  border: 1px solid #2859d5;
  color: #2859d5;
}
.card .start_date_clear,
.card .end_date_clear,
.card .export_date_clear {
  background-color: #2859d5;
  color: #f4f4f4;
}

.card #select2-selection,
.card input {
  border-radius: 4px;
  border: solid 1px var(--light-grey);
  background-color: transparent;
}
.editor.card input[type="text"]:focus {
  outline: unset;
}
.card .select2-container--default .select2-selection--single {
  background-color: transparent;
}
.card #select2-selection.required,
.card input.required,
.card #select2-selection.look-required,
.card input.look-required {
  border-color: var(--required);
}

.meta-card .select2-container--disabled .select2-selection__rendered {
  color:      grey;
}

/************************************* Infobar **************************************/

.edit-article nav {
  box-shadow:             0px 0px 5px #aaa;
  -moz-box-shadow:        0px 0px 5px #aaa;
  -webkit-box-shadow:     0px 0px 5px #aaa;
}
.edit-article header {
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}
#infobar.edit-article {
  display: none;
}

.edit-article #infobar,
.edit-article #editor-controls {
  padding: 3px 0 3px 0;
}
#infobar.edit-article button,
#editor-controls button {
  border: 0;
  border-radius: 24px;
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.1);
}
#infobar.edit-article h1:not(.button),
#editor-controls h1:not(.button) {
  font-weight: bold;
}
.icon-button,
.icon-button.default,
#infobar .icon-button,
#editor-controls .icon-button {
  min-width: unset;
  height: 48px;
  width: 48px;
  border-radius: 50%;
  border: 0;
  color: var(--grey-text);
  background: white;
  font-size: 18px;
}
.icon-button:not(.disabled):hover,
.icon-button.default:not(.disabled):hover,
#editor-controls .icon-button:not(.disabled):hover {
  background: var(--light-blue);
  color: var(--main-blue);
}
.icon-button > i[class],
#editor-controls .icon-button > i[class] {
  color: inherit;
}
.icon-button.disabled,
#editor-controls .icon-button.disabled {
  background: var(--light-grey);
  cursor: default;
}
#editor-controls #breadcrumb-container {
  display: flex;
  flex-direction: row;
  flex: 1;
  color: black;
  z-index: 5;
  flex-shrink: 0;
  overflow-x: hidden;
}
/* #infobar #breadcrumb-container > * {
  margin-right: 10px;
} */
#editor-controls #breadcrumb-container > svg {
  align-self: center;
  margin: 0 10px;
}
#editor-controls #breadcrumb-container a {
  color: inherit;
  align-self: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 175px;
}
#editor-controls #breadcrumb-container a:hover {
  color: var(--main-blue);
  text-decoration: underline;
}
#editor-controls .buttons {
  display: flex;
  flex-direction: row;
}
#editor-controls .buttons > * {
  margin-left: 12px;
  height: 32px;
  font-size: 14px;
}
#editor-controls .buttons > .icon-button {
  width: 32px;
}
#editor-controls .buttons > button#close_button {
  background: var(--border);
  width: 32px;
  justify-content: center;
  display: flex;
  align-items: center;
}
#editor-controls #save_button,
#editor-controls #create_variant_button {
  background: white;
  color: var(--grey-text);
  font-size: 12px;
  padding: 0 16px;
  height: 32px;
}
#editor-controls #save_button:hover,
#editor-controls #create_variant_button:hover {
  color: var(--main-blue);
}
#editor-controls #save_button:not(.disabled):hover {
  filter: brightness(120%);
}
#editor-controls #save_button.disabled {
  box-shadow: none;
  background: var(--light-grey);
  cursor:     default;
}
#editor-controls .circle {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: white;
  color: var(--grey-text);
  margin: 0 10px;
  padding-left: 2px;
}
#editor-controls h1.is_subtopic {
  /* margin-top: 10px; */
  background-position-y: bottom;
  display: flex;
}
#editor-controls h1.is_subtopic > span {
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* margin-left: -5px; */
  /* filter: invert(1); */
}
#editor-controls h1.is_subtopic .button {
  font-size: 12px;
  padding: 5px 12px;
  margin-left: 10px;
  margin-bottom: 1px;
}


#subject_folder_header {
    display:flex;
    flex-direction:row;
    align-items:center;
    margin-bottom:15px;
    margin-top:8px;
    align-self:center;
    color:#191919
}

#subject_folder_header .header_item {
    display:flex;
    flex-direction: row;
    margin-right:12px;
    align-self:center;
}

#subject_folder_header .header_item .header_checkbox {
    width:18px;height:18px
}

#subject_folder_header .header_item .header_label {
    align-self:center;
    margin-left:4px;
    font-size:12px;
    font-weight:normal;
    color:#191919
}

#subject_folder_header .header_item .header_refresh {
    color:var(--main-blue);
    padding-left:60px;
}

#subject_folder_divider {
    display: block;
    width: 490px;
    height: 1px;
    border: solid 1px var(--light-grey);
    margin-bottom:16px;
}

#subject_folder_content_wrapper {
    /* height: calc(100% - 216px);
    overflow-y: auto;
    padding-right:24px */
    padding-bottom: 12px;
}

#subject_folder_header .header_item .subject_folder_show_progress {
    display:block;
    color:var(--main-blue);
    padding-left:60px;
}
#subject_folder_header .header_item .subject_folder_hide_progress {
    display:none;
}

.subject_progress_icon {
    color:var(--main-blue);
    margin:0;
    padding:0;
    font-size:16px;
}

.show-linked-content .subject_element.linked-exists,
.show-unlinked-content .subject_element.unlinked-exists {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}
.linked_elements_info, .unlinked_elements_info, .all_elements_info, .enable_show_items,
.unlinked_element, .linked_element {
  display: none;
}

.show-linked-content .linked_element,
.show-unlinked-content .unlinked_element {
  display: block;
}

.show-linked-content:not(.show-unlinked-content) .linked_elements_info,
.show-unlinked-content:not(.show-linked-content) .unlinked_elements_info,
.show-linked-content.show-unlinked-content .all_elements_info {
  display: inline-flex;
}

.subject_element.collapsed hr {
  display: none;
}

.subject_element_collapse_header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* color:#8b8b8b;
    margin-bottom:8px; */
    font-weight: bold;
}

.subject_element_collapse_header_type_icon {
    display:flex;flex-direction:row;font-size:24px;flex-grow:1;
}

.subject_element_collapse_header_article_icon {
    font-size:16px;
    height:18px;
    width:18px;
    border-radius:2px;
    color:#FFF;
    background-color:#8b8b8b;
    padding-left:1px;
    display: flex;
    align-items: center;
    padding-top: 2px;
    margin-top: 2px;
}

.subject_element_collapse_header_title {
    font-size: 14px;
    margin-left: 12px;
    /* font-size:16px;
    text-transform: uppercase; */
    display: flex;
    align-items: center;
}

.subject_element_collapse_header_icon {
    font-size:24px
}


.subject_element_collapse_content {
    font-size:12px;
}

.subject_element_info {
    padding: 0px 6px;
    height:24px;
    border-radius:4px;
    /* border:1px solid #8b8b8b;
    background-color:#FFFFFF; */
    display:flex;
    align-items:center;
    color:#8b8b8b;
    font-size: 12px;
}

.subject_element_info_item {
    padding-left:2px;
    padding-right:2px;
    font-size:12px;
}

#left-sidebar-images .images-to-the-right,
#left-sidebar-videos .images-to-the-right {
  width: 50%;
}

#left-sidebar-articles .images-to-the-right,
#left-sidebar-bookmarks .images-to-the-right,
#left-sidebar-documents .images-to-the-right,
#left-sidebar-cmsrefs .images-to-the-right,
#left-sidebar-audios .images-to-the-right,
#left-sidebar-imagegalleries .images-to-the-right {
  /* without this width, long titles will overflow since flex doesn't work with ellipsis */
  width: calc(100% - 28px)
}

.ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.sidebar-contextmenu-icon {
  color: #8b8b8b;
  font-size:24px;
}
.sidebar-contextmenu-icon.metadata-invalid {
  color: var(--required);
}

.subject_element_label.placement_kind {
  color: var(--grey-text);
}

.content_preview {
    background-color: var(--borderLight);
    border-radius:4px;
    object-position: 50% 50%;
    object-fit:contain;
    max-width:160px;
    width:100%;
    height:160px;
    /* max-height:140px; */
    /* margin-left:8px; */
    margin-right:8px;
}
.content_preview_container:before {
  content: "";
  position:absolute;
  top:0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(255,0,0,0.15); */
  border-radius:4px;
}
.content_preview_container.metadata-invalid:before {
  background: rgba(255,0,0,0.15);
}

.content_preview_container .tab_icon {
  display: none;
}
.content_preview_container.metadata-invalid .tab_icon {
  display: block;
  position: absolute;
  right: 5%;
  top: 6%;
  color: red;
}
.content_preview_container {
    position:relative;
    height: 160px;
}

.subject_element_placeholder {
    display:flex;
    align-items:center;
    justify-content:flex-start;
    background-color:#fff;
    border-radius:4px;

    height:90px;
    max-height:90px;
    margin-left:8px;
    margin-right:16px;
    color:#8b8b8b;
}

.subject_element_linked_icon {
    color: #8b8b8b;font-size:24px
}

.subject_element_placeholder_icon {
    font-size:48px
}

.subject_element_collapse {
  align-items: center;
  display: flex;
  margin-left: 4px;
  margin-right: 4px;
}
.subject_element_collapse:hover {
  color: var(--main-blue)
}

.textbox {
    font-size:12px;
    text-align:left;
}

.subject_element_metadata  {
    padding:4px 4px 0px 4px;font-size:12px;color:#8b8b8b;
}

.subject_element_label {
    font-size: 13px;
    font-weight: bold;
}

.subject_element_label.grey {
  color: var(--grey-text);
}

.subject_element_contextmenu {
    color: #8b8b8b;font-size:24px;margin-top:-8px"
}

.flex_row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
}

.flex_column {
    display:flex;flex-direction:column
}

.collapsable_gallery_container {
    display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-end
}

.collapsable_gallery_image_wrapper {
    margin: 4px;
    width: 80px;
    height: 80px;
    background-color:#f4f4f4;
    border-radius: 4px;
}

.collapsable_gallery_image {
    padding: 2px;
    width: 80px;
    height: 80px;
    object-fit:contain;
}

.collapsable_gallery_info_link {
    font-size:12px;
}

.collapse_text {
    display:block
}

.uncollapse_text {
    display:none
}

.subject_folder_dropbox_file_input {
    width:0.1px;height:0.1px;overflow:hidden;position:absolute;opacity:0
}

.subject_folder_dropbox_file_input_icon {
    color:#2859D5;
    margin-bottom:4px;
}

.subject_folder_element_cog {
    font-size:24px;
    color: #8b8b8b;
}

.subject_folder_element_metadata_warning {
    top: 0;
    right: 0;
    /* position: absolute; */
    color: #8b8b8b;
    /* margin-top: -8px; */
    font-size:12px;
}

.subject_folder_element_metadata_warning_container {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* padding:2px;
    background:white; */
    font-size: medium;
    justify-content: space-between;
}

.subject_folder_element_metadata_warning_container > svg {
  margin-right: 4px;
  margin-left: 4px;
}





.catchword-footer {
    background-color: #f4f4f4;
    width: 100%;
    z-index: 2;
    /* text-align: center; */
    padding-top: 16px;
}
.catchword-field.card {
  margin-bottom: 8px;
}

.catchword-field label{
    /* top: -25px;
    position: relative;
    background: var(--grey-white);

    text-transform: uppercase; */
    font-size: 14px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    /* line-height: 2.67;
    letter-spacing: 1px;
    text-align: center;
    color: #8b8b8b; */
}

.catchword-field label.required,
.catchword-field label.look-required {
  color:  var(--required);
}

.catchword-footer .select2-container {
    /* top: -35px; */
    display: block;
}

/* div.catchword-field {
    border-top: 2px dashed #c1c1c1;
    padding-left: 200px;
    padding-right:200px;
}

div.catchword-field:last-child {
  border-bottom: 2px dashed #c1c1c1;
} */

.catchword-footer .select2-container--default  .select2-selection--multiple,
.catchword-footer .select2-container--default.select2-container--focus .select2-selection--multiple {
    /* background-color: var(--grey-white); */
    border: 0px solid #aaa;
    border-radius: 0px;
}

.catchword-footer .select2-container--default .select2-selection--multiple .select2-selection__choice {
    /* background-color: #ffffff; */
    color: var(--fontColorSurfaceLight);
    padding: 2px 8px;
    border: 0px;
}

.edit-article #select2-id_geotags-results,
.edit-article #select2-id_catchwords_-results,
.edit-article #select2-id_persons-results {
    background-color: var(--grey-white);
}

.edit-article .catchword-footer .select2-selection__clear {
    display: none;
}


div.form-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

div.form-div {
    display: block;
}

.hidden,
.url-input.hidden {
  display: none;
}
.no-visibility {
  visibility: hidden;
}
.subject-card {
    touch-action: none !important;
}


/* -------------- DIALOG IN EDIT ARTICLE ---------------- */
.edit-article .dialog {
  background: white;
  text-align: start;
  border:     1px solid grey;
  border-radius: 4px;
  padding:    10px;
}
.edit-article .dialog button {
  background:     transparent;
  color:          var(--main-blue);
  border-radius:  4px;
  border:         1px solid var(--main-blue);
  padding:        3px 12px;
  margin-top:     10px;
  margin-right:   5px;
}
.edit-article .dialog button.primary-button {
  background:     var(--main-blue);
  color:          white;
}

#add-channel-chooser {
  max-height:     90vh;
  min-width:      250px;
  /* overflow-y:     auto;
  overflow-x:     hidden; */
}

/* when the menus are opening, we need to make sure
to have enough space in the basetext container */
#basetext-container {
  min-height:     var(--basetext-container-minheight);
}

.invisible-observer,
.invisible-observer * {
  opacity:        0 !important;
  z-index:        -2;
  position:       relative;
}

.subject_textbox {
  word-break:     break-word;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-ellipsis {
  text-overflow: ellipsis;
}

.subform.is-collapsed div:nth-child(n + 3),
.subform.is-collapsed hr:nth-child(n) {
  display: none;
}

.linked_elements.show-animation {
  opacity:          1;
  /* this animation makes the screen blink like crazy when update_content is triggered several times */
  /* animation:        fadeIn ease 200ms; */
}
.unlinked_elements.show-animation {
  opacity:          1;
  /* this animation makes the screen blink like crazy when update_content is triggered several times */
  /* animation:        fadeIn ease 200ms; */
}
.enable_show_items.show-animation {
  opacity:          1;
  /* this animation makes the screen blink like crazy when update_content is triggered several times */
  /* animation-name: fadeIn, moveInLeft;
  animation-duration: 200ms, 200ms;
  animation-timing-function: ease-in-out, ease-in-out; */
}

.subject_element_collapse_header_icon:hover {
  color: var(--main-blue);
}
.collapse_icon {
  transform:        rotateZ(180deg);
  animation:        rotateUp ease-in-out 200ms;
}

.subject_element.collapsed .collapse_icon,
.collapse_icon.rotated {
  transform:        rotateZ(0deg);
  animation:        rotateDown ease-in-out 200ms;
}

.subject_element.collapsed .subject_element_content {
  display: none;
}


@keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@keyframes fadeOut {
  0% {opacity:1;}
  100% {opacity:0;}
}

@keyframes moveIn {
  0% {transform: translateX(250px);}
  100% {transform: translateX(0px);}
}

@keyframes moveOut {
  0% {transform: translateX(0px);}
  100% {transform: translateX(250px);}
}

@keyframes moveInLeft {
  0% {transform: translateX(-250px);}
  100% {transform: translateX(0px);}
}

@keyframes moveOutLeft {
  0% {transform: translateX(0px);}
  100% {transform: translateX(-250px);}
}

@keyframes rotateUp {
  0% {transform: rotateZ(0deg);}
  100% {transform: rotateZ(-180deg);}
}

@keyframes rotateDown {
  0% {transform: rotateZ(-180deg);}
  100% {transform: rotateZ(0deg);}
}

#center::-webkit-scrollbar,
#content-cards::-webkit-scrollbar,
#info-cards::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

#center:hover::-webkit-scrollbar,
#content-cards:hover::-webkit-scrollbar,
#info-cards:hover::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
#center::-webkit-scrollbar-track,
#content-cards::-webkit-scrollbar-track,
#info-cards::-webkit-scrollbar-track {
  background: transparent;
  background-color: transparent;
}
#center::-webkit-scrollbar-corner,
#content-cards::-webkit-scrollbar-corner,
#info-cards::-webkit-scrollbar-corner {
  background: transparent;
  background-color: transparent;
}
#center::-webkit-scrollbar-thumb,
#content-cards::-webkit-scrollbar-thumb,
#info-cards::-webkit-scrollbar-thumb {
  background: var(--borderLight);
  border-radius: 6px;
}
#center::-webkit-scrollbar-thumb:hover,
#content-cards::-webkit-scrollbar-thumb:hover,
#info-cards::-webkit-scrollbar-thumb:hover {
  background: var(--main-blue);
}
#center,
#content-cards,
#info-cards {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: auto;
  scrollbar-color: transparent transparent;     /* Firefox */
}
#center:hover,
#content-cards:hover,
#info-cards:hover {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: auto;     /* Firefox */
  scrollbar-color: var(--main-blue) transparent;
}
#content-cards,
#info-cards {
  max-width: 416px;
  max-height: calc(100vh - 100px);
  height: fit-content;
  padding-right: 16px;
  display: none;
}
#content-cards {
  margin-left: 84px;
  min-width: 300px;
  overflow: auto;
}
#info-cards {
  /*margin-right: 68px;*/
  /*float: right;*/
  /*min-width: 300px;*/
  /*overflow: auto;*/
  /*padding-bottom: 12px;*/
}


.left-sidebar-open-button > a,
.right-sidebar-open-button > a {
  color: var(--grey-text);
}

#control-item {
  padding: 4px;
  margin-top: 2px;
  margin-bottom: 2px;
  color: #191919;
  font-weight: normal;
}

#control-item > svg {
  padding-right: 4px;
}

#control-item:hover {
  color: var(--main-blue);
  background-color: var(--light-blue);
  border-radius: 4px;
}

#universal-confirmation-menu {
  padding-bottom: 16px;
  padding-top: 16px;
}
.confirmation-menu {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  grid-area: transferred;
  padding-bottom: 4px;
}
.confirmation-menu button {
  margin-right: 8px;
}
.confirmation-menu > div {
  display: flex;
  flex-direction: row;
  height: min-content;
}
.confirmation-menu > .needs-confirmation-marker {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 100%;
  font-size: 12px;
  font-weight: bold;
  text-transform: none;
  color: var(--main-blue);
  /*border: 1px solid var(--main-blue);
  height: 32px;*/
  border-radius: 16px;
  padding: 0 10px;
}
.confirmation-menu .first-icon {
  font-size: 16px;
  color: inherit;
  margin-right: 4px;
}
.confirmation-menu .last-icon {
  font-size: 24px;
  color: inherit;
  margin-left: 6px;
}
#basetext-container .editor-block-row.text-transferred,
#basetext-container .editor-block-row.ai-generated {
  grid-template-areas:
    "transferred"
    "editor-container"
    "menuicons";
  padding-top: 0;
}
.text-transferred,
.ai-generated {
  --text-transfer-background: rgb(244, 247, 255);
  background-color: var(--text-transfer-background);
  border-radius: 4px;
  padding-top: 8px;
}
#basetext-container .confirmation-menu {
  padding: 8px 18px;
  background: var(--text-transfer-background);
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.confirmation-menu svg {
  padding: 0 8px;
}
#basetext-container .editor-block-row.text-transferred .editor-block-padding-container,
#basetext-container .editor-block-row.ai-generated .editor-block-padding-container {
  background: var(--text-transfer-background);
}
#basetext-container .text-transferred,
#basetext-container .ai-generated {
  background-color: transparent;
}

.placeholder-description {
  color: var(--light-grey);
  font-style: italic;
}
#placeholder_for_gallery_element {
  max-height: 90px;
}

.sortable-placeholder {
  background: blue;
  height: 2px;
}
.editor-row-sortable-helper {
  background-image : linear-gradient(to right,
                    rgba(255,255,255, 0),
                    rgba(255,255,255, 1) 360%);
}

.ui-datepicker {
  z-index: 92002 !important; /* unfortunately, datepicker gets inline css that overwrites ours without "important"; dialogs have zIndex 92001 for some reason */
}

.variant-popover {
  z-index: 100 !important;
  display: none;
}
.variant-popover.visible {
  display: block;
}

.variant-card-popover {display: inline-block !important; width: auto !important;
  width:max-content !important;max-width: 400px !important;
}

.variant-name-container {
  border-radius: 4px;
  border: solid 1px var(--light-grey);
  background-color: transparent;
  padding:6px 12px;
  display:flex;
  flex-direction:row;
  align-items:center
}

.code-preview-container[srcdoc=''] {
  display: none;
}

/* the following will prevent the editor from jumping (=scroll) when a link-dialog is opened (EO-4158) */
.editor .tox .tox-dialog-wrap {
  /* 100vh - navbar - above editor - toolbar - below editor*/
  height: calc(100vh - 50px - 50px - 40px - 40px);
  top: 0;
  position: absolute;
}
.editor {
  min-height:100%;
}

.export_log_entries_container.first-entry,
.export_log_entries_container.show-entries {
  display: block;
}

.toggle-logs-button,
.toggle-logs-button-dummy {
  width:10px;
  display: inline-block;
}
.export_log_entries_container,
.export_log_entries_container .list-closed,
.export_log_entries_container.show-entries .list-opened {
  display: none;
}
.export_log_entries_container.show-entries .list-closed,
.export_log_entries_container .list-opened,
.toggle-logs-button {
  display: inline-block;
  cursor: pointer;
}

.required-warning {
  margin-left: 50px;
}

/* this is the duden plugin canvas: */
.editor .editor-block-container canvas {
  position: static !important;
  grid-area: editor;
}

.dkce-class-inner-container > header > div {
  display: flex;
  flex-direction: row-reverse;
}

.dkce-class-inner-container > header > div > div > span {
  margin-top: -77px !important;
}

/* ---- tree widgets --- */

.tree-select-widget.required select[data-level="0"] {
  border: 1px solid var(--required);
}
.tree-select-widget select,
.tree-select-widget span.select2 {
  margin-bottom: 8px;
}

.tree-select-widget .select2-selection__arrow {
  margin-top: 2px;
}

.tree-select-widget select.disabled {
  background: #f1f1f1;
}

div.only-show-on-copy-text-status {
  display: none;
}

div.only-show-on-copy-text-status.status_active {
  display: block;
}

.schrammzone {
  position: absolute;
  background: var(--required);
  opacity: 0.3;
}
