/* vim: set expandtab tabstop=2 shiftwidth=2 textwidth=80: */

/* The navigation bar */
#navbar .icon {
    display: none;
}

#navbar {
    overflow: hidden;
    position: sticky;
    position: -webkit-sticky; /* Safari */
    top: 0;
    width: 100%;
    z-index:999;
}

/* Links inside the navbar */
#navbar a {
    float: left;
    display: block;
    text-align: center;
    padding: 10px 10px;
    text-decoration: none;
    height: 53px;
}

/* Adjust position of section anchors to sticky navbar */
a.anchor {
    display: block;
    position: relative;
    top: -53px;
    visibility: hidden;
}

.tooltip {
    display: inline;
    position: relative;
}
.tooltip:hover {
    text-decoration: none;
}
.tooltip:hover:after{
    background: #111;
    background: rgba(0,0,0,.8);
    border-radius: 5px;
    bottom: 18px;
    color: #fff;
    content: attr(title);
    display: block;
    left: 50%;
    padding: 5px 15px;
    position: absolute;
    white-space: nowrap;
    z-index: 98;
}
.tooltip:hover:before{
    border: solid;
    border-color: #111 transparent;
    border-width: 6px 6px 0 6px;
    bottom: 12px;
    content: "";
    display: block;
    left: 75%;
    position: absolute;
    z-index: 99;
}

