html{
    height: 98%;
}

body{
    margin: 0;
    height: 98%;
}

div#base{
    display: flex;
    flex-direction: column ;
    position: fixed ;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

div.ze_paper{
    display: flex;
    flex-grow: 1;
    overflow: auto;
    flex: 1 1 auto;
    padding-bottom: 0;
    height: 100%;
    border-radius: 0;
    padding-top: 56px;
}

div.offcanvas{
    width: 300px !important;
}

span.error-message{
    color: red;
}

.tabbable .nav-tabs {
    overflow-x: auto;
    overflow-y:hidden;
    flex-wrap: nowrap;
}

.tabbable .nav-tabs .nav-link {
    white-space: nowrap;
}

ul.authors li.list-group-item{
    cursor: pointer;
}

input.value_success{
    background-color: var(--bs-success-bg-subtle);
}

input.value_warning{
    background-color: var(--bs-warning-bg-subtle);
}

@media (min-width: 1280px){
    div.offcanvas{
        position: fixed !important;
        visibility: visible !important;
        transform: none !important;
        border-left: 1px solid black;
        top: 0;
        right: 0;
        height: 100dvh;
        z-index: 1040;
    }

    div.offcanvas button.btn-close{
        display: none;
    }

    div.offcanvas-backdrop{
        display: none !important;
    }

    div.ze_paper {
        padding-right: 300px; /* = largeur du offcanvas */
    }
}

.cursor_pointer{
    cursor: pointer;
}

.loading-state{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

i.fs-menu-icon{
    font-size: 16px;
    /* margin-left: 13px; */
    margin-right: 16px;
    color: black;
}


/* ********************************************* */


.fab-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1030;
}

.fab-main {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.fab-actions {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 5px;
    pointer-events: none;
    transform: translateY(20px);
    transition: 0.3s;
}

.fab-container.open .fab-actions {
    display: flex;
    pointer-events: auto;
    transform: translateY(0);
}

.fab-action {
    /* width: 46px; */
    /* height: 46px; */
    margin-top: 8px;
    /* border-radius: 50%; */
}