:root {
    --metesa-dark-green: #042426;
    --metesa-mid-green: #1D4747;
    --metesa-bright-green: #32C973;
    --metesa-soft-green: #A7DBBF;
    --metesa-white: #ffffff;
    --metesa-grey: #FAFAFA;
    --metesa-grey2: #F2F2F2;
    --metesa-grey3: #E0E0E0;
    --metesa-grey4: #C2C2C2;
}

html {
    font-size: 14px;
    background-color: #EBEBEB;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.text-primary {
    color: var(--metesa-mid-green) !important;
}

.text-secondary {
    color: var(--metesa-bright-green) !important;
}

.bg-primary {
    background-color: var(--metesa-mid-green) !important;
}

.btn-primary {
    color: #fff;
    background-color: var(--metesa-mid-green);
    border-color: var(--metesa-mid-green);
}

    .btn-primary:hover, .btn-primary:active, .btn-primary:focus {
        color: var(--metesa-mid-green);
        background-color: var(--metesa-bright-green);
        border-color: var(--metesa-bright-green);
    }

.btn-secondary {
    color: var(--metesa-mid-green);
    background-color: var(--metesa-bright-green);
    border: 0.4px solid var(--metesa-mid-green);
}

    .btn-secondary:hover, .btn-secondary:active, .btn-secondary:focus {
        color: white;
        background-color: var(--metesa-mid-green);
        border: 0.4px solid var(--metesa-mid-green);
    }

.login-input, .login-input:focus {
    color: var(--metesa-mid-green);
}

    .login-input::placeholder {
        color: var(--metesa-soft-green)
    }

#map {
    height: 600px;
    z-index: 0;
}

.mouse {
    cursor: pointer;
}

.hidden-row {
    display: none;
}
/*//// S-INTER ////*

/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 1056;
    height: 2em;
    width: 2em;
    overflow: visible;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

    /* Transparent Overlay */
    .loading:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.3);
    }

    /* :not(:required) hides these rules from IE9 and below */
    .loading:not(:required) {
        /* hide "loading..." text */
        font: 0/0 a;
        color: transparent;
        text-shadow: none;
        background-color: transparent;
        border: 0;
    }

        .loading:not(:required):after {
            content: '';
            display: block;
            font-size: 10px;
            width: 1em;
            height: 1em;
            margin-top: -0.5em;
            -webkit-animation: spinner 1500ms infinite linear;
            -moz-animation: spinner 1500ms infinite linear;
            -o-animation: spinner 1500ms infinite linear;
            animation: spinner 1500ms infinite linear;
            border-radius: 0.5em;
            -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
            box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
        }

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*Modification boostrap*/
.modal {
    display: none;
    width: 100%;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    width: 66%;
    margin: 3% 17.5%;
    background-color: white;
    padding: 2%;
    border-radius: 15px;
}

.modal-action {
    padding: 1rem;
}

.modal-dialog {
    max-width: none !important;
}

[id^='Dots'] {
    position: absolute;
}

.navbar-nav {
    margin-bottom: 10px !important;
}

.modal select {
    display: block;
    margin: 0 auto;
    width: 100%;
}

.close:hover,
.close:focus {
    color: red;
    text-decoration: none;
    cursor: pointer;
}

.close {
    width: 20px;
    color: #aaaaaa;
    right: 0;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.card {
    padding: 1%;
    border-radius: 15px;
    margin: 2% auto;
    box-shadow: 6px 4px 5px 0px #9d9d9d4f;
    position: relative;
}

.ps-6 {
    padding-left: 14% !important;
}

.toast-container {
    z-index: 1057 !important
}

header .dropdown-menu {
    padding-left: 16%;
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: white !important;
    color: black !important;
    font-weight: 500 !important;
}

.section-bt {
    color: #ababab !important;
}

.section-ct {
    font-size: larger;
    color: white;
    background: #022c4e;
    font-weight: 500;
    display: inherit;
    align-items: center;
}

.section-ct-faq {
    font-size: larger;
    color: white;
    background: #0FB4B4;
    font-weight: 500;
    display: inherit;
    align-items: center;
}

.hr-notif {
    margin-top: 0px;
}

svg {
    cursor: pointer;
}
/*Modification dataTable*/

.tabListStocks tr.odd:hover {
    --bs-table-accent-bg: #7473730d !important;
}

.tabListStocks tr.enven:hover {
    --bs-table-accent-bg: #f3f3f3 !important;
}

.tabListStocks .row:hover {
    background-color: var(--bs-table-striped-bg) !important;
}

th {
    white-space: nowrap !important;
}

.input-edit-employees input {
    border: 1px solid #ADADAD;
    background-color: #F4F4F4 !important;
    min-height: 35px;
}

.input-add-employees {
    border: 1px solid #ADADAD;
    background-color: #F4F4F4 !important;
}

.input-view-employees {
    border: 1px solid #ADADAD;
    background-color: #F4F4F4 !important;
    margin: 0px !important;
    padding: 5px !important;
}

.input-edit-employees-checkbox {
    border: 1px solid #ADADAD !important;
    background-color: #F4F4F4 !important;
    max-height: 35px;
}

#tabClocks th {
    background-color: #003560;
    color: white;
    font-weight: 600;
}

