﻿ul.sortable
{
    /*width: 310px;*/
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-left: 0;
    padding-left: 0;
    /*margin: 5px 0;*/
}

.sortable.grid
{
    overflow: hidden;
}

.sortable ul
{
    padding-top: 5px;
}

.sortable li
{
    list-style: none;
    color: #1C94C4;
    padding-bottom: 0;
    cursor: pointer;
}



    .sortable li .channel-block
    {
        border: 1px solid #CCC;
    }


    .sortable li .edit
    {
        margin-left: 10px;
        width: 16px;
        height: 16px;
        display: inline-block;
    }

    .sortable li .edit-start
    {
        background: url("/Images/Data-Edit-small.png");
    }

    .sortable li .edit-end
    {
        background: url("/Images/Check.png");
        top: 5px;
        position: relative;
    }

.childList.heirarchy li
{
    padding-left: 25px;
}


.childList.heirarchy .channel-tree-icon
{
    padding-left: 28px;
    width: 22px;
}

.childList.heirarchy li.no-children .channel-tree-icon
{
    padding-left: 37px;
}

.childList.heirarchy li:not(:last-child) > .channel-block > .channel-tree-icon
{
    background: url('/Images/top.png') no-repeat;
    margin-left: -24px;
}

.childList.heirarchy li:not(:last-child)
{
    background: url('/Images/straight.png') repeat-y;
    padding-bottom: 1px;
    margin-bottom: -1px;
}

.childList.heirarchy li.collapsed{
    padding-bottom: 5px;
}

.childList.heirarchy li:last-child > .channel-block > .channel-tree-icon
{
    background: url('/Images/bottom.png') no-repeat;
    margin-left: -25px;
}

#channelList >li>.channel-block {
    padding-left: 10px;
}

.sortable.heirarchy li >.channel-block > .toggle
{
    display: inline-block;
    padding-left: 10px;
    width: 8px;
    height: 8px;
    cursor: pointer;
}

.sortable.heirarchy li.no-children >.channel-block > .toggle {
    display: none;
}

.sortable.heirarchy li .collapse
{
    background: url("/Images/expanded.png") no-repeat;
}

.sortable.heirarchy li .expand
{
    background: url("/Images/collapsed.png") no-repeat;
}

.handle
{
    cursor: move;
}

.sortable.connected
{
    width: 200px;
    min-height: 100px;
    float: left;
}

li.disabled
{
    opacity: 0.5;
}

li.highlight
{
    background: #FEE25F;
}


body.dragging, body.dragging *
{
    cursor: move !important;
}

.dragged
{
    position: absolute;
    opacity: 0.5;
    z-index: 2000;
}

ul.sortable li.placeholder
{
    position: relative;
    width: 100px;
    border: 1px dashed #333;
    height: 22px;
    background: none;
    /** More li styles **/
}

    ul.sortable li.placeholder:before
    {
        position: absolute;
        /** Define arrowhead **/
    }
