:root {
  --main-bg-light: #4e5050;
  --main-fg: #dddcde;
  --main-input-height: 40px;
  --main-input-br: .2em; /* border radius*/
}

.edit-entry #header h1::after {
  content: " Bearbeitungsverlauf:"
}
header#global-sidebar.sidebar {
  background-color: #bc2679 !important;
}
#global-sidebar :not(.has-subnav) > a[href]:not(.sel):hover {
  background-color: #8b1c59 !important;
}
#site-icon svg {
  display: none;
}

#site-icon::before {
  content:"\e5cd";
  font-family: 'Material Icons';
  font-size: 48px;
  color: #bc2679;
  line-height: 30px;
  position: absolute;
  left: 3px;
}

#action-button > div.btngroup.submit > a.btn.submit.add.icon {
  background-color: #bc2679!important;
}

#action-button > div.btngroup.submit > button.btn.submit.menubtn {
  background-color: #1f272e!important;
}

span.shy {
  width: 0px;
  height: 0px;
}
span.shy::before {
  content: "-";
  color: coral;
  font-size: 24px;
  font-weight: 700;
}
.matrixblock.collapsed .titlebar {
  height: 112px!important;
  margin: 0 -14px 0 -14px!important;
}
.collapsed .titlebar {
  margin: 0 -14px 0 -14px!important;
}
.matrixblock.collapsed {
  height: 112px!important;
  padding: 0 14px 0px!important;
}
.preview {
  background-color: #FFFFFF;
  /* height: 10rem!important; */
  display: block!important;
  font-size: 1rem;
  color: black;
  padding: 0 0 0 0!important;
  white-space: normal;
  line-height: 0.9rem!important;
}
.preview span {
  display: table;
  white-space: pre!important;
  text-indent: -9999px;
  line-height: 0;
}
.preview span::after{
  content: "";
  text-indent: 0;
  display: none;
  line-height: 0!important;
}
.mc-solid {
  background-color: #FFFFFF!important;
}

div[id*='fields-ueberschrift-field'] {
  color: red!important;
}

div[id*='fields-bildposition-field'] {
  width: 45%;
}

div[id*='fields-bildgroesse-field'] {
  width: 45%;
}
[data-key="section:2"] {
  background-color: #b0ded9;
  color: #3e3e3e !important;
  font-size: 1.4em !important;
}
@font-face {
  font-family:'Material Icons';
  font-style: normal;
  src: url("/assets/fonts/materialize.woff2") format("woff2");
}
@font-face {
  font-family:'CC Icons';
  font-style: normal;
  src: url("/assets/fonts/cc-icons.woff") format("woff");
}
@font-face {
  font-family:'Jura';
  font-style: normal;
  src: url("/assets/fonts/jura/Jura-Regular.ttf") format("truetype");
}
@font-face {
  font-family:'Jura';
  font-style: bold;
  src: url("/assets/fonts/jura/Jura-Bold.ttf") format("truetype");
}
.literlink::after{
  font-family:'Font Awesome 5 Free' !important;
  font-style: normal;
  font-weight: 900;
  content: "\f02d";
}
.re-addlink::before{
  font-family:'Font Awesome 5 Free' !important;
  font-style: normal;
  font-weight: 900;
  content: "\f02d";
}
.s_dialogtext {
  color: #3f888f;
  font-style: italic;
}
.s_capitals {
  display: inline-block;
  text-transform: uppercase;
  margin: 0 0 0 0;
  font-size: 16px;
  line-height: 20px;
  animation: fix 0.00000001s;
  -moz-padding-end: 0;
}
.s_capitals::first-letter {
  font-size: 20px;
  line-height: 20px;
  margin: 0 0 0 0;
}

@keyframes fix {
  from { padding-right: 1px; }
  to { padding-right: 0; }
}

