/* Sortable Content */
.sortable-header {
    border: solid #c0c6c9;
    border-width: 1px;
    background-color: #dcdddd;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    -moz-border-radius: 5px 5px 0 0;
}

#itemlist {
    width: 200px;
}    

#root {
    min-height: 250px;
    padding: 15px;
    border: solid #c0c6c9;
    border-width: 0 1px 1px;
    background-color: #f3f3f3;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    -moz-border-radius: 0 0 5px 5px;
}

.sortable-item,
.add-form {
    position: relative;
    border: 1px solid #adadad;
    border-top-color: #cfd0d0;
    border-left-color: #cfd0d0;
    background-color: #fff;
}
.sortable-item:after,
.add-form:after {
    content:'';
    display:block;
    clear:both;
}
.sortable-item {
   padding: 10px;
}
.sortable-item .item-label, 
.sortable-item .item-basename, 
.sortable-item .with,
.sortable-item .item-ctrl, 
.sortable-item .count, 
.sortable-item .with {
    float: left;
    height: 22px;
    line-height: 22px;
}
.sortable-item .item-label, 
.sortable-item .item-basename {
    margin: 0 5px 0 30px;
}
.sortable-item .item-basename {
    margin-left: 3px;
}
.sortable-item .item-label, 
.sortable-item .item-label a, 
.sortable-item .item-basename-text {
    display: inline-block;
    max-width: 18em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
}
.sortable-item .item-basename-text::before {
    content: "\0028";
}
.sortable-item .item-basename-text::after {
    content: "\0029";
}
.sortable-item .item-ctrl {
    display: none;
    margin-left: 10px;
}
.sortable-item.on .item-ctrl {
    display: inline-block;
}
.sortable-item .count {
    float: right;
}
.sortable-item .with {
    padding: 0 5px;
    background-color: #7b7c7d;
    color: #f3f3f3;
    border-radius: 3px;
}
.edit-form .text {
    margin-right: 5px;
}
#root .ui-state-highlight {
    position: relative;
    z-index: 100;
    height: 35px;
    margin: 5px -10px;
    border-top: 2px solid #adadad;
}

/* - Sort Handle */
.sort-tab {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 35px;
    height: 100%;
    background: transparent url(../images/sort_handle.png) center no-repeat;
    cursor: move ! important;
}

/* - Target Marker */
#root .target {
    position: relative;
    display: inline-block;
    height: 100%;
}
#root .marker {
    position: absolute;
    top: -7px;
    right: -20px;
    width: 20px;
    height: 10px;
    background: transparent url(../images/arrow-target-mark.png) center bottom no-repeat;
}
