
.dd {
    position: relative;
    display: block;
    margin: 1rem auto;
    padding: 0;
    max-width: 480px;
    list-style: none;
    font-size: 13px;
    line-height: 20px;
}

.dd-list {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dd-list .dd-list {
    padding-right: 30px;
}

.dd-collapsed .dd-list {
    display: none;
}

.dd-item,
.dd-empty,
.dd-placeholder {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    min-height: 20px;
    font-size: 13px;
    line-height: 20px;
}

.dd-handle {
    display: block;
    margin: 5px 0;
    text-decoration: none;
   /* background: #fff;*/
}

.dd-handle:hover {
    background: #fff;
}

.dd-item > button {
    display: block;
    position: relative;
    cursor: pointer;
    float: right;
    width: 25px;
    height: 30px;
    margin: 5px 0;
    padding: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    border: 0;
    background: transparent;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    font-weight: bold;
}

.dd-item > button:before {
    content: '+';
    display: block;
    position: absolute;
    width: 100%;
    text-align: center;
    text-indent: 0;
}

.dd-item > button[data-action="collapse"]:before {
    content: '-';
}

.dd-placeholder,
.dd-empty {
    margin: 5px 0;
    padding: 0;
    min-height: 30px;
    background: #f2fbff;
    border: 1px dashed #b6bcbf;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.dd-empty {
    border: 1px dashed #bbb;
    min-height: 100px;
    background-color: #e5e5e5;
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

.dd-dragel {
    position: absolute;
    pointer-events: none;
    z-index: 9999;
    direction: rtl;
}

.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 #ddd;
    border-bottom: 2px solid #ddd;
}

@media only screen and (min-width: 700px) {

    .dd + .dd {
        margin-right: 2%;
    }

}

.dd-hover > .dd-handle {
    background: #2ea8e5 !important;
}

.dd-dragel > .dd-item > .dd-content {
    margin: 0;
}

.dd-handle:hover {
    background: #f7f7f7;
}

.dd-item .btn-inline {
    float: left;
    position: relative;
    z-index: 9999;
    margin: -35px 0 0 10px;
}

.dd-item .btn-inline .btn {
    padding: 0;
    background-color: transparent !important;
    box-shadow: none !important;
    color: #333;
    font-size: 12px;
}

.dd-item .btn-inline .btn-danger {
    color: #F44336;
}

.dd-item .btn-inline form {
    margin: auto;
}

.tt-dragel {
    position: absolute;
    pointer-events: none;
    z-index: 9999;
}

.tt-dragel > .tt-item .tt-handle {
    margin-top: 0;
}

.tt-dragel .tt-handle {
    -webkit-box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, .1);
    box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, .1);
}
.tt-dragel tr{
    width: 100%;
    display: table;
    background-color: #e2f3fb !important;
    border-spacing: 0;
    direction: rtl;
    height: 41px;
    text-align: center;
}

.tt-dragel tr td{
    border: 1px dashed #d8d8d8;
}

.tt-dragel tr td a.btn, .tt-dragel tr td a .btn{
    padding: 0;
    box-shadow: none !important;
    background: transparent;
    color: #797979;
    float: none !important;
    display: inline-block;
}
.tt-placeholder{
    margin: 5px 0;
    padding: 0;
    min-height: 30px;
    background: #f2fbff !important;
    border: 1px dashed #b6bcbf;
    box-sizing: border-box;
    position: relative;
    font-size: 13px;
    line-height: 20px;
    width: 100%;
}
.tt-handle:hover{
    background-color: #e7e7e7 !important;
}

.archive-table.dd tr:first-child {
    background-color: #e8fbe2 !important;
}

li.dd-item:nth-child(even) {
    background-color: #fff4d4;
}

li.dd-item:nth-child(odd) {
    background-color: #e8fbe2;
}
.table-responsive li{
    margin-bottom: 8px;
}

.dd-item div.ls{
    border: 1px dashed #d8d8d8;
    border-right: 0;
    padding: 10px;
    font-size: 12px;
    color: #505050;
    text-align: center;
    display: table-cell;
    display: inline-block;
    margin: 0;
}
.dd-item div.ls:last-child {
    border-radius: 4px 0 0 4px;
}
.dd-item div.ls:first-child {
    border-right: 1px dashed #d8d8d8;
    border-radius: 0 4px 4px 0;
}
.btn-dd a, .btn-dd a .btn{
    padding: 0;
    box-shadow: none !important;
    background: transparent;
    float: none !important;
    display: inline-block;
}
.btn-dd .btn-info {
    color: #489e3b;
}
.btn-dd .btn-danger {
    color: #ff5555;
}

.btn-dd .btn-info:hover, .btn-dd .btn:not([disabled]):not(.disabled):active {
    color: #333;
    box-shadow: none !important;
    background: transparent;
}

.btn-dd .btn-info:hover, .btn-dd .btn-info:focus, .btn-dd .btn-info:active, .btn-dd .btn-info:visited, .btn-dd .btn-info:not([disabled]):not(.disabled):active,.btn-dd  .btn-info:not([disabled]):not(.disabled).active, .show > .btn-info.dropdown-toggle {
    color: #333;
    box-shadow: none !important;
    background: transparent;
}

.table-responsive .dd-handle {
    display: block;
    margin: 5px 0;
    text-decoration: none;
    background: transparent;
}