﻿.dpdpa--popup {
    visibility: hidden;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
    background-color: #fff;
    padding: 15px;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.25);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.25);
    line-height: 1.6;
    z-index: 9999999997;
    -webkit-transition: 1s all;
    -o-transition: 1s all;
    transition: 1s all
}

    .dpdpa--popup .container {
        max-width: 1200px;
        margin: auto
    }

.dpdpa--popup-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative
}

.dpdpa--popup.active {
    visibility: visible;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0)
}

.dpdpa--popup.hide-close .dpdpa--popup-close {
    display: none
}

.dpdpa--popup.hide-close .dpdpa--popup-button-group {
    padding-right: 0
}

.dpdpa--popup-settings {
    display: inline-block;
    margin-right: 20px
}

.dpdpa--popup-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-right: 2em;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1
}

    .dpdpa--popup-text p {
        margin: 0;
        font-size: 14px;
        line-height: 1.6;
        color: #444
    }

    .dpdpa--popup-text a {
        display: inline-block;
        margin: 0 1px;
        color: #3860BE;
        font-weight: 500
    }

        .dpdpa--popup-text a:hover {
            text-decoration: underline;
            color: #2c4c97
        }

.dpdpa--popup-button-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding-right: 30px
}

    .dpdpa--popup-button-group a {
        margin-right: 15px
    }

        .dpdpa--popup-button-group a:last-child {
            margin-right: 0
        }

a.dpdpa--popup-button {
    display: inline-block;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    border-radius: 3px;
    background-color: #3860BE;
    color: #fff;
    text-decoration: none;
    clear: both;
    white-space: nowrap
}

    a.dpdpa--popup-button:hover, a.dpdpa--popup-button:visited {
        color: #fff;
        text-decoration: none;
        background-color: #3256aa;
        -webkit-transition: 0.2 all;
        -o-transition: 0.2 all;
        transition: 0.2 all
    }

.dpdpa--popup-bg {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,0.3) !important;
    z-index: 9999999998;
    -webkit-transition: 0.4s all;
    -o-transition: 0.4s all;
    transition: 0.4s all;
    cursor: pointer
}

    .dpdpa--popup-bg.active {
        visibility: visible;
        opacity: 1
    }

.dpdpa--popup-sidebar {
    visibility: hidden;
    overflow: hidden;
    opacity: 0;
    background-color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    width: 100%;
    max-width: 400px;
    z-index: 9999999999;
    -webkit-transition: 0.4s all;
    -o-transition: 0.4s all;
    transition: 0.4s all;
    -webkit-transform: translateX(-400px);
    -ms-transform: translateX(-400px);
    transform: translateX(-400px)
}

    .dpdpa--popup-sidebar.active {
        -webkit-transform: translateX(0px);
        -ms-transform: translateX(0px);
        transform: translateX(0px);
        visibility: visible;
        opacity: 1
    }

    .dpdpa--popup-sidebar.dark .cookie--list-box, .dpdpa--popup-sidebar.dark .dpdpa--popup-cookie-link, .dpdpa--popup-sidebar.dark .dpdpa--popup-cookie-title {
        color: #fff
    }

    .dpdpa--popup-sidebar.dark .dpdpa--popup-cookie-detail {
        background-color: #303133
    }

    .dpdpa--popup-sidebar.dark .cookie--list-box {
        border-color: #525252
    }

    .dpdpa--popup-sidebar.dark .dpdpa--popup-cookie-back svg polygon {
        fill: #fff
    }

.dpdpa--popup-close:before, .dpdpa--popup-settings-close:before {
    display: inline-block;
    content: "";
    width: 10px;
    height: 10px;
    background: url("../images/close.svg") no-repeat 0 0;
    background-size: cover
}

.dpdpa--popup-close:hover:before, .dpdpa--popup-settings-close:hover:before {
    width: 10px;
    height: 10px;
    background: url("../images/close.svg") no-repeat 0 0;
    background-size: cover
}

.dpdpa--popup-close {
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translate(0,-50%);
    -ms-transform: translate(0,-50%);
    transform: translate(0,-50%);
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: 20px
}

.dpdpa--popup-settings-close {
    display: inline-block;
    position: absolute;
    right: 30px;
    top: 45%;
    -webkit-transform: translate(0,-50%);
    -ms-transform: translate(0,-50%);
    transform: translate(0,-50%);
    z-index: 2
}

.dpdpa--popup-sidebar-container {
    line-height: 1.7;
    position: absolute;
    top: 60px;
    left: 1em;
    right: 0;
    bottom: 4.5em;
    padding-top: 1em;
    padding-right: 1em;
    overflow-y: auto
}

.dpdpa--popup-sidebar-header {
    position: relative;
    background: #fff;
    z-index: 2
}

.dpdpa--popup-logo {
    min-height: 60px;
    padding: 12px 15px 12px 20px;
    border-bottom: 1px solid #E9E9E9;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

    .dpdpa--popup-logo img {
        width: auto !important;
        max-height: 35px;
        margin-bottom: 0 !important
    }

.dpdpa--popup-section {
    padding-bottom: 15px
}

    .dpdpa--popup-section em {
        font-style: normal;
        font-weight: 500;
        font-size: 19px;
        line-height: 1;
        color: #444
    }

    .dpdpa--popup-section p {
        font-size: 14px;
        line-height: 1.6;
        margin: 10px 0 15px;
        color: #444
    }

    .dpdpa--popup-section .dpdpa--popup-button {
        margin-top: 10px
    }

    .dpdpa--popup-section.intro {
        border-bottom: 1px solid #ddd;
        padding-bottom: 1em
    }

    .dpdpa--popup-section.list {
        margin-top: 1em
    }

    .dpdpa--popup-section #pdpa_settings_confirm {
        position: fixed;
        bottom: 1.5em
    }

