.popup-box{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:fixed;z-index:999;width:100%;height:100%;top:0;right:0;bottom:0;left:0;opacity:1;-webkit-transition:opacity .3s ease;transition:opacity .3s ease}.popup-box .popup-mask{position:absolute;z-index:2;width:100%;height:100%;background:rgba(0,0,0,.7)}.popup-box .popup-content{position:relative;z-index:10;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;max-height:82vh;max-width:80%;background-color:#fff}@media(max-width: 991px){.popup-box .popup-content{max-width:calc(100% - 40px)}}.popup-box .popup-content .close-popup{position:absolute;top:-20px;right:-20px;z-index:10;border-radius:50%;background:#fff;width:40px;height:40px;padding:0;text-align:center;line-height:40px;color:#000;font-size:26px;font-weight:bold;border:none;-webkit-box-shadow:none;box-shadow:none;outline:none;cursor:pointer}@media(max-width: 991px){.popup-box .popup-content .close-popup{top:-40px;right:0;width:30px;height:30px;font-size:20px;line-height:30px}}.popup-box .popup-content .popup-editor{width:var(--width, 1280px);height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;max-width:100%;min-width:400px;min-height:300px;max-height:82vh;overflow:auto}.popup-box .popup-content .popup-editor::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 10px rgba(0,0,0,.3);background-color:#ddd}.popup-box .popup-content .popup-editor::-webkit-scrollbar{width:10px;background-color:#000}.popup-box .popup-content .popup-editor::-webkit-scrollbar-thumb{background-color:#747474}.popup-box .popup-content .popup-editor img{max-width:100%;width:auto;height:auto;-o-object-fit:contain;object-fit:contain}@media(max-width: 991px){.popup-box .popup-content .popup-editor{min-width:50vw;min-height:100px}}.popup-box .popup-content .popup-editor figure{margin:0}dialog{background:rgba(0,0,0,0);border:0;outline:0}dialog[open] .popup-box{opacity:1}