@media (max-width: 768px){
    table, thead, tbody, th, td, tr {
        display: block;
        width: 100%;
        box-sizing: border-box;

    }

    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    thead tr th {
        text-align: left !important;
    }

    tr {
        border: 1px solid #ccc;
        margin-bottom: 0.625rem;
    }

    td {
        text-align: right;
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        left: 20px;
        padding: 15px 0px;
        padding-left: 100px;
        white-space: normal;
        word-wrap: break-word;
        width: 100%;
    }

    td:before {
        position: absolute;
        top: 10px;
        left: -20px;
        width: 45%;
        padding-right: 0.625rem;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        width: auto; 
        padding-right: 0;
    }

    td:nth-of-type(1):before { content: "Jour"; }
    td:nth-of-type(2):before { content: "Patient"; }
    td:nth-of-type(3):before { content: "Durée"; }
    td:nth-of-type(4):before { content: "Salle"; }
    td:nth-of-type(5):before { content: "Type de RDV"; }
    td:nth-of-type(6):before { content: "Surbooking"; }
    td:nth-of-type(7):before { content: "N° de surbooking"; }
    td:nth-of-type(8):before { content: "Assistant à domicile exigé"; }
    td:nth-of-type(9):before { content: "Supprimer"; }
}
@media (max-width: 768px){
    #NVHoraireModal{
       margin: 0 !important;
       padding: 0 !important;
       padding-left: 15% !important;
       width: 110%;
    }
}