.__editor {
  font-family: inherit;
  overflow: auto;
  padding: 10px;
  border-radius: inherit;
}

.__editor:focus {
  outline: none;
}

.__toolbar {
  flex-wrap: wrap;
  padding: 5px;
  border-bottom: solid 1px #e0e0e0;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  background: white;
}

.__toolbar-item {
  background: #ffffff;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  margin-right: 7px;
  min-width: 30px;
  padding: 5px;
  font-size: 14px;
}

.__toolbar-item:hover,
.__toolbar-item.active {
  background: #f0f0f0;
}

.__toolbar-separator {
  border-left: solid 1px #e0e0e0;
  margin-right: 7px;
}

.__toolbar-separator:last-child {
  display: none;
}

.__context_menu {
  position: fixed;
  color: #fff;
  background: #2b2a33;
  border: 1px solid #5b5b66;
  border-radius: 4px;
  z-index: 100;
}

.__context_menu_item {
  padding: 10px;
  cursor: pointer;
}

.__context_menu_item:hover {
  background: #3f3f4c;
}

.__icon-selector {
  position: fixed;
  z-index: 1000;
  top: 60px;
  left: calc(50% - 300px);
  background: white;
  padding: 10px;
  width: 300px;
  height: 300px;
  overflow: hidden;
  border: 2px solid #007cba;
  border-radius: 6px;
}

.__icon-selector-search {
  display: inline-block;
  vertical-align: middle;
  width: calc(100% - 36px) !important;
}

.__icon-selector-close {
  display: inline-block;
  vertical-align: middle;
  width: 36px;
  padding: 4px 10px;
  font-size: 1.4rem;
  cursor: pointer;
}

.__icon-selector-content {
  margin-top: 10px;
  height: 220px;
  overflow-y: scroll;
  padding: 4px;
}

