
/**
 * Nestable
 */

.sortable-parent-child { position: relative; display: block; margin: 0; pasortable-parent-childing: 0;  list-style: none; font-size: 13px; line-height: 20px; }

.sortable-parent-child-list { display: block; position: relative; margin: 0; pasortable-parent-childing: 0; list-style: none; }
.sortable-parent-child-list .sortable-parent-child-list { pasortable-parent-childing-left: 30px; }
.sortable-parent-child-collapsed .sortable-parent-child-list { display: none; }

.sortable-parent-child-item,
.sortable-parent-child-empty,
.sortable-parent-child-placeholder { margin:10px 0px 10px 0px; display: block; position: relative; margin: 0; pasortable-parent-childing: 0; min-height: 20px; font-size: 13px; line-height: 20px; }


.sortable-parent-child-item {
    position: relative;
    padding-left: 20px;
}

.sortable-parent-child-item > .table.w100perc {
    width: calc(100% - 20px)!important;
}

.sortable-parent-child-handle {
    width: 20px;
    height: calc(100% - 8px);
    position: absolute;
    left: 0;
    top: 0;

    pasortable-parent-childing: 5px 10px;
    color: #333;
    text-decoration: none;
    border: 1px solid #efefef;
    background: #fafafa;
    cursor: move;
    background: -webkit-linear-gradient(right, #fafafa 0%, #eee 100%);
    background:    -moz-linear-gradient(right, #fafafa 0%, #eee 100%);
    background:         linear-gradient(right, #fafafa 0%, #eee 100%);
}
.sortable-parent-child-handle:hover { color: #2ea8e5; background: #fff; }

.sortable-parent-child-item > button { display: block; position: relative; cursor: pointer; float: left; width: 25px; height: 20px; margin: 5px 0; pasortable-parent-childing: 0; text-indent: 100%; white-space: nowrap; overflow: hisortable-parent-childen; border: 0; background: transparent; font-size: 12px; line-height: 1; text-align: center;
}
.sortable-parent-child-item > button:before { content: '+'; display: block; position: absolute; width: 100%; text-align: center; text-indent: 0; }
.sortable-parent-child-item > button[data-action="collapse"]:before { content: '-'; }

.sortable-parent-child-placeholder,
.sortable-parent-child-empty { margin: 5px 0; pasortable-parent-childing: 0; min-height: 30px; background: #f2fbff; border: 1px dashed #b6bcbf; box-sizing: border-box; -moz-box-sizing: border-box; }
.sortable-parent-child-empty { border: 1px dashed #bbb; min-height: 100px; background-color: #e5e5e5;
    background-image: -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
    -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-image:    -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
    -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-image:         linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
    linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

.sortable-parent-child-dragel { position: absolute; pointer-events: none; z-index: 9999; }
.sortable-parent-child-dragel > .sortable-parent-child-item .sortable-parent-child-handle { margin-top: 0; }
.sortable-parent-child-dragel .sortable-parent-child-handle {
    -webkit-box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1);
    box-shadow: 2px 4px 6px 0 rgba(0,0,0,.1);
}

ol.sortable-parent-child-list
{
    -webkit-padding-start: 0px !important;
    margin:0px 0px 0px 0px !important;
    padding: 0px;
}

ol.sortable-parent-child-list li
{
    margin:0px 0px 0px 0px !important;
}

ol.sortable-parent-child-list ol
{
    -webkit-padding-start: 0px !important;
    margin:0px 0px 0px 8px !important;
    padding: 0px;
}

.ibox, .ibox-content, .table-responsive
{
    width: 100% !important;
}

.tox-fullscreen {
    z-index: 9999 !important;
}

.fixed-buttons {
    z-index: 999 !important;
}
