#loading {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: block;
    opacity: 0.7;
    background-color: #fff;
    z-index: 99;
    text-align: center;
}

#loading-image {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.navbar-toggler {
    right: 15px;
    position: absolute;
    top: 1px;
}

.navbar-wrapper {
    margin-right: 30px;
}

#topBarTitle {
    white-space: pre-wrap;
    text-transform: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar.navbar-absolute {
    position: relative;
    display: flex;
}

.main-panel > .content {
    margin-top: 1em !important;
}

.th-inner {
    white-space: pre-wrap !important;
}

canvas {
    max-height: 80vh !important;
}

@media screen and (max-width: 991px) {
    .w-calendar {
        margin: 0;
        margin-top: 5px;
    }
}

.w-calendar {
    height: 40px;
}

.w-calendar-border {
    border: 1px solid #dddddd;
    border-radius: 3px;
}

button:hover i {
    color: #fff !important;
}

@media print {
    .navbar {
        display: block;
        border-width: 0 !important;
    }
    .navbar-toggle,
    .navbar-toggler-icon,
    .navbar-toggler,
    #navigation {
        display: none;
    }

    /* Cacher le scroll-bar de la page */
    .ps__thumb-y {
        display: none;
    }

    .footer {
        display: none;
    }
    .search-input {
        display: none;
    }

    #template {
        width: auto;
        height: auto;
        overflow: visible;
    }

    .row {
        break-inside: avoid !important;
    }

    .card {
        display: block !important;
        break-inside: avoid !important;
        width: auto !important;
        float: none !important;
    }

    /* Pour que les graphes tiennent en largeur */
    .body {
        height: 100%;
        background-color: white;
    }

    canvas {
        min-height: 100%;
        max-width: 100%;
        max-height: 100%;
        height: auto !important;
        width: auto !important;
    }

    ::-webkit-scrollbar {
        display: none;
    }

    /* Eviter d'avoir une deuxième page blanche */
    * {
        line-height: 1 !important;
    }
}
