
.card-header.bg-success{
    color: white;
}

#preparation tr {
    border: 1px solid black;
}

.attente {
    /*color: #ffc107;
    color: #000;
    border-color: #ffc107;*/
    color: #000;
    background-color: rgba(255, 255, 0, 0.85) !important;
    border-color: yellow;
}
.attente:hover {
    color: #000;
    background-color: #ffc107 !important;
    border-color: #ffc107;
}
.payed {
    color: #fff;
    background-color: #198754 !important;
    border-color: #198754;
}

.unpaid {
    color: #fff;
    background-color: #af1f3d !important;
    border-color: #af1f3d;
}

.valid {
    color: #fff !important;
    background-color: #0d6efd !important;
    border-color: #0d6efd;
}

.canceled {
    /*color: #dc3545;
    border-color: #dc3545;*/
    color: #fff;
    background-color: #dc3545 !important;
    border-color: #dc3545;
}
.canceled:hover {
    color: #fff;
    background-color: #dc3545 !important;
    border-color: #dc3545;
}

span.editable {
    display: inline-block;
    min-width: 50px;
}
.disabled {
    opacity: 0.6;
}

#editor {
    height: 100px;
}
#search + span {
    width: 0;
}

.nosearchbar #DataTables_Table_0_filter{
    display: none;
}

.dt-buttons {
    display: none;
    justify-content: space-between;

}
/*
=====
DEPENDENCIES
=====
*/

.r-link{
    display: var(--rLinkDisplay, inline-flex) !important;
}

.r-link[href]{
    color: var(--rLinkColor) !important;
    text-decoration: var(--rLinkTextDecoration, none) !important;
}

.text-underlined{
    /*
        1. I use pixels units because others units (em, rem, vw, vh, etc) can
        lead to the mistake of displaying a circumcised line
    */

    --uiTextUnderlinedLineHeight: var(--textUnderlinedLineHeight, 2px); /* 1 */
    --uiTextUnderlinedLineGap: var(--textUnderlinedLineGap, .5rem);
    --uiTextUnderlinedPaddingBottom: calc(var(--uiTextUnderlinedLineHeight) + var(--uiTextUnderlinedLineGap));

    padding-bottom: var(--uiTextUnderlinedPaddingBottom) !important;
    position: var(--textUnderlinedPosition, relative) !important;
    z-index: var(--textUnderlinedZindex, 1) !important;
}

.text-underlined::after{
    content: "";
    width: var(--textUnderlinedLineWidht, 100%) !important;
    height: var(--uiTextUnderlinedLineHeight) !important;
    background-image: var(--textUnderlinedBackgroundImage, linear-gradient(to top, var(--textUnderlinedLineColor, currentColor) 30%, rgba(0, 0, 0, 0) 45%)) !important;

    position: absolute;
    left: var(--textUnderlinedLineLeft, 0) !important;
    bottom: var(--textUnderlinedLineBottom, 0) !important;
    z-index: var(--textUnderlinedLineZindex, -1) !important;
}

/*
=====
CORE
=====
*/

.link{
    --textUnderlinedLineHeight: 100%;
    --textUnderlinedLineGap: 0;
    --textUnderlinedLineColor: #fed330;

    padding-left: .75rem;
    padding-right: .75rem;
}

.link::after{
    will-change: width;
    transition: width .1s ease-out;
    transform: rotate(-2deg);
    transform-origin: left bottom;
}

.link:hover{
    --textUnderlinedLineWidht: 0;
}

.link:hover::after{
    transition-duration: .15s;
}

/*
* These styles for text decoration. The demo will be work without it
*/

.link{
    font-weight: 700;
    /*text-transform: uppercase;*/
    font-variant: small-caps;
}

.link:focus{
    outline: 2px solid #fed330;
    outline-offset: .5rem;
}

.styled_a {
    font-family: 'Lato';
    text-decoration: none;
    font-size: 18px;
    color: #000;
    font-weight: 300;
    margin: 0 2px;
    position: relative;
}

.styled_a:before {
    position: absolute;
    margin: 0 auto;
    top: 100%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    content: '';
    opacity: .3;
    -webkit-transform: scaleX(.9);
    transition-property: opacity, -webkit-transform;
    transition-duration: .3s;
}

.styled_a:hover:before {
    opacity: 1;
    -webkit-transform: scaleX(1);
}


a.rond:hover, a.rond:hover i {
    color: white !important;
    background-color: dodgerblue !important;
}

body {
    margin: 0;
    display: flex;

    flex-direction: column;
    min-height: 100vh;
}

.container {
    flex: 1;
}

strong {
    font-weight: bold !important;
}

[type=button], [type=reset], [type=submit], button {
    -webkit-appearance: none;
}

.boutons-responsive a {
    white-space: nowrap;
}
.boutons-responsive {
    line-height: 48px;
}

.mymodal{
    z-index: 9999;
}

#loading-spinner {
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 10000;
    background-color: rgba(136,140,140,0.21);
    top:0;
    left:0;
}

.scrollable-menu {
    height: auto;
    max-height: 300px;
    overflow-x: hidden;
}

.red {
    color: red;
}

.action a {
    margin-left: 8px;
}
.fs-8 {
    font-size: 0.8rem !important;
}

.fs-9 {
    font-size: 0.7rem !important;
}

.table>:not(caption)>*>* {
    border-bottom-width: 0px;
}


#tablegroupe .form-check-input:disabled~.form-check-label, #tablegroupe .form-check-input[disabled]~.form-check-label {
    opacity: 1 !important;
}

#tablegroupe .form-check-input:disabled {
    opacity: 1 !important;
}
.modal.fade:not(.in) .modal-dialog {
    -webkit-transform: translate3d(0, 25%, 0);
    transform: translate3d(0, 25%, 0);
}


.modal.fade:not(.in) .modal-dialog.top-modal {
    -webkit-transform: translate3d(0, 0%, 0);
    transform: translate3d(0, 0%, 0);
}
.bg-light-unpaid a {
    color: white !important;
}
@media (prefers-reduced-motion: reduce) {
    .modal.fade {
        transition: opacity .15s linear;
    }
}

@media (max-width: 640px) {
    :root{
        font-size: 15px;
    }
    a[type=button] i{
        font-size: 20px;
        padding: 10px;
    }
}


@media print {
    .no-print {
        display: none !important;
    }
}

@media (min-width: 1000px) {
    .dt-buttons{
        display: flex;
    }
}

