/*Div Selector*/
.bc-div-cursor-test {
    display: none;
    position: absolute;
    z-index: 99999;
    top: 50%;
    left: 50%;

    font-size: 14px;

    border-radius: 12.5px;
    margin: 0 0 20px 20px;
    padding: 3px 7px;

    backface-visibility: hidden;
    transition: width .2s;
}
/*Animator*/
.bc-animator{
    position: fixed;
    left: calc(50% - 1081px/2);
    bottom: 10px;
    z-index: 99999;

    display: flex;
    flex-direction: column;
    row-gap: 8px;

    width: 1081px; /*width del animator*/
    max-width: 100%;

    height: 500px; /*height del animator*/
    max-height: 100svh;

    padding: 8px;
    border-radius: 17px;

    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}
.bc-animator--hide{
    display: none;
}
@media screen and (max-width: 750px) {
    .bc-animator{
        display: none;
    }
}

/*Inputs*/
.bc-animator__inputs{
    width: fit-content;
    padding: 25px 7%;
    padding-bottom: 35px;

    border-radius: 12.5px;

    display: flex;
    flex-direction: row;
    column-gap: 10%;

    width: 80%;
}
.bc-animator__input-title{
    width: 135px;
    padding-bottom: 2px;

    font-family: -apple-system,"system-ui",Segoe UI,roboto,helvetica,arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    font-size: 16px;
}
.bc-animator__inputs--hide{
    display: none;
}
.bc-animator__inputs a{
    text-decoration: none;
    font-weight: 500;
}
.bc-animator__col{
    width: fit-content;

    display: flex;
    flex-direction: column;
    row-gap: 15px;
    overflow: auto;

    padding-right: 10px;

    width: 100%;
}
.bc-animator__col--animation{
    padding-right: 10px;
}
.bc-animator__col-bigger{
    width: fit-content;

    display: flex;
    flex-direction: column;
    row-gap: 15px;

    width: 150%;
}
.bc-animator__agroup{
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: row;
    column-gap: 10px; 

    width: 100%;
}
.bc-animator__agroup-mini{
    display: flex;
    justify-content: center;
    align-items: center;
}
.bc-animator__title{
    font-size: 14px;
    font-family: -apple-system,"system-ui",Segoe UI,roboto,helvetica,arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
}
.bc-animator__tippy{
    cursor: default;

    font-size: 10px;
    font-weight: 400;
    font-family: -apple-system,"system-ui",Segoe UI,roboto,helvetica,arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    line-height: 0;

    padding: 0 5px;
    border-radius: 3px;
}
.bc-animator__col-bigger .bc-animator__agroup{
    width: 50%;
}
.bc-animator__input {
    all: unset !important;
    transition: border 0.3s !important;

    font-family: -apple-system,"system-ui",Segoe UI,roboto,helvetica,arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol !important;
    font-size: 16px !important;

    border-radius: 12.5px !important;

    width: 100% !important;

    padding: 8px !important;
    padding-right: 35px !important;

    line-height: 1.3 !important;
}
.bc-animator__select {
    font-family: -apple-system,"system-ui",Segoe UI,roboto,helvetica,arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    font-size: 16px;

    border-radius: 12.5px;

    width: 100%;

    padding: 8px;
}
.bc-animator__select {
    outline: none;
    border: 0;
}
.bc-animator__timeline-control{
    cursor: pointer;

    width: 15px;
    height: 15px;
    border-radius: 3px;

    background-repeat: no-repeat;
    background-size: cover;
}
.bc-animator__timeline{
    border-radius: 12.5px;

    width: 100%;
    height: 37px;
    margin-top: 15px;
    margin-bottom: 10px;
    padding: 0 10px;

    position: relative;
}
.bc-animator__timeline-liner{
    cursor: col-resize;

    position: absolute;
    top: -5px;

    width: 4px;
    height: calc(100% + 10px);
    border-radius: 100px;
}
.bc-animator__duration-wrapper{
    display: flex;
    justify-content: space-between;

    width: 100%;
}
.bc-animator__duration-span{
    font-family: -apple-system,"system-ui",Segoe UI,roboto,helvetica,arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    font-size: 16px;
}

/*Inputs Selector*/
.bc-animator__selector{
    cursor: pointer;

    position: absolute;
    top: 7px;
    right: 8px;

    border-radius: 5px;
    width: 25px;
    height: 25px;

    background-repeat: no-repeat;
    background-size: 60%;
    background-position: 70% 80%;
}


