/**CookieBanner**/
#cookie-banner {
    font-family: 'Open Sans', Arial, 'Trebuchet MS', 'Segoe UI', 'Helvetica', sans-serif!important;
}

body.no-scroll {
    overflow: hidden;
}

body.managing-preferences.modal-open {
    padding-bottom:0px!important;
}

body.managing-preferences.modal-open #mobile-bottom-tabs {
    bottom:0!important;
}

#cookie-banner-cont {
    position:fixed;
    left:0;
    bottom:0;
    z-index: 999998;
    width:100%;
    height:auto;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    background:rgba(0,0,0,.85);
    opacity:1;
    visibility:visible;
    transition:all .3s ease;
}

.managing-preferences #cookie-banner-cont {
    opacity:0;
    visibility:hidden;
}

#cookie-banner-wrapper {
    padding: 16px 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
}

.cookie-banner-text-cont {
    display: flex;
    flex-flow: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    flex: 1 1 auto;
}

.cookie-banner-title-cont {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
}

.cookie-banner-icon {
    display: inline-block;
}

.cookie-banner-icon img {
    filter: invert(1);
    max-width:24px;
    min-width:24px;
    max-height:24px;
    min-height:24px;
}

.cookie-banner-title {
    font-size: var(--fs-18);
    color:var(--color-white);
    font-weight: 600;
    line-height: 1;
}

.cookie-banner-description {
    font-size: var(--fs-14);
    color:var(--color-white);
    font-weight: 400;
    line-height: 1.6;
}

.cookie-banner-description a {
    text-decoration: underline;
    font-weight: 600;
    color:var(--color-white);
}

.cookie-banner-button-cont {
    flex: 1 0 auto;
    display: flex;
    flex-flow: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
}

.cookie-banner-button-cont button[cookie-button-type="accept-all"],
.cookie-banner-button-cont button[cookie-button-type="deny-all"] {
    font-size: var(--fs-13);
    font-weight: 400;
    padding: 8px 12px;
}

.cookie-banner-button-cont button[cookie-button-type="manage-preferences"] {
    background-color: transparent!important;
    border-color: transparent!important;
    color: var(--color-white)!important;
    font-size: var(--fs-13);
    width: fit-content;
    padding: 4px 12px 0;
}

/*COOKIE MODAL*/

#cookie-preferences-modal {
    z-index:999998;
}

#cookie-preferences-modal .modal-body::-webkit-scrollbar {
    width: 8px;
}

#cookie-preferences-modal .modal-body::-webkit-scrollbar-track {
    background:#f2f2f2;
}

#cookie-preferences-modal .modal-footer {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

#cookie-preferences-modal .modal-footer button[cookie-buton-type="save-preferences"] {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

#cookie-box-categories {
    margin: 0 0 0 -11px;
}

#cookie-box-categories .form-check {
    margin-left: 10px;
    margin-bottom: 0px;
    padding: 10px 5px;
    border-bottom: 1px solid var(--cookie-border);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

#cookie-box-categories .form-check:last-of-type {
    border-bottom-color:transparent;
}

#cookie-box-categories input[type="checkbox"]:disabled:not(:checked)+label:before {
    opacity: .25;
}

#cookie-box-categories input[type="checkbox"]:not(:checked)+label:before, 
#cookie-box-categories input[type="checkbox"]:checked+label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    box-shadow:none;
    border:2px solid var(--cookie-text);
    background:transparent;
}

#cookie-box-categories input[type="checkbox"]:checked+label:before {
    background:var(--cookie-text);
}

#cookie-box-categories input[type="checkbox"]:not(:checked), 
#cookie-box-categories input[type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
}

#cookie-box-categories input[type="checkbox"] {
    position: relative;
    top: 3px;
}

#cookie-box-categories input[type="checkbox"]:not(:checked)+label, 
#cookie-box-categories input[type="checkbox"]:checked+label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    margin: 0;
    display: inline-block;
    font-size: var(--fs-16);
    text-transform: initial;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--cookie-text);
    max-width:calc(100% - 40px);
}

#cookie-box-categories input[type="checkbox"]:not(:checked)+label:first-letter, 
#cookie-box-categories input[type="checkbox"]:checked+label:first-letter {
    text-transform:uppercase;
}

#cookie-box-categories input[type="checkbox"]:not(:checked)+label:after {
    opacity: 0;
    transform: scale(0);
}

#cookie-box-categories input[type="checkbox"]:not(:checked) + label::after, 
#cookie-box-categories input[type="checkbox"]:checked + label::after {
    content: "\f00c";
    font-family: 'Font Awesome 5 Free';
    font-weight: 700;
    position: absolute;
    top: 5px;
    left: 4px;
    box-shadow: none;
    height: 14px;
    font-size: 12px;
    line-height: 1.2;
    color: rgb(255, 255, 255);
    transition: all 0.2s ease 0s;
}

#cookie-box-categories input[type="checkbox"]:checked + label::after {
    background:var(--cookie-text);
    color:var(--cookie-background);
}

#cookie-box-categories input[type="checkbox"]:focus + label:before {
    -webkit-box-shadow: 0px 0px 40px 10px rgba(255,255,255,1);
    -moz-box-shadow: 0px 0px 40px 10px rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 6px 1px rgba(255,255,255,.5);   
}

