.indicator {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.indicator[data-is-active=true] {
  background-color: limegreen;
}
.indicator[data-is-active=false] {
  background-color: #b4b4b4;
}
.indicator_logging {
  right: 1.5rem;
}
.indicator_logging[data-is-active=true] {
  background-color: #da7fff;
}

.tag {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
  transform: translate(-50%, -50%);
  font-size: 0.8rem;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  border-right: none !important;
}
.tag-secondary {
  color: #b7b7b7;
}

.componentBlock {
  display: flex;
  flex-direction: column;
  height: 300px;
}
.componentBlock[data-size=sm] {
  height: 100px;
}
.componentBlock[data-size=md] {
  height: 200px;
}
.componentBlock[data-size=lg] {
  height: 300px;
}
.componentBlock header {
  position: relative;
  width: 100%;
  height: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}
.componentBlock .title,
.componentBlock .headerText {
  font-size: 0.8rem;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.componentBlock .title {
  width: 33.3333333333%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.componentBlock .headerText_zIndex {
  padding-right: 0.25rem;
  opacity: 0.3;
}
.componentBlock .buttonGroup,
.componentBlock .indicatorGroup {
  width: 33.3333333333%;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.componentBlock .buttonGroup {
  padding: 0.35rem;
}
.componentBlock .indicatorGroup {
  padding: 0.75rem;
  justify-content: flex-end;
}
.componentBlock .indicator {
  position: relative;
  top: auto;
  right: auto;
  transform: none;
}
.componentBlock input {
  border-width: 1px;
}
.componentBlock .content {
  height: calc(100% - 2rem);
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-top: none;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.contentBlock {
  display: flex;
  flex-direction: column;
  height: 500px;
}
.contentBlock[data-size=auto] {
  height: auto;
}
.contentBlock[data-size=sm] {
  height: 150px;
}
.contentBlock[data-size=md] {
  height: 300px;
}
.contentBlock[data-size=lg] {
  height: 500px;
}
.contentBlock[data-size=auto] {
  height: auto;
}
.contentBlock header {
  position: relative;
  width: 100%;
  height: 2rem;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 6px;
}
.contentBlock header.with_controls .title,
.contentBlock header.with_controls .headerText {
  font-size: 0.8rem;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.contentBlock header.with_controls .title {
  width: 33.3333333333%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contentBlock header.with_controls .headerText_zIndex {
  padding-right: 0.25rem;
  opacity: 0.3;
}
.contentBlock header.with_controls .buttonGroup,
.contentBlock header.with_controls .indicatorGroup {
  width: 33.3333333333%;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.contentBlock header.with_controls .buttonGroup {
  padding: 0.35rem;
}
.contentBlock header.with_controls .indicatorGroup {
  padding: 0.75rem;
  justify-content: flex-end;
}
.contentBlock header.with_controls .indicator {
  position: relative;
  top: auto;
  right: auto;
  transform: none;
}
.contentBlock .title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.contentBlock[data-bg=grey] {
  background-color: #efefef;
}
.contentBlock .content {
  position: relative;
  height: calc(100% - 2.75rem);
}
.contentBlock .content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contentBlock .content .image-preview {
  opacity: 0.5;
}
.contentBlock .content .icon-absolute-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.contentBlock .content .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.contentBlock .content .overlay_centered {
  justify-content: center;
}
.contentBlock .content .overlay footer {
  padding: 0.75rem;
  text-align: center;
  color: #8d8d8d;
}
.contentBlock .rows {
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-rows: repeat(2, calc(50% - 0.25rem));
  gap: 0.5rem;
}

.toggleButton[data-color=green]:checked {
  background-color: limegreen;
  border-color: limegreen;
}
.toggleButton[data-color=lilac]:checked {
  background-color: #da7fff;
  border-color: #da7fff;
}

.labelWrapper {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
}

.label {
  padding: 2px 6px;
  background-color: rgb(240, 240, 240);
  border-radius: 99rem;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: rgb(180, 180, 180);
}

.k-line-field {
  height: 0.5rem;
}

.k-field[data-disabled=true] {
  opacity: 0.333;
}

.k-section-name-HIDDEN {
  display: none;
}

div[name=headline_fontfamily],
div[name=headline_letterspacing],
div[name=headline_fontsize] {
  padding: 0;
}

div[name*=warning_] .k-headline {
  display: none;
}
div[name*=warning_] .k-box {
  display: inline-block;
  background-color: #ffa0a0;
}

.k-block-container-type-WeirdText {
  border: 2px solid #ff00dd !important;
  background-color: #fff0f5;
}

.k-field-name-randomize_fontfamily .k-field-header,
.k-field-name-randomize_letterspacing .k-field-header,
.k-field-name-randomize_fontsize .k-field-header {
  flex-direction: column;
}

.k-drawer-box {
  flex-basis: 60rem;
}
.k-drawer-box .k-grid {
  grid-row-gap: 1.5rem;
}
