html {
  overflow-y: auto !important;
}

.splitpanes__pane {
  display: flex;
  justify-content: center;
  align-items: center;
}

.is-relative {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero .is-covering {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.hero .is-relative {
  width: 100%;
  height: 50%;
  position: relative;
}

.hero .has-shadow {
  box-shadow: 2px 0 2px rgba(0, 0, 0, 0.375) !important;
}

.hero .column.is-paddingless-horizontal {
  padding-left: 0;
  padding-right: 0;
}

.is-margin-top {
  margin-top: 1.5rem;
}

.is-margin-bottom {
  margin-bottom: 1.25rem;
}

.has-shadow {
  box-shadow: 0 1px #000;
}

.has-border-bottom {
  border-bottom: 1px solid #000;
}

.editor {
  height: 100%;
  flex: 1;
  box-sizing: border-box;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  max-height: 100%;
  position: relative;
  width: 100%;
}

.line.is-selected {
  outline: none;
  background-color: rgba(25, 48, 96, 0.05);
  border-inline: 2px solid;
  border-color: rgba(25, 48, 96, 0.8);
}

.line :hover {
  background-color: rgba(203, 210, 223, 0.05);
  color: #292727;
}

.navbar-start {
  width: 100%;
  justify-content: space-between;
}

.tag {
  margin-left: 0.3rem !important;
  margin-right: 0.3rem !important;
  font-size: inherit;
  padding-top: 0.1rem;
  height: auto;
}

.menu-button {
  margin-left: 0.2rem;
  margin-right: 0.2rem;
  padding: 0;
}

.transkribusEditor-bubble-menu {
  text-align: center;
  border-radius: 0.5rem;
  position: initial !important;
}

.transkribusEditor-bubble-menu button {
  border: none;
  background: none;
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0.2rem;
  padding: 0 0.9rem;
}

.transkribusEditor-bubble-menu button.is-active {
  opacity: 1;
  outline: 3px solid #000;
}

.center {
  text-align: center;
}

.ProseMirror table {
  border-collapse: collapse;
  table-layout: fixed;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.ProseMirror table td,
.ProseMirror table th {
  min-width: 1em;
  border: 2px solid #ced4da;
  vertical-align: top;
  box-sizing: border-box;
  position: relative;
  padding: 3px 5px;
}

.ProseMirror table td > *,
.ProseMirror table th > * {
  margin-bottom: 0;
}

.ProseMirror table th {
  font-weight: 700;
  text-align: left;
  background-color: #f1f3f5;
}

.ProseMirror table .selectedCell:after {
  z-index: 2;
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(243, 243, 248, 0.4);
  pointer-events: none;
}

.ProseMirror table .column-resize-handle {
  position: absolute;
  right: -2px;
  top: 0;
  bottom: -2px;
  width: 4px;
  background-color: #adf;
  pointer-events: none;
}

.seperator {
  background-color: #f5f5f5;
  border: none;
  margin: 0.2rem;
}

#imageHorizontal {
  background: none;
  height: 100%;
  position: relative;
  z-index: 30;
}

#imageVertical {
  background: none;
  position: relative;
  z-index: 30;
}

.editor__header {
  border: 2px solid #f7f7f7;
  display: flex;
  flex-shrink: 5;
  flex-wrap: wrap;
  position: relative;
  margin-left: 5%;
  margin-right: 5%;
  padding: 5px;
}

.editor__side {
  float: right;
  flex: 2 2 auto;
  flex-wrap: wrap;
  overflow-x: hidden;
  overflow-y: auto;
}

.editor__content {
  flex: 1 1 auto;
  text-align: center;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.tile.editor__content {
  min-height: unset!important;
}

.vl {
  border-left: 6px solid green;
  margin: 0;
}

.layout .highlight {
  fill: rgba(0, 0, 0, 0.25);
  stroke: rgba(0, 0, 0, 0.5);
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;
}

.layout .highlight.is-primary {
  fill: rgba(25, 48, 96, 0.25);
  stroke: rgba(25, 48, 96, 0.5);
}

.layout .highlight.is-primary.is-selected {
  fill: rgba(25, 48, 96, 0.125);
}

.layout .highlight.is-primary:hover {
  fill: rgba(25, 48, 96, 0.2);
}

.layout .content {
  fill: transparent;
}

.layout .element {
  fill: transparent;
  stroke-width: 2px;
  stroke: transparent;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
}

.layout .element.is-highlighted {
  stroke: rgba(25, 48, 96, 0.1);
  fill: rgba(25, 48, 96, 0.1);
}

.layout .element.is-search {
  stroke: rgba(186, 11, 58, 0.8);
  fill: rgba(186, 11, 58, 0.1);
}

.layout .element:hover {
  fill: rgba(25, 48, 96, 0.02);
}

.layout .element.is-selected {
  fill: rgba(25, 48, 96, 0.1);
}

.detail-image-controls-wrapper {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
}

.menu {
  width: 100%;
}

#contentHorizontal,
#contentVertical {
  background: none;
  position: relative;
}

/* Hide Increase/Decrease font buttons */
button[title="Increase font size"],
button[title="Decrease font size"] {
  display: block;
}

#primary-full-width {
  padding: unset!important;
}

button.button.is-success {
  background: rgb(72, 199, 116)!important;
  color: #FFF!important;
}

footer._tct_footer,
footer.site-footer {
  display: none;
}

#go-home {
  margin-top: -4px;
  height: 39px;
  padding: 7px 5px 5px 5px;
  text-decoration: none;
  text-transform: none;
  background: var(--main-color);
  color: #FFF!important;
  font-size: 14px;
  border: 1px solid var(--main-color);
  border-radius: 4px;
}

#go-home:hover {
  background: #FFF;
  color: var(--main-color)!important;
}

.entry-main .entry-content a.editor-change {
  position: absolute;
  bottom: 2%;
  left: 30px;
  z-index: 9999;
  padding: 5px 10px!important;
  text-decoration: none;
  font-size: 14px;
  background: var(--main-color)!important;
  color: #FFF!important;
  border: none!important;
  border-radius: 4px;
}

.entry-main .entry-content a.editor-change:hover {
  color: #FFF!important;
  background-color: var( --main-color-hover )!important;
}

.editor__content div {
  font-size: 100%;
}

.delete-text-btn svg {
  height: 1rem;
}

div[ data-node-view-wrapper ].region {
  counter-reset: line-counter;
}

div[ data-node-view-wrapper ].line::before {
  counter-increment: line-counter;
  content: counter( line-counter );
  position: absolute;
  left: 2px;
  font-size: 10px;
  font-weight: 300;
}

#delete-text-msg {
  position: absolute;
  z-index: 999999;
  background-color: #FFF;
  padding: 15px;
  font-weight: 500;
  border-radius: 5px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);;
}

#delete-text-msg .delete-text-msg-btns {
  display: flex;
  justify-content: space-between;
}

#delete-text-msg .delete-text-msg-btns button {
  padding: 5px;
  color: #FFF;
  background-color: var( --main-color );
}

#delete-text-msg .delete-text-msg-btns button:hover,
#delete-text-msg .delete-text-msg-btns button:focus,
#delete-text-msg .delete-text-msg-btns button:active {
  background: var( --main-color-hover )!important;
}