@-moz-keyframes fix {
  from { padding-right: 1px; }
  to { padding-right: 0; }
}
#fields-faktoren > tbody > tr:nth-child(even) textarea {
  background-color: #eeeeee!important;
}
.instructions {
  color: black!important;
}
/* Fußnoten */
.footnotelink::after {
  font-family: 'Material Icons';
  content: '\e866';
  font-size: 12px;
}
/* Glossar */
.glossarlink::after {
  font-family: 'Material Icons';
  content: '\e1b2';
  font-size: 12px;
}
.i_public::after {
  font-family: 'Material Icons';
  content: '\e80b';
  font-size: 12px;
}
a.re-button>i.re_icons {
  width: 0;
  height: 0;
  font-size: 0;
}
a.re-button>i.re_icons::after {
  font-family: 'Material Icons';
  content: '\e3e3';
  font-size: 16px;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 14px;
}
a.re-button>i.re_dialog {
  width: 0;
  height: 0;
  font-size: 0;
}
a.re-button>i.re_dialog::after {
  font-family: 'Material Icons';
  content: '\e155';
  font-size: 16px;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 14px;
}
a.re-button>i.re_switchlist {
  width: 0;
  height: 0;
  font-size: 0;
}
a.re-button>i.re_switchlist::after {
  font-family: 'Material Icons';
  content: '\e0ee';
  font-size: 24px;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 15px;
  vertical-align: text-bottom;
}
a.re-button>i.re_capitals::after {
  font-family: 'Material Icons';
  content: '\e252';
  font-size: 16px;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 14px;
}
a.re-button>i.re_hyphen::after {
  font-family: 'Material Icons';
  content: '\e15b';
  color: coral;
  font-size: 16px;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 14px;
}
.redactor-box a[target="_blank"]::after {
  font-family: 'Material Icons';
  content: '\e89e';
  font-size: 16px;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 14px;
  color: blueviolet;
}
i.material-icons {
  font-family: "Material Icons";
  font-style: normal;
}
.m_i::after {
  font-family: "Material Icons";
  font-style: normal;
  font-size: 23.5px;
  vertical-align: -14%;
}
.m_i.signal_wifi_4_bar::after {
  content: '\e1d8';
}
.m_i.public::after {
  content: '\e80b';
}
.m_i.wifi::after {
  content: '\e63e';
}
.m_i.settings_input_hdmi::after {
  content: '\e8c2';
}
.m_i.cloud_queue::after {
  content: '\e2c2';
}
.m_i.traffic::after {
  content: '\e565';
}
.m_i.whatshot::after {
  content: '\e80e';
}
.m_i.device_hub::after {
  display: inline-block;
  content: '\e335';
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform:rotate(180deg);
}
.cc_sa::after {
  font-family: "CC Icons";
  font-style: normal;
  font-size: 23.5px;
  vertical-align: -14%;
  content: "\0061";
}
.cc_by::after {
  font-family: "CC Icons";
  font-style: normal;
  font-size: 23.5px;
  vertical-align: -14%;
  content: "\0062";
}
.cc_nc::after {
  font-family: "CC Icons";
  font-style: normal;
  font-size: 23.5px;
  vertical-align: -14%;
  content: "\006E";
}
.cc_nd::after {
  font-family: "CC Icons";
  font-style: normal;
  font-size: 23.5px;
  vertical-align: -14%;
  content: "\0064";
}
body.edit-entry #main-content {
  display: block;
}
body.edit-entry #main-content.has-details #content-container {
  width: auto;
  max-width: none;
}
body.edit-entry #details-container {
  width: auto;
  max-width: none;
}
body.edit-entry #details-container #details {
  padding: 0 24px 0 0px !important;
  margin-top: 14px;
  position: static !important;
  overflow-y: visible !important;
  max-height: none !important;
  width: auto;
}
/* CONTENTTYPES STYLING */
.edit-entry .titlebar > .blocktype {
  font-family: "jura";
  color: black;
  font-size: 20px;
  font-weight: bold;
  line-height: 24px;
  text-rendering: optimizeLegibility;
}
.edit-entry .matrixblock > .actions a.settings::before {
  font-size: 24px;
  line-height: 0px;
  margin-top: 5px;
}
.edit-entry .matrixblock > .actions a.move::before {
  font-size: 24px;
}
.edit-entry .select:not(.selectize) select {
  background-color: white;
}
.edit-entry .field > .heading > label {
  color: black;
}
body.ltr div.checkbox {
  margin-top: 2px;
}
.edit-entry #content :not(.meta) > .flex-fields > :not(h2):not(hr).width-25 {
  width: auto;
}
.redactor-box > div.redactor-styles h6 {
  color: rgba(var(--dlw-grey-600), 1);
  font-size: 0.8rem;
  font-weight: normal;
}
#alerts {
  display: none;
}
form#main-form {
  overflow-x: scroll;
}
div#fields-inhaltsbausteine div.matrixblock[data-type="tabulator"] div[data-type$="Table"]{
  margin: 23px 14px 24px 0!important;
}
#preview-btn {
  display: none;
}
[systemx-stern-selection="operatoren"],
[systemx-stern-selection="sprache"],
[systemx-stern-selection="stern"],
[systemx-kastentyp="stern_differenzierung"] {
  margin-left: 3rem;
  background-image: linear-gradient(90deg, #edd5b3 50%, transparent 50%);
  background-size: 100% 1px;
  margin-bottom: 1px;
}

[systemx-stern-selection="operatoren"]::before,
[systemx-stern-selection="sprache"]::before,
[systemx-stern-selection="stern"]::before,
[systemx-kastentyp="stern_differenzierung"]::before {
  content: "";
  position: absolute;
  display: block;
  width: 3rem;
  height: 3rem;
  left: -3rem;
  top: 0;
  background-image: url("/assets/bilder/star.jpg");
  background-repeat: no-repeat;
  background-size: contain;
}
[systemx-stern-selection="operatoren"]::after,
[systemx-stern-selection="sprache"]::after,
[systemx-stern-selection="stern"]::after,
[systemx-kastentyp="stern_differenzierung"]::after {
  content: "";
  position: absolute;
  display: block;
  width: 3rem;
  height: 3rem;
  left: -3rem;
  bottom: 0;
  background-image: url("/assets/bilder/star.jpg");
  background-repeat: no-repeat;
  background-size: contain;
}

[systemx-stern-selection="stern"][data-type="videoDatei"]::before,
[systemx-stern-selection="stern"][data-type="videoDatei"]::after {
  background-image: url("/assets/bilder/star-video.svg");
}

[systemx-stern-selection="stern"][data-type="textMitOhneBild"]::before,
[systemx-stern-selection="stern"][data-type="textMitOhneBild"]::after {
  background-image: url("/assets/bilder/star-text.svg");
}

[systemx-stern-selection="stern"][data-type="audioDatei"]::before,
[systemx-stern-selection="stern"][data-type="audioDatei"]::after {
  background-image: url("/assets/bilder/star-audio.svg");
}

[systemx-stern-selection="stern"][data-type="embeddedVideoAudio"]::before,
[systemx-stern-selection="stern"][data-type="embeddedVideoAudio"]::after {
  background-image: url("/assets/bilder/star-video.svg");
}

[systemx-stern-selection="stern"][data-type="galerie"]::before,
[systemx-stern-selection="stern"][data-type="galerie"]::after {
  background-image: url("/assets/bilder/star-image.svg");
}

[systemx-stern-selection="stern"][data-type="h5p"]::before,
[systemx-stern-selection="stern"][data-type="h5p"]::after {
  background-image: url("/assets/bilder/star-quest.svg");
}

[sytemx-meta-box="true"] {
  border-radius: 5px 5px 0 0;
  margin-bottom: 0;
  padding: 0 3rem 14px 14px;
}

[sytemx-meta-box="true"]::before {
  content: "";
  position: absolute;
  right: 0rem;
  background-image: url("/assets/bilder/star-star.svg");
  background-color: #d69834;
  padding: 5px;
  border-radius: 50%;
  top: 3rem;
  background-repeat: no-repeat;
  background-size: contain;
  width: 2.3rem;
  height: 2.3rem;
  box-shadow: 1px 2px 4px 2px rgb(0 0 0 / 50%);
  border: 4px solid #d69834;
}

[data-number]:not([data-number=""]):not([sytemx-meta-box="true"])::before {
  position: absolute;
  border: 1px solid #BFBFBF;
  border-radius: 50%;
  line-height: 34px;
  font-size: 28px;
  text-align: center;
  width: 36px;
  height: 36px;
  content: attr(data-number);
  left: -43px;
  color: #393939;
  transform: translateY(-1px);
  background-color: white;
}

[data-number]:not([data-number=""])[sytemx-meta-box="true"]::before {
  position: absolute;
  border: 1px solid #BFBFBF;
  border-radius: 50%;
  line-height: 34px;
  font-size: 28px;
  text-align: center;
  width: 36px;
  height: 36px;
  content: attr(data-number);
  left: -43px;
  color: #393939;
  transform: translateY(-1px);
}

[id$="fields-nummerierung-field"][data-number]:not([data-number=""])::before {
  transform: translateY(20px);
  left: -28px;
}

#content .tabbox-tab-container {
  width: 100%;
  height: 48px;
  display: block;
  overflow: auto;
  margin-bottom: 0!important;
}

