﻿/* 
 * treeGrid.css
 *
 * Styles for the tree-grid
 * for both Bootstrap 2 and Bootstrap 3
 *
 */
.tree-grid-animate-enter,
.tree-grid-row.ng-enter {
    -moz-transition: 200ms linear all;
    -o-transition: 200ms linear all;
    -webkit-transition: 200ms linear all;
    transition: 200ms linear all;
    position: relative;
    display: block;
    opacity: 0;
    max-height: 0;
}

    .tree-grid-animate-enter.tree-grid-animate-enter-active,
    .tree-grid-row.ng-enter-active {
        opacity: 1;
        max-height: 30px;
    }

.tree-grid-animate-leave,
.tree-grid-row.ng-leave {
    -moz-transition: 200ms linear all;
    -o-transition: 200ms linear all;
    -webkit-transition: 200ms linear all;
    transition: 200ms linear all;
    position: relative;
    display: block;
    height: 30px;
    max-height: 30px;
    opacity: 1;
}

    .tree-grid-animate-leave.tree-grid-animate-leave-active,
    .tree-grid-row.ng-leave-active {
        height: 0;
        max-height: 0;
        opacity: 0;
    }

/*
 * Angular 1.2.0 Animation placeholders.
 */
.tree-grid-animate.ng-enter {
}

/*
 * Normal CSS styles.
 */

    .tree-grid i.indented {
        padding: 2px;
    }

    .tree-grid .level-1 .indented {
        position: relative;
        margin-left: 0;
    }

    .tree-grid .level-2 .indented {
        position: relative;
        margin-left: 20px;
    }

    .tree-grid .level-3 .indented {
        position: relative;
        margin-left: 40px;
    }

    .tree-grid .level-4 .indented {
        position: relative;
        margin-left: 60px;
    }

    .tree-grid .level-5 .indented {
        position: relative;
        margin-left: 80px;
    }

    .tree-grid .level-6 .indented {
        position: relative;
        margin-left: 100px;
    }

    .tree-grid .level-7 .indented {
        position: relative;
        margin-left: 120px;
    }

    .tree-grid .level-8 .indented {
        position: relative;
        margin-left: 140px;
    }

    .tree-grid .level-9 .indented {
        position: relative;
        margin-left: 160px;
    }

    .tree-grid .tree-icon,
    .tree-label {
        cursor: pointer;
    }

table.tree-grid {
    max-height: 500px;
    overflow-y: scroll;
}

.treeGridRow {
    display: flex;
    cursor: pointer;
    height: 40px;
}

    .treeGridRow input {
        width: 100%;
        outline: none;
        border: none;
        font-size: 14px;
        height: 100%;
        border: none;
        color: #fff;
        background: #3f4c59;
    }

::placeholder {
    color: #cecece;
    font-style: italic;
}

.treeGridRow:hover {
    display: flex;
    color: #fff;
    box-sizing: border-box;
}

.treeGridRow.active {
    display: flex;
    box-sizing: border-box;
    background: #0c1722;
}

    .treeGridRow.active > div > a {
        color: #fff;
    }

.treeGridRow.level-1 {
    padding: 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    padding: 5px 10px;
}


.treeGridRow.level-2 {
    padding: 4px 0;
    font-size: 15px;
    font-weight: 500;
    padding: 5px 10px;
}

.treeGridRow.level-3 {
    padding: 3px 0;
    font-size: 14px;
    font-weight: 400;
    padding: 5px;
}

.treeGridRow div a {
    color: #95a7ba;
    padding: 5px 0;
}

    .treeGridRow div a:target {
        color: #fff;
    }

    .treeGridRow div a:hover {
        color: #fff;
    }

@media only screen and (max-width: 768px)
{
    .treeGridRow {
        height: 35px;
    }

    .treeGridRow div a {
        font-size: 14px;
    }
}