#mainView {
    scroll-behavior: smooth;
}

#title {
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

    #title > h1 {
        font-size: 3rem;
    }

@media all and (max-width:500px) {

    #title {
        margin: 0;
    }

        #title > h1 {
            font-size: 2.25rem;
        }
}

#wrapper {
    padding: 0 1rem 7.5rem 1rem;
}

@media all and (min-width:1200px) {
    #wrapper {
        padding: 0 3rem 0 3rem;
    }
}

table > thead {
    background-color: white;
}

/*#notificationCenterBtn > span:nth-child(2),
#messageCenterBtn > span:nth-child(2),
#medicalAlertCenterBtn > span:nth-child(2),
#taskCenterBtn > span:nth-child(2),
#BtnImpression > span:nth-child(2),
#BtnDeconnexion > span:nth-child(2) {
  display: none;
}*/

.task[data-state="0"] {
    border-color: var(--neutral-color);
    color: var(--neutral-darker-color);
}

    .task[data-state="0"]:hover {
        background-color: var(--neutral-light-color);
    }

    .task[data-state="0"] label {
        color: var(--neutral-darker-color);
    }

.task[data-state="1"] {
    border-color: var(--secondary-color);
    color: var(--secondary-dark-color);
}

    .task[data-state="1"]:hover {
        background-color: var(--secondary-text-color);
    }

    .task[data-state="1"] label {
        color: var(--secondary-dark-color);
    }

    .task[data-state="1"] .eLdBar {
        background-color: var(--secondary-lighter-color);
    }

    .task[data-state="1"] .eLdBar-content {
        background-color: var(--secondary-color);
    }

.task[data-state="2"] {
    border-color: var(--primary-color);
    color: var(--primary-dark-color);
}

    .task[data-state="2"]:hover {
        background-color: var(--primary-text-color);
    }

    .task[data-state="2"] label {
        color: var(--primary-dark-color);
    }

    .task[data-state="2"] .eLdBar {
        background-color: var(--primary-lighter-color);
    }

    .task[data-state="2"] .eLdBar-content {
        background-color: var(--primary-color);
    }



.task[data-state="3"] {
    border-color: var(--success-color);
    color: var(--success-dark-color);
}

    .task[data-state="3"]:hover {
        background-color: var(--success-text-color);
    }

    .task[data-state="3"] label {
        color: var(--success-dark-color);
    }

    .task[data-state="3"] .eLdBar {
        background-color: var(--success-light-color);
    }

    .task[data-state="3"] .eLdBar-content {
        background-color: var(--success-color);
    }


.task[data-state="4"] {
    border-color: var(--error-color);
    color: var(--error-dark-color);
}

    .task[data-state="4"]:hover {
        background-color: var(--error-text-color);
    }

    .task[data-state="4"] label {
        color: var(--error-dark-color);
    }

    .task[data-state="4"] .eLdBar {
        background-color: var(--error-light-color);
    }

    .task[data-state="4"] .eLdBar-content {
        background-color: var(--error-color);
    }


.task[data-state="5"] {
    border-color: var(--black-color);
    color: var(--black-color);
}

.task[data-state="4"]:hover {
    background-color: var(--white-color);
}

.task[data-state="5"] label {
    color: var(--black-color);
}

.task[data-state="5"] .eLdBar {
    background-color: var(--neutral-color);
}

.task[data-state="5"] .eLdBar-content {
    background-color: var(--black-color);
}

.task > label {
    font-family: 'Montserrat-Semibold';
}

.detailTask {
    display: inline-block;
    font-family: 'Montserrat-SemiBold';
    margin-top: 0.5rem;
    font-size: 0.75rem;
}

.stateTask {
    font-size: 0.65rem;
}

.parent_notif {
    position: relative;
}

@media screen and (max-width:501px) {
    .parent_notif {
        position: static;
    }
}

.center {
    position: absolute;
    height: 80vh;
    width: 25rem;
    background-color: var(--neutral-light-color);
    box-shadow: var(--third-shadow);
    border-radius: 1.5rem 0.5rem 1.5rem 1.5rem;
    opacity: 0;
    right: 0;
    top: calc(100%);
    pointer-events: none;
    overflow: hidden;
    padding: 0.5rem 1.5rem 1rem 1.5rem;
    transition: 200ms all cubic-bezier(0, 0, 0.11, 0.96);
}

@media screen and (max-width:501px) {
    .center {
        right: 50%;
        transform: translateX(50%);
    }
}

