﻿#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 3rem 0 3rem;
}

@media all and (max-width:500px) {

    #wrapper {
        padding: 0 15px 0 15px;
    }
}


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;
}*/

.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 (min-width:500px) and (max-width:1366px){
    .header-btn-container div:nth-child(2) .center,
    .header-btn-container div:nth-child(3) .center {
        right: -20rem;
    }
}

@media screen and (max-width:500px){
    .center{
        right:15px;
        z-index:99999999;
        width:calc(100% - 30px);
    }
}

.tasksContent {
    height: 75%;
    overscroll-behavior: contain;
    overflow-y: auto;
}

.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;
    }
    
.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;
}

.loaderNotif {
    background-image: url('../../Images/page-loader.gif');
    background-size: cover;
    background-repeat: no-repeat;
    height: 1rem;
    width: 1rem;
    pointer-events:none;
}

.notification,
.task,
.medicalAlert {
    padding: 0.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-shadow: var(--third-shadow);
    margin: 0.5rem 0;
    background-color: white;
    border-radius: 0.5rem;
}

    .notification label,
    .task label,
    .medicalAlert label {
        overflow-wrap: break-word;
    }


.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: 20px;
    font-size: 17px;
}


.mobile-menu {
    display: none;
    height: 0px;
}

    .mobile-menu img {
        margin: 20px;
    }

    .mobile-menu li {
        margin: 10px;
        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;
}

.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;
    }


    .notification-mobile>div:not(:nth-child(2n)){
        margin-right:1rem !important;
    }
    
    .notification-mobile>div{
        margin-bottom:0.5rem !important;
    }


@media screen and (max-width: 1024px) {


    #menuBtn {
        margin: 15px;
    }

    .header-btn-container {
        width: 100%;
        position: relative;
        margin: 0;
        padding: 0;
        padding-left: 40px;
    }
        /**/
        .header-btn-container > * {
            margin-top: 10px;
            margin-right: 10px;
        }

        .header-btn-container > .header-btn:last-child {
            margin-right: 10px;
        }

    .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;
}

.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 10px rgba(0, 0, 0, 0.2), 0px 5px 4px rgba(0, 0, 0, 0.25);
    margin-top: 8px;
    padding: 12px 24px;
    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 10px rgba(0, 0, 0, 0.2), 0px 5px 4px rgba(0, 0, 0, 0.25);
    margin-top: 8px;
    padding: 12px 24px;
    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 10px rgba(0, 0, 0, 0.2), 0px 5px 4px rgba(0, 0, 0, 0.25);
    margin-top: 8px;
    padding: 12px 24px;
    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;
}

.rotate180 {
    transform: rotate(180deg);
}

.firstDivAlert {
    border-radius: 4px 24px 4px 4px;
}

.firstDivAlertAlone {
    border-radius: 4px 24px 24px 24px;
}

.middleDivAlert {
    border-radius: 4px;
}

.lastDivAlert {
    border-radius: 4px 4px 24px 24px;
}

.margin15 {
    margin-right: 15px;
    margin-left: 15px;
}


.alertMobile {
    display: none !important;
}

@media (max-width:1024px) {
    .alertMobile {
        display: flex !important;
    }
}

.label__item,
.label__new {
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 4px;
    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: 4px;
}


.label__item--Epiox,
.header__message--Epiox,
.tab__element__actived--Epiox {
    background-color: var(--history-light-color);
    color: var(--black-color);
}

.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;
    cursor:pointer;
    border:2px solid;
    border-color:transparent;
}

    .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:hover {
        box-shadow: var(--secondary-shadow);
        background-color:var(--primary-lighter-color);
        border-radius: 1.5rem;
    }

.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);

}