.tabbox-tab {
  display: inline-block;
  height: 26px;
  border: 1px solid white;
  background-color: #ffffffbb;
  color: black;
  padding: 10px;
  border-radius: 5px 5px 0 0;
  font-size: 1.3em;
}

.tabbox-tab.active {
  background-color: #51baeb;
}

/*
[id$=-fields-tabs].superTableContainer.matrixLayout {
  display: none;
}
*/
/*
[id$=-fields-tabs].superTableContainer.matrixLayout.active {
  display: block;
}


/* Duration CSS
  this is needed fpr the timepicker in video embeds */

.material-icons {
  font-family: "Material Icons";
}

.duration-box {
    float:left;
    overflow: auto;
    height: var(--main-input-height);
}

.duration-box > .duration {
    border: 1px solid var(--main-bg-light);
    border-right: 0;
    border-left: 0;
    background-color:transparent;
    color: var(--main-bg-light);
}

.duration-box > .duration:nth-child(1) {
    border-left: 1px solid var(--main-bg-light);
    border-top-left-radius: var(--main-input-br);
    border-bottom-left-radius: var(--main-input-br);
}

.duration-box > .duration:nth-last-child(1) {
    border-right: 1px solid var(--main-bg-light);
    border-top-right-radius: var(--main-input-br);
    border-bottom-right-radius: var(--main-input-br);
}

