.wg-cookie-policy {
    font-family: 'Open Sans', sans-serif;
    position: fixed;
    height: 100vh;
    width: 90%;
    max-width: 500px;
    left: 0;
    top: 0;
    right: 100%;
    bottom: 0;
    background: #fff;
    z-index: 6000;
    transform: translateX(0);
    transition: transform .6s;
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000;
    animation: opacity-show .4s forwards;
}

    .wg-cookie-policy.left {
        left: 0;
        right: 100%;
    }

    .wg-cookie-policy.right {
        right: 0;
        left: 100%;
    }

    .wg-cookie-policy.hide {
        transform: translateX(-100%);
        animation: opacity-hide .4s forwards;
    }

.wg-cookie-content {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    padding: 2rem 2rem 6rem 2rem;
    overflow-y: auto;
    background-color: #E8E8E8;
}

    .wg-cookie-content h2 {
        margin: 1rem 0;
        line-height: 1.5;
        font-weight: bold;
        color: #000;
        font-size: 1.5rem;
    }

    .wg-cookie-content h3 {
        margin: 1rem 0;
        line-height: 1.5;
        font-weight: bold;
        color: #000;
    }

    .wg-cookie-content p {
        margin: 1rem 0;
        line-height: 1.5;
    }

    .wg-cookie-content .button-container {
        margin-top: 2rem;
    }

        .wg-cookie-content .button-container button {
            line-height: 1.5;
        }

.wg-cookie-section {
    position: relative;
}

div.wg-popup-background {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.56);
    z-index: 5000;
    text-align: center;
    white-space: nowrap;
    position: fixed;
}

    div.wg-popup-background:before {
        width: 0;
        height: 100%;
        content: "";
        vertical-align: middle;
        display: inline-block;
    }

.wg-switch {
    position: absolute;
    top: -6px;
    right: 0;
    display: inline-block;
    width: 82px;
    height: 34px;
}

    .wg-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .wg-switch .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        -webkit-transition: .4s;
        transition: .4s;
    }

        .wg-switch .slider:before {
            position: absolute;
            content: "";
            height: 26px;
            width: 36px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            -webkit-transition: .4s;
            transition: .4s;
            z-index: 1;
        }

    .wg-switch input:checked + .slider {
        background-color: #304e58;
    }

    .wg-switch input:focus + .slider {
        box-shadow: 0 0 1px #304e58;
    }

    .wg-switch input:checked + .slider:before {
        -webkit-transform: translateX(38px);
        -ms-transform: translateX(38px);
        transform: translateX(38px);
        z-index: 1;
    }

    .wg-switch .slider.round {
        border-radius: 34px;
    }

        .wg-switch .slider.round:before {
            border-radius: 25px;
        }

        .wg-switch .slider.round > span {
            position: absolute;
            top: 9px;
            color: white;
            font-size: 0.875rem;
            user-select: none;
        }

        .wg-switch .slider.round .on {
            left: 13px;
        }

        .wg-switch .slider.round .off {
            right: 13px;
            color: #666;
        }

button[name=toggle_cookie_policy] {
    position: fixed;
    left: 0;
    bottom: 0;
    padding: 0;
    border: 0;
    z-index: 6000;
    line-height: 0;
    min-width: 0;
    background-color: transparent;
    display: inline-block;
    height: 80px;
    width: 80px;
    overflow: hidden;
    z-index: 7000;
    cursor: pointer;
    outline: none;
}

    button[name=toggle_cookie_policy] span {
        position: fixed;
        bottom: 16px;
        left: 15px;
        color: white;
        font-size: 1.25rem;
    }
/* button[name=toggle_cookie_policy] svg       { position: absolute; top: 24px; transform: scale(0.75); left: -20px; } */
button[name=accept_cookies] {
    background-color: #304e58;
    padding: 0.5rem 1rem;
    border: 0;
    border-radius: 8px;
    color: #fff;
    min-width: 0;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
}

@media only screen and (max-width: 500px) {
    .wg-cookie-policy {
        left: 0;
        right: 0;
        top: 0;
        transform: translateY(0);
        width: 100%;
    }

        .wg-cookie-policy.hide {
            transform: translateY(-100%);
        }
}

@keyframes opacity-show {
    0% {
        opacity: 0;
    }

    99% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

@keyframes opacity-hide {
    0% {
        opacity: 1;
    }

    99% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}