.modal{display:block;width:54vw;min-width:700px;max-width:840px;padding:20px;min-height:250px;max-height:900px;overflow-y:scroll;position:absolute;top:15%;left:0;right:0;margin:auto;background-color:white;color:#252525;border:1px solid #565656;border-radius:3px;z-index:9999;box-shadow:var(--boxshadow)}.modal .flex{display:flex;align-items:center;justify-content:space-between}.modal input{padding:.7rem 1rem;border:1px solid #ddd;border-radius:5px;font-size:.9em}.modal p{font-size:.98rem;margin:.4rem 0 .2rem}.dark .modal{background-color:#181818;color:#afaa9f}.modal-open{position:absolute;top:100px;left:-300px;cursor:pointer;border:none;font-weight:600;display:block;padding:6px 10px;background-color:rgb(31,31,31);color:white;border-radius:0 6px 6px 0;z-index:99;-webkit-animation:slide .5s forwards ease-in-out;animation:slide .5s forwards ease-in-out;box-shadow:var(--boxshadow)}.novideo .modal-open,.ap .modal-open,.bgimage2 .modal-open,.bgimage2 .modal-open{top:150px}.modal-open:hover{background:#3b3b3b}.dark .modal-open{color:#beb9ad;background:rgb(44 44 44)}.dark .modal-open:hover{background:rgb(32,32,32)}@-webkit-keyframes slide{100%{left:0}}@keyframes slide{100%{left:0}}.modal-close{float:right;padding:10px;width:46px;height:46px;background:#eee;border:1px solid #0000002b;box-shadow:var(--boxshadow);border-radius:10px;cursor:pointer;border:none;font-weight:600}.modal-close:hover{filter:brightness(.8)}.dark .modal-close{background:#9f9c90}.overlay{position:fixed;top:0;bottom:0;left:0;right:0;width:100%;height:100%;background:rgba(0,0,0,.5);backdrop-filter:blur(3px);z-index:9998}.hidemodal{display:none}@media screen and (max-width:1300px){.novideo .modal-open,.ap .modal-open,.bgimage2 .modal-open,.bgimage2 .modal-open{top:60px}}@media screen and (max-width:1180px){.modal-open{position:static}.modal{position:fixed;top:0}}@media screen and (max-width:818px){.modal{border-radius:0;top:0;width:100%;min-width:unset;max-width:100vw;height:92vh;max-height:unset}}@media screen and (max-width:400px){.modal-open{font-size:13px}}