#dsvgoAccept {
    display: none;
    width: 100%;
    background-color: #fff;
    position: fixed;
    bottom: -100%; /* Start below viewport */
    left: 0;
    z-index: 90000;
    overflow: hidden;
    border-bottom: 1px solid #fff;
    transition: bottom 0.5s ease-in-out;
}

#dsvgoAccept .scrollable {
    max-height: 100vh;
    overflow-y: auto;
}

#dsvgoAccept .scrollable::-webkit-scrollbar {
    width: 0;
}

#dsvgoAccept.active {
    display: block !important;
    bottom: 0;
}

#dsvgoAccept .wrapper {
    position: relative;
    max-width: 1140px;
    margin: 0 auto;
}

#dsvgoAccept .logo-img {
    padding-bottom: 10px;
}

#dsvgoAccept h3 {
    color: #fff;
    font-size: 30px;
    font-weight: bold;
}

#dsvgoAccept a {
    color: #fff;
    font-weight: bold;
}

#dsvgoAccept.active {
    padding: 13px;
    min-height: 120px;
    padding-bottom: 20px;
    padding-top: 20px;
}

#dsvgoAccept .service {
    margin-top: 5px;
}

#dsvgoAccept p {
    display: inline-block;
    margin: 0;
}

#dsvgoAccept .buttons {
    margin-top: 10px;
    margin-left: 30px;
    display: inline;
    float: right;
    position: relative;
}

#dsvgoAccept .btn {
    color: #fff;
    min-width: 150px;
}

#dsvgoAccept .btn.accept {
    background-color: #004994;
    border-color: #004994;
}

#dsvgoAccept .btn.decline {
    background-color: #004994;
    border-color: #004994;
    margin-left: 10px;
}

#dsvgoAccept .btn:hover {
    background-color: #4d80ff;
    border-color: #4d80ff;
}

#dsvgoAccept.active {
    border-top: 6px solid #fff;
    overflow: unset;
    max-height: unset;
}

#dsvgoAccept a {
    font-family: CentGothWGL-Bold, sans-serif;
}

@media (max-width: 479px) {

#dsvgoAccept .buttons {
    margin-left: 0;
    display: block;
    float: none;
}

#dsvgoAccept .buttons .btn {
    width: 100%;
    display: block;
}

#dsvgoAccept .btn.decline {
    margin-left: 0;
    margin-top: 10px;
}
}

/* Extended Version */
body div#dsvgoAccept {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: -100%;
    max-width: 60vw;
    height: auto;
    width: 100%;
    transition: bottom 0.5s ease-in-out;
}

body div#dsvgoAccept.active {
    bottom: 10px;
    height: fit-content;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 32px 68px rgba(0,0,0,.3);
    padding: 20px 0;
}

body div#dsvgoAccept.active .infotext {
    padding: 0 20px;
}

body div#dsvgoAccept.active .serviceContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 10px;
    border-bottom: 1px solid #d6d6d6;
    border-top: 1px solid #d6d6d6;
}

body div#dsvgoAccept.active .service {
    color: var(--darkblue);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
    margin-top: 0;
    padding: 5px;
    justify-content: space-between;
}

body div#dsvgoAccept.active .service label {
    height: 100%;
}

body div#dsvgoAccept.active .service:not(:last-of-type) {
    border-right: 1px solid #d6d6d6;
}

body div#dsvgoAccept.active .service .switch {
    backface-visibility: hidden;
    display: flex;
    flex-shrink: 0;
    height: 32px;
    position: relative;
    width: 57px;
}

body div#dsvgoAccept.active .service .switch input[type="checkbox"] {
    opacity: 0;
    height: 100%;
    margin-right: 0;
    width: 100%;
}

body div#dsvgoAccept.active .service .switch .switchSlider {
    background-color: #141414;
    border-radius: 32px;
    bottom: 0;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    transition: background-color .4s;
}

body div#dsvgoAccept.active .service .switch input:checked+.switchSlider {
    background-color: #004994;
}

body div#dsvgoAccept.active .service .switch .switchSlider::before {
    background-color: #ffffff;
    border-radius: 50%;
    bottom: 4px;
    content: "";
    height: 24px;
    left: 4px;
    position: absolute;
    transition: transform .4s;
    width: 24px;
}

body div#dsvgoAccept.active .service .switch input:checked+.switchSlider::before {
    background-color: #ffffff;
    transform: translateX(26px);
}

body div#dsvgoAccept.active .buttons {
    float: none;
    margin: 0 auto;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 20px;
}

body div#dsvgoAccept.active .buttons div.btn {
    width: 30%;
    height: 100%;
}

body div#dsvgoAccept.active .buttons div.btn.decline {
    margin: 0;
}

@media (max-width: 1199px) {
    body div#dsvgoAccept {
        max-width: 75vw;
    }

body div#dsvgoAccept.active .serviceContainer {
    flex-wrap: wrap;
}

body div#dsvgoAccept.active .service {
    width: 50%;
}

body div#dsvgoAccept.active .service:nth-of-type(1),
body div#dsvgoAccept.active .service:nth-of-type(2) {
    border-bottom: 1px solid #d6d6d6;
}

body div#dsvgoAccept.active .service:nth-of-type(2) {
    border-right: none;
}

body div#dsvgoAccept.active .buttons {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 20px;
    gap: 15px;
    flex-wrap: wrap;
}

body div#dsvgoAccept.active .buttons div.btn {
    width: 100%;
    height: 100%;
}

#dsvgoAccept .scrollable {
    padding-top: 15px;
    padding-bottom: 15px;
}
}

@media (max-width: 767px) {
    body div#dsvgoAccept {
        max-width: 90vw;
    }

body div#dsvgoAccept .infotext .small {
    font-size: 75%;
}

body div#dsvgoAccept.active .service {
    padding: 1em 0.75em;
}
}
