:root{--color:#333;--bg:#fff}.overlay{z-index:999999;background:#fff;background:rgba(255,255,255,0.97);overflow:hidden;position:fixed;top:0;right:0;bottom:0;left:0;border-top:none;-webkit-overflow-scrolling:touch;padding-top:0}.overlay>.content{overflow-y:scroll;position:relative;background:transparent;height:100%;height:calc(100% - 3em);padding-top:3em}.overlay.limited>.content,.overlay.limited>.content{background:#666;color:#eee;padding:0;height:50vh;margin-top:25vh;width:50vw;margin-left:25vw}.overlay .close{color:#fff;cursor:pointer;padding:0 0.6em;font-weight:bold;background:#000;background:rgba(0,0,0,0.7);width:100%;z-index:99999;top:0;overflow:hidden}.overlay .close{position:fixed}.overlay{overflow-y:scroll}.overlay.headless{padding-top:0}.overlay>.content{height:100%;overflow:auto}.overlay>*{background:#fff;position:relative}.overlay-bg{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;cursor:crosshair;background:transparent}@media screen and (max-width: 599.9px){.overlay.limited>.content{height:60vh;margin-top:20vh;width:80vw;margin-left:10vw}}