#tabClocks {
    background-color: #f3f3f3;
}

#tabResumeClocks {
    background-color: #f3f3f3;
}

.table th {
    background-color: var(--metesa-mid-green);
    color: white;
    font-weight: 600;
}

.table {
    background-color: #f3f3f3;
}

.dt-responsive th {
    background-color: var(--metesa-mid-green);
    color: white;
    font-weight: 600;
}

.dt-responsive .even {
    --bs-table-accent-bg: #f3f3f3 !important;
    transition-property: background-color;
    transition-duration: 0.5s;
}

.dt-responsive .odd {
    --bs-table-accent-bg: #7473730d !important;
    transition-property: background-color;
    transition-duration: 0.5s;
}

.dt-responsive tr:hover {
    --bs-table-accent-bg: #7473733d !important;
}

/*Formulaire*/
.r-form {
    width: 32%;
    font-size: 0.8rem;
    margin: 0.5% 0;
}

label {
    font-weight: 500;
    padding: 0.50rem;
    text-transform: uppercase;
    color: #6e6e6e;
}

.ml-3 {
    margin-left: 0.8rem !important;
}

.me-3 {
    margin-right: 0.8rem !important;
}

.ps-3 {
    padding-left: 1.5rem !important;
}

a.text-secondary:hover {
    color: #15bfbf !important;
}

.hr-2 {
    border: 1px solid;
}

.video-info {
    color: rgba(0,0,0,.55);
}

input {
    padding: 0.25rem;
}

    input[type="text"] {
        padding-top: 0.6rem !important;
    }

select {
    padding: 0.50rem;
}

.chkDiv {
    padding: 0.65rem !important;
}
/*Scrollbar custom*/

.style-2 {
    max-height: 45vh !important;
}

    .style-2::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
        border-radius: 10px;
        background-color: #ffffff;
        background-color: #ffffff;
    }

    .style-2::-webkit-scrollbar {
        width: 4px;
        background-color: #ffffff;
    }

    .style-2::-webkit-scrollbar-thumb {
        border-radius: 10px;
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
        background-color: #cfc0c0;
    }

.page-item.active .page-link {
    background-color: var(--metesa-bright-green);
    border-color: var(--metesa-bright-green);
}

.page-item.disabled .page-link {
    color: var(--metesa-bright-green) !important;
}

.lnkSecondary {
    font-size: 0.9em;
    color: #ababab !important;
}

.accordion-button {
    color: black !important;
    background-color: #E8E8E8 !important;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

    .accordion-button:not(.collapsed)::after {
        transform: rotate(-180deg);
        filter: grayscale(100%) !important;
    }

    .accordion-button.collapsed::after {
        filter: grayscale(100%) !important;
    }

/*Layout.cshtml*/
main {
    background-color: #EBEBEB;
}

body {
    background-color: #EBEBEB;
}

header {
    width: 14%;
    height: 100vh;
    position: fixed;
    z-index: 4;
    top: 0;
    left: 0;
    transition-property: left;
    transition-duration: 1s;
}

.header-module {
    color: var(--metesa-bright-green);
}

.header-page {
    color: var(--metesa-soft-green);
    font-size: medium;
}

#btnCloseHeader {
    position: absolute;
    z-index: 5;
    right: 5%;
    top: 1%;
}

#btnOpenHeader {
    display: block;
    cursor: pointer;
    transition-property: display;
    transition-delay: 2s;
    width: 25px;
}

#btnNav {
    margin-left: 40px;
    gap: 20px;
}

.burger-icon {
    color: var(--metesa-bright-green);
}

    .burger-icon span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #11345f;
        margin: 6px 0 0 0px;
        cursor: pointer;
    }

.nav-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    max-height: 100vh;
    min-height: 100vh;
}

    .nav-container > div > img {
        width: 60%;
        display: block;
        margin: 5% auto;
    }

