.cookiebar-preferences {
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    background: #00000069;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
}

.cookiebar-preferences-container {
    background: #fff;
    margin: auto;
    width: 960px;
    max-height: 88vh;
    position: relative;
    padding: 40px;
    overflow: scroll;
    border-radius: 10px;
}

.cookiebar-preferences-container p a {
    color: inherit;
    text-decoration: underline;
}

.cookiebar-preferences h2 {
    font-weight: bold;
}

.cookiebar-layout {
    opacity: 1;
    transition: .3s
}

.cookiebar-hidden {
    display: none !important
}

.cookiebar-content h3 {
    font-size: 18px;
    margin: 0 0 10px;
}

.cookiebar-content a,
.cookiebar-content p {
    font-size: 14px;
    line-height: 1;
    margin: 0;
    color: #fff;
    transition: .3s;
    line-height: 1.2em;
}

.cookiebar-text a {
    text-decoration: underline;
    margin: 0 !important;
    color: inherit;
    font-size: inherit;
}

.cookiebar-content a:hover {
    color: inherit;
}

.cookiebar-decline,
.cookiebar-layout .cookiebar-open-preferences {
    position: relative;
}

/* .cookiebar-decline:after,
.cookiebar-layout .cookiebar-open-preferences:after {
    content: "";
    height: 1px;
    width: 0%;
    position: absolute;
    background: #fff;
    left: 0;
    bottom: -2px;
    transition: .3s
}

.cookiebar-decline:hover:after,
.cookiebar-layout .cookiebar-open-preferences:hover:after {
    width: 100%
} */

.cookiebar-accept:hover {
    background-color: #399158
}

.cookiebar-preferences-container .cookiebar-accept {
    border: 1px solid #000;
    background: transparent;
    color: #000;
    margin-left: 5px;
}

a.cookiebar-accept-all {
    padding: 8px 12px;
    border-radius: 5px;
    color: #fff;
    transition: 0.3s;
}

.cookiebar-toggles {
    margin-bottom: 40px
}

.pf-toggle-container {
    border: 1px solid #00000050;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}

.pf-toggle-container .toggle-image {
    cursor: pointer;
    transition: .3s;
    transform: rotate(0deg)
}

.pf-toggle-container .toggle-image.active {
    transform: rotate(90deg)
}

.toggle-head {
    display: flex;
    justify-content: space-between;
}

.pf-toggle-container p {
    display: none;
    margin: 20px 0 0;
}

.pf-toggle-container.active p {
    display: block
}

.toggle-button {
    position: relative;
    display: flex;
    width: max-content;
    flex-direction: row;
}

.toggle-button .label {
    margin-left: 75px;
    display: block;
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.indicator {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbcbcb;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
    width: 56px;
    height: 32px
}

.indicator:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background-color: #fff;
    -webkit-transition: .4s;
    transition: .3s;
    border-radius: 100px
}

.toggle-button.active .indicator:before {
    -webkit-transform: translateX(23px);
    -ms-transform: translateX(23px);
    transform: translateX(23px)
}

.toggle-button.active .indicator {
    background-color: #000
}

#functionalToggle .indicator {
    cursor: not-allowed
}

@media only screen and (max-width: 1025px) {
    .cookiebar-preferences-container {
        width: 95%;
        padding: 20px
    }

    .cookiebar-preferences h2 {
        margin-bottom: 10px
    }

    .toggle-container {
        padding: 15px;
    }
}

@media only screen and (max-width: 767px) {
    .cookiebar-preferences-container p {
        font-size: 14px;
        line-height: 1.6em;
    }

    .cookiebar-preferences h2 {
        margin-bottom: 10px
    }

    .toggle-button .label {
        font-size: 16px;
    }
}

.cookiebar-layout1 {
    position: fixed;
    z-index: 999;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 15px 40px;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
}

.cookiebar-layout1 .cookiebar-content {
    display: flex;
    justify-content: center;
    align-items: center
}

.cookiebar-layout1 a {
    margin: 0 10px;
}

.cookiebar-layout1 .cookiebar-text {
    padding-right: 20px;
    line-height: 1.2em
}

.cookiebar-accept {
    background: #49bf72;
    padding: 7px 12px;
    border-radius: 5px
}

.cookiebar-decline,
.cookiebar-layout .cookiebar-open-preferences {
    font-style: italic;
    cursor: pointer
}

.cookiebar-layout1 a.cookiebar-open-preferences {
    min-width: max-content;
}

@media only screen and (max-width: 1025px) {

    .cookiebar-layout1 p,
    .cookiebar-layout1 a {
        line-height: 1.2em
    }

    .cookiebar-layout1 {
        padding: 15px 20px;
    }
}

@media only screen and (max-width: 767px) {
    .cookiebar-layout1 .cookiebar-content {
        flex-wrap: wrap
    }

    .cookiebar-layout1 p {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
        font-size: 13px;
    }

    .cookiebar-layout1 .cookiebar-text {
        padding-right: 0;
    }

    .cookiebar-layout1 a {
        margin: 0 10px 0 0;
    }
}

.cookiebar-layout2 {
    position: fixed;
    z-index: 999;
    background: #936ad6;
    width: 600px;
    bottom: 20px;
    right: 20px;
    padding: 25px 20px;
    border-radius: 8px;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
}

.cookiebar-layout2 p {
    margin-bottom: 20px;
    line-height: 1.4em
}

.cookiebar-layout2 a {
    margin: 0 10px 0 0
}

@media only screen and (max-width: 1025px) {
    .cookiebar-layout2 {
        bottom: 10px;
        right: 10px
    }
}

@media only screen and (max-width: 767px) {
    .cookiebar-layout2 {
        width: 100%;
        right: 0;
        left: 0;
        bottom: 0;
        border-radius: 0;
    }

    .cookiebar-layout2 h3 {
        font-size: 16px;
    }

    .cookiebar-layout2 p {
        font-size: 13px;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.cookiebar-layout3 {
    position: fixed;
    z-index: 999;
    width: 100%;
    bottom: 0;
    left: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    background: #00000050 !important;

    animation: fade-in 0.5s ease-in-out forwards;
    opacity: 0;
    animation-delay: 1.5s;
    /* Delay of 1.5 seconds before the animation starts */
}

/* Hide version 3 in Microsoft Clarity. Clarity adds this attribute in heatmaps and recordings */
.cookiebar-layout3[data-clarity-id] {
    display: none !important;
}

/* Hide the cookiebanner on cookiepages */
.cookiebar-layout3.cookiepagetrue {
    display: none;
}

.cookiebar-layout3 .cookiebar-content {
    padding: 50px 40px;
    width: 960px;
    border-radius: 10px
}

.cookiebar-layout3 p {
    margin-bottom: 20px;
    line-height: 1.4em;
    font-size: 16px;
    margin-bottom: 30px;
}

.cookiebar-layout3 h2 {
    font-weight: bold;
    margin: 0 0 10px;
}

.cookiebar-layout3 a {
    margin: 0 10px 0 0
}

@media only screen and (max-width: 1025px) {
    .cookiebar-layout3 .cookiebar-content {
        width: 95%;
    }
}

@media only screen and (max-width: 767px) {
    .cookiebar-layout3 .cookiebar-content {
        padding: 40px 20px;
    }

    .cookiebar-layout3 .cookiebar-text {
        font-size: 14px;
        line-height: 1.6em;
    }
}