.dd {
    position: relative;
    display: block;
    margin: 0;
    padding: 0 10px;
    list-style: none;
    font-size: 13px;
    line-height: 20px;
    background: #fff url('/bundles/core/images/cms/treelist_table_bg.png');
    border-bottom: 2px solid #cccccc;
}

.dd-list {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none; }

.dd-list .dd-list {
    padding-left: 30px; }

.dd-collapsed .dd-list {
    display: none; }

.dd-item,
.dd-empty,
.dd-placeholder {
    overflow: hidden;
    display: block;
    position: relative;
    margin: 1px 0 0 0;
    padding: 0;
    min-height: 37px;
    font-size: 13px;
    line-height: 37px;
}

.dd-handle {
    height: 37px;
    color: #333333;
    display: block;
    margin: 5px 0;
    padding: 10px 15px 5px;
    text-decoration: none;
    font-weight: bold;
    background: #fafafa;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.dd-handle:hover {
    color: #0e76bc;
    /*background: #ffffff;*/
}

.dd-item > button {
    width: 30px;
    height: 37px;
    display: block;
    cursor: pointer;
    float: left;
    margin: 0 0 0 30px;
    padding: 0;
    border: 0;
    background: #ffffff;
    font-size: 16px;
    line-height: 37px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
}

.dd-item > button:hover {
    /*background-color: #dddddd;*/
    color: #0e76bc;
}

.dd-placeholder,
.dd-empty {
    min-height: 34px;
    margin-top: 1px;
    padding: 0;
    background: #f2fbff;
    border: 1px dashed #b6bcbf;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.dd-empty {
    border: 1px dashed #bbbbbb;
    min-height: 100px;
    background-color: #e5e5e5;
}

.dd-dragel {
    position: absolute;
    pointer-events: none;
    z-index: 9999; }

.dd-dragel > .dd-item .dd-handle {
    margin-top: 0; }

.dd-dragel .dd-handle {
    -webkit-box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, .1);
    box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, .1);
}

.nestable-lists {
    display: block;
    clear: both;
    padding: 30px 0;
    width: 100%;
    border: 0;
    border-top: 2px solid #dddddd;
    border-bottom: 2px solid #dddddd;
}

#nestable-menu {
    padding: 0;
    margin: 20px 0; }

#nestable-output,
#nestable2-output {
    width: 100%;
    height: 7em;
    font-size: 0.75em;
    line-height: 1.333333em;
    font-family: Consolas, monospace;
    padding: 5px;
    box-sizing: border-box;
    -moz-box-sizing: border-box; }

#nestable2 .dd-handle {
    color: #ffffff;
    border: 1px solid #999999;
    background: #bbbbbb;
    background: -webkit-linear-gradient(top, #bbbbbb 0%, #999999 100%);
    background: -moz-linear-gradient(top, #bbbbbb 0%, #999999 100%);
    background: linear-gradient(top, #bbbbbb 0%, #999999 100%);
}

#nestable2 .dd-handle:hover { background: #bbbbbb; }

#nestable2 .dd-item > button:before { color: #ffffff; }

@media only screen and (min-width: 700px) {
    .dd { float: left; width: 100%; }
    .dd + .dd { margin-left: 2%; }
}

.dd-hover > .dd-handle { background: #2ea8e5 }

.dd3-content:not(.dd-header) {
    height: 37px;
    padding: 0 10px 0 60px;
    line-height: 37px;
    display: block;
    color: #333333; background: #ffffff;
    text-decoration: none;
    font-weight: bold;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.dd-dragel > .dd3-item > .dd3-content { margin: 0; }

.dd3-handle {
    width: 30px; line-height: 37px;
    text-align: center;
    display: block;
    font-size: 17px;
    position: absolute;
    margin: 0;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    background: #ffffff;
    border-right: none;
    padding: 0;
}

.dd3-handle.dd-nodrag { cursor: not-allowed; }

.dd3-handle:before {
    color: #000000;
    display: block;
    width: 100%;
    text-align: center;
    text-indent: 0;
    background-color: #ffffff;
    font-size: 20px;
    font-weight: normal;
}

.dd3-buttons {
    float: right;
    overflow: hidden;
    white-space: nowrap;
}

.dd3-buttons a {
    margin-left: 10px;
}

.dd-header  {
    margin-left: 0;
    margin-bottom: 0;
}
.dd3-header {
    background-color: #EEEEEE;
    display: block;
    height: 40px;
    padding: 5px 10px 5px 10px;
    line-height: 30px;
    color: #333333;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #CCCCCC;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

@media (max-width: 1024px) {
    .dd3-buttons { font-size: 19px; line-height: 37px; }
    .dd3-buttons a span { display: none; }
}