:root {
    --navbar-height: 45px;
}

@page {
    size: auto;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 1 auto;
}

:root {
    --text-color-btn: black;
    --toasts-width: 300px;
}

#headerDiv {
    margin: 10px
}

/* isiTecc */
.isiClock1 {
    text-align: center;
    width: 17%;
    background-color: rgb(240,241,242);
    border: 1px solid lightgrey;
    margin-top: 5px;
    margin-bottom: 5px;
}

.isiClock2 {
    text-align: center;
    background-color: rgb(248,249,250);
    border-bottom: 1px solid lightgrey;
    border-left: 1px solid lightgrey;
    border-right: 1px solid lightgrey;
    margin-top: 5px;
    margin-bottom: 5px;
}

.isiMsg1 {
    background-color: rgb(240,241,242);
    border-top: 1px solid lightgrey;
    border-left: 1px solid lightgrey;
    border-bottom: 1px solid lightgrey;
    padding-left: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.isiMsg2 {
    background-color: rgb(248,249,250);
    border-bottom: 1px solid lightgrey;
    border-left: 1px solid lightgrey;
    border-right: 1px solid lightgrey;
    padding-left: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.isiMsg3 {
    background-color: rgb(248,249,250);
    border-bottom: 1px solid lightgrey;
    border-left: 1px solid lightgrey;
    border-right: 1px solid lightgrey;
    padding-left: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.clock1 {
    display: block;
    font-size: 1.5em;
    margin-top: 0.3em;
    margin-bottom: 0.3em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

.clock2 {
    display: block;
    font-size: 1.17em;
    margin-top: 0.3em;
    margin-bottom: 0.3em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

.msgHeader1 {
    display: block;
    font-size: 2em;
    margin-top: 0.3em;
    margin-bottom: 0.3em;
    margin-left: 0;
    margin-right: 5px;
    font-weight: bold;
}

.msgHeader2 {
    display: block;
    font-size: 1.17em;
    margin-top: 0.3em;
    margin-bottom: 0.3em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

.logo {
    width: 100px;
    text-align: right;
    background-color: rgb(240,241,242);
    border-top: 1px solid lightgrey;
    border-right: 1px solid lightgrey;
    border-bottom: 1px solid lightgrey;
    padding-right: 20px;
}

div[onclick], td[onclick] {
    cursor: pointer;
}

img[data-toggle] {
    cursor: pointer;
}

.isiHeader {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    margin-bottom: 0px;
}

span[data-marking] {
    font-size: 16px;
}

/* Tableau */
.table th {
    text-align: center;
}

.table td {
    text-align: center;
    line-height: 8px;
}

/*css pour le grand �cran*/

@media only screen and (min-width: 3800px) {

    /* Tableau */

    .table th {
        text-align: center;
        /*font-size: 20px;*/
    }

    .table td {
        text-align: center;
        line-height: 20px;
        /*font-size:16px;*/
    }
}

@media only screen and (max-width: 1300px) {
    /* Tableau */
    .table th {
        text-align: center;
    }

    .table td {
        text-align: center;
        line-height: 8px;
    }
}

.form__btn {
    margin-top: 6px;
}

/* Bootstrap's Toasts */
.toast-container {
    min-width: var(--toasts-width);
}

.toast {
    opacity: 1 !important;
}

.toast-header {
    opacity: 1 !important;
    font-size: 18px;
    line-height: 2;
    padding: 4px 12px;
}

    .toast-header button {
        color: lightgrey;
        padding: 4px;
    }

.toast-body {
    opacity: 1 !important;
    font-size: 16px;
}

.toast-error {
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
    color: #721c24 !important;
}

    .toast-error .toast-header {
        background-color: #e3616d !important;
        border-color: #e3616d !important;
        color: white !important;
    }

.toast-warning {
    background-color: #fff3cd !important;
    border-color: #ffeeba !important;
    color: #856404 !important;
}

    .toast-warning .toast-header {
        background-color: #ffcd36 !important;
        border-color: #ffcd36 !important;
        color: white;
    }

.toast-success {
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
    color: #155724 !important;
}

    .toast-success .toast-header {
        background-color: #69c07d !important;
        border-color: #69c07d !important;
        color: white;
    }

.toast-info {
    background-color: #d1ecf1 !important;
    border-color: #bee5eb !important;
    color: #0c5460 !important;
}

    .toast-info .toast-header {
        background-color: #69c1d1 !important;
        border-color: #69c1d1 !important;
        color: white;
    }

/* Spinner de chargement des pages */
.spinner-div {
    background-color: rgba(255,255,255,0.8);
    z-index: 1;
    position: absolute;
    height: calc(100% - var(--navbar-height));
    width: 100%;
}

    .spinner-div .spinner-loading-sub-page {
        position: absolute;
        top: calc(50% - 24px);
        left: calc(50% - 24px); /* à 50%/50% du parent référent */
        width: 48px;
        height: 48px;
        border: 5px solid var(--primary-color);
        border-bottom-color: transparent;
        border-radius: 50%;
        display: inline-block;
        box-sizing: border-box;
        animation: rotation 1s linear infinite;
    }
