.cookie-acception a {
    margin: auto !important;
}

.cookie-acception--active {
    visibility: visible;
    transform: translateY(0);
}

.cookie-acception-wrapper {
    max-width: 1100px;
    margin: auto;
    display: flex;
}

.cookie-acception .cookie-acception-logo {
    padding: 32px;
    display: none;
}

@media only screen and (max-width: 1116px) {
    .cookie-acception-wrapper {
        padding: 0 16px;
    }
}

@media only screen and (max-width: 700px) {
    .cookie-acception-wrapper {
        font-size: 14px;
    }
}

@media only screen and (max-width: 480px) {
    .cookie-acception-wrapper {
        flex-direction: column;
    }
    .cookie-acception-buttons {
        margin-top: 6px;
    }
}

.cookie-acception-text a {
    color: #00B67A !important;
}

.cookie-notice-save-button,
.cookie-accept-button {
    border-radius: 2px !important;
    background-color: #00B67A !important;
    color: #fff !important;
    padding: 26px 30px !important;
    margin-right: 0 !important;
    border: 0;
    font-size: 1rem !important;
    cursor: pointer;
}

.cookie-notice-save-button:hover:after,
.cookie-accept-button:hover:after {
    display: none;
}

#cookie-notice .form-check {
    margin: inherit !important;
    padding-left: 2.5em;
    display: block;
    min-height: 1.5rem;
}

#cookie-notice .form-check-input {
    width: 2em;
    margin-left: -2.5em;
    transition: background-position 0.15s ease-in-out;
    float: left;
    height: 1em;
    margin-top: 0.25em;
    background-repeat: no-repeat;
    background-size: contain;
    border: 1px solid rgba(0, 0, 0, 0.25);
    appearance: none;
    color-adjust: exact;
}

#cookie-notice .form-check-input label {
    display: inline-block;
}

#cookie-notice .form-check-input:checked {
    background-color: #00B67A !important;
    background-position: right center;
    border-color: #00B67A !important;
    border-radius: 10px;
}

#cookie-notice .form-check-input:focus {
    border-color: #74fb61 !important;
    box-shadow: 0 0 0 .25rem rgba(88, 253, 13, 0.1);
}

#cookie-notice .form-switch .form-check-input {
    background-color: #BFBFBF;
}

#cookie-notice .form-switch .form-check-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgb%28255, 255, 255%29'/%3e%3c/svg%3e");
}

#cookie-notice .form-switch .form-check-input:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgb%28255, 255, 255%29'/%3e%3c/svg%3e");
}

/* Modal */

.cookie-notice-logo {
    margin-bottom: .75rem;
    margin-right: 2rem;
    height: 50px;
    width: auto;
}

.flex-break {
    flex-basis: 100%;
    height: 0;
}

#cookie-notice .popup-header {
    color: #000;
}

#cookie-notice .popup-header:before,
#cookie-notice .popup-header:after {
    display: none !important;
}

#cookie-notice .popup-header,
#cookie-notice .popup-footer,
#cookie-notice .popup-body {
    padding: 20px 30px !important;
}

#cookie-notice .popup-header button,
#cookie-notice .popup-header button:hover {
    color: #000;
    font-size: 34px;
}

.close {
    color: #000;
    opacity: 1 !important;
}

#cookie-notice .popup-title {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    flex-wrap: wrap;
    letter-spacing: 0;
    line-height: 1.8rem;
}

#cookie-notice .popup-content {
    border-radius: 5px;
}

#cookie-notice .custom-control-input:checked~.custom-control-label::before {
    border-color: #161163;
    background-color: #161163;
}

#cookie-notice .custom-switch .custom-control-label::after {
    background-color: #161163;
}

#cookie-notice h1,
#cookie-notice h2,
#cookie-notice h3,
#cookie-notice h4,
#cookie-notice h5,
#cookie-notice h6 {
    color: #2d3880;
    font-weight: 600;
}

.cookie-notice-toggle-button {
    fill: rgb(69, 72, 81);
    left: 0;
    position: fixed;
    bottom: 0;
    width: 80px;
    height: 80px;
    cursor: pointer;
    z-index: 1030;
    padding: 0;
    border: 0;
    background: transparent;
}

