﻿@media screen and (max-width: 930px) {

    .eMenu {
        position: unset !important;
        display: block !important;
        margin: auto !important;
        margin-bottom: 10px !important;
    }

    .eSection {
        width: 100% !important;
        margin: 0px !important;
    }

    #imgMenu {
        transform: translate(-30%, 0%);
        height: 100px !important;
        position: sticky !important;
    }

        #imgMenu:hover {
            transform: scale(0.7) translate(-50%, -30%) !important;
        }
}


@media screen and (max-width: 1200px) {
    .eMenu {
        position: unset !important;
        display: block !important;
        margin: auto !important;
        margin-bottom: 10px !important;
    }

    .eSection {
        width: 100% !important;
        margin: 0px !important;
    }
}


/***************************************************************/
/*                        VARIABLES                            */
/***************************************************************/

:root {
    /*COLORS*/
    --main-orange-color: #FE5000;
    --main-dark-orange-color: #CC4B23;
    --secondary-orange-color: #CC4B23;
    --main-black-color: #0F0F0F;
    --white-color: #FBFBFB;
    --red-color: #E10600;
    --yellow-editable-color: #FFFEE1;
    --yellow-focus: #FFC56E;
    --main-gray-color: #525252;
    --secondary-gray-color: #5C5C5C;
    --main-blue-color: #0061E2;
    --secondary-blue-color: #30BCED;
    --main-green-color: #44AF69;
    --invoicing-lighter-color:#75f7a2;
    --invoicing-color: #0F672E;
    --invoicing-secondary-color: #033916;
    --collaboration-color: #0061E2;
    /*colors from Ruben*/
    --parme: #FE8F5C;
    --parme-text: #100E10;
    --parme-dark: #A23300;
    --parme-darker: #5D1E00;
    --red-error-color: #FF101F;
    --green-success-color: #137709;
}

/***************************************************************/
/*                        HTML ELEMENTS                        */
/***************************************************************/

body, html {
    font-size: 16px;
    line-height: 1.5;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    font-family: Montserrat;
    background: linear-gradient(180deg, #FFFFFF 36.27%, rgba(255, 255, 255, 0) 131.3%), #D7D2CD;
}

.desktop {
    display: block !important;
}

.desktopflex {
    display: flex !important;
}


.mobile {
    display: none !important;
}

.--semi-bold {
    font-weight: 600;
}

.--bold {
    font-weight: 700;
}

@media all and (max-width:1024px) {
    .mobile {
        display: block !important;
    }

    .desktop, .desktopflex {
        display: none !important;
    }
}

/*html * {
        font-family: Montserrat;
    }*/

h1 {
    font-family: Montserrat-Bold;
    margin: 0;
    padding: 0;
    font-size: 3rem;
}

h2 {
    font-family: Montserrat-semibold;
    font-size: 1.5rem;
    margin: .5rem 0 0 0;
    padding: 0;
}

#bgMenu {
    overflow-y: auto;
    background-color: var(--main-orange-color);
    height: 100vh;
    width: 100vw;
    z-index: 0;
    position: absolute;
}

#mainView {
    box-shadow: 15px 0px 40px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    position: absolute;
    /*background: linear-gradient(180deg, #FFFFFF 36.27%, rgba(255, 255, 255, 0) 131.3%), #D7D2CD;*/
    backgorund-color: var(--color-white);
    z-index: 10;
    height: 100vh;
    width: 100vw;
    transition: 0.35s all linear;
}


