/*

    Infinite Context

    data-divider: add li with boolean attribute data-divider to add a space between li
    data-sub: add attribute data-sub to add the angle icon for sub ul

    <div class="stv-dropdown">
        <div tabindex="-1">
            Example text
        </div>
        <ul>
            <li> A level 0 </li>
            <li> B level 0 </li>
            <li data-divider></li>
            <li data-sub> C level 0
                <ul>
                   <li> D level 1 </li>
                   <li> E level </li>
                   <li data-divider></li>
                </ul>
            </li>
        </ul>
    </div>

*/

ul.stv-context {
    box-sizing: border-box;
    visibility: hidden;
    opacity: 0;
    position: fixed;
    list-style: none;
    text-decoration: none;
    z-index: 100000;
    border: 1px solid #afafaf;
    background-color: #fff;
    line-height: 22px;
    margin: 1px 0 0 0;
    padding: 5px 0;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
    transition: visibility 0.65s, opacity 0.15s;
}

ul.stv-context ul {
    left: 0;
    top: 100%;
}

ul.stv-context li {
    position: relative;
    text-align: left;
    padding: 2px 30px 2px 10px;
    white-space: nowrap;
    color: #333;
}

ul.stv-context li[data-divider] {
    height: 1px;
    margin: 3px 0;
    padding: 0;
    overflow: hidden;
    background-color: #DEDEDE;
}

ul.stv-context li[data-sub]:after {
    font-family: 'FontAwesome';
    content: '\f105';
    /* > */
    /*content:'\f0da';*/
    position: absolute;
    right: 10px;
}

ul.stv-context li:active {
    background-color: #DEDEDE;
}

ul.stv-context li:hover {
    background-color: #445D76;
    color: #fff;
}

ul.stv-context li[data-text]:hover {
    background-color: inherit !important;
    color: inherit !important;
}

ul.stv-context li[data-divider]:hover {
    background-color: #DEDEDE !important;
}
