.cookie-bar{
    display: block;
    padding: 15px 0;
    position: fixed;
    bottom: 0;
    left: 25px;
    background: #E2E2E2;
    width: calc(100% - 50px);
    height: auto;
    z-index: 10;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.1);
}
.cookie-bar .content-width{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.cookie-bar .content-width .cookie-desc p{margin-bottom: 0;}
.cookie-bar .content-width .cookie-desc a{color: var(--secondary-color) ; text-decoration: none;}
.cookie-bar .content-width .cookie-options button{
    margin: 0 0 0 10px;
    text-decoration: none;
    font-size: 13px;
    font-family: 'encodesans';
    font-weight: 500;
    font-style: normal;
    text-transform: uppercase;
    color: #fff;
    background-color: var(--primary-color);
    padding: 13px 20px;
    display: inline-block;
    border: 0;
    cursor: pointer
}
.cookie-bar .content-width .cookie-options button:hover{opacity: 0.6;}
.cookie-bar .content-width .cookie-options .btn-config{background-color: var(--secondary-color);}

.cookie-opt-overlay .cookie-opt-content{
    background: #fff;
    margin: 0 auto;
    max-width: 600px;
    width: 100%;
    padding: 25px;
}

.cookie-opt-overlay .cookie-single-opt-toggle label em, 
.cookie-opt-overlay .cookie-opt-cattitle label em {
    width: 30px; height: 30px; 
    border-radius: 50%; background: #fff;
    position: absolute;
}
.cookie-opt-overlay .cookie-single-opt-toggle:has(input:checked) label em::before, 
.cookie-opt-overlay .cookie-opt-cattitle:has(input:checked) label em::before{
    background: url("../gfx/check.svg") no-repeat;
    position: absolute;
    content: '';
    top: 10px;
    left: 8px;
    width: 15px;
    height: 15px;
}

.cookie-bar .content-width a { color: #fff; text-decoration: underline}
.cookie-bar .content-width a:hover { text-decoration: none}

.cookie-bar .cookie-desc {-webkit-flex: 1 1 auto;-ms-flex: 1 1 auto;flex: 1 1 auto;}
.cookie-bar .cookie-options  { white-space: nowrap}

/* -- -- */
.cookie-opt-overlay {
    font-family: "Roboto", "Helvetica", sans-serif;
    max-width: 600px; color: #595959;
    position: fixed;
    left: 50%; top: 50%;z-index: 99999;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
}
.cookie-opt-overlay .cookie-top-container { max-height: 70vh; overflow: auto; margin-top: 5px;}
.cookie-opt-overlay,
.cookie-opt-overlay * {-webkit-box-sizing: border-box; -moz-box-sizing: border-box;box-sizing: border-box;}
.cookie-opt-overlay .cookie-opt-title { font-size: 22px; margin-bottom: 30px;}

.cookie-opt-overlay .cookie-opt-close {
    border: 0; width: 50px; height: 50px; background: transparent;
    -moz-appearance: none; -webkit-appearance: none; appearance: none;
    cursor: pointer;position: absolute;
     right: 1px; top: 1px; z-index: 4;
}
.cookie-opt-overlay .cookie-opt-close span{ display: none}
.cookie-opt-overlay .cookie-opt-close::before,
.cookie-opt-overlay .cookie-opt-close::after {
    width: 20px; height: 2px; content:""; position: absolute; background: #808080;
    left: 50%; top: 50%;  margin-left: -10px; margin-top: -1px;
}

.cookie-opt-overlay .cookie-opt-close::before {-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);transform: rotate(45deg);}
.cookie-opt-overlay .cookie-opt-close::after {-webkit-transform: rotate(-45deg);-moz-transform: rotate(-45deg);transform: rotate(-45deg);}

.cookie-opt-overlay .cookie-opt-content { text-align: left}
.cookie-opt-overlay .cookie-opt-options {}
.cookie-opt-overlay .cookie-opt-toggle {
    width: 40px; height: 40px;cursor: pointer;
    background: transparent; border: 0; text-align: center; position: absolute;
    right: 1px; top: 1px;
}
.cookie-opt-overlay .cookie-opt-toggle::before {
    content: ""; width: 10px; height: 10px; position: absolute;
    left: 50%; top: 50%; margin-left: -5px; margin-top: -9px;
    border-right: 2px solid #808080; border-bottom: 2px solid #808080;display: block;
    -webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);transform: rotate(45deg);
}
.cookie-opt-overlay .cookie-opt-toggle.open {
    -webkit-transform: rotate(180deg);-moz-transform: rotate(180deg);transform: rotate(180deg);
}

.cookie-opt-overlay .cookie-opt-cattitle {
    background: #EDEDED; padding: 11px 10px; min-height: 40px; font-size: 13px;
    text-transform: uppercase; font-weight: bold; position: relative;
    border-top: 2px solid #fff; display: flex; flex-direction: row-reverse;
}
.cookie-opt-overlay .cookie-opt-cattitle small {
    display: block; text-transform: none; font-size:12px;
    padding-left: 40px;font-weight: normal; filter: alpha(opacity=75);
    opacity: 0.75; margin-right: 40px;padding-top: 5px; line-height: normal;
}
.cookie-opt-overlay .cookie-opt-cattitle:first-child { border-top: 0}

.cookie-opt-overlay .cookie-single-opt-toggle input,
.cookie-opt-overlay .cookie-opt-cattitle input { position: absolute; left: 0; top: 0; opacity: 0}