.cookie-type-info-pre {
    font-size: var(--fs-14);
    font-weight: 400;
}

.cookie-type-info-wrapper {
    font-size: var(--fs-13);
    padding-top: 10px;
    font-weight: 400;
    display:none;
    width: calc(100% + 77px);
    position: relative;
    left: -28px;
}

.cookie-type-info-wrapper table > thead > tr > th {
    font-size: var(--fs-10);
    padding:6px 12px;
    background: #f2f2f2;
    border-bottom: none;
}

.cookie-type-info-wrapper table > tbody > tr > td {
    font-size: var(--fs-12);
    padding:6px 12px;
}

.cookie-type-info-wrapper .table-responsive::-webkit-scrollbar {
    height: 7px;
}
.cookie-type-info-wrapper .table-responsive::-webkit-scrollbar-thumb {
    background: var(--cookie-text);
    border-radius: 8px;
}
.cookie-type-info-wrapper .table-responsive::-webkit-scrollbar-track {
    background: #f2f2f2;
    margin: 5px 0;
    border-radius: 8px;
}

.cookie-type-info {
    display: flex;
    justify-content:flex-end;
    width: 40px;
    height: 20px;
    cursor:pointer;
    background: transparent;
}

.cookie-type-info-image {
    height: 20px;
    width:20px;
    background:var(--cookie-text);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
}

.cookie-type-info:hover .cookie-type-info-image,
.cookie-type-info.active .cookie-type-info-image {
    background:var(--cookie-hover);
}

.cookie-type-info-image img {
    min-width: 20px;
    height: 20px;
    filter: var(--cookie-filter-background);
    border-radius: 50%;
}

/**NoConsent**/
#cookie-no-cs {
    background-color: var(--cookie-text);
    border: none;
    color: var(--color-white);
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.cookie-no-cs-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px 10px;
    flex-wrap: wrap;
    text-align: center;
    font-size: var(--fs-14);
}

.cookie-no-cs-wrapper a:not(#button-cookie-no-cs) {
    text-decoration:underline;
    color: var(--color-white);
}

.cookie-no-cs-wrapper a:not(#button-cookie-no-cs):hover {
    text-decoration:none;
    color: var(--color-white);
}

#button-cookie-no-cs {
    cursor: pointer;
    white-space: nowrap;
    min-width: 100px;
    margin: 0;
    text-align: center;
    border-radius: 8px;
    border: 2px solid var(--color-white);
    background: var(--color-white);
    color: var(--cookie-text);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0;
    padding: 11px 20px 10px;
    font-size: var(--fs-14);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 1;
    transition-duration: 100ms;
    transition-timing-function: ease-in-out;
    -webkit-transition: all 0.25s ease 0s;
    -moz-transition: all 0.25s ease 0s;
    transition: all 0.25s ease 0s;
}

#button-cookie-no-cs:hover {
    border: 2px solid #f2f2f2;
    color: var(--cookie-text);
    background: #f2f2f2;
}

/**Responsive******************************/
/**MAX******************************/
@media (max-width: 1599.98px) {}

@media (max-width: 1399.98px) {}

@media (max-width: 1199.98px) {}

@media (max-width: 991.98px) {
    body.managing-preferences.modal-open {
        padding-bottom:50px!important;
    }
    
    .cookie-banner-description {
        max-height: 100px;
        overflow-y: auto;
        padding-right: 12px;
        font-size:var(--fs-13);
    }
    
    .cookie-banner-description::-webkit-scrollbar {
        width: 5px;
    }
    
    .cookie-banner-description::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, .6);
        border-radius: 6px;
    }
    
    .cookie-banner-description::-webkit-scrollbar-track {
        background: transparent;
        border-left: none;
    }
}

@media (max-width: 767.98px) {
    #cookie-banner-wrapper {
        gap: 12px;
        flex-flow: column;
        align-items:stretch;
    }
    
    .cookie-banner-button-cont {
        width:100%;
    }
    
    .cookie-banner-button-cont button[cookie-button-type="manage-preferences"] {
        width:100%;
    }
}

@media (max-width: 575.98px) {}

@media (max-width: 479.98px) {}

@media (max-width: 424.98px) {}

@media (max-width: 374.98px) {
    #cookie-box-categories input[type="checkbox"]:not(:checked) + label::after, 
    #cookie-box-categories input[type="checkbox"]:checked + label::after {
        top: 4px;
    }
    
    #cookie-box-categories input[type="checkbox"]:not(:checked)+label:before, 
    #cookie-box-categories input[type="checkbox"]:checked+label:before {
        top: 1px;
    }
    
    #cookie-box-categories input[type="checkbox"]:not(:checked)+label, 
    #cookie-box-categories input[type="checkbox"]:checked+label {
        font-size: 14px;
    }
    
    .cookie-type-info-pre {
        font-size: var(--fs-12);
    }
    
    .cookie-type-info-wrapper {
        font-size: var(--fs-12);
    }
}

@media (max-width: 319.98px) {}
/**MIN******************************/
@media (min-width: 320px) {}

@media (min-width: 375px) {}

@media (min-width: 425px) {}

@media (min-width: 480px) {}

@media (min-width: 576px) {}

@media (min-width: 768px) {}

@media (min-width: 992px) {}

@media (min-width: 1200px) {}

@media (min-width: 1400px) {}

@media (min-width: 1600px) {}