#cookie-overlay{
    display:flex;
    position:fixed;
    top:0;
    left:0;
    height:100%;
    width:100%;
    background-color:rgba(0, 0, 0, 0.5);
    z-index:9998;
    
    -webkit-box-align:center;
    -ms-flex-align:center;
    align-items:center;
    -webkit-box-pack:center;
    -ms-flex-pack:center;
    justify-content:center;
    
    /* font-size:13px; */
    line-height:1.8em;
}
#cookie-container{
    width:650px;
    max-width:90%;
    max-height:90%;
    overflow:auto;
    
    background-color:white;
    border:1px solid black;
    border-radius:4px;
    margin:16px;
    padding:8px;
    -webkit-box-shadow:0 8px 48px rgba(0,0,0,.15);
    box-shadow:0 8px 48px rgba(0,0,0,.15);
}
#cookie-header{
    text-align:right;
}
#cookie-content{
    margin:16px;
    margin-bottom:0;
}
#cookie-buttons{
    margin:16px;
    margin-top:32px;
}
#cookie-buttons button{
    display:block;
    width:100%;
    margin:4px 0;
    padding:8px;
    border:0;
    border-radius:4px;
    cursor:pointer;
    outline:none;
    
    background-color:rgba(34, 34, 34, 0);
    color:#004C84;
}
#cookie-buttons button:hover{
    opacity:.5;
}
#cookie-buttons button:focus{
    opacity:.8;
}
#cookie-buttons #cookie-button-accept{
    background-color:#004C84;
    color:white;
}
#cookie-button-reject{
    display:inline-block;
    background-color:transparent;
    border-radius:4px;
    cursor:pointer;
    border:0;
    outline:none;
    padding:10px 30px;
}

#purposes-content{
    display:none;
}
#purposes-content .purposes-btn {
    font-size:14px;
    font-weight:700;
    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;
    padding:8px 16px;
    background-color:rgba(0,0,0,.07);
    border-radius:6px;
    text-decoration:none;
    background-size:21px;
    background-position:center left 10px;
    background-repeat:no-repeat;
    cursor:pointer;
    
    background-color:transparent;
    border:1px solid rgba(0,0,0,.25);
    outline:none;
}

#purposes-content .purposes-buttons{
    border:0;
    padding:24px 16px;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-pack:end;
    -ms-flex-pack:end;
    justify-content:flex-end;
    -webkit-box-align:center;
    -ms-flex-align:center;
    align-items:center;
}
#purposes-content .purposes-btn:hover {
    opacity:.8;
}

#purposes-content .purposes-buttons button{
    margin:0 8px;
    border-radius:32px;
    -webkit-box-shadow:0 4px 8px -6px rgba(0,0,0,.2);
    box-shadow:0 4px 8px -6px rgba(0,0,0,.2);
    padding:8px 20px;
    background-color:#ededed;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    text-align:center;
    color:#3c3c3c;
    background-repeat:no-repeat;
    background-position:center left 16px;
    padding-left:38px;
    white-space:nowrap;
    overflow:hidden;
    -o-text-overflow:ellipsis;
    text-overflow:ellipsis;
    display:block;
    border:0;
    outline:none;
}
#purposes-content .purposes-buttons button.purposes-btn-reject{
    background-image:url("data:image/svg+xml,%3C%3Fxml version='1.0'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' enable-background='new 0 0 386.667 386.667' height='512px' viewBox='0 0 386.667 386.667' width='512px' class=''%3E%3Cg%3E%3Cpath d='m386.667 45.564-45.564-45.564-147.77 147.769-147.769-147.769-45.564 45.564 147.769 147.769-147.769 147.77 45.564 45.564 147.769-147.769 147.769 147.769 45.564-45.564-147.768-147.77z' data-original='%23000000' class='active-path' data-old_color='%23000000' fill='%233c3c3c'/%3E%3C/g%3E%3C/svg%3E%0A");
    background-size:14px;
}
#purposes-content .purposes-buttons button.purposes-btn-accept{
    background-color:#1cc691;
    color:#06281f;
    background-image:url("data:image/svg+xml,%3C%3Fxml version='1.0'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' enable-background='new 0 0 515.556 515.556' height='512px' viewBox='0 0 515.556 515.556' width='512px' class=''%3E%3Cg%3E%3Cpath d='m0 274.226 176.549 176.886 339.007-338.672-48.67-47.997-290.337 290-128.553-128.552z' data-original='%23000000' class='active-path' data-old_color='%23000000' fill='%2306281F'/%3E%3C/g%3E%3C/svg%3E%0A");
    background-size:16px;
}

