#acb-banner {
    box-sizing: border-box;
    position: fixed !important;
    left: 0;
    z-index: 999999;
    padding: 20px !important;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: max-content;
}

#acb_link_information {
    text-decoration: underline;
    width: auto;
}

#acb-banner.acb-position-bottom {
    bottom: 0;
}

#acb-banner.acb-position-top {
    top: 0;
}

#acb-content, 
#acb-action {
    align-self: center;
}

#acb-content ul {
    list-style: inherit;
    padding-left: inherit;
}

.acbCheckboxesContainer {
    display: flex;
    justify-content: space-evenly;
    margin-top: 10px;
}

/* Uniform related */
.acbCheckboxContainer label {
    margin-bottom: 0;
}

#acbCriticalCheckbox:hover {
    cursor: not-allowed;
}

/* Override default Uniform CSS to actually show a disabled checked checkbox */
#acb-content div.checker.disabled span.checked {
    background-position: -15px -257px;
}

@media screen and (min-width: 768px) {
    #acb-banner.acb-gdpr { flex-direction: column; }
    #acb-banner.acb-gdpr #acb-action {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-top: 1rem;
    }
}

@media screen and (max-width: 767px) {
    #acb-action{
        display: flex;
        flex-direction: column;
        gap: 7px;
        justify-content: center;
        align-items: center;
    }
    #acb-banner.acb-position-top {  top: 0;  }
    #acb-banner {
        max-height: 95%;
        flex-direction: column;
        max-width: 90%;
        margin: 0;
    }
    #acb-content {
        display: block;
        overflow-y: scroll;
        margin-bottom: 10px;  }
    .acb_link_information_container {
        margin: 10px 0;
        padding: 10px 0;
        border-width: 1px 0;
        border-style: dotted;  }
    .acbCheckboxesContainer { flex-direction: column; }
    .acbCheckboxContainer {  margin: 0.3rem 0;  }
    .pmAcbPanelCategoriesContainer,
    .pmAcbPanelActionsContainer { flex-direction: column;  }
    #acb-banner.acb-panel-opened {  width: 95%!important; }
}

/* Medium devices such as iPhone 6 in landscape mode */
@media screen and (min-width: 576px) and (max-width: 767px) and (orientation: landscape) {
    #acb-banner.acb-gdpr {
        width: 95vw!important;
    }

    #acb-banner.acb-gdpr #acb-action {
        display: flex;
        justify-content: space-between;
        width: 83.33333%;
    }
}

/* Very small devices, e.g. iPhone SE */
@media screen and (max-width: 575px) and (orientation: landscape) {
    #acb-banner.acb-gdpr {
        width: 95vw!important;
    }

    #acb-banner.acb-gdpr #acb-action {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
}

#acbCustomize {
    text-decoration: underline;
    font-size: 0.875rem;
}

.acb-panel-opened {
    max-height: 60%;
}

.pmAcbPanelCustomContentContainer {
    margin-bottom: 1rem;
}

.pmAcbPanelContentContainer {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

.pmAcbPanelCategoriesContainer {
    display: flex;
}

.pmAcbPanelCategoriesContainer>div {
    flex: 1;
}

#acb-banner .pmAcbPanelCategoriesContainer>div p {
    margin-bottom: 0.5rem !important;
}

.pmAcbPanelActionsContainer {
    display: flex;
    justify-content: space-evenly;
}

#acb-banner .hide {
    display: none !important;
}