/*
 &#x5E2;\&#x639; (Ayn\Ayn) Lookup -- a tools for transliteration of Arabic/Syriac text <br>to Hebrew writing system
and a convenience interface to on-line translation services/search engines.
<p>
Developed by Zeev Belkin ( https://zeevbelk.in ).<br>
© 2009, 2010, 2011, 2026 Ze'ev (Zeev, Vladimir) Belkin. All rights reserved.

 This file is a part of  &#x5E2;\&#x639; (Ayn\Ayn) Lookup and should  be used
 under the terms of the &#x5E2;\&#x639; (Ayn\Ayn) Lookup Source-Available License v3.0. See LICENSE.
 **/

/* Only images initialized by the module advertise an interactive action. */
img.zoomable-image[role="button"] {
    cursor: zoom-in;
}

img.zoomable-image[role="button"]:focus-visible {
    outline: 3px solid #4246ea;
    outline-offset: 4px;
}

html.image-zoom-open {
    overflow: hidden;
}

.image-zoom-dialog {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 20px;
    border: 0;
    box-sizing: border-box;
    background: transparent;
    overflow: hidden;
    cursor: zoom-out;
}

.image-zoom-dialog[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-zoom-dialog::backdrop {
    background: rgba(0, 0, 0, 0.78);
}

.image-zoom-close {
    display: block;
    flex: 0 0 auto;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    line-height: 0;
    cursor: zoom-out;
}

.image-zoom-close:focus-visible {
    outline: 2px solid white;
    outline-offset: 4px;
}

.image-zoom-preview {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
    outline: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.image-zoom-preview[hidden] {
    display: none;
}