header {
    position: sticky;
    height: 6rem;
    top: 0;
    width: 100%;
    z-index: 2000;
    background-color: white;
    transition-duration: 0.5s;
    display: flex !important;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width:500px) {
    header {
        height: auto;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

#menuBtn {
    margin: 0 2rem 0 4rem;
    height: 2rem;
    width: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
}

    #menuBtn:hover {
        cursor: pointer;
    }

    #menuBtn > div {
        overflow: hidden;
        height: 0.375rem;
        position: relative;
        background-color: var(--white-color);
        pointer-events: none;
        border-radius: 0.25rem;
    }

        #menuBtn > div:not(:last-child) {
            margin-bottom: 0.1875rem
        }

        #menuBtn > div:first-child {
            width: 100%;
            border-radius: 0.25rem 0.25rem 0 0.25rem;
        }

        #menuBtn > div:nth-child(2) {
            width: 75%;
        }

        #menuBtn > div:nth-child(3) {
            width: 50%;
        }

        #menuBtn > div:last-child {
            width: 25%;
        }

    #menuBtn div > span {
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        transition: 0.3s all ease-in-out;
    }

        #menuBtn div > span:first-child {
            background-color: var(--main-black-color);
            z-index: 4;
        }

        #menuBtn div > span:nth-child(2) {
            background-color: var(--primary-color);
            z-index: 3;
        }

        #menuBtn div > span:nth-child(3) {
            background-color: var(--primary-light-color);
            z-index: 2;
        }

        #menuBtn div > span:last-child {
            Background-color: var(--main-black-color);
            z-index: 1;
        }


@media screen and (max-width:500px) {
    #menuBtn {
        margin:0 1rem;
    }
}

#logo {
    cursor: pointer;
    height: 140%;
}

.imgMenu {
    z-index: 2010;
    cursor: pointer;
    transition-duration: 0.5s;
}

.epioxlogodesktop {
    align-self: flex-start;
    height: 100%;
    margin-right: 3rem;
}

.epioxlogomobile {
    position: relative;
    height: 50px;
    margin: 1rem;
}

.menuburger__logo {
    display: inline-block;
    margin-left: 2.5rem;
    height: 3.125rem;
}

/*#imgMenu_2 {
    background-color: var(--main-orange-color);
    border-radius: 25px;
    box-shadow: grey 5px 5px 10px;
    position: sticky;
    float: left;
    left: 0;
    height: 70px;
    z-index: 2010;
    cursor: pointer;
    transition-duration: 0.5s;
    display: none;
    text-align: center;
    padding: 20px;
    margin: 10px;
}*/
#logo:hover {
    transform: scale(1.1,1.1);
    transition-duration: 0.1s;
}

#imgMenu:hover {
    transform: scale(1.1);
    transition-duration: 0.1s;
}

#headerE {
    float: right;
    height: 100%;
}

footer {
    z-index: -1;
    position: fixed;
    bottom: -100px;
    width: 100%;
}

    footer img {
        width: 100%;
    }

    footer label {
        color: var(--main-orange-color);
    }

label {
    font-weight: normal;
}


/***************************************************************/
/*                            CLASS                            */
/***************************************************************/

.section {
    background-color: var(--white-color);
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    margin: 10px;
    padding: 15px;
    overflow: hidden;
    display: inline-block;
}

.section--ui_v1 {
    background-color: var(--white-color);
    border-radius: 1rem;
    box-shadow: var(--third-shadow);
    padding: 1.5rem;
    margin: 0;
    margin-bottom: 1.5rem;
}

.vertical-align {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 30%;
    width: 50%;
    margin: -15% 0 0 -25%;
}

.eBreadcrumb {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: flex;
    justify-content: flex-start;
    flex-flow: row wrap;
}

    .eBreadcrumb li {
        font-family: "Montserrat";
        max-height: 40px;
        margin-left: -40px;
        overflow: hidden;
    }

        .eBreadcrumb li a {
            border-radius: 20px 0 0 20px;
            color: var(--main-orange-color);
            border: 1px solid var(--main-orange-color);
            background-color: white;
            cursor: pointer;
            text-decoration: none;
            display: block;
            padding: 7px 53px 7px 23px;
            height: 100%;
            width: 100%;
        }

        .eBreadcrumb li:first-child {
            margin-left: 0;
        }

        .eBreadcrumb li:last-child {
            font-family: "Montserrat-Bold";
            background-color: var(--main-orange-color);
            color: white;
            border-radius: 20px;
            padding: 8px 24px 8px 24px;
        }

    .eBreadcrumb .eBreadcrumbMobile {
        display: none;
    }

    .eBreadcrumb a {
        text-decoration: none;
        color: black;
    }

        .eBreadcrumb a:hover, .eBreadcrumbMobile:hover {
            background-color: var(--primary-light-color);
            color: var(--parme-texte);
        }

