a{
    cursor:pointer;
    }

    .olo-hide{
    display: none;
}
#gdpr_reject_all:hover,#gdpr_close:hover, button:hover {
    filter: brightness(0.9);
}
#gdpr_close.btn-close {
    position: absolute;
    right: 4px;
    width: 100px;
    top: 12px;
    background: transparent;
    text-transform: uppercase;
    border: 0;
    text-align: right;
    color: #fff;
}
#gdpr_cookie_banner h4 {
    font-size: 22px!important;
    color: var(--primary);
}
.olo-informativa-cookie {
    font-size: 16px;
   font-weight: 400;
}
#gdpr_cookie_banner {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    max-width: 90%;
    color: #555;
    background-color: #fff;
    border: #555 1px solid;
    margin: 0;
    padding: 20px 20px 10px 20px;
    font-size: 12px;
    z-index: 2147483647;
    line-height: 1.5;
}
.olo-informativa-cookie a {
    font-weight: 600;
}
#gdpr_cookie_banner a {
    color: #555;
    text-decoration: underline;
}

.gdpr_scrolling_box {
    overflow-y: scroll;
    display: none;
    height: 100px;
}

#gdpr_bottom div:nth-child(1) {
    float: left;
}

#gdpr_bottom div:nth-child(2) {
    float: right;
}

.gdpr_show {
    text-decoration: underline;
    cursor: pointer;
}


#gdpr_accept {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

#gdpr_accept button {
    border: 1px solid #555;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    float: right;
    background-color: #fff;
    color: #555;
    padding: 5px !important;
    height: auto !important;
    line-height: normal !important;
}





/*nuovo css*/
:root{
    --primary:#168ef5;
    --green:#1CC691;
    --decline-button:#6d8c98;
}



#gdpr_cookie_banner {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    max-width: 90vw;
    color: #666;
    background-color: #fff;
    margin: 0;
    padding: 24px 24px 16px 24px;
    font-size: 12px;
    z-index: 2147483647;
    line-height: 1.5;
    box-shadow: 0 0 24px 0 rgb(0 0 0 / 30%);
    min-width: 60vw;
    bottom: auto!important;
    font-size: 14px!important;
    border-radius: 16px!important;
    border: 0!important;
    overflow: hidden;
    top: 124px!important;
}

.olo-cookie-header {
    background: var(--primary);
    margin: -24px -24px 16px -24px;
    padding: 16px 24px;
    border-radius: 16px 16px 0 0;
}
.olo-cookie-header h2{
    color:#fff;
    margin: 0;
    font-weight: 600;
    font-size: 28px;
}
#gdpr_cookie_banner a {
    color: #555;
    text-decoration: underline;
}

.gdpr_scrolling_box {
    overflow-y: scroll;
    display: none;
    height: 100px;
}

#gdpr_bottom div:nth-child(1) {
    float: left;
}

#gdpr_bottom div:nth-child(2) {
    float: right;
}

.gdpr_show {
    text-decoration: underline;
    cursor: pointer;
}
.cookie_details_container.gdpr_scrolling_box {
    padding-right: 32px;
}


div#gdpr_bottom a:hover {
    text-decoration: underline;
}

#gdpr_accept button {
    border: 0;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 700;
    padding: 8px 16px!important;
    height: auto !important;
    line-height: normal !important;
    margin: 0 4px;
    border: 1px solid;
    color: #fff;
    background: var(--green);
    text-transform: none;

}
#gdpr_accept button.olo-customize-button{
  background: #fff;
    position: absolute;
    left: 0;
    color: var(--decline-button);
}

#gdpr_cookie_mini_banner {
    position: fixed;
    left: 2px;
    width: 100px;
    background-color: #fff;
    border-radius: 5px;
    margin: 0;
    padding: 3px;
    font-size: 15px;
    z-index: 2147483647;
    cursor: pointer;
    height: 42px;
    line-height: 35px;
    font-weight: 700;
    border: 1px solid #ddd;
    text-align: center;
    box-shadow: 0 0 8px 0 rgba(0,0,0,0.3);
}


