
body {
    font-family: Arial, sans-serif;
    background-image: url('pexels-pixabay-264258.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.9);
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    margin: 20px;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;

}

h1, h3 {
    text-align: center;
}

ul li {
    margin: 5px 0;
}

#eventsTableContainer {
    flex: 1;
    overflow-y: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.9);

}

th, td {
    padding: 12px;
    text-align: left;
}
th {
    padding-bottom: 0px;
    padding-top: 5px;
}
input {
    margin-top: 5px;
    margin-bottom: 10px;
}

th {
    background-color: #2d669f;
    color: white;
}

tr.odd-row {
    background-color: #ffffff;
}
tr.even-row {
    background-color: #cfe7ff;
}
tr:hover {
    background-color: #b1d6fa;
    font-weight: bold;rgb(163, 207, 252);
    cursor: pointer;
}

.filter-input {
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    margin-top: 0px;
}

.filter-container {
    display: flex;
    gap: 10px;
}

.date-input,
.deadline-input {
    width: 11em;
}

select.filter-input {
    height: 30px;
    overflow: hidden;
}

select.filter-input[multiple]:focus {
    /*height: auto;*/
    height: 400px;
    width: auto;
    position: absolute;
    overflow: visible;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0px;
    border: 1px solid #888;
    width: 80%;
}

.modal-content .subcontent {
    padding: 20px;
}
.modal-content .subcontent .title {
    font-weight: bold;
}
.modal-content .infos_tournoi {
    background-color: #cfe7ff;
}
.modal-content img {
    max-width: 100%;
}

.infos_tournoi {
    flex: 0 0 20%;
}

.details_tournoi {
    flex: 1;
    padding-left: 20px;
}

.telechargement {
    /*font-weight: bold;
    margin-left: 20px;*/
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