@media all and (max-width:500px) {

    .eBreadcrumb li:not(:last-child):not(.eBreadcrumbMobile) {
        display: none;
    }

    .eBreadcrumb {
        display: inline-flex;
        margin: 12px 0;
    }

        .eBreadcrumb li {
            width: 100%;
            margin-left: 0;
        }

            .eBreadcrumb li a {
                width: 100%;
                border-radius: 20px;
            }

        .eBreadcrumb .eBreadcrumbMobile {
            display: block;
            color: var(--main-orange-color);
            border: 1px solid var(--main-orange-color);
            border-radius: 20px 0 0 20px;
            background-color: white;
            cursor: pointer;
            text-decoration: none;
            display: block;
            padding: 7px 53px 7px 23px;
            height: 100%;
            margin-left: 0;
            flex: 0;
        }

        .eBreadcrumb li:last-child {
            margin-left: -23px;
            flex: 1;
            text-align: center;
        }

    /*.eBreadcrumb::after{
            content:"";
            flex:50%;
        }*/

    .eBreadcrumbMobile > img {
        height: 16px;
        width: auto;
    }
}

.alertArea {
    margin-top: 0.5rem;
    z-index: 2000001 !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    font-size: 1.25rem !important;
    white-space: pre-line;
    display: grid;
    place-items: center;
    grid-auto-rows: auto;
    grid-row-gap: 0.75rem;
    pointer-events:none;
}

    .alertArea > div {
        margin-bottom: 0 !important;
        width: 40rem;
        padding: 0.75rem 1.5rem 0.75rem 1.5rem !important;
        /*box-shadow: var(--secondary-shadow) !important;*/
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 3rem;
        border-radius: 0.5rem !important;
        border-width: .125rem !important;
        pointer-events: auto;
        transition: all 300ms ease-out;
        opacity: 0;
    }

        .alertArea > div.alert-success-refreshable {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.5rem;
        }

            .alertArea > div.alert-success-refreshable > span{
                font-size:0.75rem;
            }

            .alertArea > div.alert-success {
                border-color: #3c763d;
            }
        
        .alertArea > div.alert-info {
            border-color: #31708f;
        }

        .alertArea > div.alert-danger {
            border-color: #a94442;
        }

        .alertArea > div.alert-warning {
            border-color: #8a6d3b;
        }

        .alertArea > div.alert-info > button > span {
            color: #31708faa !important;
        }

        .alertArea > div.alert-danger > button > span {
            color: #3c763daa !important;
        }

        .alertArea > div.alert-success > button > span {
            color: #a94442aa !important;
        }

        .alertArea > div.alert-warning > button > span {
            color: #8a6d3baa !important;
        }

        .alertArea > div > button:hover{
            opacity:0.4 !important;
            transition: 0.3s all ease;
        }

        @media screen and (max-width: 680px) {
            .alertArea > div {
            width: 90%;
        }
    }


        .alertArea > div:first-child {
            border-radius: 1rem 1rem 0.5rem 0.5rem !important;
        }

        .alertArea > div:last-child {
            border-radius: 0.5rem 0.5rem 1rem 1rem !important;
        }

        .alertArea > div:only-child {
            border-radius: 1rem !important;
        }

        .alertArea button {
            height: 100%;
            display: grid;
            place-items: center;
            position: initial !important;
            opacity:1 !important;
        }

            .alertArea button:not(.third-btn--success) {
                padding: 0 !important;
            }


.alertArea strong {
    white-space: pre-line;
    flex: 1;
    font-size: 1.15rem !important;
}

@media screen and (max-width:680px) {

    .alertArea {
        width: 90%;
    }

        .alertArea strong {
            font-size: 1rem;
        }
}

.loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('../../Images/page-loader.gif') 50% 50% no-repeat rgb(249,249,249);
    opacity: .9;
}

.errorLabel {
    font-size: 0.5rem;
    font-weight: bold;
    font-style: normal;
    color: red;
}

/*
    Sample:
    <div class="ePage-header">
        <h2>Impression des documents</h2>
    </div>
*/

