.cookie-banner {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #00000044;
    z-index: 99999;
    font-size: 14px;
    line-height: 18px
}

.cookie-banner-wrap {
    background-color: #fff;
    padding: 24px;
    max-width: 80%;
    width: 960px;
    margin: 20px auto 10px;
    position: relative;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: .4s;
    animation-name: slideIn;
    animation-duration: .4s
}

.cookie-button,
.cookie-button:active,
.cookie-button:focus,
.cookie-button:hover {
    background-color: #666;
    color: #fff
}

.cookie-button,
.cookie-personalizza {
    display: inline-block;
    padding: 8px 32px;
    font-weight: 700;
}
#cookieButtonPersonalizza {
	background-color: #ededed;
    color: #666;
}
.cookie-banner-wrap h6,
.cookie-banner-wrap p {
    color: #000 !important
}

#cookieButtonLink {
    text-decoration: underline
}

.cookie-button {
    border: none;
    border-radius: 64px
}

.cookie-personalizza {
    background-color: #dadada;
    border-color: #dadada;
    color: #4d4d4d;
    border-radius: 64px
}

.cookie-personalizza:active,
.cookie-personalizza:focus,
.cookie-personalizza:hover {
    background-color: #dadadaaa;
    color: #4d4d4d
}
.cookie-banner .selected {  
font-weight: bold;
}

.cookie-close {
    position: absolute;
    top: 24px;
    right: 24px;
    cursor: pointer
}

.cookie-banner-buttons {
    display: flex;
    flex-wrap: wrap
}

.cookie-banner-buttons-1,
.cookie-banner-buttons-2 {
    width: 50%
}

.cookie-banner-buttons-2 {
    text-align: right
}

#cpbtn,
#cpbtn:active,
#cpbtn:focus,
#cpbtn:hover,
#cpbtn:visited {
    text-decoration: underline;
    border: none;
    color: #333;
    padding: 0;
    outline: 0;
    background: 0 0;
    cursor: pointer
}

#cookieCustomizer {visibility: hidden; height:0;}
#cookieCustomizer.visible {	visibility: visible; 	height:auto;	padding:20px;    background: #eaeaea;    margin-bottom: 10px;	}
.customizer-text{max-height: 35vh; /* 30% dell'altezza della viewport */  overflow-y: auto; /* mostra la scrollbar verticale se serve */}



.cookie-banner-buttons-2 {
    white-space: nowrap;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
}

.cookie-banner-buttons-2 .cookie-button {
    flex-shrink: 0;
}



.cookie-showbanner-wrap {
    padding: 24px
}

#ic-gdpr h1,
#ic-gdpr h2,
#ic-gdpr h3,
#ic-gdpr h4,
#ic-gdpr h5,
#ic-gdpr h6 {
    font-size: 20px;
    font-weight: 700;
    margin: 20px 0;
}

#ic-gdpr {
    padding: 20px;
    max-width: 1200px;
}








@media (max-width:540px) {

	.cookie-button,
	.cookie-personalizza,
    .cookie-banner-buttons-1,
    .cookie-banner-buttons-2 {
        width: 100% ;
		margin-top:10px;
    }

    .cookie-banner-buttons-2 {
        text-align: left;
    }

    .cookie-banner-buttons button {
        margin-bottom: 16px;
    }
	

 .cookie-banner-buttons-2 {
    display: flex !important;
    flex-direction: column-reverse !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    white-space: normal !important;
  }

.customizer-text{max-height: 50vh;}
	#cpmodal{
	overflow-y: auto; /* mostra la scrollbar verticale se serve */
	}
	


	
}

@-webkit-keyframes slideIn {
    from {
        bottom: -300px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@keyframes slideIn {
    from {
        bottom: -300px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}