.center--animate {
    top: calc(100% + 1rem);
    opacity: 1;
    pointer-events: auto;
    transition: 200ms all cubic-bezier(0, 0, 0.11, 0.96);
}


.center h3 {
    padding-top: 1.5rem;
    font-family: 'Montserrat-bold';
    color: var(--primary-lighter-text-color);
}

.center__header {
    width: 100%;
    background-color: var(--neutral-light-color);
    border-radius: 1rem;
    height: 8rem;
}

.notificationsCenter-header span,
.tasksCenter-header span {
    margin-top: 0.25rem;
    cursor: pointer;
}



.noMedicalAlert {
    background-color: var(--main-black-color) !important;
}


.notification__center__cross {
    display: block;
    width: 100%;
    text-align: right;
    cursor: pointer;
}

.center__content {
    height: calc(100% - 8rem);
}

    .center__content::-webkit-scrollbar {
        width: 0.25rem;
        background-color: transparent;
    }

    .center__content::-webkit-scrollbar-thumb {
        border-radius: 0.5rem;
        width: 0.25rem;
        background-color: var(--primary-color);
    }

    .center__content::-webkit-scrollbar-track {
        background-color: var(--neutral-color);
    }


#messageCenter .center__content > div:first-child {
    text-align: left;
    overflow-y: auto;
    padding: 0 1rem 0 0.5rem;
    margin-left: -0.5rem;
    height: calc(100% - 3rem);
}

#messageCenter .center__content > div:last-child {
    height: 3rem;
}

:not(#messageCenter) .center__content {
    overflow-y: auto;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
}


.notification label,
.task label,
.medicalAlert label {
    overflow-wrap: break-word;
}


.notification {
    background: var(--white-color);
    border: 2px solid transparent;
    position: relative;
}

.notification--Unread {
    border-color: var(--primary-color);
}

    .notification--Unread:before {
        content: 'Nouvelle Notification';
        position: absolute;
        top: 0.5rem;
        left: 1rem;
        font-size: 0.75rem;
        color: var(--primary-lighter-color);
        background-color: var(--primary-color);
        padding: 0.25rem 0.5rem;
        border-radius: 0.25rem;
    }


.task-date {
    float: right;
    margin-right: 0.25rem;
}

.errorStateTask {
    background-color: red !important;
}

.closeNotif,
.closeTask,
.closeMedicalAlert {
    float: right;
    cursor: pointer;
    font-size: larger;
}

#arrowUp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--main-orange-color);
    text-align: center;
    border-radius: 15px;
    border: solid 3px white;
    box-shadow: #bfbfbf 3px 3px 15px;
    /*padding: 20px;*/
    overflow: hidden;
    z-index: 10;
    opacity: 0;
    height: 0px;
    width: 0px;
}

    #arrowUp:hover {
        transform: scale(1.1,1.1);
        transition-duration: 0.1s;
        animation: ease-in-out;
        cursor: pointer;
    }

#topBehindHeader {
    margin-top: 0;
    padding: 0;
    width: 100%;
    height: 6rem;
    z-index: -1;
}

#browserWarning {
    margin-top: 0;
    width: 100%;
    background-color: red;
    color: white;
    text-align: center;
    padding: 1.25rem;
    font-size: 1rem;
}


.mobile-menu {
    display: none;
    height: 0px;
}

    .mobile-menu img {
        margin: 1.25rem;
    }

    .mobile-menu li {
        margin: 0.825rem;
        font-size: large;
    }

    .mobile-menu ul {
        list-style: none;
    }


.header-btn-container {
    margin: 0;
    height: fit-content;
    flex-grow: 1;
    justify-content: flex-end;
}

    .header-btn-container > div:not(:last-child) {
        margin-right: 3rem;
    }

@media screen and (max-width:501px) {

    .header-btn-container {
        justify-content: center;
    }

        .header-btn-container > div:not(:last-child) {
            margin-right: 1rem;
        }
}

.header-btn {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e6e8e1;
    text-align: center;
    font-size: 1rem;
    font-family: Montserrat-Bold;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    outline: none;
    cursor: pointer;
    color: var(--neutral-dark-color);
    transition: 0.15s all cubic-bezier(0, 0, 0.11, 0.96);
}


    .header-btn > span {
        text-align: center;
        width: 1.875rem;
        margin-right: 0.5rem;
    }

    .header-btn > img {
        width: 1rem;
        filter: invert() brightness(17);
    }