.ePage-header {
    padding-left: 15px;
    color: black;
}

    .ePage-header h2 {
        font-family: "Montserrat-Bold";
        font-weight: bold;
    }

    .ePage-header h3 {
        font-family: "Montserrat-Bold";
        font-weight: bold;
        font-size: 36px;
    }

/*
    Sample:
    <div class="eSection">
        <div class="eSection-header">

        </div>
        <div class="eSection-content">
            <!--Content-->
        </div>
    </div>
*/
.eSection {
    text-align: center;
    background: linear-gradient(to bottom, #f2f2f2, #ffffff);
    background-color: var(--main-orange-color);
    border-radius: 15px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    /*width: 70%;*/
    display: inline-block;
    vertical-align: top;
    overflow-x: auto;
    width: 100%;
}

.eSection--ui_v1 {
    text-align: left;
    background: var(--white-color);
    border-radius: 1rem;
    box-shadow: var(--third-shadow);
}

@media screen and (min-width:1400px) {
    .eSection--ui_V1 {
        display: block;
        width: auto;
    }
}

.eSection-header {
    /*background: linear-gradient(to bottom, #e1efa4, #90d130);*/
    background-color: var(--main-orange-color);
    width: 100%;
    height: 10%;
    padding: 5px;
    border: solid 2px white;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    text-align: center;
    /*text-shadow: 1px 1px 1px white;*/
    color: white;
}

.eSection-header--passage {
    background-color: var(--primary-lighter-color);
    color: var(--primary-color);
}

.eSection-header--ui_v1 {
    background-color: var(--primary-lighter-color);
    color: var(--primary-color);
    border: 2px solid var(--white-color);
    font-family: Montserrat-semibold;
    height: 3.5rem;
    display: grid;
    place-items: center;
}

    .eSection-header--ui_v1 h4 {
        font-size: 1rem;
        margin-bottom: 0;
        margin-top: 0;
    }

.eSection-header--error {
    background-color: var(--error-light-color);
    color: var(--error-color);
}


.eSection-content {
    padding: 0;
    text-align: left;
}

.container-center {
    text-align: center;
    width: 100%;
    margin: auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

/*TAB SECTION*/
/*
    SAMPLE:
    <div class="eSection-tabs" style="text-align: center;">
            <table style="width:100%;">
                <tr>
                    <td id="tabDonneesPersonnelles" style="cursor:pointer;width:33%; display:inline-block; height:40px; line-height:40px; vertical-align:middle; border-right: 2px solid white">
                        <label>DONNEES PERSONNELLES</label>
                    </td>
                    <td id="tabDonneesProfessionnelles" style="cursor:pointer; width:33%; display:inline-block; height:40px; line-height:40px; vertical-align:middle; border-right: 2px solid white">
                        <label>DONNEES PROFESSIONNELLES</label>
                    </td>
                </tr>
            </table>
        </div>
*/

.eSection-tabs {
    text-align: center;
    width: 100%;
}

    .eSection-tabs table {
        width: 100%;
    }

    .eSection-tabs td {
        cursor: pointer;
        height: 40px;
        line-height: 40px;
        vertical-align: middle;
        border-right: 2px solid white;
        background: linear-gradient(to bottom, #f2f7ff, #c1c6cc);
        color: black;
    }

    .eSection-tabs label:hover {
        /*transform: scale(1.1);*/
        cursor: pointer;
        transition-duration: 0.3s;
    }

    .eSection-tabs td:active {
        transform: scale(0.9);
        cursor: pointer;
        transition-duration: 0.2s;
    }

.eSection-tabs--ui_v1 {
    background-color: var(--neutral-light-color);
    text-align: left;
}

    .eSection-tabs--ui_v1 .eSection-single-tab--ui_v1 {
        padding: 1rem 0;
        padding-left: 1.5rem;
        cursor: pointer;
        border-radius: 0.5rem;
        transition: all 0.25s ease;
    }

        .eSection-tabs--ui_v1 .eSection-single-tab--ui_v1:hover {
            background-color: var(--primary-light-color);
        }

    .eSection-tabs--ui_v1 .eSection-single-tab--ui_v1--active {
        background-color: var(--primary-color);
        font-family: Montserrat-semibold;
        color: var(--white-color);
    }

    .eSection-tabs--ui_v1 .eSection-single-tab--ui_v1--active label {
        color: var(--white-color);
        
    }

/*
    Sample:
    <div class="modal">
        <!-- Modal content -->
        <div class="modal-content">

        </div>
    </div>
*/

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000 !important; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    border-radius: 1rem;
}

/* The Close Button */
.close {
    color: var(--black-color);
    float: right;
    font-size: 28px;
}

    .close:hover,
    .close:focus {
        text-decoration: none;
        cursor: pointer;
    }

/*
    Sample:
    <div class="eMenu">   
        <h3 class="eMenu-title"><b>Title</b></h3>
        <h4 class="eMenu-subtitle"><b>Subtitle</b></h4>
        <div id="" class="eMenu-item">
            <label>Item</label>
        </div>       
    </div>
*/


.eMenu {
    /*background: linear-gradient(to bottom, #e1efa4, #90d130);*/
    color: black;
    background-color: var(--white-color);
    text-align: center;
    border-radius: 1rem;
    /*border: solid 3px var(--main-orange-color);*/
    box-shadow: var(--third-shadow);
    position: sticky;
    top: 10em;
    display: inline-block;
    /*width: 20%;*/
    /*min-width: 20em;*/
    vertical-align: top;
    padding: 1.5rem;
    overflow: hidden;
    z-index: 10;
    width: 100%;
}

.eMenu--ui_v1 {
    position: inherit;
    top: 0;
    text-align: left;
}

@media screen and (max-width:1200px) {
    .eMenu--ui_v1 {
        position: unset;
        margin: 0 !important;
        margin-bottom: 1.5rem !important;
        overflow-y: auto;
        max-height: 80dvh;
    }

        .eMenu--ui_v1::-webkit-scrollbar{
            width: 0.5rem;
            border-radius: 0.25rem;
            margin-right:0.2rem;
        }
}


.eMenu-title {
    font-family: "Montserrat-Bold";
    color: black;
    border-radius: 15px;
    padding: 3px;
}

.eMenu-subtitle {
    text-shadow: 1px 1px 1px white;
    font-weight: bold;
}

.eMenu-item {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    transition: 0.25s all ease;
    vertical-align: central;
}

    .eMenu-item:not(:last-child) {
        margin-bottom: 0.25rem;
    }

    .eMenu-item > *:first-child {
        position: relative !important;
        margin: 0 !important;
        color: var(--neutral-darker-color) !important;
    }

        .eMenu-item > *:first-child:after {
            background: none repeat scroll 0 0 transparent;
            bottom: 0;
            content: "";
            display: block;
            height: 1px;
            left: 50%;
            background: var(--primary-color);
            position: absolute;
            transition: width 0.3s ease 0s, left 0.3s ease 0s;
            width: 0;
        }

        .eMenu-item > *:first-child:hover:after {
            width: 100%;
            left: 0;
        }

    .eMenu-item:hover {
        color: var(--primary-color);
    }

.eMenu label {
    cursor: pointer;
}

.eMenu-item--active {
    font-family: Montserrat-Bold;
}

    .eMenu-item--active:before {
        content: url(/Content/images/arrow.svg);
    }


/*SCROLLBAR*/
::-webkit-scrollbar-track {
    border-radius: 10px 10px;
    background-color: transparent;
}

::-webkit-scrollbar {
    width: 0.5vw;
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px 10px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    background-color: var(--main-orange-color);
}

.alertErrorLogin {
    height: 60%;
    border-radius: 3px 3px 30px 30px;
    color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px 0 15px;
    font-size: 1.25em;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    background-color: var(--red-color);
}

#altField {
    width: 100%;
    height: 150px;
    resize: none;
    overflow-y: auto;
}

.bufferMemory {
    width: 100%;
    overflow-y: auto;
    font-size: 15px;
    font-weight: bold;
    font-style: normal;
    padding: 8px 24px;
    background-color: white;
    border-radius: 16px;
    margin: 24px 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.15);
}

