/* use this for style redefinitions to awoid problems with
unpredictable css rules order in build */
.pc-edit-block {
  cursor: pointer;
  position: relative;
  z-index: 10;
}
.pc-edit-block_active {
  z-index: 11;
}
.pc-edit-block_active .pc-edit-block__controls {
  border: 4px solid var(--pc-editor-base-color);
}
.pc-edit-block__controls {
  position: absolute;
  width: calc(100% + 96px);
  height: calc(100% + 48px);
  top: -48px;
  left: -48px;
  border-radius: var(--pc-border-radius);
  z-index: 10;
}
.pc-edit-block__controls_isHeader {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.pc-edit-block__controls_reset-paddings {
  top: 0;
  height: 100%;
}
.pc-edit-block__controls-content {
  display: flex;
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
}
.pc-edit-block__control {
  display: inline-block;
  margin: 0;
  padding: 0;
  font: inherit;
  border: none;
  outline: none;
  color: inherit;
  background: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s;
}
.pc-edit-block__control:hover {
  transform: scale(1.1);
}
.pc-edit-block__control {
  width: 48px;
  height: 32px;
  border-radius: 8px;
  color: var(--pc-editor-control-icon-color);
  background-color: var(--pc-editor-control-color);
}
.pc-edit-block__control:not(:first-child) {
  margin-left: 4px;
}