.tl-field-wrapper {
  display: flex;
  column-gap: 16px;
  margin-bottom: 2px;
}

.tl-field-wrapper.notOnPage {
  display: none;
}



.tl-label {
  min-width: 200px;
  width: 200px;
  flex: 0 0;
}
.tl-input {
  flex: 1 1;
  min-height: 30px;
}

.tl-row-help {
  flex: 0 40px;
  width: 20px;
  height: 20px;
  line-height: 16px;
  min-width: 20px;
  max-width: 20px;
  background-color:var(--primary);
  border: 2px solid #c8c8c8;;
  border-radius: 20px;
  color: white;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  cursor: default;
  display: inline-block;
  margin: 0px 8px;
}

.tl-row-help:hover {
  background-color: var(--primary-dark);
}

.tl-input input[type='text'], .tl-input textarea {
  width: 100%;
}

.tl-input select {
  width: 400px;
}

.tl-input select.tl-select-day {
  width: 60px;
  margin-right: 8px;
}
.tl-input select.tl-select-month {
  width: 120px;
  margin-right: 8px;
}
.tl-input select.tl-select-year {
  width: 70px;
}

.tl-input textarea {
  height: 200px;
}

.tl-input table {
  margin-bottom: 16px;
}

.tl-edit input[type='checkbox'] {
  margin-right: 8px;
  vertical-align: middle;
  margin-top: -2px;
}

.tl-edit-spacer {
  height: 32px;
}

.tl-edit-line {
  margin: 16px 0px;
  border-bottom: 1px solid var(--separator);
}

.tl-hint, .tl-intro {
  font-size: 0.85em;
  margin: 0px 0px 16px 0px;
  max-width: 800px;
}

.tl-intro.bold {
  font-weight: 600;
}

.tl-subheader {
  font-weight: 600;
}

.tl-kompetenz {
  line-height: 18px;
  margin-top: 6px;
}

.tl-kompetenz input[type='checkbox'], .tl-sprache input[type='checkbox'] {
  margin-right: 8px;
}

.tl-kompetenzkategorie {
  width: 100%;
  font-size: 24px;
  border-bottom: 1px solid var(--separator);
}

.tl-pz-action {
  margin: 0px 8px;
  color: var(--primary);
  cursor: pointer;
}

.tl-galerie {
  width: 500px;
}


.tl-edit-image {
  display: flex;
  margin-bottom: 4px;
  align-items: center;
}

.tl-galerie .tl-edit-image .tl-image {
  border: 1px solid lightgray;
  flex: 0 0;
  min-height: 80px;
  min-width: 80px;
  max-width: 80px;
  max-height: 80px;
  object-fit: cover;
}

.tl-galerie .tl-edit-image .tl-image-info {
  flex: 1 1;
}

.tl-dropAreaWrapper {
  position: relative;
  width: 100%;
  height: 100px;
  margin-top: 32px;
}

.tl-dropAreaWrapper .tl-drop-hint {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
  color: #888888;
}

.tl-drop-image {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  vertical-align: middle;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 4px dotted white;
  border-radius: 16px;
  opacity: 0.3;
}

.tl-drop-image.dropHover {
  border: 4px dotted green;
  opacity: 0.8;
}

.tl-zeiten select {
  width: 120px
}

.tl-uploadError {
  border: 1px solid #ff0000aa;
  background-color: #ff000044;
  color: red;
  margin: 8px 0px;
  width: 100%;
  padding: 8px;
}

.tl-input.error select, .tl-input.error input, .tl-zeiten.error select {
  box-shadow: 0px 0px 3px red !important;
  border: 1px solid red;
}


#tooltip-js{
  position:absolute;display:none;z-index:99999;color:white;padding:.4rem 1rem;background-color:var(--primary);
  box-shadow:rgb(145 158 171 / 24%) 0 0 2px 0,rgb(145 158 171 / 24%) 0 20px 40px -4px;border:1px solid rgba(145,158,171,.08);
  max-width:450px;border-radius:10px}
#tooltip-js::before{top:-5px;z-index:1;width:12px;left:5px;height:12px;
    content:"";position:absolute;border-radius:0 0 4px;transform:rotate(-135deg);background:var(--primary);
    border-right:1px solid rgba(145,158,171,.12);border-bottom:1px solid rgba(145,158,171,.12)
}
#tooltip-js.arrow-left:before{left:initial;right:5px}

.tl-open-entry {
  float: right;
}

.tl-fieldErrMsg {
  color: red;
  margin-bottom: 16px;
}

.tl-input input[disabled],
.tl-input input[readonly] {
  cursor: pointer;
  background-color: #fafafa;
}

#app {
  margin: 32px 0px;
}

.tl-check-hint {
  border: 1px solid black;
  background-color: #e8e8e8;
  margin: 16px 0px;
  padding: 8px;
}


.tl-pages-wrapper {
  width: 100%;
  display: flex;
  align-content: stretch;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--primary-dark);
  column-gap: 8px;
}

.tl-page-selector {
  border-radius: 8px 8px 0px 0px;
  background-color: var(--primary-quarter);
  padding: 8px;
  cursor: pointer;
  flex: 1 1;
  white-space: nowrap;
  text-align: center;
}


.tl-page-selector:hover {
  background-color: var(--primary-half);
}

.tl-page-selector.selected, .tl-page-selector.selected:hover {
  color: white;
  background-color: var(--primary-dark);
  cursor: default;
}


.lengthCounter {
  color: #888888;
  font-size: 0.9em;
  margin-top: -4px;
  margin-bottom: 12px;
}