.cookie-opt-overlay .cookie-single-opt-toggle  label,
.cookie-opt-overlay .cookie-opt-cattitle label { cursor: pointer;}

.cookie-opt-overlay .cookie-opt-cattitle input[type="checkbox"] + label{display: block;margin-bottom: 0;}

.cookie-opt-overlay .cookie-single-opt-toggle label em,
.cookie-opt-overlay .cookie-opt-cattitle label em {
    width: 25px; height: 25px; display: inline-table; background-color: #E1E1E1; color: #ccc; float: left; margin-right: 10px;
    border:0;
    border-radius: 50%;margin-top: -1px;
    background-position: 5px 8px; background-size: 14px auto; background-repeat: no-repeat;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTEgOCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MjsiPjxwYXRoIGQ9Ik0xMC4wNTYsMC4wMDJjMC43ODcsMC4wNjYgMS4yMDYsMS4xMTggMC42NTEsMS43MDVsLTUuNzA3LDUuNzA3bC0zLjcwNywtMy43MDdjLTEuNDA5LC0xLjQ5IDAuNjMyLC0yLjE1NCAxLjQxNCwtMS40MTRsMi4yOTMsMi4yOTNsNC4yOTMsLTQuMjkzYzAuMzM1LC0wLjMxNyAwLjQwNCwtMC4zMDIgMC43NjMsLTAuMjkxWiIgc3R5bGU9ImZpbGw6I2NjYzsiLz48L3N2Zz4=);
}
.cookie-opt-overlay .cookie-opt-cattitle label > span {padding: 2px 0;display: block; line-height: normal; margin-left: 40px;}

.cookie-opt-overlay .cookie-single-opt-toggle:has(input:checked) label em,
.cookie-opt-overlay .cookie-opt-cattitle:has(input:checked) label em {
    color: #fff;background-color: #103869;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTEgOCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MjsiPjxwYXRoIGQ9Ik0xMC4wNTYsMC4wMDJjMC43ODcsMC4wNjYgMS4yMDYsMS4xMTggMC42NTEsMS43MDVsLTUuNzA3LDUuNzA3bC0zLjcwNywtMy43MDdjLTEuNDA5LC0xLjQ5IDAuNjMyLC0yLjE1NCAxLjQxNCwtMS40MTRsMi4yOTMsMi4yOTNsNC4yOTMsLTQuMjkzYzAuMzM1LC0wLjMxNyAwLjQwNCwtMC4zMDIgMC43NjMsLTAuMjkxWiIgc3R5bGU9ImZpbGw6I2ZmZjsiLz48L3N2Zz4=);
}

.cookie-opt-overlay .cookie-opt-catinfo { font-size: 13px; line-height: 16px; background: #F1F1F1; display: none}

.cookie-opt-overlay .cookie-opt-catinfo p { padding: 15px 18px; margin: 0 }
.cookie-opt-overlay .cookie-opt-catinfo .cookie-opt-table-wrap{ padding: 15px 0; border-top: 1px solid #E4E4E4}
.cookie-opt-overlay .cookie-opt-catinfo table {table-layout: fixed;}
.cookie-opt-overlay .cookie-opt-catinfo table th,
.cookie-opt-overlay .cookie-opt-catinfo table td { text-align: left; vertical-align: top;padding: 2px 18px;}

.cookie-opt-overlay .cookie-opt-catinfo table th {width: 80px}
.cookie-opt-overlay .cookie-opt-catinfo table td {word-break: break-all;}

.cookie-opt-overlay .cookie-single-opt-toggle { padding-left: 10px; float: left}
.cookie-opt-overlay .cookie-single-opt-toggle + table { margin-left: 50px; width: calc(100% - 50px)}
.cookie-opt-overlay .cookie-single-opt-toggle + table th{ padding-right: 0; padding-left: 0; word-break: break-all;}
.cookie-opt-overlay .cookie-single-opt-toggle label { position: relative; top: 2px}
.cookie-opt-overlay .cookie-single-opt-toggle label span { display: none}

.cookie-opt-overlay .cookie-top-savebtn {
    width: 100%; cursor: pointer; background: var(--secondary-color); color: #fff; font-size: 13px; font-weight: bold;
    text-transform: uppercase;
    height: 40px; margin-top: 30px; border: 0;
}
.cookie-opt-overlay .cookie-top-savebtn:hover {
    box-shadow: inset 0 0 30px 30px rgba(0,0,0,0.3);
}
.cookie-opt-catinfo {
    transition: height 0.35s ease-in-out;
    overflow: hidden;
}

.cookie-opt-overlay .cookie-opt-catinfo {
    display: block;
}

.cookie-opt-catinfo:not(.active) {
    display: none;
}
@media only screen and (max-width: 768px) {
    .cookie-bar .content-width {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-bar .cookie-desc { padding: 0 20px 20px}

    .cookie-bar .cookie-options button.btn-config,
    .cookie-bar .cookie-options button.btn-accept { margin-top: 0;}
}
@media only screen and (max-width: 480px) {
    .cookie-opt-overlay { max-width: 90%;padding: 20px;}
    .cookie-opt-overlay .cookie-top-savebtn {margin-top: 20px }

    .cookie-bar .cookie-options button.btn-config,
    .cookie-bar .cookie-options button.btn-accept { font-size: 12px;}
}