#cookie-policy-popup {
    color: #fff;
    display: none;
    background: #003566;
    border-bottom: 7px solid #D8D8D8;
}

    #cookie-policy-popup p {
        margin: 0;
    }

    #cookie-policy-popup > .cookie-policy-popup-wrapper {
        width: 50%;
        padding: 20px 0;
        margin: auto;
        position: relative;
    }

        #cookie-policy-popup > .cookie-policy-popup-wrapper > .cookie-policy-popup-header {
            position: absolute;
            top: 20px;
            left: 0;
            bottom: 0;
            width: 150px;
        }

            #cookie-policy-popup > .cookie-policy-popup-wrapper > .cookie-policy-popup-header > .cookie-policy-popup-title {
                font-size: 1.25em;
                font-weight: bold;
                text-transform: uppercase;
                line-height: 1.2;
                text-align: right;
            }

        #cookie-policy-popup > .cookie-policy-popup-wrapper > .cookie-policy-popup-controls {
            position: absolute;
            top: 20px;
            right: 0;
            bottom: 0;
            width: 150px;
            text-align: center;
        }

            #cookie-policy-popup > .cookie-policy-popup-wrapper > .cookie-policy-popup-controls > span {
                display: block;
            }

            #cookie-policy-popup > .cookie-policy-popup-wrapper > .cookie-policy-popup-controls > .cookie-policy-popup-accept {
                background: none repeat scroll 0 0 white;
                border: medium none;
                color: #003566;
                display: inline-block;
                font-family: 'NiveaMedium';
                font-weight: 400;
                line-height: 11px;
                margin: 10px 0;
                padding: 10px 10px 9px;
                text-transform: uppercase;
                cursor: pointer;
                border: 1px solid #D8D8D8;
            }


            #cookie-policy-popup > .cookie-policy-popup-wrapper > .cookie-policy-popup-controls > .cookie-policy-popup-info {
                margin: 5px 0 0;
                color: white;
            }

                #cookie-policy-popup > .cookie-policy-popup-wrapper > .cookie-policy-popup-controls > .cookie-policy-popup-info a {
                    text-decoration: underline;
                    color: white;
                }

                    #cookie-policy-popup > .cookie-policy-popup-wrapper > .cookie-policy-popup-controls > .cookie-policy-popup-info a:hover,
                    #cookie-policy-popup > .cookie-policy-popup-wrapper > .cookie-policy-popup-controls > .cookie-policy-popup-info a:focus,
                    #cookie-policy-popup > .cookie-policy-popup-wrapper > .cookie-policy-popup-controls > .cookie-policy-popup-info a:active {
                        text-decoration: none;
                        color: white;
                    }

        #cookie-policy-popup > .cookie-policy-popup-wrapper > .cookie-policy-popup-body {
            padding: 0 20px;
            margin: 0 160px;
            overflow: hidden;
            border-left: 1px solid #fff;
            font-size: 1.2em;
            min-height: 20px;
        }
        .popup {
            background: #003566;
            bottom: 5%;
            box-shadow: 0 1px 21px 0 rgba(1, 19, 111, 0.45);
            box-sizing: border-box;
            color:white;
            display: block;
            left: 50%;
            line-height: 15px;
            max-width: 768px;
            padding: 22px;
            position: fixed;
            transform: translateX(-50%);
            width: 100%;
            z-index: 99999;
          }
         
          .popup p{
              margin: 0;
          }

          .popup h2{
            font-size: 1.25em;
            font-weight: bold;
            line-height: 1.2;
            text-transform: uppercase;
        }

          .popup .bdf-cookie-policy-content {
            box-sizing: border-box;
            float: left;
            padding-right: 25px;
          }
          .popup .bdf-cookie-close {
            cursor: pointer;
            height: 22px;
            position: absolute;
            right: 11px;
            top: 11px;
            width: 22px;
          }
          .popup .bdf-cookie-close:before,
          .popup .bdf-cookie-close:after {
            -moz-transform: rotate(45deg);
            -o-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            -webkit-transform: rotate(45deg);
            background: white;
            content: "";
            height: 13px;
            left: 10px;
            margin-top: -8px;
            position: absolute;
            top: 50%;
            transform: rotate(45deg);
            width: 1px;
          }
          .popup .bdf-cookie-close:after {
            height: 1px;
            left: 4px;
            margin-top: -2px;
            width: 13px;
          }
          .popup .bdf-cookie-close:hover:before,
          .popup .bdf-cookie-close:hover:after {
            background: #a6c0e4;
          }
          .popup .bdf-cookie-policy-buttons {
            float: left;
            text-align: center;
            width: 25%;
          }
          .popup .bdf-cookie-policy-confirmation-required {
            padding-top: 10px;
            width: 100%;
          }
          .popup .bdf-cookie-policy-accept {
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            background-color:white;
            border: 1px solid transparent;
            border-color: white;
            color: #003566;
            padding: 10px 10px 9px;
            text-align: center;
            vertical-align: middle;
            white-space: nowrap;
          }
          .popup .bdf-cookie-policy-first-time {
            display: block;
            float: left;
            margin-top: 15px;
            padding-bottom: 15px;
            position: relative;
            width: 100%;
          }
          .popup .bdf-cookie-policy-change {
            cursor: pointer;
            display: inline-block;
            font-size: 11px;
            margin-top: 10px;
            text-decoration: underline;
          }
          .popup a {
            color: #5d5d5d;
            
          }
          .popup a:hover {
            text-decoration: underline;
          }
          .popup .bdf-cookie-policy-confirmation-required {
            float: left;
          }
          .popup .bdf-cookie-policy-confirmation-required .bdf-cookie-policy-content {
            width: 75%;
          }



    .cookie-settings{
        display: block;
        float: right;
    }
    .checkbox {
        display: inline-block;
        margin-right: 50px;
        position: relative;
        width: auto; 
    }
    .checkbox input {
        display: none;
    }

    .checkbox  label {
        font-size: 0;
    }
    .checkmark {
        -webkit-transition: .4s;
        background-color: gray;
        border: 1px solid gray;
        border-radius: 30px;
        box-sizing: border-box;
        display: block;
        cursor: pointer;
        height: 31px;
        padding-right: 31px;
        padding-top: 1px;
        position: relative;
        transition: .4s;
    }

    .checkmark-text {
        -webkit-transition: .4s;
        background-color: white;
        border-radius: 30px;
        box-sizing: border-box;
        color: gray;
        content: "";
        display: inline-block;
        font-family: 'NiveaMedium';
        font-size: 13px;
        margin-left: 2px;
        margin-right: 2px;
        min-height: 16px;
        padding: 5px 10px;
        position: relative;
        transition: .4s;
        width: auto;
    }

    input:checked + .checkmark {
        background-color:  #003566;
        border-color:  #003566;
    }

    input:focus + .checkmark {
        box-shadow: 0 0 1px  #003566;
    }

    input:checked + .checkmark {
        padding-right: 0;
        padding-left: 31px;
    }

    input:checked + .checkmark .checkmark-text {
        /*.float-right;*/
        color:  #003566;
    }

    .enabled-alltime {
        color: #003566;
        display: block;
        font-family: 'NiveaMedium';
        font-size: 13px;
        float:right;
        position: relative;
        text-align: right;
        min-height: 60px;
    }
    .enabled-alltime .wrapper {
        display: inline-block;
        margin-right: 30px;
        text-align: center;
        width: 100px;
    }

    .enabled-alltime .sprite {
        display: block;
        margin-bottom: 5px;
    }

    .enabled-alltime .sprite:before {
        left:44%;
        border: solid #003566;
        border-width: 0 4px 4px 0;
        content: '';
        display: block;
        height: 36px;
        position: relative;
        top: 3;
        transform: rotate(45deg);
        width: 14px;
    }

          @media (max-width: 800px) {
            .popup {
              max-width: 95%;
              padding-top: 30px;
            }
            .popup .bdf-cookie-policy-content,
            .popup .bdf-cookie-policy-buttons {
              width: 100%;
            }
            .popup .bdf-cookie-policy-change,
            .popup .bdf-cookie-policy-accept {
              display: block;
              margin: 14px auto;
            }
            .popup .bdf-cookie-policy-confirmation-required .bdf-cookie-policy-content {
                padding-right: 0;
                width: 100%;
            }
          }        

