paper-button {
    font-weight: 500;
    vertical-align: middle;
    margin-top: 5px;
    margin-bottom: 5px;
}

    paper-button.block {
        display: block;
    }

    paper-button.blue {
        color: #03a9f4;
    }

        paper-button.blue:hover {
            background: #e1f5f3;
        }

    paper-button.menuButton {
        color: #212121;
        text-align: left;
    }

        paper-button.menuButton:hover {
            background: #e1f5f3;
        }

    paper-button.ripple::shadow paper-ripple {
        color: #ff3bee;
    }

    paper-button.ripple paper-ripple {
        color: #ff3bee;
    }

    paper-button.submit {
        color: #4285f4;
    }

    paper-button[raised].submit {
        background: #4285f4;
        color: #fff;
    }

    paper-button.more {
        color: #EC407A;
    }

    paper-button[raised].more {
        background: #EC407A;
        color: #fff;
    }

    paper-button.secondary {
        color: #52B54B;
    }

    paper-button[raised].secondary {
        background: #52B54B;
        color: #fff;
    }

    paper-button.accent {
        color: #52B54B;
    }

    paper-button[raised].accent {
        background: #52B54B;
        color: #fff;
    }

    paper-button.alt {
        color: #F57F17;
    }

    paper-button[raised].alt {
        background: #F57F17;
        color: #fff;
    }

.ui-page-theme-b paper-button.cancel {
    color: #444;
}

.ui-page-theme-b paper-button[raised].cancel {
    background: #444;
    color: #fff;
}

paper-button.cancelDark {
    color: #444;
}

paper-button[raised].cancelDark {
    background: #444;
    color: #fff;
}

.ui-page-theme-b paper-button.subdued:not([disabled]) {
    color: #484848;
}

.ui-page-theme-b paper-button[raised].subdued:not([disabled]) {
    background: #484848;
    color: #fff;
}

.ui-page-theme-b paper-button[raised][disabled].subdued {
    background: #111;
}

paper-button.hover:hover {
    background: #eee;
}

paper-button.ripple::shadow paper-ripple {
    color: var(--paper-pink-a200);
}

paper-button.ripple paper-ripple {
    color: var(--paper-pink-a200);
}

paper-button span {
    vertical-align: middle;
}

paper-button:not(.iconRight) iron-icon, paper-button:not(.iconRight) .fa {
    margin-right: .5em;
}

paper-button.iconRight iron-icon, paper-button.iconRight .fa {
    position: absolute;
    right: 5px;
    top: 5px;
}

paper-button .fa {
    vertical-align: middle;
}

.clearButton {
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    outline: none;
    color: inherit;
    width: 100%;
    vertical-align: middle;
    font-family: inherit;
    font-weight: inherit;
}

.clearLink {
    text-decoration: none;
    font-weight: inherit !important;
    vertical-align: middle;
    color: inherit !important;
}

paper-button.mini {
    min-width: initial;
}

    paper-button.mini .content {
        padding: 0.5em 0.7em;
    }

    paper-button.mini.noIcon .content {
        padding: 0.5em 0.7em;
    }



    paper-button.mini iron-icon {
        height: 20px;
        width: 20px;
    }


paper-toast {
    z-index: 9999999;
}

paper-button.notext {
    min-width: 2.8em;
}

    paper-button.notext .content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    paper-button.notext iron-icon {
        margin-right: 0;
    }

.docspinner {
    display: block;
    margin-top: -14px;
    margin-left: -14px;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 9999999;
}

/*paper-toast {
    background-color: #eee;
    color: #000;
}*/

.bottomFab {
    bottom: 90px;
}

paper-dialog {
    border-radius: 4px;
    z-index: 999999 !important;
}

iron-overlay-backdrop {
    z-index: 999998 !important;
}

/* These values default to 24px and create huge white padding around the dialog content. */
.scrollable.paper-dialog-scrollable {
    padding: 0 12px;
}

paper-dialog > *:last-child:not(.buttons) {
    margin-bottom: 12px;
}

paper-dialog > *:first-child:not(h2) {
    margin-top: 12px;
}

paper-icon-button paper-ripple {
    color: inherit !important;
}

paper-dialog + iron-overlay-backdrop {
    background-color: transparent !important;
}

paper-dialog[role="alertdialog"] + iron-overlay-backdrop {
    background-color: #000 !important;
}

paper-tabs {
    background-color: #111;
    color: #fff;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
}

    paper-tabs.bottomTabs {
        box-shadow: 0px -2px 6px rgba(0, 0, 0, 0.15);
    }

paper-tab {
    text-transform: uppercase;
    font-weight: 400;
}

paper-tabs #selectionBar {
    background-color: #38c !important;
}

paper-tabs paper-ripple {
    color: #38c !important;
}

