#ub-cookie-notice {
    display: block;
    position: fixed;
    min-width: 100%;
    height: auto;
    z-index: 100000;
    font-size: 13px;
    line-height: 2em;
    left: 0;
    text-align: center;

    &.ub-position-top {
        top: 0;
        .cookie-notice-revoke-container {
            top: 0;
            bottom: auto;
        }

    }

    &.ub-position-bottom {
        bottom: 0;
    }

    .cookie-notice-container {
        padding: 10px;
        text-align: center;
        width: 100%;
    }

    .cookie-notice-revoke-container {
        position: absolute;
        bottom: 0;
        width: 100%;
        z-index: 1;
        visibility: hidden;
    }

    .button {
        padding: 5px 10px;
        margin: 5px 0 5px 1em;
        white-space: nowrap;
    }
}
.admin-bar {
    #ub-cookie-notice {
        &.ub-position-top {
            top: 32px;
            @media screen and (max-width: 782px) {
                top: 46px;
            }
            @media screen and (max-width: 600px) {
                top: 0;
            }
        }
    }
}
