
:root{
    --blue: #2A0057;
    --white:#fff;
    --grey:#f5f5f5;
    --black:#222;
    --black2:#555555;
    --Yellow:#c8ce42;
    --Ciel:#4CBD84;
}

.cookies{
    display: none;
    font-size: 14px;
    background-color: var(--blue);
    color: #fff;
    position: fixed;
    padding: 1em;
    width: 300px;
    z-index: 9999;
    font-family: sans-serif;
    bottom: 10px;
    right: 10px;
    box-shadow: -4px 4px 50px rgba(0,0,0,0.1), 0px 10px 25px rgba(0,0,0,0.1);
    border: solid 5px var(--Orange);
}
    .cookies .btn{
        background-color: var(--Ciel);
        color:#fff;
        font-size: 14px;
        border-radius: 0%;
        transition: opacity 0.5s linear;
        box-shadow: none;
        width: 100%;
    }
    .cookies .btn:hover{
        opacity: 0.7;
    }
    .cookies .btn:focus,.btn:active{
        box-shadow: none;
    }
    .cookies .white{
        background-color: #fff;
        color:var(--blue);
    }

    .cookies .cookiespersonalises{
        display: none;
        border-top: 1px solid #fff;
        margin-top: 1em;
        padding-top: 1em;
    }

    .cookies .cookiespersonaliselast{
        border-top: 0px !important;
        padding: 0;
    }

    .cookies .onoffswitch {
        position: relative; width: 98px;
        -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
    }
    .cookies .onoffswitch-checkbox {
        display: none;
    }
    .cookies .onoffswitch-label {
        display: block; overflow: hidden; cursor: pointer;
        border: 2px solid #05c67f; border-radius: 15px;
    }
    .cookies .onoffswitch-inner {
        display: block; width: 200%; margin-left: -100%;
        transition: margin 0.3s ease-in 0s;
    }
    .cookies .onoffswitch-inner:before, .onoffswitch-inner:after {
        display: block; float: left; width: 50%; height: 27px; padding: 0; line-height: 27px;
        font-size: 12px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
        box-sizing: border-box;
    }
    .cookies .onoffswitch-inner:before {
        content: "Activé";
        padding-left: 10px;
        background-color: #05c67f; color: #FFFFFF;
    }
    .onoffswitch-inner:after {
        content: "Désactivé";
        padding-right: 10px;
        background-color: #EEEEEE; color: #999999;
        text-align: right;
    }
    .onoffswitch-switch {
        display: block; width: 19px; margin: 6.5px;
        background: #FFFFFF;
        position: absolute; top: 0; bottom: 0;
        right: 67px;
        border: 2px solid #0c4a71; border-radius: 15px;
        transition: all 0.3s ease-in 0s; 
    }
    .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
        margin-left: 0;
    }
    .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
        right: 0px; 
    }

    @media screen and (max-width: 767px){
        .cookies .btn{
            margin: 0.5em 0;
            display: block;
            width: 100%;
        }
    }