
@CHARSET "UTF-8";

.headerbar > .icon.hideshow {
    position: absolute;
    display: none;
    right: 10px;
    top: 10px;
    background-image: url('/images/icons/icon_plus.png');
}

.headerbar {
    position: fixed;
    overflow: hidden;
    left: 0px;
    top: 0px;
    height: 55px;
    z-index: 10;
    width: 100vw; 
    background-color: var(--headercolor);
    border-bottom: 4px solid var(--bordercolor);
    /* -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;    */
}

@media (prefers-color-scheme: light) {
    .headerbar:hover,
    .headerbar.static {
        background-color: var(--headercolor);
    }
}

@media (prefers-color-scheme: dark) {
    .headerbar:hover,
    .headerbar.static {

    }
}

#mainbody > .headerbar > section.inner:first-of-type {
    margin-top: 10px 20px;
}

.headerbar ~ section {
    position: relative;
    padding-top: 55px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.headerbar.static {

}

.headerbar.static ~ section {
    padding-left: 300px;
    width: calc(100% - 300px);
}

.headerbar + section { margin-top: 0px !important; }

.headerbar > section.inner {
    position: relative;
    margin: 13px 20px;
    width: calc(100% - 20px);
}

.headerbar > section.inner > ul {
    display: inline-block;
    vertical-align: top;
    margin-top: 0px;
}

.headerbar > section.inner > ul.bottom {
    float: right;
    width: auto;
    margin-right: 20px;
}

.headerbar > section.inner > ul > li {
    vertical-align: top;
    display: inline-block;
    margin-right: 15px;
    height: 30px;
    white-space: nowrap;
    line-height: 30px;
}

.headerbar > section.inner > ul > li:last-child { margin-right: 0px; }

.headerbar > section.inner > ul > li:after {
    content: "."; display:block; clear:both; height:0; visibility:hidden;
}

.headerbar > section.inner > ul > li > span.icon {
    width: 30px !important;
    height: 30px !important;
}

.headerbar > section.inner > ul > li span.icon > span.badge {
    position: absolute;
    background-color: #f00;
    color: #fff;
    font-size: 12px;
    text-align: center;
    height: 20px;
    width: 20px;
    line-height: 20px;
    border-radius: 10px;
    left: 20px;
    display: block;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.3);
}

.headerbar > section.inner > ul > li span {
    vertical-align: top;
}

@media (prefers-color-scheme: dark) {    
    .icon > span.badge {
        -webkit-filter: invert(100%); filter: invert(100%);
    }
}

.headerbar > section.inner > ul > li > span { float: left; vertical-align: top; }

.headerbar > section.inner > ul > li > span.title {display: none; margin-left: 10px; margin-right: 5px; }

.headerbar > section.inner > ul > li > span.icon:has(> .badge) + span.title { margin-left: 15px; }

.headerbar > section.inner:hover span.title { display: block; }