﻿/* -------------------------  Modal Aken  ------------------------- */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    overflow: auto;
    background-color: rgba(7, 16, 22, 0.55);
}

.modal-content {
    background-color: var(--surface-3);
    margin: 6vh auto;
    padding: 20px 22px;
    border: 1px solid var(--border-color);
    width: min(860px, 92vw);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    font-size: 15px;
    text-align: center;
}

.modal-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.modal-content table td {
    color: var(--text-color);
}

.modal-content table th {
    color: var(--tablelink-text-color);
    font-weight: 600;
}

.close {
    color: var(--text-on-dark-backgrounds);
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: var(--link-hover-text-color);
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 1170px) {
    .modal-content {
        width: min(92vw, 720px);
        margin: 8vh auto;
        overflow-x: auto;
        font-size: 13px;
    }
}
