﻿/* TODO: 
    change all alpha-channel values to 1 to use regular blue for selections
    style anchor links
    */
.treeview {
    /*float: left;*/
    padding-right: 2em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    -webkit-user-select: none;
}

    .treeview ul {
        list-style: none;
        padding-left: 1em;
    }

        .treeview .head {
            padding: 5px;
            color: #003893;
            -webkit-transition: background-color 0.5s;
            -moz-transition: background-color 0.5s;
            -ms-transition: background-color 0.5s;
            -o-transition: background-color 0.5s;
            transition: background-color 0.5s;
        }

        .treeview ul li span.head a {
            margin: 0;
            padding: 0 5px 0 0;
        }

        .treeview ul li a {
            margin: 0 0 0 20px;
            padding: 4px;
            display: inline-block;
            line-height: 1.4;
            -webkit-transition: background-color 0.3s;
            -moz-transition: background-color 0.3s;
            -ms-transition: background-color 0.3s;
            -o-transition: background-color 0.3s;
            transition: background-color 0.3s;
        }

            .treeview ul li a:hover,
            .treeview .head:hover {
                background-color: #E0E1E2;
            }

            .treeview .t21-childnode-selected:hover {
                background-color: #fcd50d;
            }

    .treeview input {
        display: none;
    }

        .treeview input:checked ~ ul {
            display: none;
        }

        .treeview input ~ label {
            cursor: pointer;
        }

            .treeview input ~ label:before {
                font-family: FontAwesome;
                content: '\f146';
                font-size: 12px;
                color: #ffc322;
                padding-right: 3px;
            }

        .treeview input:checked ~ label:before {
            font-family: FontAwesome;
            content: '\f0fe';
            font-size: 12px;
            color: #003893;
            padding-right: 3px;
            font-weight: normal;
        }

    .treeview .arrow input ~ label:before {
        content: '\f078';
        color: #003893;
    }

    .treeview .arrow input:checked ~ label:before {
        content: '\f054';
    }

@media (max-width: 1200px) {
    .treeview ul li span {
        font-size: 16px;
    }
    .treeview ul li a {
        font-size: 16px;
    }
}