paper-fab.subdued {
    background: #484848;
    color: #fff;
}

    paper-fab.subdued paper-material.keyboard-focus {
        background: #686868 !important;
    }

.ui-page-theme-b paper-fab[disabled].subdued {
    background: #222;
}

paper-fab.white {
    background: #fff;
    color: #000;
}

    paper-fab.white paper-material.keyboard-focus {
        background: #01579b !important;
        color: #fff;
    }

paper-fab.blue {
    background: #03a9f4;
}

    paper-fab.blue paper-material.keyboard-focus {
        background: #01579b !important;
    }

paper-fab.square {
    border-radius: 5px;
}

paper-slider {
    width: 100%;
}

paper-menu-item {
    padding: .35em .5em;
    cursor: pointer;
}

    paper-menu-item iron-icon {
        margin-right: 1.5em;
    }

    paper-menu-item:hover {
        background: #eee;
    }

.scrollablePaperTabs paper-icon-button {
    display: none !important;
}

.libraryViewNav #tabsContainer {
    margin: auto;
    -ms-flex: auto;
    -webkit-flex: auto;
    flex: auto;
    -ms-flex: none;
    -webkit-flex: none;
    flex: none;
    flex-shrink: 0;
}

.libraryViewNav paper-tabs {
    flex: none;
    flex-shrink: 0;
    flex-grow: 0;
    overflow-x: visible !important;
}

.libraryViewNav paper-tab {
    display: inline-block !important;
    flex: none;
    flex-shrink: 0;
    flex-grow: 0;
}

/*.scrollablePaperTabs #tabsContainer {
    text-align: center;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    overflow-y: hidden;
    white-space: nowrap;
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
}

.scrollablePaperTabs #tabsContainer::-webkit-scrollbar {
    height: 0 !important;
    display: none;
}

.scrollablePaperTabs #tabsContent {
    position: static !important;
}*/

.ui-page-theme-b paper-item-body [secondary] {
    color: #aaa;
}

.ui-page-theme-b paper-checkbox {
    color: #fff;
}

    .ui-page-theme-b paper-checkbox paper-ripple {
        color: inherit !important;
    }

    .ui-page-theme-b paper-checkbox #checkboxLabel.paper-checkbox {
        color: inherit;
    }

.ui-page-theme-b .paperCheckboxFieldDescription {
    color: #ccc;
}

.ui-page-theme-b paper-checkbox #checkbox.paper-checkbox {
    border-color: #ccc;
}

.ui-page-theme-b paper-checkbox #checkbox.checked.paper-checkbox {
    background-color: #2ad;
    border-color: #2ad;
}

.paperCheckboxList paper-checkbox {
    display: block;
    padding: .5em 0;
}

paper-input label, paper-textarea label {
    font-size: 18px !important;
    font-family: inherit !important;
}

.ui-page-theme-b paper-input label, .ui-page-theme-b paper-textarea label {
    color: #858585 !important;
}

.ui-page-theme-a paper-input label, .ui-page-theme-a paper-textarea label {
    color: #333 !important;
}

.ui-page-theme-a .label-is-highlighted label {
    color: green !important;
}

.ui-page-theme-b .label-is-highlighted label {
    color: #52B54B !important;
}

.ui-page-theme-b paper-input input, .ui-page-theme-b paper-textarea textarea {
    color: #fff !important;
}

paper-input .focused-line, paper-textarea .focused-line {
    background-color: #52B54B !important;
}

.ui-page-theme-b .unfocused-line.paper-input-container, .ui-page-theme-b .unfocused-line.paper-textarea-container {
    background: #454545;
}

paper-textarea.mono textarea {
    font-family: monospace !important;
}

.listAvatar {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #ccc;
}

.paperList {
    padding-top: 12px;
    margin: 12px auto;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}

.ui-page-theme-b .paperList {
    background-color: #303030;
}

paper-dropdown-menu {
    text-align: left;
    margin: auto;
    width: 100%;
    display: inline-block;
}

    paper-dropdown-menu paper-item {
        display: block;
    }

paper-dialog paper-radio-group paper-radio-button {
    padding: 6px 12px;
}

.likePaperText {
    -webkit-appearance: none;
    -webkit-font-smoothing: antialiased;
    -webkit-rtl-ordering: logical;
    -webkit-user-select: text;
    background: none !important;
    background-color: transparent !important;
    border: 1px solid gray !important;
    border-width: 0 0 1px 0 !important;
    color: #fff !important;
    box-shadow: none;
    outline: none !important;
    padding: 0 !important;
    position: relative;
    text-indent: 0px !important;
    width: 100%;
    -webkit-writing-mode: horizontal-tb;
    margin: 0 0 1em 0 !important;
}

    .likePaperText:focus {
        border-color: #52B54B !important;
    }

.likePaperLabel {
    margin: 1em 0 .5em !important;
    color: #858585 !important;
    display: block;
}