@media screen and (max-width: 765px) and (min-width: 0) {
    #cookie-policy-popup > .cookie-policy-popup-wrapper,
    #cookie-policy-popup > .cookie-policy-popup-wrapper > .cookie-policy-popup-header,
    #cookie-policy-popup > .cookie-policy-popup-wrapper > .cookie-policy-popup-body,
    #cookie-policy-popup > .cookie-policy-popup-wrapper > .cookie-policy-popup-controls {
        position: static;
    }

    #cookie-policy-popup > .cookie-policy-popup-wrapper,
    #cookie-policy-popup > .cookie-policy-popup-wrapper > .cookie-policy-popup-header,
    #cookie-policy-popup > .cookie-policy-popup-wrapper > .cookie-policy-popup-controls {
        width: 100%;
    }

    #cookie-policy-popup > .cookie-policy-popup-wrapper > .cookie-policy-popup-header > .cookie-policy-popup-title,
    #cookie-policy-popup > .cookie-policy-popup-wrapper > .cookie-policy-popup-body,
    #cookie-policy-popup > .cookie-policy-popup-wrapper > .cookie-policy-popup-controls {
        text-align: center;
    }

    #cookie-policy-popup > .cookie-policy-popup-wrapper > .cookie-policy-popup-header {
        text-align: left;
        margin-bottom: 10px;
    }

    #cookie-policy-popup > .cookie-policy-popup-wrapper > .cookie-policy-popup-body {
        margin: 0 20px;
        border-left: 0 none;
        border-top: 1px solid #fff;
        padding: 5px 0 0;
        width: auto;
    }
    .popup {
        max-height: 90vh;
        padding-top: 30px;
    }
    .popup .bdf-cookie-wrapper {
        max-height: 70vh;
        overflow-y: scroll;
    }
    .popup .bdf-cookie-policy-first-time {
        margin-bottom: 10px;
        margin-top: 0;
    }

    .popup .bdf-cookie-policy-confirmation-required {
        margin-top: 0;
        padding-top: 0;
    }

    .popup .bdf-cookie-policy-accept,
    .popup .bdf-cookie-policy-change {
        position: relative;
    }

    .popup .bdf-cookie-policy-accept {
        float: right;
        right: 30px;
    }

    .popup .bdf-cookie-policy-change {
        bottom: 10px;
        left: 15px;
        float: left;
        width:40%;
    }

    .enabled-alltime .wrapper{
        margin-right: 15px;
    }

    .checkbox{
        margin-right: 0;
    }

}
body.cookiepopup{
    position:fixed;
}

