/* -------------------------  Modal Aken  ------------------------- */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.55);
}

.modal-content {
    background-color: var(--background-one-color);
    margin: 2% 35%;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 800px;
    font-size: 15px;
    text-align: center;
}
.modal-content table {
    width: auto;
    border-collapse: collapse;
    margin-top: 10px;
    justify-self: center;
}

.modal-content table td {
    color: var(--text-color);
}

.modal-content table th {
    color: var(--tablelink-text-color);
    font-weight: bold;
}


.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* x                                                  Nutiseadmetele kohandamine                                                            x */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */

@media only screen and (max-width: 1170px) {
    /* -------------------------  Modal Aken  ------------------------- */
    .modal-content {
        width: fit-content;
        margin: 5% 5%;
        overflow-x: auto;
        font-size: 12px;
    }
}