.navbar-expand-sm .navbar-collaps {
    justify-content: space-around;
}

.navbar {
    padding: 0 !important;
}

span.userName {
    font-size: 0.8rem;
}

.dropdown-menu {
    font-size: 14px;
    padding: 0;
}

.nav-item {
    margin: 1% 0;
}

#btnInit {
    cursor: pointer;
}

.dropdown-menu .nav-item .nav-link {
    padding: 2px;
}

.closed {
    left: -1000px;
}

.appli-svg {
    color: #737373;
}

a.appli-svg:hover {
    color: #4F4F4F;
}

.appli-title {
    color: #0FB4B4;
}

span.appli-inwidget {
    font-weight: 400;
    color: #737373;
}

.align-items-right {
    left: 0;
    right: 0;
}

.widget-icon-info {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #a8a8a8;
}

.page_title {
    text-align: right;
    position: sticky;
    top: 0;
    z-index: 4;
    background-color: #1D4747;
    height: 60px;
}

.wrong-password ul {
    padding: 0px;
}

.wrong-password li {
    list-style: none;
}

.wrong-password {
    width: 100% !important;
    text-align: center;
}

.text-justify {
    text-align: justify !important;
}

.item-wrap {
    flex: 0 0 calc(33.33% - 10px);
    margin: 5px;
}

/*Add/EditSparePart.cshtml*/
.ChosenFamily > div {
    width: 45%;
}

.hr-mg-top {
    margin-top: 3px;
}

#lnkShowModalInformationPage {
    position: fixed;
    z-index: 2;
    right: 2%;
    bottom: 2%;
    display: inline-block;
    width: 40px;
    color: #003560;
    cursor: pointer;
    transition-property: transform;
    transition-duration: 0.3s;
}

    #lnkShowModalInformationPage:hover {
        transform: scale(1.2);
    }

/*login.cshtml*/
.login-card {
    margin-top: 10%;
}

/*Index.cshtml*/
.widget {
    width: 30%;
    /* height: 300px; */
    margin: 0% 0 !important;
    cursor: pointer;
    transition-property: transform;
    transition-duration: 0.5s;
}

/*.widget:hover:not(.hub) {
        transform: scale(1.02);
    }*/

.widget-text {
    color: #003560;
    font-weight: 400;
}

.notification-center {
    width: 64.5%;
    /*height: 300px;*/
    margin: 0% 0 !important;
    transition-property: transform;
    transition-duration: 0.5s;
}

.widget h1 {
    font-size: 5rem;
    font-weight: 300;
}

.widget h4 {
    font-weight: 300;
}

/*ListStocksOrdersLines*/
.OrderHeaderOdd {
    background-color: #ebebeb;
}

.OrderHeaderEven {
    background-color: #7473730d;
}
/*Multiple page*/
.context-menu li:hover {
    background-color: #EBEBEB;
}

.trash:hover {
    color: red;
}

span[id^='txtError'] {
    color: red;
}

.w-7 {
    width: 7%;
}

.w-48 {
    width: 48%;
}

.w-45 {
    width: 45%;
}

.w-90 {
    width: 90%;
}

.w-33 {
    width: 33%;
}

.w-100px {
    width: 100px;
}

.w-33i {
    width: 33% !Important;
}

.mh-40vh {
    max-height: 40vh;
}

.mh-100vh {
    min-height: 100vh;
}

h5.text-muted {
    margin-bottom: 2% !important;
}

.accordion-title-section {
    font-weight: 700;
}

.accordion-button:active, visited {
    border-color: white !important;
}

/*responsive*/
@media (max-width: 1680px) {
    header {
        width: 16%;
    }

        header a {
            font-size: 1rem;
        }

        header .dropdown-item {
            font-size: 0.9rem;
        }
}

@media (max-width: 1480px) {
    header {
        width: 18%;
    }

    .nav-item {
        margin: 0;
    }
}

@media(max-width : 1280px) {
    #lnkShowModalInformationPage {
        width: 30px;
        right: 10px;
    }

    header {
        width: 24%;
    }

    .widget h1 {
        font-size: 3rem !important;
    }

    span.userName {
        font-size: 0.9rem;
    }

    .card.widget {
        width: 45%;
    }

    .card.notification-center {
        width: 100%;
    }
}

@media (max-width: 980px) {
    #lnkShowModalInformationPage {
        width: 30px;
        right: 5px;
    }

    .modal-content {
        width: 100% !important;
    }

    header {
        width: 28%;
    }

        header a {
            font-size: 0.9rem;
        }

        header .dropdown-item {
            font-size: 0.8rem;
        }
}

