#myPopups {
position: fixed;
visibility: hidden;
z-index: 9999;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
}
.popupoverlay {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
}
#myPopups.show {
opacity: 1;
visibility: visible;
}
.popup-content {
width: auto;
top: 0;
bottom: 0;
left: 0;
display: inline-block;
right: 0;
position: absolute;
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.6s ease;
height: auto;
margin: auto;
transform: translateY(-100%);
background: transparent;
}
.popup-content > div.elementor {
position: relative;
z-index: 100;
max-width: 1200px;
}
#myPopups.show .popup-content {
transform: translateY(0);
}
#closePopups {
color: var(--color-white);
position: fixed;
top: 0;
right: 0;
display: flex;
align-items: center;
justify-content: center;
width: 50px;
font-size: 24px;
height: 50px;
background: var(--color-set-one-2);
cursor: pointer;
z-index: 1001;
}
#closePopups:hover, #closePopups:focus {
background: var(--background-white);
color: var(--color-set-one-1);
text-decoration: none;
cursor: pointer;
}
.admin-bar #closePopups {
top: 32px;
}