.dpdpa--popup-list {
    padding: 0;
    margin: 1em 0 0 0
}

    .dpdpa--popup-list li {
        list-style: none;
        margin-top: 1em
    }

        .dpdpa--popup-list li:first-child {
            margin-top: 0.5em
        }

    .dpdpa--popup-list p {
        font-size: 13px;
        line-height: 1.6
    }

.dpdpa--popup-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.5;
    color: #444
}

.dpdpa--popup-action {
    padding-left: 10px;
    padding-top: 5px;
    text-align: right;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1
}

    .dpdpa--popup-action.text {
        padding-top: 0;
        white-space: nowrap;
        color: #3860BE
    }

.dpdpa--popup-label {
    display: none
}

.dpdpa--popup-switch {
    position: relative;
    display: inline-block;
    width: 55px;
    height: 28px
}

    .dpdpa--popup-switch input {
        opacity: 0;
        width: 0;
        height: 0
    }

.dpdpa--popup-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #F2F1F1;
    border: 1px solid #DDDDDD;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s
}

    .dpdpa--popup-slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 5px;
        bottom: 4px;
        background-color: #bbb;
        -webkit-transition: 0.4s;
        -o-transition: 0.4s;
        transition: 0.4s
    }

.dpdpa--popup-switch input:checked + .dpdpa--popup-slider {
    background-color: rgba(56,96,190,0.2);
    border-color: #3860BE
}

.dpdpa--popup-switch input:focus + .dpdpa--popup-slider {
    -webkit-box-shadow: 0 0 1px #2196F3;
    box-shadow: 0 0 1px #2196F3
}

.dpdpa--popup-switch input:checked + .dpdpa--popup-slider:before {
    background-color: #3860BE;
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px)
}

.dpdpa--alwayson {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: fixed;
    left: 1em;
    bottom: 1em;
    right: auto;
    -webkit-box-shadow: 0 0px 3px rgba(0,0,0,0.15);
    box-shadow: 0 0px 3px rgba(0,0,0,0.15);
    border-radius: 100%;
    width: 40px;
    height: 40px;
    padding: 0;
    -webkit-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
    border: 1px solid #dadada;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    z-index: 999999996
}

    .dpdpa--alwayson:before {
        display: block;
        content: "";
        width: 30px;
        height: 31px;
        background-image: url(/js/cookies/cookie.svg);
        background-size: cover;
        -webkit-transition: 0.2s ease-in-out;
        -o-transition: 0.2s ease-in-out;
        transition: 0.2s ease-in-out
    }

    .dpdpa--alwayson:hover:before {
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1)
    }

    .dpdpa--alwayson:active:before {
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1)
    }

    .dpdpa--alwayson.active {
        opacity: 1;
        visibility: visible
    }

.dpdpa--popup-slider.round {
    border-radius: 34px
}

    .dpdpa--popup-slider.round:before {
        border-radius: 50%
    }

.dpdpa--popup-cookie-link {
    display: inline-block;
    width: auto;
    margin-top: 10px
}

.dpdpa--popup-cookie-detail {
    visibility: hidden;
    padding: 20px 15px 15px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 3;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: 0.5s all;
    -o-transition: 0.5s all;
    transition: 0.5s all;
    overflow: auto
}

    .dpdpa--popup-cookie-detail.active {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
        visibility: visible
    }

.dpdpa--popup-cookie-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 19px;
    font-weight: 500;
    gap: 10px
}

    .dpdpa--popup-cookie-title a {
        display: -webkit-inline-box;
        display: -ms-inline-flexbox;
        display: inline-flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center
    }

.dpdpa--popup-cookie-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 16px;
    margin-top: 26px
}

.cookie--list-box {
    padding: 12px 16px;
    border-bottom: 1px solid #000;
    border-radius: 4px;
    border: 1px solid #888;
    display: none
}

    .cookie--list-box.active {
        display: block
    }

    .cookie--list-box .meta {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        gap: 16px;
        font-size: 13px;
        margin-bottom: 2px
    }

    .cookie--list-box .label {
        font-weight: 700;
        width: 80px;
        min-width: 80px
    }

.dpdpa--popup-cookie-back {
    margin-left: -5px
}

@media only screen and (max-width:860px) {
    .dpdpa--popup {
        padding: 1em;
        max-width: 480px;
        margin: auto;
        left: 1em;
        right: 1em;
        bottom: 1em;
        border-radius: 6px
    }

        .dpdpa--popup.hide-close .dpdpa--popup-text {
            padding-right: 0
        }

    .dpdpa--popup-container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }

    .dpdpa--popup-text {
        padding-right: 30px
    }

        .dpdpa--popup-text p {
            font-size: 13px;
            line-height: 1.6
        }

    .dpdpa--popup-button-group {
        margin-top: 12px;
        padding-right: 0;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end
    }

    a.dpdpa--popup-button {
        padding: 5px 20px;
        font-size: 13px
    }

    .dpdpa--popup-close {
        top: -5px;
        right: 0;
        -webkit-transform: translate(0,0);
        -ms-transform: translate(0,0);
        transform: translate(0,0)
    }

    .dpdpa--popup-sidebar-container {
        bottom: 4em
    }
}

@media only screen and (max-width:782px) {
    .logged-in .dpdpa--popup-sidebar {
        top: 46px
    }
}

@media only screen and (max-width:600px) {
    .logged-in .dpdpa--popup-sidebar {
        top: 0
    }
}