.header-btn-enabled {
    background-color: var(--main-orange-color);
    color: var(--primary-lighter-color);
    box-shadow: var(--secondary-shadow);
}

    .header-btn-enabled:hover {
        background-color: var(--primary-darker-color);
        color: var(--primary-lighter-color);
        transform: translate(-0.123rem,0.125rem);
        box-shadow: none;
    }

    .header-btn-enabled:active {
        transform: translate(-0.25rem,0.25rem);
    }

.header-btn-enabled-alert {
    background-color: var(--red-color);
    color: var(--error-light-color);
}

    .header-btn-enabled > img, .header-btn-enabled-alert > img {
        filter: none;
    }


@media screen and (max-width: 1024px) {


    #menuBtn {
        margin: 1rem;
    }

    .header-btn-container {
        width: 100%;
        position: relative;
        margin: 0;
        padding: 0;
    }
    /**/

    .navigator {
        display: none !important;
    }
}

.switchAlerte {
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    display: inline-block;
}

.switchAlerte-label {
    z-index: 3;
    position: relative;
    padding: 0.25rem 1.25rem;
    width: 50%;
    height: 100%;
    font-family: montserrat;
    color: var(--alerts-color);
    border: 0.125rem solid var(--alerts-color);
    text-align: center;
    cursor: pointer;
    margin-bottom: 0;
}

.switchAlerte-label {
    z-index: 3;
    position: relative;
    padding: 0.25rem 1.25rem;
    width: 50%;
    height: 100%;
    font-family: montserrat;
    color: var(--alerts-color);
    border: 0.125rem solid var(--alerts-color);
    text-align: center;
    cursor: pointer;
    margin-bottom: 0;
}


.switchAlerte-input {
    display:none;
}

.switchAlerte-label:has(>:checked) {
    font-weight: bold;
    color: var(--neutral-light-color);
    border-radius: 1rem 0px 0px 1rem;
    transition: 0.5s ease-out;
    transition-property: color, text-shadow;
}

.switchAlerte-label-actives:has(>:checked) {
    border-radius: 1rem 0px 0px 1rem;
}

.switchAlerte-label-archives:has(>:checked) {
    border-radius: 0px 1rem 1rem 0px;
}

.switchAlerte-label-actives {
    border: 0px 0px 0px 0px;
    border-color: var(--alerts-color);
    border-radius: 1rem 0px 0px 1rem;
}

.switchAlerte-label-archives {
    border: 0px 0px 0px 0px;
    border-color: var(--alerts-color);
    border-radius: 0px 1rem 1rem 0px;
}

.switchAlerte-selection {
    position: absolute;
    z-index: 1;
    top: 0px;
    left: 0px;
    display: block;
    width: 50%;
    height: 100%;
    background: var(--alerts-color);
    transition: 0.15s all cubic-bezier(0, 0, 0.11, 0.96);
}

.switchAlerte-label-archives:has(>:checked) ~ .switchAlerte-selection {
    left: 50%;
}

.attentionAlertMobile, .attentionAlertMobile + div, .warningAlertMobile, .warningAlertMobile + div, .doneAlertMobile, .doneAlertMobile + div, .maintenanceAlertMobile, .maintenanceAlertMobile + div {
    z-index: 99999;
}

    .attentionAlertMobile + div, .warningAlertMobile + div, .doneAlertMobile + div, .maintenanceAlertMobile + div {
        width: 20rem;
    }

@media screen and (max-width:500px) {

    .attentionAlertMobile + div,
    .warningAlertMobile + div,
    .doneAlertMobile + div,
    .maintenanceAlertMobile + div {
        left: 50%;
        transform: translateX(-50%);
    }

        .attentionAlertMobile + div > div:first-child,
        .warningAlertMobile + div > div:first-child,
        .doneAlertMobile + div > div:first-child,
        .maintenanceAlertMobile + div > div:first-child {
            border-radius: 1rem 1rem 0.25rem 0.25rem;
        }


        .attentionAlertMobile + div > div:only-child,
        .warningAlertMobile + div > div:only-child,
        .doneAlertMobile + div > div:only-child,
        .maintenanceAlertMobile + div > div:only-child {
            border-radius: 1rem 1rem;
        }
}

.attentionAlert, .attentionAlertMobile {
    background-color: var(--alerts-color);
}

    .attentionAlert *, .attentionAlertMobile * {
        color: var(--neutral-light-color);
    }

