.libraryPage {
    padding-top: 50px !important;
}

    .libraryPage:not(.noSecondaryNavPage) {
        padding-top: 95px !important;
    }

.pageWithAbsoluteTabs:not(.noSecondaryNavPage) {
    padding-top: 98px !important;
}

.absolutePageTabContent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* If this is raised, make sure it does not overlap bottom footer */
    z-index: 1;
    margin: 0 !important;
    /* Page needs to supply padding */
    top: 102px !important;
    transition: transform 200ms ease-out;
}

    .absolutePageTabContent.headroomUnpinned {
        transform: translateY(-92px);
        bottom: -92px !important;
    }

.pageTabContent:not(.is-active) {
    display: none !important;
}

.sidebarDivider {
    height: 1px;
    background: #eaeaea;
    margin: .5em 0;
}

.headerUserImage {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 1000px;
    vertical-align: middle;
    display: inline-block;
}

.headerUserButtonRound img {
    border-radius: 1000px;
}

.viewMenuBar paper-icon-button {
    vertical-align: middle;
}

.headerButton {
    flex-shrink: 0;
}

.menuArrow {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAbklEQ…yGDxkLaBtENI9kPMk0gaoW0Dyj0aWowFLYNYzWB6MWMAAAq1H3+Mhu2hQAAAAASUVORK5CYII=);
    height: 24px;
    width: 24px;
    display: inline-block;
}

.hideMainDrawer .mainDrawerButton {
    display: none;
}

.libraryMenuButtonText {
    text-decoration: none;
    display: inline-flex;
    vertical-align: middle;
    padding-left: 0 !important;
    cursor: default;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    align-items: center;
    margin: 0 0 0 .5em;
    /* Avoid pushing right header off the screen */
    flex-shrink: 1;
}

.viewMenuBar {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 999;
    top: 0;
    border: 0;
    height: 50px;
    display: flex;
    flex-direction: column;
}

.hiddenViewMenuBar .viewMenuBar {
    display: none;
}

.libraryViewNav {
    overflow: hidden;
    z-index: 999;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0 0 0;
    display: flex;
    display: block;
    text-align: center;
    margin: 0 auto;
    align-items: center;
    font-size: 13px;
}

.ui-body-b .libraryViewNav {
    position: fixed;
    right: 0;
    left: 0;
    top: 50px;
}

.libraryViewNav.bottom {
    top: auto !important;
    bottom: 0;
}

.viewMenuBar, .ui-body-b .libraryViewNav {
    background-color: #222326;
    color: #fff;
}

    .viewMenuBar .primaryIcons {
        display: flex;
        flex-grow: 1;
        width: 100%;
        align-items: center;
    }

.dashboardDocument {
    font-size: 13px;
}

    .dashboardDocument .viewMenuBar {
        height: auto;
    }

        .dashboardDocument .viewMenuBar .primaryIcons {
            padding: .7em 0;
        }

    .dashboardDocument.withTallToolbar .primaryIcons {
        padding-bottom: 0;
    }

.viewMenuBarTabs {
    width: 100%;
}

    .viewMenuBarTabs .paperTabLink {
        padding-left: 1.5em;
        padding-right: 1.5em;
    }

.viewMenuBar.semiTransparent {
    background-color: rgba(15, 15, 15, .3);
}

.viewMenuLink {
    text-decoration: none;
    color: #eee !important;
    padding: 7px .5em 6px;
    display: inline-block;
    vertical-align: middle;
}

    .viewMenuLink:hover {
        color: #fff;
    }

        .viewMenuLink:hover img {
            opacity: .5;
        }

    .viewMenuLink img {
        height: 24px;
        vertical-align: top;
    }

.viewMenuSecondary {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.selectedMediaFolder {
    background-color: #f2f2f2 !important;
}

.ui-panel.ui-body-b {
    background-color: #1D1D20;
}

@media all and (max-width: 800px) {

    /* The sidebar isn't visible at this size, so there's no way to navigate within the editor */
    .editorViewMenu {
        display: none;
    }
}

body:not(.dashboardDocument) .btnNotifications {
    display: none !important;
}

.darkDrawer {
    background-color: #1C1C1F !important;
    /*background-color: rgba(40,40,40,.8) !important;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);*/
}

    .darkDrawer .sidebarLinkIcon {
        color: #bbb !important;
        margin-left: 1.6em;
    }

.darkDrawer i.sidebarLinkIcon {
    margin-left: 1.9em;
}

.darkDrawer .sidebarLinkText, .darkDrawer .sidebarLink {
    color: #fff !important;
    font-weight: normal !important;
}

.darkDrawer .sidebarHeader {
    color: #bbb !important;
}

.darkDrawer .sidebarDivider {
    background: #282828 !important;
}

.darkDrawer .sidebarLink:hover {
    background: #252528;
}

.darkDrawer .sidebarLink.selectedSidebarLink, .darkDrawer .selectedMediaFolder {
    background: #252528 !important;
    color: #52B54B !important;
}

body:not(.dashboardDocument) .headerAppsButton {
    display: none;
}

.mainDrawer-scrollContainer {
    padding-bottom: 10vh;
}

@media all and (min-width: 640px) {

    .mainDrawerPanel .viewMenuBarTabs {
        width: auto;
        padding-left: 272px;
    }

    .viewMenuBarTabs .libraryViewNav {
        text-align: left !important;
    }
}