.head-form {
    background-color: var(--neutral-light-color);
    color: var(--black-color);
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-family: Semibold;
}

    .head-form label {
        margin: 0 !important;
    }

.consultation {
    padding: 1rem;
    border: 2px solid;
    border-radius: 0.5rem;
}

    .consultation label {
        font-family: Montserrat-Semibold;
    }

.consultation--refused {
    border-color: var(--error-light-text-color);
    color: var(--error-light-text-color);
    background-color: var(--error-light-color);
}

.consultation--accepted {
    border-color: var(--success-light-text-color);
    color: var(--success-light-text-color);
    background-color: var(--success-light-color);
}

.eBtn--normal-font {
    font-size: 1rem !important;
}

#forminputPatient span {
    margin-right: 0.5rem !important;
}

.eBtn-icon {
    height: 1rem;
    width: auto;
    margin-right: 0.5rem;
}

.infos {
    color: var(--neutral-color);
}

.patient, .infirmier {
    font-size: 1.25rem;
    font-family: Montserrat-semibold;
}

.tabs--override {
    border: none !important;
    background-image: none;
    margin: 0 !important;
}

    .tabs--override a {
        color: initial;
    }

.modal-backdrop {
    display: none !important;
    background-color: transparent !important;
    opacity: 0 !important;
}

