.gcbi-cbc {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 100%;
    height: auto;
    max-height: 500px;
    max-width: 360px;
    overflow: scroll;
    box-shadow: 0 11px 32px 0 rgb(0 0 0 / 10%), 0 5px 12px -8px rgb(0 0 0 / 20%), 0 0 1px 0 rgb(0 0 0 / 20%);
    z-index: 9999;
}
.gcbi-cbh {
    position: relative;
}
.gcbi-img-ck {
    position: absolute;
    left: auto;
}
.gcbi-cbt {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}
.gcbi-cbd {
    font-size: 14px;
    line-height: 1.4;
}
.gcbi-link {
    display: block;
    margin-top: 10px;
}
.gcbi-link a {
    margin-right: 12px;
    text-decoration: underline;
}
.gcbi-close {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 0;
    width: 20px;
    height: 20px;
    background: var(--colore-secondario);
    border-radius: 50%;
    border: 0;
}
.gcbi-close:hover, .gcbi-close:focus {
    background: var(--colore-secondario);
    outline: none;
}
/* OPZIONI COOKIE */
.gcbi-box-check {
    position: relative;
    margin-bottom: 5px;
}
input.gcbi-consents-cookie-category[name="necessari"] {
    border-color: #474747 !important;
    box-shadow: inset 20px 0 0 0 #474747 !important;
    opacity: .6;
    cursor: not-allowed !important;
}
button.gcbi-apri-drop-pref-cookie {
    display: flex;
    align-items: center;
    width: 100%;
    border: 0;
    font-family: inherit;
    font-size: 14px;
    background: transparent;
    color: var(--colore-primario);
    text-align: left;
    margin: 10px 0 5px;
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
button.gcbi-apri-drop-pref-cookie:after {
    content: '+';
    display: inline-block;
    margin-left: 3px;
    transition: transform .4s;
}
button.gcbi-apri-drop-pref-cookie.aperto:after {
  transform: rotate(45deg);
}
button.gcbi-apri-drop-pref-cookie:hover, button.gcbi-apri-drop-pref-cookie:focus {
    background: transparent;
    color: #007aff;
    outline: none;
}
.gcbi-ele-cookie {
    overflow: hidden;
    transition: max-height .5s;
    max-height: 0;
}
span.gcbi-titolo-cat-cookie {
    display: flex;
    align-items: center;
    height: 24px;
    margin-bottom: 10px;
}
.gcbi-titolo-cat-cookie svg {
    margin-right: 5px;
    transition: transform .4s;
}
.aperto span.gcbi-titolo-cat-cookie svg {
    transform: rotate(90deg);
}
.gcbi-con-inf {
    cursor: pointer;
}
.gcbi-options {
    overflow: hidden;
    transition: max-height .5s;
    max-height: 0;
}
.gcbi-box-check label {
    position: absolute;
    left: auto;
    top: 0;
    right: 0;
    bottom: auto;
}
input.gcbi-consents-cookie-category {
    position: relative;
    appearance: none;
    outline: none;
    width: 50px!important;
    min-width: 50px;
    height: 30px;
    background-color: #fff;
    border: 1px solid #D9DADC;
    border-radius: 50px;
    box-shadow: inset -20px 0 0 0 #fff;
    transition-duration: 200ms;
    -webkit-appearance: none!important;
    margin-right: 10px;
    cursor: pointer;
}
input.gcbi-consents-cookie-category:checked {
    border-color: #4ED164;
    box-shadow: inset 20px 0 0 0 #4ed164;
}
input.gcbi-consents-cookie-category:after {
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    width: 26px;
    height: 26px;
    background-color: transparent;
    border-radius: 50%;
    box-shadow: 2px 4px 6px rgb(0 0 0 / 20%);
}
input.gcbi-consents-cookie-category[name="necessari"]:after {
    left: 20px;
}
input.gcbi-consents-cookie-category:checked:after {
    left: 20px;
    box-shadow: -2px 4px 3px rgb(0 0 0 / 5%);
}
.gcbi-info-tip {
    font-size: 12px;
}
.gcbi-tool {
    background: var(--colore-secondario);
    padding: 5px;
    border-radius: 5px;
    margin-top: 5px;
}
span.gcbi-titolo-cookie {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
a.gcbi-piu-info-for {
    display: block;
    font-size: 12px;
    color: var(--colore-primario);
}
a.gcbi-piu-info-for:hover {
    color: var(--colore-primario);
}
/* PULSANTI PRINCIPALI */
button.disattivato {
    display: none;
}
.gcbi-cookie-btn-acc {
    display: block;
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    border-radius: 5px;
    background: var(--colore-primario);
    padding: 10px 15px;
    font-family: inherit;
    color: #FFF;
    border: 0;
    margin-top: 10px;
    cursor: pointer;
}
.gcbi-cookie-btn-acc:hover, .gcbi-cookie-btn-acc:focus {
    background: var(--clbg-hover);
    color: #FFF;
    outline: none;
}
.gcbi-cookie-btn-rej, .gcbi-cookie-settings {
    display: block;
    width: 100%;
    padding: 10px 15px;
    background: rgba(0,122,255,.1);
    font-family: inherit;
    font-size: 16px;
    color: var(--colore-primario);
    margin-top: 15px;
    border-radius: 5px;
    border: 0;
    cursor: pointer;
}
.gcbi-cookie-btn-rej:hover, .gcbi-cookie-btn-rej:focus, .gcbi-cookie-settings:hover, .gcbi-cookie-settings:focus {
    background: rgba(0,122,255,.1);
    color: #007aff;
    outline: none;
}
/* OPZIONI COOKIE BOX */
.completato .gcbi-cbc {
    display: none;
}
.gcbi-cb:not(.completato) .gcbi-apri-pref-cookie {
    display: none;
}
button.gcbi-apri-pref-cookie {
    position: fixed;
    bottom: 10px;
    left: 10px;
    background: #FFF;
    border: 1px solid #0068d9;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 3px;
    padding: 0;
    cursor: pointer;
}
button.gcbi-apri-pref-cookie:hover, button.gcbi-apri-pref-cookie:focus {
    background: #FFF;
    outline: none;
}
button.gcbi-apri-pref-cookie svg {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
}

@media(max-width:767px){
  .gcbi-cbc {
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    border-radius: 0 !important;
  }
}
