.bannercookie .nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
.bannercookie .nav-tab {
    display: block;
    padding: 0.5rem 1rem;
}
.bannercookie .tab-panel {
    display:none;
}
.bannercookie .tab-panel.active {
    display: block;
}
.bannercookie .form-check-inline {
    position: relative;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    padding-left: 0;
    margin-right: 0.75rem;
}
.bannercookie .form-check-inline .form-check-input {
    position: static;
    margin-top: 0;
    margin-right: 0.3125rem;
    margin-left: 0;
}
.bannercookie .custom-control-input {
    position: absolute;
    z-index: -1;
    opacity: 0!important;
    visibility: hidden;
}
.bannercookie .custom-control-label {
    position: relative;
    margin-bottom: 0;
}
.bannercookie .custom-control-label::before {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #dee2e6;
}
.bannercookie .custom-control-label::after {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}
.bannercookie .custom-control-label::before, .bannercookie .custom-file-label, .bannercookie .custom-select {
    transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.bannercookie .custom-checkbox .custom-control-label::before {
    border-radius: 0.25rem;
}
.bannercookie .container_preferenze .custom-control-label::before {
    top: 0.05rem;
    background-color: transparent;
    border: 1px solid #fff;
}
.bannercookie .custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    background-color: #007bff;
}
.bannercookie.fixed-bottom {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
    font-size: 16px;
}
.bannercookie .border-white {
    border-color: #fff;
}
.bannercookie .tcenter {
    text-align: center;
}
.bannercookie .tleft {
    text-align: left;
}
.bannercookie .tright {
    text-align: right;
}
.bannercookie .justify-content-around {
    -ms-flex-pack: distribute!important;
    justify-content: space-around!important;
}
.bannercookie .justify-content-end {
    -ms-flex-pack: end!important;
    justify-content: flex-end!important;
}
.bannercookie {
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    padding: 20px 0px;
    color: #222;
    max-height: 80vh;
    box-shadow: 0 0 6px 2px #888;
}
.bannercookie #chiudi_bannercookie{
    right: 1%;
    top: 3%;
    font-size: 17pt;
    cursor: pointer;
}

.bannercookie .testo_banner{
    font-size: 0.8rem;
}
.bannercookie .testo_banner a{
    color: #000;
    font-weight: bold;
}
.bannercookie .testo_banner h3{
    margin: 0;
    font-size: 1rem;
}

.bannercookie .container_preferenze{
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    border-radius: 30px;
    border:1px solid #eee;
    padding: 10px 25px;
}
.bannercookie .container_preferenze .border-left {
    border-left: 0px !important;
}
.bannercookie .container_preferenze .form-check-label{
    font-size: 0.8rem;
    color: #222;
}

.bannercookie .container_preferenze .form-check-input:disabled~.form-check-label{
    color: #222;
}

.bannercookie .container_preferenze .custom-control-label::before{
    top: 0.05rem;
    background-color: transparent;
    border:1px solid #222;
}

.bannercookie .container_preferenze .custom-checkbox .custom-control-input:checked~.custom-control-label::after{
    background-image: url("data:image/svg+xml;charset=utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='%2300854b' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/></svg>");
}

.bannercookie .container_preferenze .custom-checkbox .custom-control-input:checked~.custom-control-label::before{
    background-color: transparent;
    border: 1px solid #222;
}

.bannercookie .container_preferenze .custom-checkbox .custom-control-input:disabled:checked~.custom-control-label::after{
    background-image: url("data:image/svg+xml;charset=utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='%23666' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/></svg>");
}

.bannercookie .container_preferenze .custom-control-label::after{
    top: -0.5rem;
    left: -2rem;
    width: 2rem;
    height: 2rem;
}
.bannercookie .container_bottoni {
    margin-top: 10px;
}
.bannercookie .bottone_dettagli{
    font-size: 0.8rem;
    padding: 10px;
    cursor: pointer;
    transition: all 500ms ease;
}
.bannercookie .bottone_dettagli:hover{
    text-decoration: underline;
}

.bannercookie .bottone_dettagli svg.caret-down {
    transform: rotate(180deg);
}

.bannercookie .bottone_accetta{
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    border-radius: 30px;
    padding: 5px 30px;
    background-color: var(--color-bg-a, #00854b);
    font-size: 0.8rem;
    font-weight: bold;
    margin: 5px 10px;
    color: var(--color-text-a, #fff);
    cursor: pointer;
    transition: all 500ms ease;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
    border:1px solid var(--color-border-a, #00854b);
    text-align: center;
}

.bannercookie .bottone_accetta#accetta_selezionati{
    background-color: var(--color-bg-s, transparent);
    border: 1px solid var(--color-border-s, #222);
    color: var(--color-text-s, #222);
}

.bannercookie .bottone_accetta:hover{
    box-shadow: none !important;
    border:1px solid #00854b !important;
    background-color: transparent;
    color: #222;
}

.bannercookie .container_dettagli{
    margin-top: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    border-radius: 30px;
    border: 1px solid #222;
    padding: 25px 15px;
    font-size: 0.8rem;
}

.bannercookie .container_dettagli table{
    color: #222;
}
.bannercookie .nav-pills .nav-tab{
    border-radius: 0.25rem;
    background-color: transparent;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-radius: 0px;
    color: #222;
}
.bannercookie .nav-pills .nav-tab:first-child{
    border-top: 1px solid #eee;
}
.bannercookie .nav-pills .nav-tab:hover, .bannercookie .nav-pills .nav-tab.active{
    background-color: #eee;
    border-right: 0px;
}
.bannercookie .nav-pills .nav-tab.active{
    font-style: italic;
}
.bannercookie .tab-content table tr td a{
    color: #222;
    text-decoration: underline;
}

@media (min-width: 576px){
    
}
@media (min-width: 768px){
    
    .bannercookie .container_preferenze .border-left{
        border-left: 1px solid #eee;
    }

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

.riapribanner{
    position: fixed;
    left: var(--trigger-left, 15px);
    right: var(--trigger-right, auto);
    bottom: var(--trigger-bottom, 30px);
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid var(--color-bg-a, #00854b);
    padding: 5px;
    z-index: 1029;
    background-color: rgba(255, 255, 255, .6);
    line-height: 0;
}

.riapribanner img{
    width: 30px;
}