#tablePrescription {
    margin-right: 2rem;
    overflow-x: auto;
}


.legend__patient {
    padding-left: 1.5rem;
    display: flex;
    justify-content: start;
    align-content: flex-end;
}

    .legend__patient div {
        display: flex;
        flex-direction: column;
        align-content: start;
        justify-content: start;
    }

        .legend__patient div:not(:last-child) {
            margin-right: 1rem;
        }

.legend_color {
    display: block;
    width: 7rem;
    height: 1.5rem;
    border-radius: 0.25rem;
}

.legend__color--hand {
    background-color: blue;
}

.legend__color--vipo {
    background-color: violet;
}

.legend__color--dead {
    background-color: grey;
}

.legend__color--palli {
    background-color: green;
}

.patientType {
    position: relative;
}


.row-click td.patientName {
    font-family: Montserrat-SemiBold !important;
}

.patientType {
    width: 2rem;
    height: 4rem;
    margin-left: auto;
}

.patientType--handicape {
    background-color: blue;
}

.patientType--vipo-bim {
    background-color: violet;
}

.patientType--decede {
    background-color: grey;
}

.patientType--palliatif {
    background-color: green;
}

.row-click {
    position: relative;
    transition: 150ms all ease;
}

    .row-click:hover {
        border-bottom: 1px solid var(--neutral-dark-color);
        background-color: var(--neutral-lighter-color) !important;
        box-shadow: var(--primary-shadow);
        z-index: 99;
    }

.mda__row {
    border: 1px solid var(--neutral-dark-color);
    border-radius: 0.5rem;
    width : 100%;
    padding : 0.5rem 1rem;
    margin-top: 1rem;
    gap : 1.5rem;
    position:relative;
    z-index:1;
    background-color:var(--white-color);
}

.mda__row > * {
    white-space: nowrap;
}

.mda__row > label:first-child{
    width: 100%;
    width: -webkit-fill-available;
    width: -moz-available;
    width: fill-available;
}

.mda__row__icon {
    width : 1rem;
    aspect-ratio: 1/1;
}

.mda__requestElement {
    border-radius: 0.4rem;
    padding : 0.25rem 0.5rem;
    font-size: .8rem;
}

.mda__requestElement--insurability {
    background-color: hsla(212, 52%, 94%, 1);
    color: hsla(211, 83%, 40%, 1);
}

.mda__requestElement--dmg {
    background-color: hsla(56, 100%, 93%, 1);
    color: hsla(53, 7%, 26%, 1);
}

.mda__requestElement--pallia {
    background-color: hsla(125, 52%, 94%, 1);
    color: hsla(125, 52%, 30%, 1);
}

.mda__requestElement--carepath {
    background-color: hsla(40, 52%, 94%, 0.26);
    color: hsla(40, 52%, 35%, 1);
}

