body {
    background-color: rgb(236, 236, 236);
    transition: background-color ease 0.5s;
}

.body-landing .container {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
}

.main-footer {
    padding-bottom: 20rem;
    background-color: #dfe5eb;

}

#qrcode {
    margin-bottom: 8rem;
}

.filled {
    background-color: rgba(0, 255, 0, 0.2) !important;
}

.filled:hover {
    background-color: #8abb7a !important;
}

.no-name {
    color: #df5a0d;
}

table {
    max-height: 100vh;
    max-width: 100vw;
}

table.js-sort-table th {
    cursor: pointer;
}

table.js-sort-table th:hover {
    background-color: #f0f0f0;
}

table.js-sort-table th:active {
    background-color: #e0e0e0;
}

/*// formulaire de temps d'ouverture */
.form-check-input {
    margin-right: 2rem;
}

.jour-container {
    border: solid #dedede 1px;
}

#maploader {
    position: relative;
    top: 200px;
    left: 50%;
    z-index: 100;
}

.maplibregl-popup-content {
    overflow: auto;
    min-width: 300px;
    max-height: 11rem !important;
}

.maplibregl-popup-content strong {
    min-width: 10rem;
}

.maplibregl-popup-content table {
    width: 100%;
    max-height: 300px;
    overflow: auto;
}

.maplibregl-popup-content h1,
.maplibregl-popup-content h2,
.maplibregl-popup-contenth3 {
    font-size: 1rem;
}

.card {
    overflow: auto;
}

#attribution {
    font-size: 0.6rem;
}

#restaurant .form-check-label {
    margin-top: 0;
    display: block;
    cursor: pointer;
}

#restaurant .form-check-label:hover {
    background-color: #f0f0f0;
    color: #1e40c6;
}

#advanced_tags {
    border-left: solid 3px #ccc;
    padding-left: 2rem;
}


.start-hour {
    margin-left: -1rem;
}

.end-hour {
    margin-left: -1rem;
}

.good_filled {
    border-color: green;
}

.hidden {
    display: none;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.is-invalid {
    border: 1px solid red;
}

.is-invalid #validation_messages {
    color: red;
}

img {
    max-width: 100%;
    max-height: 400px;
}


#completionHistoryChart {
    min-height: 500px;
}

@media (max-width: 768px) {
    .form-label {
        margin-bottom: 0.5rem;
    }

    .mb-3 {
        margin-bottom: 1rem !important;
    }
}

table tbody {
    max-height: 700px;
    overflow: auto;
}

#table_container, .table-container, #table-container{
 max-height: 700px;
 overflow: auto;
 display: block;
 border: solid 3px rgb(255, 255, 255);
}