.__icon-selector-content > i {
  margin: 4px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Styles required to work on production */
/* btn */
.btn {
  height: fit-content;
}

.btn-cta {
  color: #fff;
  background-color: #42b72a;
  border-color: #42b72a;
}

/* Font sizes */
smaller, .smaller {
  font-size: 0.625rem;
  overflow: hidden;
}

small, .small {
  font-size: 0.688rem;
  overflow: hidden;
}

medium, .medium {
  font-size: 0.875rem;
  overflow: hidden;
}

large, .large {
  font-size: 1.063rem;
  overflow: hidden;
}

larger, .larger {
  font-size: 1.25rem;
  overflow: hidden;
}

h1,
h2,
h3 {
  line-height: 1.5;
  margin-top: 0;
  padding-top: 0;
}

h1 {
  font-size: 1.375rem;
}

h2 {
  font-size: 1.25rem;
}

h3 {
  font-size: 1.125rem;
}

/* Responsive Table */
.rsp-table {
  display: table;
}

.rsp-table tr {
  display: table-row;
}

.rsp-table th {
  display: table-cell;
  font-weight: bold;
}

.rsp-table th, .rsp-table td {
  display: table-cell;
  padding-right: 10px;
  padding-bottom: 10px;
}

/* link marker */
.link-marker {
  background: #8ad88a;
  padding: 2px 4px;
  border-radius: 6px;
  display: inline-block;
  border: 1px groove #6c6;
  line-height: 1;
}

@media (max-width: 720px) {
  .rsp-table {
    display: block;
  }
  .rsp-table tbody, .rsp-table tr {
    display: block;
  }
  .rsp-table th {
    display: none;
  }
  .rsp-table td {
    display: block;
    padding: 0px;
  }
  .rsp-table td::before {
    display: block;
    content: attr(data-label);
    font-weight: bold;
    margin-bottom: 4px;
    width: 100% !important;
  }
}
/* Allgemein */
*, ::before, ::after {
  box-sizing: border-box;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: 0;
}

input::-moz-focus-inner {
  border: 0;
}

html, body {
  padding: 0;
  margin: 0;
  font-size: 1rem;
}

.grabbing, .grabbing * {
  cursor: grabbing !important;
}

.ondrag {
  opacity: 0.5;
}

.be-form-control {
  width: 100%;
  width: -moz-available;
  width: -webkit-fill-available;
  background-color: white;
  border: 1px solid gray;
  border-radius: 6px;
  padding: 8px 6px;
  font-size: 12px;
  vertical-align: middle;
  line-height: 1.2;
}

textarea.be-form-control {
  min-height: 28px;
  font-size: 13px;
  padding: 6px 6px;
  resize: vertical;
  height: 56px;
}

button.be-form-control {
  cursor: pointer;
}

select.be-form-control:not([multiple]) {
  background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") right 0.75rem center no-repeat #fff;
  background-size: auto;
  background-size: 8px 10px;
  padding: 8px 1.75rem 8px 3px;
  color: #495057;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.be-form-control:disabled {
  background-color: rgba(0, 0, 0, 0.1882352941) !important;
}

.be-form-control:focus {
  outline: 0;
  border-color: #3b84c1;
  border-width: 2px;
  padding: 7px 5px;
}

.be-form-control-container {
  position: relative;
}

.be-form-control-container.number .be-form-control {
  padding-right: 18px;
}

.be-form-control-container_up, .be-form-control-container_down {
  position: absolute;
  display: block;
  font-size: 11.5px;
  padding: 1px 5px;
  cursor: pointer;
  user-select: none;
  color: black;
}

.be-form-control-container_up {
  top: 1px;
  right: 1px;
}

.be-form-control-container_down {
  bottom: 1px;
  right: 1px;
}

.be-form-control-container.number .be-form-control {
  text-align: right;
}

/* dialog */
.__dialog {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1160;
  overflow: hidden;
  outline: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #272529;
}

.__dialog-wrapper {
  position: relative;
  width: 520px;
  max-width: 95%;
  transform: translate(0, -55%);
  top: 45%;
  pointer-events: none;
  margin: 1.75rem auto;
}

.__dialog-content {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
  max-height: 428px;
}

@media (min-height: 720px) {
  .__dialog-content {
    max-height: 700px;
  }
}
.__dialog-header {
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
  background: white;
}

.__dialog-title {
  display: inline-block;
  max-width: calc(100% - 40px);
  margin: 0;
  line-height: 1.5;
  font-size: 1.25rem;
  font-weight: 500;
}

.__dialog-close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
  background: none;
  border: none;
  cursor: pointer;
  user-select: none;
}

.__dialog-body {
  overflow: auto;
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem;
  background: white;
  max-height: calc(100vh - 280px);
}

.__dialog-footer {
  padding: 1rem 1rem 0.5rem 1rem;
  border-top: 1px solid #e9ecef;
  background: white;
}