.mda__requestElement--error {
    background-color: hsla(357, 100%, 96%, 1);
    color: hsla(356, 100%, 53%, 1);
}

.mda__row__content {
    background-color: hsla(20, 88%, 97%, 1);
    border: 1px solid var(--neutral-dark-color);
    border-radius: 0 0 0.4rem 0.4rem;
    padding: 0;
    font-size: .8rem;
    transition: 0.3s all ease;
    margin-top: -0.4rem;
    height: 0;
    overflow: hidden;
}

    [mda-open] {
        padding: 2rem 0.5rem 1rem 0.5rem;
        height: auto;
    }

.content__main {
    display: grid;
    grid-template-columns: repeat(1,1fr);
    row-gap: 1.5rem;
}

@media screen and (min-width:768px) {
    .content__main {
        grid-template-columns: repeat(5,1fr);
        grid-template-rows: repeat(2, auto);
        grid-column-gap: 2rem;
        grid-row-gap: 1.5rem;
    }

        .content__main > div:first-child {
            grid-area: 1/1/3/1;
        }

        .content__main > div:nth-child(2) {
            grid-area: 1/2/3/2;
        }

}


.mda-item__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mda-item__body > div {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-column-gap: 1rem;
    place-items: center start;
}

    .mda-item__body > div > div {
        line-height: 120%;
        color: var(--neutral-darker-color);
    }

        .mda-item__body > div > div:first-child{
            font-family:'Montserrat-Semibold';
        }


.mda-item__head .skeleton--title::before {
    font-size: 1.2rem;
}
.mda-item__body .skeleton::before{
    font-size: 0.75rem;
}

.mda-item__head > h3 {
    font-family: Montserrat-Bold;
    font-size: 0.9rem;
    margin-top: 0;
    margin-bottom: 0.25rem;
}

.mda-item__body > div > div:last-child{
    cursor:pointer;
    white-space:nowrap;
    overflow: hidden;
    text-overflow:ellipsis;
    width:100%;
}

div.show-more {
    white-space: initial !important;
    word-break: break-word !important;
    width: auto !important;
}

.mda--error {
    color: hsla(356, 100%, 53%, 1);
    margin-bottom: 1rem;
    font-family: 'Montserrat-Semibold';
}

.mda-accordion:not(.skeleton) {
    --accordion-height: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--neutral-darker-color);
    border-radius: 0.25rem;
    cursor: pointer;
    transition: 300ms all ease;
    padding-top: 0.25rem;
    padding-right: 0.5rem;
    padding-bottom: 0.25rem;
    padding-left: 0.25rem;
}

.mda-accordion:not(:last-child, .mda-accordion.skeleton) {
    margin-bottom: 0.5rem;
}

.mda-accordion:not(.skeleton)::before {
    content: 'Masquer les données';
    height: var(--accordion-height);
    display: block;
    width: 100%;
    line-height: var(--accordion-height);
}

.mda-accordion--open:not(.skeleton) {
    height: var(--accordion-height);
    padding-top: var(--accordion-height);
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0.25rem;
}

    .mda-accordion--open:not(.skeleton)::before {
        content: 'Afficher les données';
        height: var(--accordion-height);
        display: block;
        width: 100%;
        margin-top: calc(-1 * var(--accordion-height));
        line-height: var(--accordion-height);
    }




.danger-warning {
    background: var(--entry-focus-color);
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid var(--entry-active-text-color);
    border-radius: 8px;
    color: var(--entry-active-text-color);
}

.danger-warning p {
    line-height: 1.25rem;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .h-md-100 {
        height: 100% !important;
    }
}

.loading-errors{
    height: 0.75rem;
    aspect-ratio: 1/1;
    margin-left:1rem;
}

button:has(.color-change-2x) {
    background-color: var(--primary-color);
    color: var(--primary-lighter-color);
    font-family: 'Montserrat-Semibold';
    box-shadow: var(--secondary-shadow);
}

.color-change-2x:after {
    content: '';
    display: block;
    background-image: url('../../Images/alert.svg');
    background-position:center;
    background-size:contain;
    background-repeat:no-repeat;
    height: 1rem;
    aspect-ratio: 1/1;
}
