.fusion-builder-live {
  .fusion-builder-context-menu {
    position: absolute;
    z-index: 99999999;
    background: #FFF;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    min-width: 130px;
    font-family: "Noto Sans", Roboto, "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;

    >span {
      text-align: center;
      display: block;
      padding: 0px 16px;
      min-height: 32px;
      line-height: 32px;
      background: #23282d;
      color: #ffffff;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    ul {
      list-style: none;
      margin: 0;
      padding: 10px;

      li {
        display: block;
        padding:6px 10px;
        line-height: normal;
        cursor: pointer;
        transition: all 0.1s ease;
        color:#2a3035;
        font-size: 13px;
        font-weight: 400;
        border-radius: 4px;

        &:hover {
          background-color: rgba(25, 143, 217, 0.07);
          color: #198FD9;
        }
      }
    }

    &:hover ul {
      color: rgba(255, 255, 255, 0.6);
    }

    &.fusion-builder-inline-context-menu {
      background: transparent;
      min-width: 0;
      opacity: 0;
      overflow: visible;
      border-radius: 0;
      transform: translateY(30px);
      transition: opacity 0.25s ease, transform 0.25s ease;

      ul {
        display: flex;
        padding: 0;
        background-color: transparent;
      }

      li {
        display: inline-block;
        padding: 0;
        height: 33px;
        width: 33px;
        line-height: 33px;
        color: #fff;
        background-color: #2a3035;
        transition: color 0.1s ease;
        position: relative;
        border-radius: 0;
        text-align: center;

        &:first-child {
          border-top-left-radius: 4px;
          border-bottom-left-radius: 4px;
        }

        &:last-child {
          border-top-right-radius: 4px;
          border-bottom-right-radius: 4px;
        }

        .fusion-element-tooltip {
          position: absolute;
          left: 50%;
          transform: translateX(-50%);
          margin: 0;
          z-index: 200;
          visibility: hidden;
          opacity: 0;
          transition: all 0.2s ease 0.2s;
          bottom: 100%;

          .fusion-tooltip-text {
            display: inline-block;
            background: #1d2226;
            color: #ffffff;
            border: 1px solid #1d2226;
            padding: 10px;
            font-size: 11px;
            font-family: "Noto Sans", Roboto, "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
            font-weight: 600;
            line-height: normal;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            border-radius: 4px;
            white-space: nowrap;
          }

          &:before {
            content: "";
            border: 5px solid transparent;
            border-top-color: #1d2226;
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 2;
          }

          .fusion-tooltip-text {
              display: inline-block;
          }
        }

        &:hover {
          color: #fff;
          background-color: #2a3035;

          .fusion-element-tooltip {
            opacity: 1;
            visibility: visible;
            margin-bottom: 10px;
          }
        }
      }

      &:hover {
          li {
              color: rgba(255, 255, 255, 0.6);

              &:hover {
                  color: #fff;
              }
          }
      }

      &.fusion-builder-inline-context-menu-loaded {
        opacity: 1;
        transform: translateY(0);
      }
    }
  }

  &.fusion-builder-no-ui {
    &:not(.fusion-builder-ui-wireframe) {
    	.fusion-live-editable:not( [data-medium-focused] ) {
	      .fusion-builder-context-menu {
	        ul {
	          li[data-action="edit"] {
	            display: none;
	          }
	        }
	      }
    	}
    }
  }
}
.fusion-builder-live-preview {
  &.fusion-dialog-ui-active {
    &:not(.fusion-builder-ui-wireframe) {
      ul {
        li[data-action="edit"] {
          display: none;
        }
      }
    }
  }
}