/*Selects*/
.bc-animator__select-options{
    cursor: pointer;

    position: absolute;
    top: 9px;
    right: 11px;

    width: 20px;
    height: 20px;

    border-radius: 8px;

    background-repeat: no-repeat;
    background-size: cover; 

    transition: background .3s;
}
.bc-animator__ul-select{
    all: unset;

    pointer-events: none;
    position: absolute;
    z-index: 1;
    top: 32px;
    right: 0;

    height: 0;
    opacity: 0;
    transition: opacity .2s;

    list-style: none;
    border-radius: 10px;

    font-family: -apple-system,"system-ui",Segoe UI,roboto,helvetica,arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    font-size: 14px;

    max-height: 125px;
    overflow: auto;
}
.bc-animator__ul-select::-webkit-scrollbar {
    width: 0px;
}
.bc-animator__ul-select::-webkit-scrollbar-thumb {
    width: 0px;
}
.bc-animator__ul-select li{
    cursor: pointer;

    padding: 3px 15px;
    transition: background .3s;
}
.bc-animator__ul-select li:first-child{
    border-radius: 10px 10px 0 0;
}
.bc-animator__ul-select li:last-child{
    border-radius: 0 0 10px 10px;
}

/*Timelines*/
.bc-animator__cols{
    display: flex;
    flex-direction: row;
    column-gap: 8px;
    height: 70%;
}
.bc-animator__timelines-wrapper{
    position: relative;
    width: calc(20% - 8px);
}
.bc-animator__timelines{
    position: absolute;

    overflow: auto;

    display: flex;
    flex-direction: column;
    row-gap: 10px;

    padding: 15px;
    padding-right: 10px;
    border-radius: 12.5px;

    width: 100%;
    height: 100%;
}
.bc-animator__timelines::-webkit-scrollbar,
.bc-animator__col::-webkit-scrollbar {
    width: 14px;
}
.bc-animator__timelines::-webkit-scrollbar-thumb,
.bc-animator__col::-webkit-scrollbar-thumb {
    background-clip: padding-box;
    border-radius: 9999px;
}
.bc-animator__timelines-title{
    font-size: 16px;
    font-family: -apple-system,"system-ui",Segoe UI,roboto,helvetica,arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
}
.bc-animator__timeline-agroup{
    display: flex;
    position: relative;
    cursor: pointer;
}
.bc-animator__timeline-input {
    all: unset !important;
    transition: border 0.3s !important;
    caret-color: transparent !important;

    font-family: -apple-system,"system-ui",Segoe UI,roboto,helvetica,arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol !important;
    font-size: 16px !important;

    background: transparent !important;
    border-radius: 12.5px !important;

    width: 100% !important;

    padding-left: 8px !important;
    padding-right: 40px !important;
    padding-top: 7px !important;
    padding-bottom: 9px !important;

    line-height: 1 !important;
}
.bc-animator__timeline-removal{
    transition: background-color 0.3s;
    cursor: pointer;
    position: absolute;
    top: 6px;
    right: 7px;

    width: 27px;
    height: 27px;

    border-radius: 8px;

    background-repeat: no-repeat;
    background-size: 55%;
    background-position: 50%;
}
.bc-animator__add-timeline-wrapper{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.bc-animator__add-timeline{
    cursor: pointer;
    width: 22px;
    height: 22px;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

/*Save-Play-Markers*/
.bc-animator__bottom-wrapper{
    display: flex;
    flex-direction: column;
    gap: 8px;

    height: 100%;
    max-height: calc(30% - 8px);
}
.bc-animator__save-play-wrapper{
    width: 100%;
    height: fit-content;
    padding: 0 8px;

    display: flex;
    justify-content: space-between;
}
.bc-animator__play-wrapper{
    height: 100%;
    width: fit-content;
    border-radius: 10px;
    padding: 5px;

    display: flex;
    justify-content: center;
    align-items: stretch;

    column-gap: 5px;
}
.bc-animator__replay{
    cursor: pointer;
    border-radius: 6px;

    width: 25px;
    height: 25px;

    background-repeat: no-repeat;
    background-size: 60%;
    background-position: center;
}
.bc-animator__play{
    cursor: pointer;
    border-radius: 6px;

    width: 25px;
    height: 25px;

    background-repeat: no-repeat;
    background-size: 60%;
    background-position: center;
}
.bc-animator__time{
    border-radius: 6px;

    padding: 0 10px;
    padding-bottom: 2px;

    font-family: -apple-system,"system-ui",Segoe UI,roboto,helvetica,arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    font-size: 16px;
    line-height: 1;
    font-weight: 500;

    display: flex;
    align-items: center;
}
.bc-animator__save{
    cursor: pointer;
    border-radius: 10px;

    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 5px;
    padding: 8px 15px;

    width: fit-content;
}
.bc-animator__save-span{
    font-family: -apple-system,"system-ui",Segoe UI,roboto,helvetica,arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
}
.bc-animator__save-icon{
    width: 18px;
    height: 18px;

    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
}
.bc-animator__play-markers-wrapper{
    display: flex;
    column-gap: 8px;
    flex-direction: row-reverse;
    align-items: center;
}
.bc-animator__group-markers{
    display: flex;
    column-gap: 8px;
    flex-direction: row;
    align-items: center;

    border-radius: 10px;
    padding: 0 8px;
}
.bc-animator__checkboxes-title{
    font-family: -apple-system,"system-ui",Segoe UI,roboto,helvetica,arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    font-size: 16px;
    line-height: 1.3;
}
.bc-animator__checkbox{
    height: 0;
    width: 0;
    visibility: hidden;
    position: absolute;
}
.bc-animator__checkbox-wrapper{
    display: flex;
    align-items: center;
    height: 37px;
}
.bc-animator__switch {
    cursor: pointer;
    text-indent: -9999px;
    width: 35px;
    height: 21px;
    display: block;
    border-radius: 100px;
    position: relative;
    margin-bottom: 0 !important;
}
.bc-animator__switch:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 17px;
    height: 17px;
    border-radius: 90px;
    transition: 0.2s;
}
.bc-animator__checkbox:checked + .bc-animator__switch:after {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

/*Timeline View*/
.bc-animator__timeline-view-wrapper-wrapper{
    position: relative;

    height: 100%;

    overflow: auto;
    overflow-x: hidden;

    border-radius: 12.5px;
}
.bc-animator__timeline-view-wrapper-wrapper::-webkit-scrollbar {
    width: 14px;
}
.bc-animator__timeline-view-wrapper-wrapper::-webkit-scrollbar-thumb {
    background-clip: padding-box;
    border-radius: 9999px;
}
.bc-animator__timeline-view-wrapper{
    position: relative;

    border-radius: 12.5px;
    padding: 5px;
    
    width: 100%;
    min-height: 100%;
    height: fit-content;

    display: flex;
    flex-direction: column;
    gap: 2px;
}
.bc-animator__timeline-view{
    border-radius: 10px;

    width: 100%;
    height: fit-content;
    padding: 5px;
}
.bc-animator__timeline-clone{
    border-radius: 7px;
    width: 50px;
    min-height: 20px;
}
.bc-animator__timeline-line{
    position: absolute;
    top: 0;
    left: 10px;

    width: 2px;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
}

/*Resizable*/
.bc-animator__resizable{
    cursor: nesw-resize;
    position: absolute;
    top: 4px;
    right: 8px;

    width: 15px;
    height: 15px;

    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
}

/*Draggable*/
.bc-animator__draggable{
    cursor: all-scroll;
    position: absolute;
    top: 10%;

    width: 10px;
    height: 80%;

    transition: left .3s, right .3s, width .3s, background-size .3s;

    background-repeat: no-repeat;
    background-size: 0%;
    background-position: center;
}
.bc-animator__draggable:hover{
    width: 50px;

    background-size: 30%;
}
.bc-animator__draggable--left{
    left: -10px;

    border-radius: 10px 0 0 10px;
}
.bc-animator__draggable--left:hover{
    left: -50px;
}
.bc-animator__draggable--right{
    right: -10px;

    border-radius: 0 10px 10px 0;
}
.bc-animator__draggable--right:hover{
    right: -50px;
}

/*Tippys*/
.bc-animator .tippy-box[data-theme="custom"] {
    font-family: -apple-system,"system-ui",Segoe UI,roboto,helvetica,arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    font-size: 14px;

    text-align: center;
}

.bc-animator .tippy-box[data-theme="custom"] .tippy-arrow{
    transform: scale(0.75);
}

/*Outline selector*/
.custom-outline{
    transition: outline 0.3s;
}