@media (min-width: 1070px) {
    .table .btn-secondary, .table .btn-outline-success {
        width: 40%
    }
}

@media (max-width: 890px) {
    header {
        width: 33%;
    }

        header .navbar-expand-sm .navbar-nav {
            flex-direction: column !important;
        }

    .container {
        width: 100% !important;
    }

    .card {
        width: 100% !important;
    }
}

@media(max-width:767px) {
    header {
        width: 36%;
    }

        header a {
            font-size: 1rem;
        }

        header .dropdown-item {
            font-size: 0.9rem;
        }

    .index {
        width: 98% !important;
    }

    .r-form {
        width: 40% !important;
    }

    .login-card {
        width: 90% !important;
        margin-top: 20%;
    }
}

@media (max-width: 590px) {
    header {
        width: 60%;
    }

        header a {
            font-size: 1rem;
        }

    .ChosenFamily select {
        width: 33% !important;
    }

    .widget, .notification-center {
        width: 100% !important;
    }
}

@media(max-width:500px) {
    .r-form {
        width: 90% !important;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1620px;
    }
}

.extranet-dashboard {
    gap: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 75%;
    margin-top: 2%;
}

#partnerDiv {
    width: 100%;
    margin-bottom: 10px;
}

/* Styles pour le conteneur flexible */
.flexContainer {
    display: flex;
    width: 100%;
    background-color: #11345f;
    align-items: center;
    color: white;
    margin-bottom: 2px;
}

/* Styles pour la sous-div du nom du partenaire */
.partnerNameDiv {
    width: 15%;
    text-align: center;
    margin-right: 2px;
    font-weight: bold;
}

/* Styles pour le conteneur de date */
.dateContainer {
    display: flex;
    width: 85%;
    justify-content: space-around;
    gap: 2px;
}

/* Styles pour chaque objet dans calDateAndWeekList */
.itemContainer {
    width: 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Styles pour la div de date */
.dateDiv {
    font-weight: bold;
    font-size: small;
}

/* Styles pour la div de la semaine */
.weekDiv {
    font-size: smaller;
}

.materialContainer {
    width: 15%;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-right: 2px;
}

/* Styles pour le conteneur de créneaux horaires */
.timeSlotContainer {
    width: 85%;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Styles pour la div d'identifiant de famille */
.familyIdDiv {
    background-color: #ebebeb;
    display: flex;
    align-items: center;
    font-size: 14px;
}

/* Styles pour la sous-div du nom de famille */
.familyNameDiv {
    width: 80%;
    text-align: center;
}

/* Styles pour le conteneur d'utilisateurs */
.userContainer {
    width: 20%;
    background: #abd2eb;
}

/* Styles pour la div d'utilisateur */
.userDiv {
    text-align: center;
    height: 25px;
    font-weight: 500;
}

.scheduleContainer {
    width: 100%;
    display: flex;
}

.itemDateContainer {
    width: 10%;
    height: 25px;
    display: flex;
    background-color: lightgray;
}

.dateContainerDiv {
    display: flex;
    width: 100%;
    gap: 2px;
}

.dateRowDiv {
    width: 100%;
    height: auto;
}

.userDateDiv {
    height: 25px;
}

.dateAvailable {
    background-color: #65db65;
    cursor: pointer;
}

.dateUnavailable {
    background-color: #e1dfdf;
    justify-content: center;
    color: #1b335e;
    font-weight: bold;
    font-size: x-small;
    align-items: center;
    cursor: pointer;
}

.datePublicHoliday {
    background-color: #abd2eb;
    justify-content: center;
    font-size: x-small;
    font-weight: bold;
    align-items: center;
}

.round-top {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.round-top-left {
    border-top-left-radius: 5px;
}

.round-top-right {
    border-top-right-radius: 5px;
}

.round-bottom {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.round-bottom-left {
    border-bottom-left-radius: 5px;
}

.round-bottom-right {
    border-bottom-right-radius: 5px;
}

.infoBulle {
    margin-left: 2px;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 999; /* Pour s'assurer que l'info-bulle est au-dessus des autres éléments */
}

.firstSelected {
    background-color: #1b335ee3 !important;
}

.secondSelected {
    background-color: #3a496fd9 !important;
}

.reserved {
    background-color: orange;
    justify-content: center;
    color: #1b335e;
    font-weight: bold;
    font-size: x-small;
    align-items: center;
}

.separator {
    border: 2px solid #003560;
    margin-top: -2px;
}