:host {
  display: block;
}

.placeholder {
  background-color: #fff;
  min-height: 200px;
  border: 4px solid rgb(98, 98, 247);
}

.cdk-drop-list-dragging {
  section.cms-block {
    &:hover {
      border: 8px solid blue !important;
    }
  }
}

.cms-section {
  animation: sectionIn 0.5s;
}

cocoring-cms-section {
  section.cms-block {
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;

    -webkit-transition: box-shadow 0.3s ease-out;
    -moz-transition: box-shadow 0.3s ease-out;
    -o-transition: box-shadow 0.3s ease-out;
    transition: box-shadow 0.3s ease-out;

    box-shadow: 0px 0px 30px rgb(0 0 0 / 14%), 0 0px 12px rgb(0 0 0 / 16%);

    &:hover {
      opacity: 0.95;
    }

    &.sidenav-openned {
      margin-bottom: 10px;
      cursor: pointer;
    }

    .mce-content-body {
      img {
        max-width: 100%;
        height: auto;
      }
    }

    .mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before {
      font-size: 2.5em;
      text-align: center;
      line-height: 1em;
      width: 100%;
    }

    &.cms-block {
      margin: 0 auto;

      &.orientation-column {
        .zone-editor {
          max-height: none !important;
        }
      }

      .container {
        .row {
          .zone-editor {
            border: 1px dashed transparent;

            &:hover {
              border: 1px dashed #909090;
            }
          }
        }
      }
    }
  }
}

.sidenav-openned {
  section.cms-block {
    &:hover {
      opacity: 0.5 !important;
    }
  }
}


@keyframes sectionIn {
  from {
    transform: translateX(200px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes sectionOut {
  to {
    transform: translateX(-50%) translateY(-100px);
    opacity: 0;
  }
}
