.stx-btn-wrapper {
  .stx-btn {
    display: inline-block;
    background-color: #5cb85c;
    color: #fff;
    fill: #fff;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    width: auto;
    border: 0;
    cursor: pointer;
    opacity: 1;
    visibility: visible;

    &.stx-btn-hidden {
      visibility: hidden;
      opacity: 0;
    }

    &:hover, &:visited, &:focus {
      color: #fff;
    }

    .stx-btn-content-wrapper {
      display: flex;
      justify-content: center;

      .stx-btn-icon {
        flex-grow: 0;
      }
    }

    &.stx-btn-xs {
      font-size: 13px;
      padding: 10px 20px;
      // border-radius: 2px;
    }

    &.stx-btn-sm {
      font-size: 15px;
      padding: 12px 24px;
      // border-radius: 3px;
    }

    &.stx-btn-md {
      font-size: 16px;
      padding: 15px 30px;
      // border-radius: 4px;
    }

    &.stx-btn-lg {
      font-size: 18px;
      padding: 20px 40px;
      // border-radius: 5px;
    }

    &.stx-btn-xl {
      font-size: 20px;
      padding: 25px 50px;
      // border-radius: 6px;
    }
  }
}


.elementor-editor-active {
  .stx-btn.stx-btn-hidden {
    visibility: visible !important;
    opacity: 1 !important;
  }
}
