.modal {
    position: fixed;
    inset: 2rem 1rem;
    margin: auto auto;
    /* max-width: calc(90vw - 2rem); */
    height: min-content;
    padding: 1rem;
    box-sizing: content-box;
    font-size: 1.25rem;
    box-shadow: 0 0 1px 4000px #0009, 0 0 5px 1px #0009;
    border: solid 1px #fff1;
    backdrop-filter: blur(25px);
    border-radius: 10px;
    display: none;
    overflow: scroll;
    z-index: 3;
    max-height: calc(100vh - var(--headerH) - var(--nav-menu));
    z-index: 5;
}



.modal {
    width: clamp(180px, 100%, 400px);
    max-width: calc(90vw - 2rem);
}

.bodyA .modal {
    inset:calc(var(--headerA) + 1rem ) 1rem 1rem calc(var(--menuW) + 1rem);
    width: max-content;
    max-width: calc(100vw - 4rem - var(--menuW));
}

.modal .closeModal {
    position: absolute;
    font-size: 1.5rem;
    top: 1rem;
    right: 1rem;
    color: var(--color-placeholder);
    z-index: 3;
}

.modal .title {
    font-size: 1.5rem;
    border-bottom: solid 1px #fff5;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}


.content-file {
    border-radius: 5px;
    display: block;
    margin: 0 auto;
    position: relative;
    margin-top: 0.25rem;
    overflow: hidden;
}


.content-file.voucher-v {
    width: 27vh;
    height: 45vh;
}

.content-file i {
    position: absolute;
    inset: 0;
    max-width: min-content;
    max-height: min-content;
    margin: auto auto;
}

.identification {
    inset: 1rem 1.5rem auto auto;
    min-width: max-content;
    color: var(--color-placeholder);
    font-size: 1.5rem;
}

.identification:before {
    content: "#";
    font-size: 1.25rem;
    padding-right: 2px;
}

.content-file img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    display: none;
    object-fit: cover;
}



.content-file .placeholder {
    position: absolute;
    color: var(--color-placeholder);
    bottom: 0;
    left: 0;
    text-align: center;
    padding: 0.2rem;
    margin: 0 auto;
    width: 100%;
}

.filters {
    position: fixed;
    height: 60vh;
    width: 100vw;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0 0 10px #0009;
    border-radius: 10px 10px 0 0;
    max-width: 105mm;
    margin: auto auto;
    display: block;
    padding: 1rem;
    transition: 0.25s ease-in-out;
    backdrop-filter: blur(20px);
    overflow-y: scroll;
    padding-bottom: 6rem;
}

.filters .closeFilters {
    position: absolute;
    right: 1.5rem;
    top: 1.75rem;
}

.color-error{
    color:var(--errorText);
}

#slider-filters.hide {
    transform: translateY(100%);
}

@media (width > 980px){
    .modal{
        inset:var(--headerH) 0 0 var(--menuW);
        max-width:max-content;
        margin:auto;
    }
}