.divAttention, .divAttentionMobile {
    background-color: var(--alerts-color);
    box-shadow: 0px 0px 0.75rem rgba(0, 0, 0, 0.2), 0px 0.25rem 0.25rem rgba(0, 0, 0, 0.25);
    margin-top: 0.5rem;
    padding: 0.75rem 1.5rem;
    display: none;
}

    .divAttention *, .divAttentionMobile * {
        color: var(--neutral-light-color);
    }

.warningAlert, .warningAlertMobile {
    background-color: var(--primary-light-color);
}

    .warningAlert *, .warningAlertMobile * {
        color: var(--primary-light-text-color);
    }

.divWarning, .divWarningMobile {
    background-color: var(--primary-light-color);
    box-shadow: 0px 0px 0.75rem rgba(0, 0, 0, 0.2), 0px 0.25rem 0.25rem rgba(0, 0, 0, 0.25);
    margin-top: 0.5rem;
    padding: 0.75rem 1.5rem;
    display: none;
}

    .divWarning *, .divWarningMobile * {
        color: var(--primary-light-text-color);
    }

.doneAlert, .doneAlertMobile {
    background-color: var(--success-color);
}

    .doneAlert *, .doneAlertMobile * {
        color: var(--success-light-color);
    }

.divDone, .divDoneMobile {
    background-color: var(--success-color);
    box-shadow: 0px 0px 0.75rem rgba(0, 0, 0, 0.2), 0px 0.25rem 0.25rem rgba(0, 0, 0, 0.25);
    margin-top: 0.5rem;
    padding: 0.75rem 1.5rem;
    display: none;
}

    .divDone *, .divDoneMobile * {
        color: var(--success-light-color);
    }

.maintenanceAlert, .maintenanceAlertMobile {
    background-color: #FEF4EF;
}

    .maintenanceAlert *, .maintenanceAlertMobile * {
        color: var(--primary-dark-color);
    }

.divMaintenance, .divMaintenanceMobile {
    background-color: #FEF4EF;
    box-shadow: 0px 0px 0.75rem rgba(0, 0, 0, 0.2), 0px 0.25rem 0.25rem rgba(0, 0, 0, 0.25);
    margin-top: 0.5rem;
    padding: 0.75rem 1.5rem;
    display: none;
}

    .divMaintenance p:last-child, .divMaintenanceMobile p:last-child {
        margin-bottom: 0;
    }

    .divMaintenance *, .divMaintenanceMobile * {
        color: var(--primary-dark-color);
    }

.divUpdate {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25), 0px 5px 5px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
}

    .divUpdate > p {
        display: flex;
        justify-content: start;
        align-items: center;
    }

.rotate180 {
    transform: rotate(180deg);
}

.firstDivAlert {
    border-radius: 0.25rem 1rem 0.25rem 0.25rem;
}

.firstDivAlertAlone {
    border-radius: 0.25rem 1rem 1rem 1rem;
}

.middleDivAlert {
    border-radius: 0.25rem;
}

.lastDivAlert {
    border-radius: 0.25rem 0.25rem 1rem 1rem;
}

.margin15 {
    margin-right: 1rem;
    margin-left: 1rem;
}

.label__item, .label__new {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 0.25rem;
    font-family: Montserrat;
    margin-bottom: 0;
    width: auto;
    transition: all 1000ms linear;
}

.label__new {
    background-color: var(--primary-color);
    color: var(--white-color);
    margin-right: 0.25rem;
}

.label__item--Epiox, .header__message--Epiox, .tab__element__actived--Epiox {
    background-color: var(--history-light-color);
    color: var(--black-color);
}

.label__item--Documents, .header__message--Documents, .tab__element__actived--Documents {
    background-color: var(--document-color);
    color: var(--document-message-border);
}

.label__item--Medadmin, .header__message--Medadmin, .tab__element__actived--Medadmin {
    background-color: var(--secondary-lighter-color);
    color: var(--secondary-color);
}

.label__item--Facturation, .header__message--Facturation, .tab__element__actived--Facturation {
    background-color: var(--success-light-color);
    color: var(--success-light-text-color);
}

.label__item--eHealthbox, .header__message--eHealthbox, .tab__element__actived--eHealthbox {
    background-color: var(--entry-hover-color);
    color: var(--black-color);
}

.label__item--Accord, .header__message--Accord, .tab__element__actived--Accord {
    background-color: var(--accord-lighter-color);
    color: var(--accord-darker-color);
}