#gdpr_reject_all,#gdpr_close {
    position: relative;
    top: unset;
    right: unset;
    font-weight: bold;
    padding-top: 0;
    padding-left: 3px;
    padding-bottom: 1px;
    padding-right: 3px;
    cursor: pointer;
    border: 0;
    width: auto;
    height: auto;
    text-align: center;
    box-shadow:none;
    border: 0;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 700;
    padding: 8px 16px !important;
    height: auto !important;
    line-height: normal !important;
    margin: 0 4px;
    border: 1px solid;
    color: #fff;
    background: var(--decline-button);
}
div#gdpr_profiling_cookies p{
    position:relative;
}
#gdpr_cookie_banner a.olo-showmore {
    text-decoration: none;
    background: #98b1ba;
    color: #fff;
    padding: 8px 16px;
    font-weight: 100;
    border-radius: 16px;
    font-size: 13px;
    color: #333;
    background: #98b1ba69;
    cursor: pointer;
    margin-right:auto;
}

#gdpr_bottom {

    display: inline-flex;
}
div#gdpr_accept {
    display: flex;
    justify-content: flex-end;
    justify-items: flex-end;
    position: relative;
    bottom: 0;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

div#gdpr_bottom {
    z-index:2;
    flex-direction: column;
    position: absolute;
    top: 47px;
    background: var(--primary);
    padding: 16px;
    width: 150px;
    left: 0;
    color: transparent;
    height: calc(100% - 66px);
    border-top: 2px solid #fff;
    border-radius: 0 0 0 16px;
   /* display:none;*/
}
.olo-option-opened div#gdpr_bottom{
    display:flex;
}
div#gdpr_bottom a {
    text-decoration: none;
    color: #fff;
}
.olo-option-opened div#gdpr_container {
    width: calc(100% - 145px);
    margin-left: auto;
}
.gdpr_scrolling_box {
    overflow-y: auto;
    height: 250px;
}

#gdpr_cookie_banner input[type="checkbox"] {
    float: right;
    position:relative;
}
.olo-checkbox-toggle {
    position: relative;
    float: right;
}

#gdpr_cookie_banner input[type="checkbox"] +.olo-checkbox-toggle:before {
    content: "";
    display: block;
    min-width: 40px;
    height: 23px;
    margin-left: -50px;
    max-width: 50px;
    border-radius: 16px;
    background: #ddd;
    margin-top: -5px;
}
#gdpr_cookie_banner input[type="checkbox"] {
    float: right;
    margin-right: 0;
    width: 0;
    height: 0;
    transition: all ease 0.2s;
    position: absolute;
    right: 0;
    width: 50px;
    height: 23px;
    z-index: 10;
    margin-top: -5px;
    opacity: 0;
    cursor:pointer;
}
#gdpr_cookie_banner input[type="checkbox"] + .olo-checkbox-toggle:after {
    content: "✔";
    display: block;
    position: absolute;
    left: -45px;
    top: -1px;
    background: #f2f2f2;
    border-radius: 100%;
    width: 15px;
    height: 15px;
    text-align: center;
    line-height: 14px;
    font-size: 11px;
    color:#ccc;
    transition: all ease-in 0.1s;

}
#gdpr_cookie_banner input[type="checkbox"]:checked + .olo-checkbox-toggle:before {
    background: #1CC691;
    border-color: #2da458;
}
#gdpr_cookie_banner input[type="checkbox"]:checked + .olo-checkbox-toggle:after {
    left: -20px;
    background: #fff;
    border-color: #fff;
    content: "✔";
    text-align: center;
    line-height: 14px;
    font-size: 11px;
    color: #1CC691;
}
.olo-back-btn {
    margin-top: auto;
    padding: 4px 8px;
    text-transform: uppercase;
    font-size: 11px;
    border-radius: 16px;
    background: #ffffff70;
    color: #1373c6 !important;
    font-weight: 700;
}
.olo-back-btn:hover {
    text-decoration: none !important;
    background: #ffffffd6;
    cursor: pointer;
}

.olo-back-btn b{
    font-size: 15px;
    font-weight: 900;
    line-height: 0;
    margin-right:4px;
}

