

.nav-tabs-alt-custom { 
    flex-wrap: nowrap;
    .nav-link {
        padding: 12px 16px;
        line-height: 1;
        font-size: 15px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: left;
        border: none;
        font-weight: 400;

        &.active {
            border: none;
        }

        @include media-breakpoint-down(xxl) {
            padding: 20px 8px;
            font-size: 16px;
        }
        @include media-breakpoint-down(xl) {
            font-size: 15px;
        }
     

        .nav-tabs-alt-border {
            display: inline-block;
            padding-bottom: 2px;
            //white-space: nowrap;
            border-bottom: 2px solid transparent;
            hyphens: none;
        }
        
        &:hover,
        &:focus {
            //box-shadow: none;
        }
    }

    .nav-item {
        margin-bottom: 0;
        position: relative;
        @include media-breakpoint-up(lg){
            &:not(:last-child):after {
                content: "";
                position: absolute;
                width: 2px;
                height: 100%;
                top: 0;
                right: 0;
                background: transparent linear-gradient(180deg, #F2F3F4 0%, #FFFFFF 100%) 0% 0% no-repeat padding-box;
            }
        }
    }
    .nav-link.active, 
    .nav-item.show .nav-link {
        opacity: 1;
        color: $primary;
        font-weight: 600;

        .nav-tabs-alt-border {
            border-bottom: 2px solid $primary;
        }
    } 
}

//editor interface tab

.editor-interface {
    &__tab__desktop {
        box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.10);
        position: relative;
        align-items: center;
        
        @include media-breakpoint-down(lg) {
            .nav-link {
                display: none;
                &.active {
                    display: flex;
                }

            }
        }

        .nav-link.active, .nav-item.show .nav-link {
            border: none;
            background-color: $primary;
            color: $white;
        }


        .nav-link {
            display: flex;
            //flex-direction: column;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 400;
        }

        .nav-item, .nav-link {
            width: 100%;
        }

        & + .tab-content {
            min-width: 320px;

            &.largewidth {
                width: 630px;
            }
        }

    }
    &__tab__mobile {
        position: fixed;
        bottom: 0px;
        background-color: $white;
        z-index: 3;
        display: flex;
        left: 14px;
        width: calc(100% - 28px);
        
        .nav-link {
            padding: 10px 15px;
            flex-direction: column;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #9D9E9F !important;
            width: 100%;
            height: 100%;
            margin: 0;
            hyphens: none;


            span {
                @media (max-width: 414px) {
                    &:nth-child(1) {
                        font-size: 10px !important;
                    }
                    &:nth-child(2) {
                        font-size: 10px !important;
                    }
                }
            }

            
        }
            
        &.selected {
            .nav-link.active {
                color: $primary !important;
                background-image: linear-gradient(0deg, #E7E6EF 0%, #E7E6EF00 40%, #E7E6EF00 100%);
                font-weight: 600;
            }
        }
           


        .nav-item {
            width: 25%;
            position: relative;
            &:not(:last-child):after {
                content: "";
                position: absolute;
                width: 2px;
                height: 100%;
                top: 0;
                right: 0;
                background-image:  linear-gradient(180deg, #F2F3F4 0%, #FFFFFF 100%);
            }
        }
    }
    &__tab__icon {
        width: 24px;
        height: 24px;
        background-color: $body-bg;
        border-radius: 100%;
        display: inline-flex;
        margin-bottom: 5px;
        align-items: center;
        justify-content: center;

        @include media-breakpoint-up(sm) {
            width: 36px;
            height: 36px;
        }
    }
}


///layers
/// 
.layerblock {

    &.sortable-chosen {
        background-color: rgba($color: $primary, $alpha: 0.6);
        color: $white;
    }
}

    
.canvas-inside-layers {
    background: #ffffff;
    border-radius: 10px;
    &::-webkit-scrollbar-track{
        border-radius: 0px 11px 11px 0px;
    }
    &::-webkit-scrollbar{
        border-radius:11px;
    }
    &::-webkit-scrollbar-thumb{
        border-radius:11px;
    }
    .layerblock{
        margin: 10px;
        background: #f8f8f9;
        &.sortable-chosen {
            background-color: rgba($color: $primary, $alpha: 0.6);
            color: $white;
            .layernum {
                background-color: $primary;
            }
        }
        .layernum{
            left: -8px;
            top: 50%;
            font-size: 12px;
            width: 20px;
            height: 20px;
        }
        .font-small{
            font-size: 10px;
            line-height: initial;
            font-weight: 500;
            .layertext{
                font-size: 12px;
            }
            > span{
                text-overflow: ellipsis;
                white-space: nowrap;
                width: 80px;
                display: block;
                overflow: hidden;
            }
        }
    } 
}