.duration-box .duration-val {
  text-align: right;
  width: 24px;
  color: #000;
  background-color: white;
}

.duration-box .duration-val.focus-visible {
  outline-color: transparent;
  outline-style: none;
  box-shadow: none;
}

.duration-box .duration-val.focus-visible:focus {
  background-color: #393939;
  color: white;
}

.duration {
    float:left;
    display: block;
    overflow: auto;
    height: var(--main-input-height);
    outline: none;
    height: 34px;
}

.duration-box > input.duration {
    font-size: large;
}

.duration-box > label.duration {
    font-size: small;
    line-height: 38px;
    width: 14px;
    overflow: hidden;
    background-color: white;
}

.duration-box > input[type="text"].duration {
    width: 32px;
    height: 28px;
    padding: 4px 4px 2px 2px;
}

.duration-box > input[type="button"].duration {
    width: 36px;
    cursor: pointer;
    height: 36px;
}

[id$=-fields-ende-field] {
  display: none;
}

[id$=-fields-start-field] {
  display: none;
}

.matrixblock[data-type="verortung"] {
  margin: 16px 0 0 5rem;
  border-radius: 5px 5px 0 0;
  background-image: linear-gradient(90deg, #89E894 50%, transparent 50%);
  background-size: 100% 1px;
}

.matrixblock[data-type="verortung"]::before {
  content: "";
  position: absolute;
  display: block;
  -webkit-mask-image: url("/assets/bilder/map.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-image: url("/assets/bilder/map.svg");
  mask-repeat: no-repeat;
  mask-size: contain;
  background-color: #89E894;
  width: 3rem;
  height: 3rem;
  right: 0;
  top: 36px;
}

.redactor-styles ol {
  counter-reset: item;
}

.redactor-styles ol li {
  counter-increment: item;
}

.redactor-styles ol ol > li::marker {
  content: counters(item, ".") " ";
  margin-left: -20px;
}

.redactor-box .redactor-styles ul ol li {
  list-style-type: decimal;
}

a.re-button>i.re_removeFormat::after {
  font-family: 'Material Icons';
  content: '\e92b';
  font-size: 16px;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 14px;
}

view-port {
  display: flex;
  flex-wrap: wrap-reverse;
  flex-direction: row-reverse;
  position: absolute;
  bottom: 12px;
  left: 8px;
  width: 200px;
  min-height: 100px;
  max-height: 70vh;
  background-color: white;
}

btn-select-all,
btn-deselect-all {
  position: relative;
  display: block;
  width: calc(100% - 20px);
  margin: 2px auto;
  height: 24px;
  line-height: 24px;
  background-color: #dddcde;
  color: black;
  padding: 4px 8px;
  border: 1px solid black;
  border-radius: 5px;
  cursor: pointer;
}

btn-select-number {
  cursor: pointer;
  position: relative;
  border: 1px solid #BFBFBF;
  border-radius: 50%;
  line-height: 26px;
  font-size: 14px;
  text-align: center;
  width: 26px;
  height: 26px;
  content: attr(data-number);
  color: #393939;
  transform: translateY(-1px);
  background-color: white;
}

btn-select-all::after {
  font-family: "Craft";
  content: "check";
  right: 20px;
  top: 5px;
  position: absolute;
  font-size: 20px;
}

btn-deselect-all::after {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: white;
  border: 1px solid black;
  content: "";
  right: 20px;
  top: 7px;
  position: absolute;
}

.matrixblock .titlebar {
  transition: background-color 0.9s ease-in-out;
}

.matrixblock.highlight .titlebar {
  background-color: #89E894!important;
}

id-container {
  position: absolute;
  top: 0;
  left: 43%;
  font-size: 30px;
  line-height: 34px;
}

#nav-categories span.label {
  visibility: hidden;
  position: relative;
}

#nav-categories span.label::after {
  content:"Lernziele";
  display: block;
  visibility: visible;
  position: absolute;
  top: 0;
  color: #e4edf6;
}

h1[title="Kategorien"] {
  visibility: hidden;
  position: relative;
}

h1[title="Kategorien"]::before {
  visibility: visible;
  content: "Lernziele";
  display: block;
}

.add-dlw-btn {
  background-color: hotpink;
  padding: 4px 4px;
  border: 0 solid white;
  border-radius: 4px;
  cursor: pointer;
  display: block;
  width: fit-content;
  margin-top: 2px;
  font-size: 16px;
}

id-container {
    position: absolute;
    top: 0;
    left: 43%;
    font-size: 30px;
    line-height: 34px;
}

clip-link {
  position: absolute;
  right: 100px;
  top: 2px;
  color: #000;
  line-height: 30px;
  font-size: 26px;
  display: block;
  width: 100px;
  height: 30px;
  background-color: grey;
}