/*
Theme Name: PELEX
Version: 1.0
*/
.e-con.e-parent {--display:flex}
dialog#callback,dialog#photos{border:0;padding:0;max-width:94vw;max-height:92vh;margin:auto;overflow:auto}
dialog::backdrop{background:#000a}
#callback .elementor-location-popup{display:block!important;max-width:500px}
#callback .dismiss {
    position: absolute;
    inset: 6px 6px auto auto;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    box-sizing: border-box;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #0560ae url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 4L16 16M16 4L4 16' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
    color: white;
    font-size: 0;
    cursor: pointer;
}
#callback .dismiss:focus-visible { outline: 2px solid #202124; outline-offset: 2px; }
.elementor-gallery__container{display:flex!important;flex-wrap:wrap;gap:10px;height:auto!important}
.elementor-gallery__container .e-gallery-item{position:relative;width:auto;height:200px;flex-grow:1}
.e-gallery-image{height:100%;padding:0!important}.e-gallery-image img{width:100%;height:100%;object-fit:cover}
#photos{background:#141414;color:white;text-align:center}#photos img{display:block;max-height:80vh;max-width:90vw;margin:auto}#photos button{margin:4px}
@media(max-width:1024px){.elementor-gallery__container .e-gallery-item{height:150px}}@media(max-width:767px){.elementor-gallery__container .e-gallery-item{height:85px}}

.elementor-gallery__container .e-gallery-item{flex:1 0 230px;min-width:80px}
@media(max-width:767px){.elementor-gallery__container .e-gallery-item{flex-basis:100px}}
