.cc-dialog {
    background-color: #ffffff;
    bottom: 1em;
    right: 1em;
    box-sizing: border-box;
    font-size: 1.05em;
    align-items: center;
    position: fixed;
    z-index: 999 !important;
    padding: 1.5em;
    overflow: auto;
    transition-duration: 700ms, 700ms;
    transition-delay: 0ms, 0;
    visibility: visible;
    width: calc(100vw - 2em);
    max-width: 30em;
    max-height: calc(100vh - 2em);
    scrollbar-width: thin;
    box-shadow: 5px 5px 6px rgba(0, 0, 0, 0.05);
}

#cookieConsentForm {
    padding-top:0;
}

.cc-dialog p {
    margin: 1em 0;
    line-height: 1.6;
}

.cc-dialog h4 {
    font-weight: bold;
    margin: 0;
}

.cc-checkboxes {
    display: none
}

.cc-checkboxes div {
    margin-bottom: 1em
}

.cc-checkboxes p {
    margin-top: 1.5em
}

.cc-checkboxes h5 {
    font-size: 1.05em;
    font-weight: bold;
    margin: 0.5em 0
}

.cc-checkboxes label {
    vertical-align: middle;
    margin-right: 0.75em
}

.cc-checkboxes input {
    vertical-align: middle
}

.cc-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 1em;
    flex: 1 1 auto;
}

.cc-buttons a:first-child, .cc-buttons a:nth-child(2) {
    text-align: center;
}

@media (max-width: 575px) {
    .cc-buttons a:first-child, .cc-buttons a:nth-child(2) {
        width: 100%;
    }
    .c-button.cc-button-preferences {
        margin-bottom: 1rem;
    }
    .c-button {
        width: 100%;
    }
}

.cc-button-save {
    margin-bottom: 1rem;
    display: none;
}

.hidden {
    display: none;
}

.cc-dialog .input-wrapper {
    margin-bottom: 0;
}