#star path {
    fill: #fff;
}

#star {
    position: absolute;
    left: 10px;
    bottom: 13px;
}

.optional-cookies-button {
    margin: 0 0 1.5rem 0;
    padding: 0;
    font-size: inherit;
    font-weight: 600;
    color: inherit;
    display: block;
    width: 100%;
    text-decoration: none !important;
}

.optional-cookies-button:hover {
    color: inherit;
    text-decoration: none !important;
}

.collapse-icon {
    color: #5c5c5c;
    font-size: 1rem;
    transition: transform .35s ease;
    /* matches bootstrap collapse transition */
}

[aria-expanded="true"] .collapse-icon {
    transform: rotate(180deg);
}

#cookie-notice {
    color: #000;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    margin-left: 0;
}

#cookie-notice h3 {
    margin-bottom: 1rem !important;
    font-size: 2rem;
}

#cookie-notice h4 {
    margin-bottom: 1rem !important;
    font-size: 1.4rem;
}

#cookie-notice .popup-title {
    margin-bottom: 0 !important;
}

#cookie-notice .popup-body {
    max-height: none !important;
}

#cookie-notice .close {
    padding: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 26px;
    font-family: Arial, serif;
    background: none;
    border: 0;
    border-radius: 3px;
}

#cookie-notice .close:hover {
    background-color: #00B67A;
}

.admin-bar .cookie-notice-modal {
    height: calc(100vh - 32px);
    height: calc((var(--vh, 1vh) * 100) - 32px);
    top: 32px;
}

@media only screen and (max-width: 782px) {
    .admin-bar .cookie-notice-modal {
        height: calc(100vh - 46px);
        height: calc((var(--vh, 1vh) * 100) - 46px);
        top: 46px;
    }
}

.bf_cookie_accordion_area {
    display: none;
}

.bf_cookie_accordion_button {
    background: none;
    width: 100% !important;
    padding: 0;
    border: 0 !important;
    margin: 0;
    cursor: pointer;
    text-decoration: none !important;
    color: #000 !important;
    font-weight: 500 !important;
    font-size: 1.15rem !important;
    padding-left: 0 !important;
    align-items: center !important;
    justify-content: space-between !important;
    display: flex !important;
}

.bf_cookie_accordion_button:focus,
.bf_cookie_accordion_button:hover {
    transform: none !important;
}

.bf_cookie_accordion_button .collapse-icon {
    transition: transform .4s;
}

.bf_cookie_accordion_button.open .collapse-icon {
    transform: rotate(180deg);
}

.form-check input+label .switch-on {
    display: none;
}

.form-check input:checked+label .switch-on {
    display: block;
}

.form-check input:checked+label .switch-off {
    display: none;
}

.bf_cookie_settings_toggle {
    align-items: center !important;
    justify-content: space-between !important;
    display: flex !important;
}

/* Popups */

.bf-cookie-popup.bf-cookie-popup__visible {
    display: block !important;
    background-color: rgba(0, 0, 0, .4) !important;
}

.bf-cookie-popup__dialog {
    position: relative;
    width: auto;
    pointer-events: none;
    color: #000;
    display: flex;
    align-items: center;
    margin: 1.75rem auto;
    height: calc(100% - 3.5rem);
    min-height: calc(100% - 3.5rem);
    max-width: 900px;
    transform: none;
}

.bf-cookie-popup__dialog .popup-content {
    background-color: #ffffff;
    max-height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-clip: padding-box;
    outline: none !important;
    border-radius: 5px;
}

.bf-cookie-popup__dialog .popup-header {
    text-align: center;
    border-bottom: none;
    background-color: #fff;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
}

.bf-cookie-popup__dialog .popup-body {
    max-height: none !important;
    overflow-y: auto;
    position: relative;
    flex: 1 1 auto;
}

.bf-cookie-popup__dialog .popup-footer {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
    border-top: 1px solid #dee2e6;
    background-color: #fff !important;
    justify-content: flex-start;
}

#show_cookie_settings_button {
    cursor: pointer;
    color: #00B67A;
}