#p-navigation {
    z-index: 10;
}

/* hide scrollbar to save space */
#p-navigation ::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

#p-navigation .nav-count {
    opacity: 0.5;
    /*position: absolute;*/
    /*left: 80px;*/
    /*width: 40px;*/
    /*display: inline-block;*/
    text-align: right;
}

#p-navigation .nav-count.--rtl {
    right: 80px;
    text-align: left;
}

#p-navigation .menu-item.--rtl {
    /* Margin title from right 72px, the calc is the 72px minus the original "v-list-tile" right margin 16px */
    margin-right: calc(72px - 16px);
}

.v-list__group__header .v-list__group__header__append-icon {
    padding-left: 8px !important;
}

#photoprism .p-page a,
#photoprism .v-toolbar a,
#photoprism .text-link {
    text-decoration: none;
    color: #333333;
}

#photoprism .theme--dark.v-sheet .text-link,
#photoprism .theme--dark.v-card .text-link {
    color: white;
}

#photoprism-info {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 5px;
    background-color: rgba(255, 255, 255, 0.6);
    margin: 0;
    border-radius: 5px 5px 0 0;
}

#photoprism-info a {
    text-decoration: none;
    font-size: 12px;
    color: #000;
}

#photoprism .v-tabs .v-toolbar__content {
    padding: 0 16px 0 0;
}

#photoprism .v-toolbar.page-toolbar {
    box-shadow: none;
}

#photoprism .v-tabs .v-toolbar.page-toolbar .v-toolbar__content,
#photoprism .v-toolbar.page-toolbar .v-toolbar__content {
    padding: 0 16px 0 16px;
}

#photoprism .v-toolbar.page-toolbar .v-text-field .v-input__prepend-outer {
    margin-right: 0;
}

#photoprism .v-toolbar.page-toolbar .v-text-field .v-input__slot {
    padding-left: 0;
}

#photoprism .page-toolbar .input-category .v-select__selections {
    min-width: 130px;
}

#photoprism .page-toolbar .input-category .v-select__selections input {
    position: absolute;
}

#photoprism .page-toolbar .input-category .v-select__selections .v-select__selection {
    white-space: nowrap;
    overflow: hidden;
}

.p-user-box {
    width: 100%;
    padding: 0;
}
.p-profile > a {
    height: 64px;
}
.p-flex-nav {
    display: flex;
    flex-flow: column nowrap;
    overflow-y: hidden;
}
.p-flex-menu {
    overflow-y: auto;
    flex-grow: 1;
}
.p-flex-menuitem {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
}
.p-flex-menuitem .nav-count {
    margin-right: 48px;
    margin-left: 8px;
}
.v-list__group__header .p-flex-menuitem .nav-count {
    margin-right: 0px;
}