#lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px auto 50px auto;
	overflow:auto;
	top:0;
}

.lightbox-layer {
    position: absolute;
	top:3%;
    width: 100%;
    max-width: 550px;
    background: #fff;
    padding: 0px;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
	/*margin-top:5rem;*/
}


#lightbox .btn {
	background:#E2071D; padding:5px 10px; border-radius:5px; color:#fff; font-weight:bolder;
	position:absolute; right:10px; bottom:10px; box-shadow:0 0 10px #555; box-shadow: 0 0 3px #555;
}

#lightbox .close { 
  background: #000;
  box-shadow: 0 0 3px #fff;
  position: absolute;
  left: 8px;
  top: 7px;
  border-radius: 20px;
  font-size: 39px;
  line-height: 20px;
  padding: 0px 8px 10px;
  color: #fff;
  cursor:pointer;
 }



#lightbox {
    animation: fadeIn 0.3s ease;
}

.lightbox-layer {
    animation: slideIn 0.3s ease;
}

/* @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
} */

/* @keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} */