.threshold-section {
  max-height: 0px;
  overflow: hidden;
  -webkit-transition: 0.5s ease;
  transition: 0.5s ease;
  min-height: inherit;
}

body.on-page-editor .threshold-section {
  max-height: inherit;
  overflow: inherit;
  outline: 1px solid #E7E9EB;
  outline-offset: -4px;
  padding-bottom: 56px;
  position: relative;
}

.threshold-section > .component-content {
  opacity: 0;
  -webkit-transition: 0.5s ease;
  transition: 0.5s ease;
}

body.on-page-editor .threshold-section > .component-content {
  opacity: 1;
}

.threshold-section > .component-content .signature-name {
  padding: 24px;
  display: block;
  font-size: 36px;
  line-height: 40px;
  opacity: 0.2;
  font-weight: bold;
  padding-left: 56px;
  position: relative;
}

.threshold-section > .component-content .signature-name::before {
  content: "";
  position: absolute;
  background-image: url(../images/icons/eye-black.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  height: 48px;
  width: 48px;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}

.threshold-section > .component-content .signature-name::before {
  left: 5px;
  top: 20px;
}

.threshold-section.visible {
  overflow: inherit;
}

.threshold-section.visible > .component-content {
  opacity: 1;
}

.threshold-section:not(.visible) {
  max-height: 0px !important;
}

body.on-page-editor .threshold-section:not(.visible) {
  max-height: none !important;
}