#purposes-content .purposes-item{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient:vertical;
    -webkit-box-direction:normal;
    -ms-flex-direction:column;
    flex-direction:column;
    margin:0 24px;
}
#purposes-content .purposes-item:not(:last-of-type){
    border-bottom:1px solid rgba(0,0,0,.075);
}
#purposes-content .purposes-item-header{
    background:-webkit-gradient(linear,left bottom,left top,from(rgba(255,255,255,0)),color-stop(15%,#fff));
    background:-o-linear-gradient(bottom,rgba(255,255,255,0) 0,#fff 15%);
    background:linear-gradient(0deg,rgba(255,255,255,0) 0,#fff 15%);
    
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    padding:24px 0;
}
#purposes-content .purposes-item-title{
    flex-grow:1;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-pack:justify;
    -ms-flex-pack:justify;
    justify-content:space-between;
}
#purposes-content .purposes-item-title label{
    font-weight:bold;
    font-size:16px;
}
#purposes-content .purposes-item-title-btn{
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    font-size:12px;
    color:rgba(0,0,0,.75);
    font-weight:300;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-align:center;
    -ms-flex-align:center;
    align-items:center;
    cursor:pointer;
    outline:none;
    border:0;
    background:transparent;
}
#purposes-content .purposes-item-title-btn:after{
    content:"";
    width:10px;
    height:10px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='5' viewBox='0 0 10 5'%3E%3Cpath fill='none' fill-rule='evenodd' stroke='%23979797' stroke-linecap='round' stroke-linejoin='round' d='M9.243 0L5 4.243h0L.757 0'/%3E%3C/svg%3E");
    opacity:.5;
    background-position:center;
    background-repeat:no-repeat;
    display:inline-block;
    margin:8px 6px;
}
#purposes-content .purposes-checkbox{
    -ms-flex-negative:0;
    flex-shrink:0;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-align:center;
    -ms-flex-align:center;
    align-items:center;
    margin-left:24px;
}
#purposes-content .purposes-checkbox input{
    -moz-appearance:none;
    appearance:none;
    -webkit-appearance:none;
    padding:0;
    border:0;
    margin:0;
    
    width:64px;
    height:32px;
    border-radius:32px;
    -webkit-transition:background-position .4s ease,background-color .4s ease;
    -o-transition:background-position .4s ease,background-color .4s ease;
    transition:background-position .4s ease,background-color .4s ease;
    background-color:#ccc;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath fill='%23FFF' fill-rule='evenodd' d='M9 0a9 9 0 1 1 0 18A9 9 0 0 1 9 0zM5.729 5.033a.5.5 0 0 0-.638.058l-.058.07a.5.5 0 0 0 .058.637l3.201 3.201-3.201 3.203a.5.5 0 0 0 .707.707l3.201-3.203 3.203 3.203.07.058a.5.5 0 0 0 .637-.058l.058-.07a.5.5 0 0 0-.058-.637L9.706 8.999l3.203-3.201a.5.5 0 0 0-.707-.707L8.999 8.292 5.798 5.091z'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:top 4px left 4px;
    background-size:24px 24px;
    outline:none;
}
#purposes-content .purposes-checkbox input:checked{
    background-color:#1cc691;
    background-position:top 4px left 36px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath fill='%23FFF' fill-rule='evenodd' d='M9 0a9 9 0 1 1 0 18A9 9 0 0 1 9 0zm4.646 5.646l-6.198 6.2-3.1-3a.5.5 0 1 0-.696.718l3.454 3.342a.5.5 0 0 0 .701-.006l6.547-6.546a.5.5 0 1 0-.708-.708z'/%3E%3C/svg%3E");
}
#purposes-content .purposes-checkbox input[disabled]{
    opacity:.35;
}
#purposes-content .purposes-item-body{
    max-height:0;
    overflow:hidden;
    -webkit-transition:max-height .4s ease,padding .4s ease;
    -o-transition:max-height .4s ease,padding .4s ease;
    transition:max-height .4s ease,padding .4s ease;
    font-size:14px;
    font-weight:300;
    color:rgba(0,0,0,.75);
}
#purposes-content .purposes-item-shown .purposes-item-body{
    max-height:1000px;
    padding:0 0 24px;
}

#purposes-content .purposes-footer{
    display:flex;
    justify-content:flex-end;
    margin:20px;
}
#purposes-content .purposes-footer button{
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    margin:4px;
    padding:8px 24px;
    border-radius:64px;
    cursor:pointer;
    font-weight:700;
    font-size:100%;
    background-color:#004C84;
    color:#fff;
    text-align:center;
    border-color:transparent;
    outline:none;
}
#purposes-content .purposes-footer button:focus,
#purposes-content .purposes-footer button:hover{
    opacity:.8;
}

@media only screen and (max-width:400px){
    #purposes-content .purposes-buttons button.purposes-btn-reject,
    #purposes-content .purposes-buttons button.purposes-btn-accept{
        background-image:none;
        padding:8px 20px;
    }
}