.__dialog-btn {
  display: inline-block;
  width: auto;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: top;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
  padding: 0.375rem 0.75rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.__dialog-btn-green {
  background: #649748;
  color: white;
}

.__dialog-btn-red {
  background: #cc0000;
  color: white;
}

.__dialog-btn-gray {
  background: #6c757d;
  color: white;
}

.__dialog-btn-cyan {
  background: #17a2b8;
  color: white;
}

/* __dialog */
/* Spezifisch */
.be {
  display: flex;
  height: calc(100% - 3px);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  border: 1px solid #ccc;
}

.be_main, .be_sidebar {
  position: relative;
  display: block;
  max-height: 100vh;
}

.be_main {
  width: calc(100% - 320px);
}

.be_sidebar {
  width: 320px;
  height: 100%;
  border-left: 1px solid #ccc;
}

.be_sidebar_header {
  border-bottom: 1px solid #ccc;
}

.be_sidebar_header_col {
  display: inline-block;
  vertical-align: top;
  padding: 12px;
  user-select: none;
  cursor: pointer;
}

.be_sidebar_header_col.active {
  box-shadow: inset 0 -4px 0 0 #007cba;
}

.be_sidebar_header_col.disabled {
  color: #9b9b9b;
}

.be_cursormodechanger {
  display: inline-block;
  vertical-align: top;
  border-right: solid 1px #e0e0e0;
  margin-right: 10px;
  position: relative;
  z-index: 1;
}

.be_cursormodechanger_item {
  display: inline-block;
  padding: 12px;
  user-select: none;
  cursor: pointer;
}

.be_cursormodechanger_item.active {
  box-shadow: inset 0 -4px 0 0 #007cba;
  color: #007cba;
}

.be_toolbar {
  padding: 0 !important;
  height: 49px;
  overflow-x: hidden;
  overflow-y: auto;
}

.be_toolbar > * {
  display: inline-block;
  vertical-align: middle;
}

.be_toolbar > .__toolbar-separator {
  height: 48px;
}

.be_toolbar.__toolbar {
  border-radius: 0;
}

.be_content {
  height: calc(100% - 20px - 30px - 46px);
  padding: 10px;
  overflow-y: auto;
}

.be_preview {
  position: relative;
  z-index: 1;
  text-align: right;
  border-top: 1px solid #ccc;
  padding: 10px;
}

.be_preview_button_desktop, .be_preview_button_mobile {
  margin-right: 8px;
}

.be_preview_button_desktop, .be_preview_button_mobile, .be_preview_button, .be_preview_close_button {
  cursor: pointer;
  border-radius: 6px;
}

.be_preview_content {
  overflow-y: auto;
  overflow-x: hidden;
  text-align: left;
  padding-top: 8px;
}

.be_preview_content.mobile {
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-left: auto;
  margin-right: auto;
}

.be_preview_iframe {
  width: 100%;
  height: calc(100% - 6px);
  border: none;
}

.be_baustein {
  display: block;
  min-width: 138px;
  max-width: calc(100% - 8px);
  margin: 4px;
  border-radius: 6px;
  border: 1px dashed #ccc;
  position: relative;
  z-index: 1;
  background: white;
  padding-top: 4px;
}

.be_baustein > .be_baustein {
  margin: 20px 4px 0px 4px;
}

.be_baustein[data-type=table] {
  padding: 10px;
  padding-top: 20px;
}

.be_baustein[data-type=tableRow],
.be_baustein[data-type=layout] {
  display: flex;
  flex-direction: row;
  margin: 20px 4px;
  padding-top: 20px;
}

.be_baustein[data-type=tableRow] > .be_baustein,
.be_baustein[data-type=layout] > .be_baustein {
  flex-grow: 1;
  margin: 10px;
  margin-top: 20px;
}

.be_baustein[data-type=tableRow] > .be_bausteinSelector_container > .be_bausteinSelector_outer > .be_bausteinSelector,
.be_baustein[data-type=layout] > .be_bausteinSelector_container > .be_bausteinSelector_outer > .be_bausteinSelector {
  padding: 1rem;
}

.be_baustein_item {
  display: block;
  min-width: 100px;
  min-height: 10px;
  width: inherit;
  height: inherit;
}

.be_baustein_item_overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.be_baustein textarea {
  width: 100%;
  border: 0;
  resize: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-align: inherit;
  text-decoration: inherit;
  font-style: inherit;
}

.baustein_indicator {
  display: block;
  position: absolute;
  z-index: 2;
  top: -14px;
  left: 4px;
  font-size: 0.7rem;
  font-weight: normal;
  padding: 2px;
  border-radius: 4px;
  background: white;
  border: 1px dashed #ccc;
  user-select: none;
  white-space: nowrap;
}

.baustein_indicator > * {
  display: inline-block;
  vertical-align: middle;
  color: black;
}

.baustein_indicator_position {
  display: inline-block;
  vertical-align: top;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 16px;
  text-align: center;
  font-weight: bold;
  margin-right: 4px;
  margin-top: 1px;
  margin-left: 2px;
}

.baustein_indicator_title {
  font-size: inherit;
  padding-right: 4px;
}

.baustein_indicator_changer {
  background: transparent;
  border: 0;
  width: auto;
  padding: 0;
  padding-right: 16px;
  margin: 0;
  font-size: inherit;
  background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") right 6px center no-repeat #fff;
  background-size: 8px 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.be_baustein.selected, .be_baustein.selected > .baustein_indicator {
  border: 1px solid #007cba;
}

/*******************/
.be_bausteinSelector_container {
  min-height: 10px;
}

.be_bausteinSelector {
  margin: 10px;
}

.be_bausteinSelector {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
}

.be_bausteinSelector:hover {
  background: #ddd;
  border-color: #ddd;
}

.be_bausteinSelector > i {
  margin: auto;
  font-size: 2.2rem;
  color: #007cba;
  border-radius: 180%;
}

.be_bausteinSelector_outer {
  position: relative;
}

/*******************/
.be_bausteinSelector_container.hidden .be_bausteinSelector_outer {
  opacity: 0;
  transition: opacity 500ms ease-in, height 500ms ease-in-out, padding 500ms;
  padding: 10px 0;
  padding-top: 14px;
  padding-bottom: 14px;
}

.be_bausteinSelector_container.hidden .be_bausteinSelector {
  background: #007cba;
  height: 2px;
}

.be_bausteinSelector_container.hidden .be_bausteinSelector_outer:hover {
  opacity: 1 !important;
}

.be_bausteinSelector_container.hidden .be_bausteinSelector > i {
  position: absolute;
  top: 11px;
  font-size: 1.8rem;
  margin-top: -10px;
  background: white;
}

/*******************/
.be_bausteinSelector_layer {
  color: black;
  background: white;
  border: 3px solid #007cba;
  border-radius: 6px;
  position: absolute;
  z-index: 1160;
  max-width: 100%;
}

.be_bausteinSelector_layer_title_container {
  border-bottom: 1px solid gray;
}

.be_bausteinSelector_layer_title {
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 38px);
  padding: 8px 0 8px 8px;
  user-select: none;
}

.be_bausteinSelector_layer_close {
  display: inline-block;
  vertical-align: top;
  width: 30px;
  padding: 4px;
  margin: 0;
  border: 0;
  background: none;
  font-size: 20px;
  font-weight: bolder;
  cursor: pointer;
}

.be_bausteinSelector_layer_item_container {
  padding: 4px;
}

.be_bausteinSelector_layer_item {
  display: inline-block;
  vertical-align: top;
  width: 100px;
  height: 100px;
  margin: 4px;
  padding: 4px;
  border: 1px solid gray;
  border-radius: 6px;
  cursor: pointer;
}

.be_bausteinSelector_layer_item_title1 {
  font-weight: bold;
  font-size: 1.1rem;
  height: 50%;
  padding-top: 20px;
}

.be_bausteinSelector_layer_item_title2 {
  height: 50%;
  font-size: 0.85rem;
  line-height: 1.4;
  white-space: wrap;
}

.be_baustein_row {
  display: block;
  width: 100%;
  border: 0;
  resize: none;
  height: -moz-fit-content;
  font-size: 24px;
}

.be_sidebar_content {
  overflow-y: auto;
  overflow-x: hidden;
  height: calc(100% - 50px);
}

.be_formrow {
  margin: 8px;
}

.be_formrow > label {
  user-select: none;
}

.be_formrow > label, .be_formrow > .be-form-control {
  display: inline-block;
  vertical-align: middle;
}

.be_formrow > .be-form-control[type=checkbox] {
  width: auto;
}

.bautstein-delete {
  margin: 8px;
  color: white;
  background: #cc3300;
}

.be_layout_view {
  background: white;
  border: 4px ridge #bbc800;
  color: white;
}

.be_layout_view_indicator {
  position: absolute;
  top: 1px;
  left: 1px;
  font-size: 0.7rem;
  padding: 2px 0 0 2px;
  z-index: 1;
  user-select: none;
}

.be_layout_view_margin, .be_layout_view_border, .be_layout_view_padding, .be_layout_view_inner {
  position: relative;
}

.be_layout_view_margin {
  background: #73764a;
  padding: 26px 34px;
}

.be_layout_view_border {
  background: #38383d;
  padding: 6px;
}

.be_layout_view_border > .be_layout_view_indicator {
  background: #38383d;
  padding: 2px;
  border-bottom-right-radius: 4px;
}

.be_layout_view_border > .be_layout_view_indicator {
  cursor: pointer;
}

.be_layout_view_padding {
  background: #6657a6;
  padding: 26px 48px;
}

.be_layout_view_padding > .be_layout_view_indicator {
  top: 10px;
  left: 10px;
}

.be_layout_view_inner {
  background: #407aa4;
  border: 2px dotted #2692c7;
  text-align: center;
  padding: 24px 2px;
}

.be_layout_wh_delimiter {
  user-select: none;
}

.be_layout_view .be_formrow {
  display: inline-block;
  position: absolute;
  z-index: 1;
  line-height: 1.2;
  border-radius: 2px;
  margin: 0;
}

.be_layout_view_inner > .be_formrow {
  position: relative;
}

.be_layout_view .be-form-control-container {
  width: inherit;
  height: inherit;
}

.be_layout_view .be-form-control {
  width: inherit;
  height: inherit;
  padding: 0 !important;
  background: transparent;
  border: 0;
  color: white;
  text-align: center !important;
}

.be_layout_view .be-form-control-container_up, .be_layout_view .be-form-control-container_down {
  display: none;
}

/* border_modall */
.border_modall_tab {
  display: inline-block;
  vertical-align: top;
  width: 50%;
  padding: 8px;
  color: white;
  background: #007cba;
  font-size: 1rem;
  font-weight: bolder;
  cursor: pointer;
  user-select: none;
}

.border_modall_tab:not(:first-child) {
  border-left: 1px solid #ccc;
}

.border_modall_tab:hover, .border_modall_tab.active {
  background: #006699;
}

.border_modall_tabcontent {
  border: 2px solid #007cba;
}

.border_modall_undersides {
  display: inline-block;
  vertical-align: middle;
  width: 25%;
  padding: 8px;
  margin: 0;
}

/* be-ajax-loader */
.be-ajax-loader {
  position: fixed;
  top: 0;
  left: 0;
  max-width: 100%;
  min-width: 10%;
  height: 10px;
  z-index: 9999999;
  background: linear-gradient(124deg, #ff2400, #e81d1d, #e8b71d, #e3e81d, #1de840, #1ddde8, #2b1de8, #dd00f3, #dd00f3);
  background-size: 1800% 1800%;
  animation: 1s ease-out 0s 1 slideInFromLeft, rainbow 2s ease infinite;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes rainbow {
  0% {
    background-position: 0% 82%;
  }
  50% {
    background-position: 100% 19%;
  }
  100% {
    background-position: 0% 82%;
  }
}
/* Pagination */
.be-dialog-media-pagination {
  text-align: center;
  margin-top: 20px;
  user-select: none;
}

.be-dialog-media-pagination > * {
  display: inline-block;
  vertical-align: middle;
  width: 76px;
  margin-right: 0px;
  padding: 6px;
  margin-left: 8px;
  margin-bottom: 0px;
}

/* Fullscreen Image Modal */
.be-fullscreen-image-modal {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9999999;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  text-align: center;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
}

.be-fullscreen-image-modal-close {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 9999999;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 180%;
  text-align: center;
  color: white;
  font-size: 3rem;
  width: 60px;
  height: 60px;
  line-height: 1.15;
}

.be-fullscreen-image-modal-image {
  max-width: 100%;
  max-height: 100%;
}

/* TinyEditor */
.be_baustein > .__toolbar {
  display: none;
}

.be_baustein.selected > .__toolbar {
  display: flex;
}

.be_baustein.ondrag > .__toolbar {
  display: none;
}