div.kpxc-banner {
    animation-duration: 0.2s;
    animation-name: kpxc-slidein;
    background-color: var(--kpxc-background-color);
    box-sizing: border-box !important;
    color: var(--kpxc-text-color) !important;
    display: flex !important;
    font-size: 1em !important;
    height: auto !important;
    justify-content: space-between !important;
    left: 0px !important;
    line-height: 1 !important;
    margin: 0 auto !important;
    min-height: 2em !important;
    max-height: 4em !important;
    overflow-x: auto !important;
    padding: 4px !important;
    position: fixed !important;
    width: 100% !important;
}

div.kpxc-banner:hover {
    cursor: grab;
}

.kpxc-banner-on-bottom {
    border-bottom: 1px solid #38383d !important;
    bottom: 0px !important;
    box-shadow: 0 -4px 6px 0 hsla(0, 0%, 0%, 0.2) !important;
}

.kpxc-banner-on-top {
    border-top: 1px solid #38383d !important;
    box-shadow: 0 4px 6px 0 hsla(0, 0%, 0%, 0.2) !important;
    top: 0px !important;
}

@keyframes kpxc-slidein {
    from {
        max-height: 0em;
    }

    to {
        max-height: 4em;
    }
}

div.kpxc-banner .banner-info > span {
    margin: 4px;
}

div.kpxc-banner .banner-info-text {
    text-wrap: nowrap;
}

div.kpxc-banner div.banner-info, div.banner-buttons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

div.kpxc-banner .small {
    font-size: 80%;
    color: #787878;
}

div.kpxc-banner .kpxc-banner-icon {
    width: 24px;
    height: 24px;
    overflow: hidden;
    background: url('chrome-extension://__MSG_@@extension_id__/icons/keepassxc.svg') right no-repeat;
    background-size: contain;
}

div.kpxc-banner .kpxc-banner-icon-moz {
    width: 24px;
    height: 24px;
    overflow: hidden;
    background: url('moz-extension://__MSG_@@extension_id__/icons/keepassxc.svg') right no-repeat;
    background-size: contain;
}

div.kpxc-banner .kpxc-banner-icon-safari {
    width: 24px;
    height: 24px;
    overflow: hidden;
    background: url('safari-web-extension://__MSG_@@extension_id__/icons/keepassxc.svg') right no-repeat;
    background-size: contain;
}

div.kpxc-banner .kpxc-help-icon {
    width: 24px;
    height: 24px;
    overflow: hidden;
    background: url('chrome-extension://__MSG_@@extension_id__/icons/help.svg') right no-repeat;
    background-size: contain;
}

div.kpxc-banner .kpxc-help-icon-moz {
    width: 24px;
    height: 24px;
    overflow: hidden;
    background: url('moz-extension://__MSG_@@extension_id__/icons/help.svg') right no-repeat;
    background-size: contain;
}

div.kpxc-banner .kpxc-help-icon-safari {
    width: 24px;
    height: 24px;
    overflow: hidden;
    background: url('safari-web-extension://__MSG_@@extension_id__/icons/help.svg') right no-repeat;
    background-size: contain;
}

.kpxc-separator {
    border-left: 1px solid #ccc;
    height: 100% !important;
    margin: 10px !important;
}

.kpxc-pick-info-text {
    margin-left: 8px;
    margin-right: 8px;
}

div.kpxc-banner .kpxc-checkbox {
    margin: 2px !important;
}

div.kpxc-banner label {
    font-family: 'Lato', sans-serif !important;
    font-size: 12px !important;
    font-weight: normal !important;
    margin: 4px !important;
    text-wrap: nowrap;
}

div.kpxc-banner-dialog {
    background-color: var(--kpxc-background-color);
    border: var(--kpxc-container-border);
    color: var(--kpxc-text-color);
    display: block !important;
    margin: 0 auto;
    max-height: 60%;
    max-width: 460px;
    overflow: hidden !important;
    overflow-y: scroll !important;
    padding: 8px;
    position: fixed !important;
    width: 680px;
    z-index: 10000000;
}

div.kpxc-banner-dialog-bottom {
    border-radius: 4px 4px 0 0;
    box-shadow: 0 -4px 6px 0 hsla(0, 0%, 0%, 0.2);
}

div.kpxc-banner-dialog-top {
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 6px 0 hsla(0, 0%, 0%, 0.2);
}

div.kpxc-banner-dialog > ul {
    list-style-type: disc !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding-left: 0 !important;
}

div.kpxc-banner-dialog > p > span.strong {
    font-weight: bold !important;
}

div.kpxc-banner-dialog .list-group {
    font-size: .9em !important;
}

div.kpxc-banner-dialog .list-group-item {
    background-color: var(--kpxc-input-background-color) !important;
    border: 1px solid rgba(0,0,0,.125) !important;
    border-bottom: 0px !important;
    color: var(--kpxc-text-color) !important;
    display: block !important;
    padding: 7px 14px;
    position: relative !important;
    text-decoration: none !important;
}

div.kpxc-banner-dialog .list-group-item:first-child {
    border-top-width: 1px !important;
    border-top-left-radius: 4px !important;
    border-top-right-radius: 4px !important;
}

div.kpxc-banner-dialog .list-group-item:last-child {
    border-bottom: 1px solid rgba(0,0,0,.125) !important;
    border-bottom-right-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
    margin-bottom: 0 !important;
}

div.kpxc-banner-dialog .list-group-item:hover {
    cursor: pointer !important;
    background-color: var(--kpxc-table-hover-color) !important;
}

@media (prefers-color-scheme: dark) {
    div.kpxc-banner, div.kpxc-banner-dialog {
        background-color: var(--kpxc-input-background-color) !important;
        color: var(--kpxc-text-color) !important;
    }

    div.kpxc-banner-dialog .list-group-item:hover {
        background-color: var(--kpxc-table-hover-color) !important;
        color: #000;
    }

    div.kpxc-banner-dialog .list-group-item {
        background-color: var(--kpxc-input-background-color) !important;
        color: var(--kpxc-text-color) !important;
    }
}

@media print {
    div.kpxc-banner {
        visibility: hidden;
    }
}
