.sticky-event-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f1f1f1;
    overflow: hidden;
    height: 150px;
    transition: height 0.3s ease;
    z-index: 999999;
	display: none;
	box-shadow: 0px -10px 25px #00000044;
}

.sticky-event-container.open {
    height: 500px;
}

.sticky-event-content {
    padding: 20px;
}

/* Bottone sempre visibile */
.sticky-event-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: transparent;
    color: #00000090;
    text-decoration: none;
    border-radius: 5px;
    position: absolute; 
    right: 20px; 
    top: 0; 
}

.sticky-visible {
    display: block;
}

.sticky-hidden {
    display: none;
}

.sticky-event-container.open .sticky-hidden {
    display: block;
}

.sticky-event-container.open .sticky-visible {
    display: block;
}

.button-webinar {
    background: var(--bordeaux) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    /*padding: 17px 30px !important;*/
    border-radius: 10px !important;
    font-size: 16px !important;
    border: 0 !important;
    text-transform: uppercase !important;
}

.button-webinar:hover{
	background: #003d62 !important;
}

@media only screen and (max-width: 768px){
	.sticky-event-container {
		display: block;
	}
}

.sticky-event-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f1f1f1;
    overflow: hidden;
    height: 150px;
    transition: height 0.3s ease;
    z-index: 999999;
    display: none;
}

.sticky-event-container.open {
    height: 550px;
}

.sticky-event-content {
    padding: 20px;
    padding-bottom: 70px; /* Add padding to ensure the content doesn't overlap with the button */
}

/* Bottone sempre visibile */
.sticky-event-button {
    display: inline-block;
    margin-top: 10px;
    padding: 0;
    padding-top: 20px;
    background-color: transparent;
    color: var(--black);
    text-decoration: underline;
    border-radius: 5px;
    position: absolute;
    right: 20px;
    top: 5px;
    font-size: 12px;
}

.sticky-event-button:focus, .sticky-event-button:hover, .sticky-event-button:active {
    color: var(--black);
}

.sticky-visible {
    display: block;
}

.sticky-hidden {
    display: none;
}

.sticky-event-container.open .sticky-hidden {
    display: block;
}

.sticky-event-container.open .sticky-visible {
    display: block;
}

/* Bottone webinar fisso e largo 100% */
.button-webinar-m {
    position: fixed;
    bottom: 10px;
	left: 10px;
    width: 95%; 
    background: var(--bordeaux) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    padding: 24px 50px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    border: 0 !important;
    text-transform: uppercase !important;
    z-index: 1000000; 
}

.wj_registration-overlay {
    background: rgba(0, 0, 0, .7);
    bottom: 0;
    font-size: 16px;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 50000000 !important;
}

.button-webinar-m:focus, .button-webinar-m:active {
    color: #fff !important;
}

#sticky-event-container {
	opacity: 0;
}

@media only screen and (max-width: 768px){
    .sticky-event-container {
        display: block;
    }
	
	#sticky-event-container {
		opacity: 1;
	}
}

#sticky-event-container {
    transition: opacity 0.5s ease-in-out;
}

#sticky-event-container.hidden {
    opacity: 0;
    pointer-events: none;
}