.label__item--Hygie, .header__message--Hygie, .tab__element__actived--Hygie {
    background-color: var(--primary-lighter-color);
    color: var(--primary-color);
}

.notifItems_container {
    border-radius: 0.5rem;
    padding: 1rem;
    transition: 250ms all linear;
    border: 2px solid;
    border-color: var(--neutral-color);
    position: relative;
}

    .notifItems_container:first-child {
        border-radius: 1rem 1rem 0.5rem 0.5rem;
    }

    .notifItems_container:last-child {
        border-radius: 0.5rem 0.5rem 1rem 1rem;
    }

    .notifItems_container:only-child {
        border-radius: 1rem;
    }

    .notifItems_container:not(:only-child, :last-child) {
        margin-bottom: 0.5rem;
    }

    .notifItems_container:not(.notification,.noMedicalAlert,.task):hover {
        cursor: pointer;
        box-shadow: var(--secondary-shadow);
        background-color: var(--primary-lighter-color);
        border-radius: 1.5rem;
    }

.notification--Unread {
    border-color: var(--primary-color);
}

    .notification--Unread:before {
        content: 'Nouvelle Notification';
        position: absolute;
        top: 0.75rem;
        left: 1rem;
        font-size: 0.75rem;
        color: var(--primary-lighter-color);
        background-color: var(--primary-color);
        padding: 0.25rem 0.5rem;
        border-radius: 0.25rem;
    }

.item__title {
    color: var(--neutral-dark-color);
}

.item__sender {
    font-family: 'Montserrat-Semibold';
    color: var(--neutral-dark-color);
}

.item__text {
    color: var(--neutral-color);
}

.redirect {
    text-align: center;
}

    .redirect button {
        -webkit-appearance: none;
        width: 100%;
        height: 100%;
        line-height: 3rem;
        font-family: Montserrat-SemiBold;
        color: var(--primary-color);
        background-color: transparent;
        border: none;
        transition: 300ms all linear;
        border-radius: 0.5rem 0.5rem 1rem 1rem;
    }

        .redirect button:hover {
            color: var(--primary-darker-color);
            background-color: var(--primary-lighter-color);
        }

.notifItems_container--unread {
    border-color: var(--primary-color);
}
/*responsive layout*/
.eMenu__container--md {
    position: fixed !important;
    bottom: 5.5rem;
    left: -100%;
    z-index: 999999;
    transition: 0.15s all cubic-bezier(0, 0, 0.11, 0.96)
}

.eSection__container {
    transition: 0.15s all cubic-bezier(0, 0, 0.11, 0.96)
}
@media screen and (max-width: 768px){
    .eSection__container--active {
        opacity: 0.3;
        filter: blur(0.5rem);
        pointer-events: none;
    }
}


.eMenu__contianer--md-open {
    left: 0;
}

.tab {
    background: var(--white-color);
    box-shadow: var(--third-shadow);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5rem;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

    .tab div:not(:last-child) {
        margin-right: 1.5rem;
    }

@media screen and (max-width :768px) {
    .tab div:not(:last-child) {
        margin-right: 1rem;
    }
}

.tab > div:first-child {
    height: 3rem;
    width: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: start;
    margin-right: auto;
}

.tab__menuburger {
    display: block;
    height: 0.35rem;
    border-radius: 1rem;
    width: 100%;
    background-color: var(--neutral-dark-color);
}

    .tab__menuburger:not(:last-child) {
        margin-bottom: 0.25rem;
    }

    .tab__menuburger:nth-child(2) {
        width: 66.6666%;
    }

    .tab__menuburger:last-child {
        width: 33.33333%;
    }

.tabs__item {
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    background-color: var(--white-color);
    color: var(--neutral-dark-color);
    width: calc((100% - 4.5rem) / 3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.tabs__item--active {
    font-family: Montserrat-bold;
    color: var(--black-color);
}
/*
  .tabs__item--active:before{
      content:'';
      display:block;
      height:1rem;
      width:1rem;
      background-image:url('../../images/arrow.svg');
      background-repeat:no-repeat;
      background-position:center;
      background-size:100% 100%;
      margin-right:1rem;
  }
*/
.tabs__item div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tabs__item img {
    height: 1.5rem;
    width: 1.5rem;
    margin-bottom: 0.5rem;
}

.tabs__item span {
    font-size: 0.8rem;
}