#gdpr_accept button.olo-back-button {
       position: absolute;
    left: 0;
    background: #fff;
    color: var(--decline-button);
        min-width: 128px;
}
button.olo-back-button i {
    position: absolute;
    left: 16px;
}
@media (min-width: 769px) and (max-width: 1400px){
        #gdpr_cookie_banner{
            min-width: 73vw;
        }
    }
@media (max-width: 768px){
    #gdpr_close.btn-close{
            top: 6px;
            right:0;
    }
    .olo-cookie-header h2 {
    font-size: 19px;
}
    #gdpr_cookie_banner{
        padding: 16px 16px 8px 16px;
        max-width: 95vw;
        font-size: 13px!important;
        top:64px!important;
        overflow: auto;
    max-height: 90vh;
    }
    .olo-cookie-header {
        background: var(--primary);
        margin: -16px -16px 8px -16px;
        padding: 12px 10px;
    }
    .olo-cookie-header h2{
        font-size: 22px;
    }
    div#gdpr_accept{
        padding: 8px 0 0;
        margin: 16px -16px 4px -16px;
        left: 0;
       flex-wrap: wrap;
		justify-content: center;
		align-content: center;
		align-items: center;
	 }
    #gdpr_cookie_banner a.olo-showmore{
        padding: 8px 10px;
        font-size: 12px;
        line-height: 21px;
        border-radius: 24px;
        color: #666;

    }
    .olo-informativa-cookie {
    font-size: 15px;
    }
    #gdpr_accept button.olo-back-button{
        border:0;
      position: relative;
		order: 10;
		margin-right: auto;
		width: 100%;
		border-top: 1px solid #e1e1e1;
		border-radius: 0;
		padding: 8px 8px 0 8px !important;
		margin-top: 16px;
    }
 
    #gdpr_accept button,#gdpr_reject_all,
    #gdpr_close{
        font-size: 15px;
        font-weight: 700;
        margin: 2px;
    }
    .olo-informativa-cookie br {
    display: none;
    }
    .cookie_details_container.gdpr_scrolling_box {
    padding-right: 0;
    }
    div#gdpr_profiling_cookies p {
        position: relative;
        display: flex;
    }
    .olo-checkbox-toggle {
        
        top: 8px;
    }
    span.olo-toggle-container {
    right: 0;
    margin-left: auto;
    }
    p.olo-cookie-option>span:first-of-type {
    max-width: 75%!important;
    min-width: unset!important;
    }
    span.olo-toggle-container {
    right: 0;
    margin-left: auto;
    }
    #gdpr_accept button.olo-customize-button{
         position: relative;
        padding: 10px 8px 3px!important;
        border: 0;
        margin-bottom: 0;
        text-decoration: underline;
        font-weight: 600;
        order: 3;
        margin-top: 8px;
        width: 100%;
        border-top: 1px solid #eeeeee;
        border-radius: 0;
    }
    .olo-option-opened div#gdpr_container {
        width: calc(100% - 120px);
        margin-left: auto;
        max-height: 300px;
        overflow: auto;
    }
    div#gdpr_bottom{
        padding: 8px;
        width: 120px;
        font-size: 12px;
        top: 32px;
        height: calc(100% - 52px);
    }
    .olo-infotracciamento-description h2 {
        font-size: 18px;
        margin-bottom: 16px;
        font-weight: 600;
        color: #666;
        line-height: normal;
    }
    span.olo-checkbox-toggle + strong {
        max-width: calc(100% - 50px);
        display: inline-block;
    }
    #gdpr_cookie_banner input[type="checkbox"] + .olo-checkbox-toggle:after{
        top: 4px;

    }
    #gdpr_cookie_banner input[type="checkbox"],
    #gdpr_cookie_banner input[type="checkbox"] +.olo-checkbox-toggle:before{
        margin-top: 0;
    }
}
@media (max-width: 320px){
        #gdpr_cookie_banner{
        top:32px!important;}
    .olo-cookie-header h2 {
        font-size: 20px;
    }
    #gdpr_accept button, #gdpr_close,#gdpr_reject_all {
        font-size: 13px;
        padding: 10px!important;
    }
    .olo-informativa-cookie {
        font-size: 14px;
    }
}