.affiliate-interaction-view {
    // box-shadow: 0 0 10px 0 rgba(109,120,131,0.10);
}
.qubley-interaction-panel {
        hr {
            margin: 1.5em -16px;
        }
}
.affiliate-animation-timeline-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 9;
    margin-bottom: 15px;
    .affiliate-add-repeat-item-header {
        width: 95%;
        margin-left: 10px;
        display: flex;
        flex-direction: row;
        padding-bottom: 13px;
        justify-content: space-between;
        margin-top: 6px;
        margin-bottom: 1px;
      }
      .affiliate-animation-view {
        display: flex;
        flex: 1 1 auto;
        height: 100%;
        flex-direction: column;
        position: relative;
        min-height: 200px;
        justify-content: space-between;
        .affiliate-animation-flexible-area {
            background: #ffffff;
            width: 100%;
            display: flex;
            flex: 1 1 auto;
            position: relative;
            padding-top: 5px;
            padding-bottom: 5px;
            min-height: 400px;
            .affiliate-animation-flexible-area-inner-box {
                padding-left: 8px;
                padding-right: 0;
                margin-left: 33px;
                position: relative;
                display: flex;
                flex: 1 1 auto;
                flex-direction: column;
                align-items: stretch;
                .affiliate-animation-timline-bar {
                    width: 1px;
                    height: 100%;
                    top: 0;
                    left: 0;
                    position: absolute;
                    background: #E6E9ED;
                    .affiliate-timeline-live-action-bar {
                        position: absolute;
                        background: #007bf2;
                        min-width: 24px;
                        font-size: 10px;
                        text-align: center;
                        z-index: 9;
                        transform: translateX(-166%);
                        display: inline-block;
                        padding: 6px 0 6px 6px;
                        font-size: 18px;
                        line-height: 1px;
                        border: 1px solid #007bf2;
                        border-right: none;
                        .affiliate-inner-arrow {
                            /* content: ''; */
                            position: absolute;
                            display: inline-block;
                            top: 1px;
                            right: -5px;
                            width: 10px;
                            height: 10px;
                            border-top: 2px solid #007bf2;
                            border-right: 2px solid #007bf2;
                            background: #007bf2;
                            transform: rotate(45deg);
                          }
                      }
                  }
              }
            .affiliate-action-context-menu {
                position: absolute;
                background: #ffffff;
                top: 23px;
                left: 20%;
                width: 120px;
                opacity: 1;
                z-index: 9999;
                box-sizing: content-box;
                border-width: 1px;
                border-style: solid;
                border-color: rgb(221, 221, 221);
                border-radius: 3px;
                box-shadow: rgba(0, 0, 0, 0.15) 0 5px 10px;
                overflow: hidden;
                .affiliate-action-content-menu-item {
                    outline: 0;
                    cursor: pointer;
                    user-select: none;
                    padding: 4px 8px;
                    font-size: 11px;
                    -webkit-transition: all 0.2s linear 0s;
                    -moz-transition: all 0.2s linear 0s;
                    -ms-transition: all 0.2s linear 0s;
                    -o-transition: all 0.2s linear 0s;
                    transition: all 0.2s linear 0s;
                    i {
                        margin-right: 5px;
                    }
                    &:hover {
                        background: rgb(239, 241, 244);
                    }
                }
            }
            .affiliate-parent-item-container {
                position: relative;
                width: 100%;
                &.qubley-action-mouse-on-item {
                    border-radius: 3px;
                    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 3px 1px #027af2c7, 0 0 0 0.5px rgba(255, 255, 255, 0.5);
                }
            }
            .affiliate-action-item{
                z-index: 1;
                width: 100%;
                background-color: #f5f7fd;
                border: 1px solid #d8dde3;
                &.affiliate-action-context-menu-active {
                    z-index: 2;
                }
                .affiliate-action-item-inner {
                    .affiliate-action-pointer-range {
                        transform: translate(-102%, -50%);
                        top: 50%;
                        display: flex;
                        z-index: 1;
                        flex-direction: row-reverse;
                        height: 24px;
                        position: absolute;
                        user-select: none;
                        cursor: default;
                        color: rgb(166, 166, 166);
                        .affiliate-connect-line{
                            height: 1px;
                            width: 4px;
                            display: inline-block;
                            flex-grow: 1;
                            background: rgb(64, 64, 64);
                            position: relative;
                            top: 50%;
                            transform: translateY(-50%);
                            visibility: hidden;
                          }
                          .affiliate-point-bullet {
                            width: 7px;
                            height: 7px;
                            border-radius: 50%;
                            background: #E6E9ED;
                            border: 1px solid #E6E9ED;
                            display: inline-block;
                            position: relative;
                            top: 50%;
                            transform: translateY(-50%);
                            -webkit-touch-callout: none;
                            -webkit-user-select: none;
                            -khtml-user-select: none;
                            -moz-user-select: none;
                                -ms-user-select: none;
                                    user-select: none;
                          }
                          .affiliate-point-range {
                            display: flex;
                            float: right;
                            text-align: right;
                            position: relative;
                            justify-content: center;
                            align-items: center;
                            padding-right: 4px;
                            top: 50%;
                            transform: translateY(-50%);
                            font-size: 11px;
                            -webkit-touch-callout: none;
                            -webkit-user-select: none;
                            -khtml-user-select: none;
                            -moz-user-select: none;
                                -ms-user-select: none;
                                    user-select: none;
                          }
                      }
                      .affiliate-action-property{
                        cursor: default;
                        position: relative;
                        height: 22px;
                        font-size: 12px;
                        display: flex;
                        align-items: center;
                        outline: none;
                        color: #949494;
                        text-transform: capitalize;
                        overflow: hidden;
                        padding: 0 4px;
                        -webkit-touch-callout: none;
                            -webkit-user-select: none;
                            -khtml-user-select: none;
                            -moz-user-select: none;
                                -ms-user-select: none;
                                    user-select: none;
                      }
                  }
                &.affiliate-action-active {
                    .affiliate-action-item-inner{
                        .affiliate-action-pointer-range{
                            .affiliate-point-bullet{
                                background: #027af2;
                                border-color: #027af2;
                                -webkit-touch-callout: none;
                                -webkit-user-select: none;
                                -khtml-user-select: none;
                                -moz-user-select: none;
                                    -ms-user-select: none;
                                        user-select: none;
                              }
                              .affiliate-point-range {
                                color: #027af2;
                                -webkit-touch-callout: none;
                                    -webkit-user-select: none;
                                    -khtml-user-select: none;
                                    -moz-user-select: none;
                                        -ms-user-select: none;
                                            user-select: none;
                              }
                        }
                    }
                }

                &.affiliate-action-empty-box{
                    -webkit-box-shadow: none;
                    -moz-box-shadow: none;
                    box-shadow: none;
                    .affiliate-action-item-inner {
                        -webkit-box-shadow: none;
                        -moz-box-shadow: none;
                        box-shadow: none;
                        .affiliate-action-property {
                            visibility: hidden;
                        }
                    }
                }
                &.affiliate-action-active {
                    background: #027af2;
                    border-color: #027af2;
                    &.affiliate-action-similar {
                        background: #027af2;
                        border-color: #027af2;
                    }
                    .affiliate-action-item-inner {
                        .affiliate-action-property {
                            color: #ffffff;
                            -webkit-touch-callout: none;
                            -webkit-user-select: none;
                            -khtml-user-select: none;
                            -moz-user-select: none;
                                -ms-user-select: none;
                                    user-select: none;
                        }
                    }
                }
                &.affiliate-action-similar {
                    background: #e6f2ff;
                    border-color: #d4e1f1;
                }
                &:last-child {
                    border-bottom-left-radius: 3px;
                    border-bottom-right-radius: 3px;
                }
                &:first-child {
                    border-top-left-radius: 3px;
                    border-top-right-radius: 3px;
                }
                &:nth-child(n+2){
                    border-top: none;
                }
              }
          }
      }
      .affiliate-animation-trigger-header {
        position: relative;
        display: flex;
        justify-content: space-between;
        margin: 5px -16px 0 -16px;
        border-bottom: 1px solid #e8e8e8;
        border-top: 1px solid #e8e8e8;
        padding: 7px 16px;
        background: #FFFFFF;
        // box-shadow: 0 2px 2px 0 rgba(109,120,131,0.10);
        z-index: 1;
        .affiliate-add-animation-action-btn {
            cursor: pointer;
            color: #0077f6;
            font-size: 17px;
            border: 1px solid #0077f6;
            border-radius: 2px;
            -webkit-transition: all 0.2s ease 0s;
            -moz-transition: all 0.2s ease 0s;
            -ms-transition: all 0.2s ease 0s;
            -o-transition: all 0.2s ease 0s;
            transition: all 0.2s ease 0s;
            line-height: 18px;
            height: 18px;
            width: 18px;
            &:hover {
                color: #000;
              }
          }
      }

      .affiliate-animation-controller-view {
        max-height: 400px;
        display: flex;
        flex-direction: column;
        flex: 0 0 auto;
        .affiliate-animation-controller-header {
            position: relative;
            padding: 7px 14px;
            border-top: 1px solid #e8e8e8;
            border-bottom: 1px solid #e8e8e8;
            background: #ffffff;
            margin: 5px -16px 15px -16px;
            label {
                margin:0;
                position: relative;
            }
            .affiliate-live-animation-btn {
                position: absolute;
                right: 10px;
                top: 5px;
                cursor: pointer;
              }
        }
      }
      .affiliate-timeline-pointer-hr-line {
        position: absolute;
        display:flex;
        align-items: center;
        flex-direction: row;
        height: 2px;
        width: calc(100% + 29px);
        left:-30px;
        z-index: 8;
        .affiliate-action-item-pointer {
            width: 25px;
            color: #999999;
            font-size: 11px;
            text-align: center;
            z-index: 10;
        }
        .affiliate-action-item-pointer-icon {
            width: 10px;
            color: #0080FE;
            font-size: 18px;
            font-weight: bold;
            margin-top: -5px;
            margin-right: 3px;
        }
        .affiliate-action-item-line-hr-container {
            flex: 1;
            height: 2px;
            background: #0080FE;
        }
    }
    .affiliate-animation-action-option-box {
        position: absolute;
        width: 120px;
        background: #ffffff;
        padding: 5px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        box-shadow: rgba(0, 0, 0, 0.15) 0 2px 8px 1px;
        transform: translateY(15%);
        right: 40px;
        z-index: 10;
        .affiliate-animation-action-option-lists {
            position: relative;
            width: 100%;
            .affiliate-animation-action-option-item {
                display: block;
                padding: 2px 4px;
                cursor: pointer;
                text-transform: capitalize;
                font-size: 12px;
                -webkit-transition: all 0.2s linear 0s;
                -moz-transition: all 0.2s linear 0s;
                -ms-transition: all 0.2s linear 0s;
                -o-transition: all 0.2s linear 0s;
                transition: all 0.2s linear 0s;
                &:last-child {
                    border-bottom: none;
                }
                &:hover {
                    color: #017bf2;
                  }
              }
          }
    }
  }

  .affiliate-action-drag-mask {
    cursor: default;
    position: absolute;
    background-color: #1d8af7eb;
    height: 28px;
    font-size: 14px;
    display: flex;
    align-items: center;
    outline: none;
    color: #ffffff;
    text-transform: capitalize;
    width: 100%;
    top: 10px;
    transform: scale(.8);
    border-radius: 2px;
    z-index: 99;
    padding: 10px;
    font-weight: bold;
    .affiliate-action-mask-peroperty {
        display: flex;
        justify-content: flex-start;
        span{
            &:last-child {
                flex: 1;
                padding-left: 10px;
            }
        }
      }
  }

  .affiliate-animation-timeline-placeholder {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: row;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    .affiliate-animation-timeline-placeholder-text {
        width: 80%;
        i {
            color: #0080FE;
            font-size: 3em;
          }
          .affiliate-timeline-placeholder-title {
            margin: 0;
            padding: 5px 0;
            font-size: 15px;
            color: #666666;
          }
          .affiliate-timeline-tutorial-button {
            display: inline-block;
            padding: 4px 12px;
            border: 1px solid #0080FE;
            color: #0080FE;
            text-decoration: none;
            -webkit-border-radius: 2px;
            -moz-border-radius: 2px;
            border-radius: 2px;
            font-size: 12px;
            text-align: center;
            font-weight: 500;
            margin-top: 15px;
            i {
                font-size: 13px;
                vertical-align: middle;
                margin-right: 5px;
              }
          }
          p {
            font-size: 12px;
            color: #4A4A4A;
          }
      }
      
  }

  .affiliate-animation-flexible-area .affiliate-action-item + .affiliate-action-item .affiliate-action-item-inner .affiliate-action-pointer-range {
    display: none;
  }

  .affiliate-animation-flexible-area .affiliate-action-item.affiliate-action-empty-box, .affiliate-animation-flexible-area .affiliate-action-item.affiliate-action-empty-box .affiliate-action-item-inner {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }
  .affiliate-animation-flexible-area .affiliate-action-item.affiliate-action-empty-box, .affiliate-animation-flexible-area .affiliate-action-item.affiliate-action-empty-box .affiliate-action-item-inner .affiliate-action-property{
      visibility: hidden;
  }

  .affiliate-animation-controller-body {
    position: relative;
    min-height: 150px;
      .affiliate-animation-controller-fields {
          .affiliate-animation-control-keyframe {

          }
          .affiliate-animation-control-property-fields {
            text-transform: capitalize;
                .affiliate-field {
                    display: flex;
                    align-items: center;
                    .affiliate-mb-10 {
                        margin-bottom: 0;
                        padding-right: 10px;
                    }
                    .affiliate-field-child {
                        flex: 1;
                    }
                }
          }
          .affiliate-animation-control-property-title {
              border-top: 1px solid #dfdfdf;
              border-bottom: 1px solid #dfdfdf;
              color: #222222;
              padding: 5px 0;
              margin-top: 15px;
              margin-bottom: 15px;
          }
      }
  }

  @-webkit-keyframes sonarEffect {
    0% {
        opacity: 0.3;
    }
    40% {
        opacity: 0.5;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 5px 5px #3851bc, 0 0 0 5px rgba(255, 255, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 5px 5px #3851bc, 0 0 0 5px rgba(255, 255, 255, 0.5);
        -webkit-transform: scale(1.2);
        opacity: 0;
    }
}
.qubley-interaction-transform-origin {
    margin-bottom: 15px;
    .qubley-interaction-transform-origin-label {
        flex: 1;
        margin-bottom: 15px;
    }
}
  .qubley-tranform-origin-wrapper {
      position: relative;
      display: flex;
      align-items: center;
        label {
            flex: 1;
        }
        .qubley-transform-origin-controller {
            width: 100px;
            height: 100px;
            border: 1px solid #dfdfdf;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
                .qubley-transform-origin-inner-controller {
                    display: inline-block;
                    justify-content: center;
                    align-items: center;
                    position: relative;
                    height: 80px;
                    width: 80px;
                        .qubley-pointer {
                            position: absolute;
                            height: 12px;
                            width: 12px;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            border-radius: 50%;
                            // border: 1px solid #666;
                            cursor: pointer;
                            &:after {
                                transition: all .3s linear 0s;
                                position: absolute;
                                content: '';
                                border: 2px solid transparent;
                                height: 12px;
                                width: 12px;
                                border-radius: 50%;
                                display: inline-block;
                                background: transparent;
                                transform: scale(0.9);
                                z-index: -1;
                                box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
                            }
                            &:hover {
                                background: rgba(182, 182, 182, 0.5);
                                &:after {
                                    background: rgba(255, 255, 255, 0.05);
                                    animation: sonarEffect 1s ease-out 55ms;
                                }
                            }
                            
                            .qubley-pointer-inner {
                                display: inline-block;
                                background: #a5a5a5;
                                border-radius: 50%;
                                height: 4px;
                                width: 4px;
                            }
                            &.qubley-active-pointer {
                                background: rgba(218, 218, 218, 0.5);
                                .qubley-pointer-inner {
                                    background: #ff6060;
                                }
                            }
                            &.qubley-top-left {
                                left: 0;
                                top: 0;
                            }
                            &.qubley-top-center {
                                left: 46%;
                                top: 0;
                            }
                            &.qubley-top-right {
                                left: 86%;
                                top: 0;
                            }
                            &.qubley-right-center {
                                left: 86%;
                                top: 46%;
                            }
                            &.qubley-bottom-right {
                                left: 86%;
                                top: 86%;
                            }
                            &.qubley-bottom-left {
                                left: 0;
                                top: 86%;
                            }
                            &.qubley-bottom-center {
                                left: 46%;
                                top: 86%;
                            }
                            &.qubley-left-center {
                                left: 0;
                                top: 46%;
                            }
                            &.qubley-center-center {
                                left: 46%;
                                top: 46%;
                            }
                        }
                }
        }
  }